From df5bc87eb4e80dac2d357f34d53e5d5d9957a902 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 27 Jul 2024 00:20:04 +0200 Subject: Core/Proto: Updated protobuf messages and services for 11.0.2 (cherry picked from commit d4f4cdc23869a92715e65e273d49d0b36b44f035) --- .../bnetserver/Services/ServiceDispatcher.cpp | 9 +- src/server/bnetserver/Services/ServiceDispatcher.h | 15 +- src/server/game/Guilds/Guild.cpp | 66 +- src/server/game/Services/ClubMembershipService.cpp | 10 +- src/server/game/Services/ClubMembershipService.h | 10 +- src/server/game/Services/ClubService.cpp | 68 +- src/server/game/Services/ClubService.h | 26 +- .../game/Services/WorldserverServiceDispatcher.cpp | 5 +- .../game/Services/WorldserverServiceDispatcher.h | 11 +- src/server/proto/Client/account_service.pb.cc | 34 +- src/server/proto/Client/account_types.pb.cc | 325 +- src/server/proto/Client/account_types.pb.h | 90 +- .../Client/api/client/v1/block_list_listener.pb.cc | 328 + .../Client/api/client/v1/block_list_listener.pb.h | 367 + .../Client/api/client/v1/block_list_service.pb.cc | 951 ++ .../Client/api/client/v1/block_list_service.pb.h | 743 + .../Client/api/client/v1/block_list_types.pb.cc | 585 + .../Client/api/client/v1/block_list_types.pb.h | 707 + .../proto/Client/api/client/v1/channel_types.pb.cc | 1132 ++ .../proto/Client/api/client/v1/channel_types.pb.h | 2362 +++ .../proto/Client/api/client/v1/club_ban.pb.cc | 326 + .../proto/Client/api/client/v1/club_ban.pb.h | 740 + .../proto/Client/api/client/v1/club_core.pb.cc | 1543 ++ .../proto/Client/api/client/v1/club_core.pb.h | 5193 +++++++ .../proto/Client/api/client/v1/club_enum.pb.cc | 209 + .../proto/Client/api/client/v1/club_enum.pb.h | 217 + .../Client/api/client/v1/club_invitation.pb.cc | 937 ++ .../Client/api/client/v1/club_invitation.pb.h | 2269 +++ .../proto/Client/api/client/v1/club_listener.pb.cc | 273 + .../proto/Client/api/client/v1/club_listener.pb.h | 109 + .../proto/Client/api/client/v1/club_listener.proto | 121 + .../proto/Client/api/client/v1/club_member.pb.cc | 1745 +++ .../proto/Client/api/client/v1/club_member.pb.h | 3440 +++++ .../api/client/v1/club_membership_listener.pb.cc | 1050 ++ .../api/client/v1/club_membership_listener.pb.h | 1601 ++ .../api/client/v1/club_membership_service.pb.cc | 1340 ++ .../api/client/v1/club_membership_service.pb.h | 1559 ++ .../api/client/v1/club_membership_types.pb.cc | 1015 ++ .../api/client/v1/club_membership_types.pb.h | 1310 ++ .../Client/api/client/v1/club_name_generator.pb.cc | 518 + .../Client/api/client/v1/club_name_generator.pb.h | 1017 ++ .../Client/api/client/v1/club_notification.pb.cc | 2417 +++ .../Client/api/client/v1/club_notification.pb.h | 4559 ++++++ .../Client/api/client/v1/club_range_set.pb.cc | 887 ++ .../proto/Client/api/client/v1/club_range_set.pb.h | 1710 +++ .../proto/Client/api/client/v1/club_request.pb.cc | 8939 +++++++++++ .../proto/Client/api/client/v1/club_request.pb.h | 14863 +++++++++++++++++++ .../proto/Client/api/client/v1/club_role.pb.cc | 589 + .../proto/Client/api/client/v1/club_role.pb.h | 2332 +++ .../proto/Client/api/client/v1/club_service.pb.cc | 1528 ++ .../proto/Client/api/client/v1/club_service.pb.h | 201 + .../proto/Client/api/client/v1/club_service.proto | 293 + .../proto/Client/api/client/v1/club_stream.pb.cc | 2108 +++ .../proto/Client/api/client/v1/club_stream.pb.h | 4554 ++++++ .../proto/Client/api/client/v1/club_types.pb.cc | 117 + .../proto/Client/api/client/v1/club_types.pb.h | 85 + .../Client/api/client/v2/attribute_types.pb.cc | 482 - .../Client/api/client/v2/attribute_types.pb.h | 857 -- .../api/client/v2/notification_service.pb.cc | 241 + .../Client/api/client/v2/notification_service.pb.h | 208 + .../Client/api/client/v2/notification_types.pb.cc | 566 + .../Client/api/client/v2/notification_types.pb.h | 1009 ++ .../proto/Client/api/client/v2/report_types.pb.cc | 8 +- .../proto/Client/api/client/v2/report_types.pb.h | 2 +- .../Client/api/client/v2/whisper_listener.pb.cc | 805 + .../Client/api/client/v2/whisper_listener.pb.h | 1209 ++ .../Client/api/client/v2/whisper_service.pb.cc | 1291 ++ .../Client/api/client/v2/whisper_service.pb.h | 1236 ++ .../proto/Client/api/common/v1/club_core.pb.cc | 344 + .../proto/Client/api/common/v1/club_core.pb.h | 949 ++ .../proto/Client/api/common/v1/club_enum.pb.cc | 140 + .../proto/Client/api/common/v1/club_enum.pb.h | 137 + .../Client/api/common/v1/club_member_id.pb.cc | 193 + .../proto/Client/api/common/v1/club_member_id.pb.h | 246 + .../proto/Client/api/common/v1/club_tag.pb.cc | 435 + .../proto/Client/api/common/v1/club_tag.pb.h | 676 + .../proto/Client/api/common/v1/club_type.pb.cc | 185 + .../proto/Client/api/common/v1/club_type.pb.h | 247 + .../proto/Client/api/common/v1/embed_types.pb.cc | 531 + .../proto/Client/api/common/v1/embed_types.pb.h | 1233 ++ .../Client/api/common/v1/event_view_types.pb.cc | 303 + .../Client/api/common/v1/event_view_types.pb.h | 409 + .../Client/api/common/v1/invitation_types.pb.cc | 373 + .../Client/api/common/v1/invitation_types.pb.h | 848 ++ .../proto/Client/api/common/v1/message_types.pb.cc | 212 + .../proto/Client/api/common/v1/message_types.pb.h | 235 + .../proto/Client/api/common/v1/voice_types.pb.cc | 262 + .../proto/Client/api/common/v1/voice_types.pb.h | 539 + .../Client/api/common/v2/attribute_types.pb.cc | 482 + .../Client/api/common/v2/attribute_types.pb.h | 857 ++ .../Client/api/common/v2/game_account_handle.pb.cc | 187 + .../Client/api/common/v2/game_account_handle.pb.h | 225 + .../proto/Client/api/common/v2/whisper_types.pb.cc | 421 + .../proto/Client/api/common/v2/whisper_types.pb.h | 806 + .../proto/Client/authentication_service.pb.cc | 29 +- src/server/proto/Client/challenge_service.pb.cc | 6 +- src/server/proto/Client/channel_types.pb.cc | 1132 -- src/server/proto/Client/channel_types.pb.h | 2362 --- src/server/proto/Client/club_ban.pb.cc | 323 - src/server/proto/Client/club_ban.pb.h | 738 - src/server/proto/Client/club_core.pb.cc | 1787 --- src/server/proto/Client/club_core.pb.h | 6073 -------- src/server/proto/Client/club_enum.pb.cc | 266 - src/server/proto/Client/club_enum.pb.h | 290 - src/server/proto/Client/club_invitation.pb.cc | 931 -- src/server/proto/Client/club_invitation.pb.h | 2267 --- src/server/proto/Client/club_listener.pb.cc | 266 - src/server/proto/Client/club_listener.pb.h | 107 - src/server/proto/Client/club_listener.proto | 121 - src/server/proto/Client/club_member.pb.cc | 1739 --- src/server/proto/Client/club_member.pb.h | 3438 ----- src/server/proto/Client/club_member_id.pb.cc | 189 - src/server/proto/Client/club_member_id.pb.h | 212 - .../proto/Client/club_membership_listener.pb.cc | 1032 -- .../proto/Client/club_membership_listener.pb.h | 1498 -- .../proto/Client/club_membership_service.pb.cc | 1332 -- .../proto/Client/club_membership_service.pb.h | 1559 -- .../proto/Client/club_membership_types.pb.cc | 1008 -- src/server/proto/Client/club_membership_types.pb.h | 1308 -- src/server/proto/Client/club_name_generator.pb.cc | 514 - src/server/proto/Client/club_name_generator.pb.h | 1015 -- src/server/proto/Client/club_notification.pb.cc | 2404 --- src/server/proto/Client/club_notification.pb.h | 4522 ------ src/server/proto/Client/club_range_set.pb.cc | 884 -- src/server/proto/Client/club_range_set.pb.h | 1708 --- src/server/proto/Client/club_request.pb.cc | 8928 ----------- src/server/proto/Client/club_request.pb.h | 14861 ------------------ src/server/proto/Client/club_role.pb.cc | 587 - src/server/proto/Client/club_role.pb.h | 2330 --- src/server/proto/Client/club_service.pb.cc | 1511 -- src/server/proto/Client/club_service.pb.h | 199 - src/server/proto/Client/club_service.proto | 293 - src/server/proto/Client/club_stream.pb.cc | 2102 --- src/server/proto/Client/club_stream.pb.h | 4552 ------ src/server/proto/Client/club_tag.pb.cc | 434 - src/server/proto/Client/club_tag.pb.h | 676 - src/server/proto/Client/club_type.pb.cc | 185 - src/server/proto/Client/club_type.pb.h | 247 - src/server/proto/Client/club_types.pb.cc | 107 - src/server/proto/Client/club_types.pb.h | 81 - src/server/proto/Client/embed_types.pb.cc | 463 +- src/server/proto/Client/embed_types.pb.h | 1177 +- src/server/proto/Client/entity_types.pb.cc | 2 +- src/server/proto/Client/entity_types.pb.h | 8 +- src/server/proto/Client/event_view_types.pb.cc | 237 +- src/server/proto/Client/event_view_types.pb.h | 353 +- src/server/proto/Client/friends_service.pb.cc | 239 +- src/server/proto/Client/friends_service.pb.h | 2 +- src/server/proto/Client/friends_types.pb.cc | 96 +- src/server/proto/Client/friends_types.pb.h | 2 +- .../proto/Client/game_utilities_service.pb.cc | 76 +- .../proto/Client/game_utilities_service.pb.h | 126 +- .../Client/global_extensions/field_options.pb.cc | 120 +- .../Client/global_extensions/field_options.pb.h | 99 + .../Client/global_extensions/method_options.pb.cc | 20 +- .../Client/global_extensions/method_options.pb.h | 91 + .../Client/global_extensions/service_options.pb.cc | 25 +- .../Client/global_extensions/service_options.pb.h | 68 + src/server/proto/Client/invitation_types.pb.cc | 312 +- src/server/proto/Client/invitation_types.pb.h | 798 +- src/server/proto/Client/message_types.pb.cc | 127 +- src/server/proto/Client/message_types.pb.h | 155 +- src/server/proto/Client/presence_service.pb.cc | 35 +- src/server/proto/Client/presence_types.pb.cc | 46 +- src/server/proto/Client/presence_types.pb.h | 2 +- src/server/proto/Client/report_service.pb.cc | 369 - src/server/proto/Client/report_service.pb.h | 376 - src/server/proto/Client/report_types.pb.cc | 1167 -- src/server/proto/Client/report_types.pb.h | 2324 --- src/server/proto/Client/user_manager_service.pb.cc | 1496 -- src/server/proto/Client/user_manager_service.pb.h | 1896 --- src/server/proto/Client/user_manager_types.pb.cc | 317 - src/server/proto/Client/user_manager_types.pb.h | 662 - src/server/proto/Client/voice_types.pb.cc | 195 +- src/server/proto/Client/voice_types.pb.h | 486 +- src/server/proto/PrecompiledHeaders/protoPCH.h | 2 +- 176 files changed, 98053 insertions(+), 93016 deletions(-) create mode 100644 src/server/proto/Client/api/client/v1/block_list_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/block_list_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/block_list_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/block_list_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/channel_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/channel_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_ban.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_ban.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_core.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_core.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_enum.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_enum.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_invitation.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_invitation.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_listener.proto create mode 100644 src/server/proto/Client/api/client/v1/club_member.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_member.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_membership_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_membership_types.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_name_generator.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_name_generator.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_notification.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_notification.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_range_set.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_range_set.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_request.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_request.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_role.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_role.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_service.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_service.proto create mode 100644 src/server/proto/Client/api/client/v1/club_stream.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_stream.pb.h create mode 100644 src/server/proto/Client/api/client/v1/club_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v1/club_types.pb.h delete mode 100644 src/server/proto/Client/api/client/v2/attribute_types.pb.cc delete mode 100644 src/server/proto/Client/api/client/v2/attribute_types.pb.h create mode 100644 src/server/proto/Client/api/client/v2/notification_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/notification_service.pb.h create mode 100644 src/server/proto/Client/api/client/v2/notification_types.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/notification_types.pb.h create mode 100644 src/server/proto/Client/api/client/v2/whisper_listener.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/whisper_listener.pb.h create mode 100644 src/server/proto/Client/api/client/v2/whisper_service.pb.cc create mode 100644 src/server/proto/Client/api/client/v2/whisper_service.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_core.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_core.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_enum.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_enum.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_member_id.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_member_id.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_tag.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_tag.pb.h create mode 100644 src/server/proto/Client/api/common/v1/club_type.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/club_type.pb.h create mode 100644 src/server/proto/Client/api/common/v1/embed_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/embed_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/event_view_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/event_view_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/invitation_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/invitation_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/message_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/message_types.pb.h create mode 100644 src/server/proto/Client/api/common/v1/voice_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v1/voice_types.pb.h create mode 100644 src/server/proto/Client/api/common/v2/attribute_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/attribute_types.pb.h create mode 100644 src/server/proto/Client/api/common/v2/game_account_handle.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/game_account_handle.pb.h create mode 100644 src/server/proto/Client/api/common/v2/whisper_types.pb.cc create mode 100644 src/server/proto/Client/api/common/v2/whisper_types.pb.h delete mode 100644 src/server/proto/Client/channel_types.pb.cc delete mode 100644 src/server/proto/Client/channel_types.pb.h delete mode 100644 src/server/proto/Client/club_ban.pb.cc delete mode 100644 src/server/proto/Client/club_ban.pb.h delete mode 100644 src/server/proto/Client/club_core.pb.cc delete mode 100644 src/server/proto/Client/club_core.pb.h delete mode 100644 src/server/proto/Client/club_enum.pb.cc delete mode 100644 src/server/proto/Client/club_enum.pb.h delete mode 100644 src/server/proto/Client/club_invitation.pb.cc delete mode 100644 src/server/proto/Client/club_invitation.pb.h delete mode 100644 src/server/proto/Client/club_listener.pb.cc delete mode 100644 src/server/proto/Client/club_listener.pb.h delete mode 100644 src/server/proto/Client/club_listener.proto delete mode 100644 src/server/proto/Client/club_member.pb.cc delete mode 100644 src/server/proto/Client/club_member.pb.h delete mode 100644 src/server/proto/Client/club_member_id.pb.cc delete mode 100644 src/server/proto/Client/club_member_id.pb.h delete mode 100644 src/server/proto/Client/club_membership_listener.pb.cc delete mode 100644 src/server/proto/Client/club_membership_listener.pb.h delete mode 100644 src/server/proto/Client/club_membership_service.pb.cc delete mode 100644 src/server/proto/Client/club_membership_service.pb.h delete mode 100644 src/server/proto/Client/club_membership_types.pb.cc delete mode 100644 src/server/proto/Client/club_membership_types.pb.h delete mode 100644 src/server/proto/Client/club_name_generator.pb.cc delete mode 100644 src/server/proto/Client/club_name_generator.pb.h delete mode 100644 src/server/proto/Client/club_notification.pb.cc delete mode 100644 src/server/proto/Client/club_notification.pb.h delete mode 100644 src/server/proto/Client/club_range_set.pb.cc delete mode 100644 src/server/proto/Client/club_range_set.pb.h delete mode 100644 src/server/proto/Client/club_request.pb.cc delete mode 100644 src/server/proto/Client/club_request.pb.h delete mode 100644 src/server/proto/Client/club_role.pb.cc delete mode 100644 src/server/proto/Client/club_role.pb.h delete mode 100644 src/server/proto/Client/club_service.pb.cc delete mode 100644 src/server/proto/Client/club_service.pb.h delete mode 100644 src/server/proto/Client/club_service.proto delete mode 100644 src/server/proto/Client/club_stream.pb.cc delete mode 100644 src/server/proto/Client/club_stream.pb.h delete mode 100644 src/server/proto/Client/club_tag.pb.cc delete mode 100644 src/server/proto/Client/club_tag.pb.h delete mode 100644 src/server/proto/Client/club_type.pb.cc delete mode 100644 src/server/proto/Client/club_type.pb.h delete mode 100644 src/server/proto/Client/club_types.pb.cc delete mode 100644 src/server/proto/Client/club_types.pb.h delete mode 100644 src/server/proto/Client/report_service.pb.cc delete mode 100644 src/server/proto/Client/report_service.pb.h delete mode 100644 src/server/proto/Client/report_types.pb.cc delete mode 100644 src/server/proto/Client/report_types.pb.h delete mode 100644 src/server/proto/Client/user_manager_service.pb.cc delete mode 100644 src/server/proto/Client/user_manager_service.pb.h delete mode 100644 src/server/proto/Client/user_manager_types.pb.cc delete mode 100644 src/server/proto/Client/user_manager_types.pb.h (limited to 'src') diff --git a/src/server/bnetserver/Services/ServiceDispatcher.cpp b/src/server/bnetserver/Services/ServiceDispatcher.cpp index 4751577c973..27f38b6124a 100644 --- a/src/server/bnetserver/Services/ServiceDispatcher.cpp +++ b/src/server/bnetserver/Services/ServiceDispatcher.cpp @@ -21,16 +21,17 @@ Battlenet::ServiceDispatcher::ServiceDispatcher() { AddService(); AddService(); - AddService>(); - AddService>(); + AddService>(); + AddService>(); + AddService>(); AddService(); AddService>(); AddService(); + AddService>(); AddService>(); - AddService>(); AddService>(); AddService>(); - AddService>(); + AddService>(); } void Battlenet::ServiceDispatcher::Dispatch(Session* session, uint32 serviceHash, uint32 token, uint32 methodId, MessageBuffer buffer) diff --git a/src/server/bnetserver/Services/ServiceDispatcher.h b/src/server/bnetserver/Services/ServiceDispatcher.h index 1fdaf1f8749..65fd06abac4 100644 --- a/src/server/bnetserver/Services/ServiceDispatcher.h +++ b/src/server/bnetserver/Services/ServiceDispatcher.h @@ -21,20 +21,23 @@ #include "MessageBuffer.h" #include "AccountService.h" #include "AuthenticationService.h" +#include "api/client/v1/block_list_listener.pb.h" +#include "api/client/v1/block_list_service.pb.h" #include "challenge_service.pb.h" -#include "club_listener.pb.h" -#include "club_membership_listener.pb.h" -#include "club_membership_service.pb.h" -#include "club_service.pb.h" +#include "api/client/v1/club_listener.pb.h" +#include "api/client/v1/club_membership_listener.pb.h" +#include "api/client/v1/club_membership_service.pb.h" +#include "api/client/v1/club_service.pb.h" #include "ConnectionService.h" #include "friends_service.pb.h" #include "GameUtilitiesService.h" +#include "api/client/v2/notification_service.pb.h" #include "presence_listener.pb.h" #include "presence_service.pb.h" -#include "report_service.pb.h" #include "api/client/v2/report_service.pb.h" #include "resource_service.pb.h" -#include "user_manager_service.pb.h" +#include "api/client/v2/whisper_listener.pb.h" +#include "api/client/v2/whisper_service.pb.h" namespace Battlenet { diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp index 236c7f72277..28147294e1d 100644 --- a/src/server/game/Guilds/Guild.cpp +++ b/src/server/game/Guilds/Guild.cpp @@ -43,8 +43,8 @@ #include "SocialMgr.h" #include "World.h" #include "WorldSession.h" -#include "club_listener.pb.h" -#include "club_membership_listener.pb.h" +#include "api/client/v1/club_listener.pb.h" +#include "api/client/v1/club_membership_listener.pb.h" size_t const MAX_GUILD_BANK_TAB_TEXT_LEN = 500; @@ -1203,7 +1203,7 @@ void Guild::Disband() guildEventDisbanded.Write(); // Notify the members of club removal. - club::v1::UnsubscribeNotification unsubscribeNotification; + club::v1::client::UnsubscribeNotification unsubscribeNotification; unsubscribeNotification.set_club_id(GetId()); BroadcastWorker([&](Player const* member) @@ -1211,14 +1211,14 @@ void Guild::Disband() member->SendDirectMessage(guildEventDisbanded.GetRawPacket()); // Unsubscribe the removed player from the club to ensure interface updates. - Battlenet::WorldserverService(member->GetSession()).OnUnsubscribe(&unsubscribeNotification, true, true); + Battlenet::WorldserverService(member->GetSession()).OnUnsubscribe(&unsubscribeNotification, true, true); // Finally notify the client about leaving the club. - club::v1::membership::ClubRemovedNotification clubRemovedNotification; + club_membership::v1::client::ClubRemovedNotification clubRemovedNotification; clubRemovedNotification.set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(member->GetGUID()).release()); clubRemovedNotification.set_club_id(GetId()); - clubRemovedNotification.set_reason(club::v1::ClubRemovedReason::CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER); - Battlenet::WorldserverService(member->GetSession()).OnClubRemoved(&clubRemovedNotification, true, true); + clubRemovedNotification.set_reason(club::v1::client::ClubRemovedReason::CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER); + Battlenet::WorldserverService(member->GetSession()).OnClubRemoved(&clubRemovedNotification, true, true); }); CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction(); @@ -2376,7 +2376,7 @@ void Guild::SendEventNewLeader(Member* newLeader, Member* oldLeader, bool isSelf WorldPackets::Guild::GuildEventNewLeader eventPacket; eventPacket.SelfPromoted = isSelfPromoted; - club::v1::MemberRoleChangedNotification memberRoleChangeNotification; + club::v1::client::MemberRoleChangedNotification memberRoleChangeNotification; memberRoleChangeNotification.set_club_id(GetId()); if (newLeader) @@ -2386,7 +2386,7 @@ void Guild::SendEventNewLeader(Member* newLeader, Member* oldLeader, bool isSelf eventPacket.NewLeaderVirtualRealmAddress = GetVirtualRealmAddress(); // Owner/GuildMaster role is always 1. - club::v1::RoleAssignment* newLeaderRoleAssignment = memberRoleChangeNotification.add_assignment(); + club::v1::client::RoleAssignment* newLeaderRoleAssignment = memberRoleChangeNotification.add_assignment(); newLeaderRoleAssignment->set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(newLeader->GetGUID()).release()); newLeaderRoleAssignment->add_role(AsUnderlyingType(ClubRoleIdentifier::Owner)); } @@ -2398,7 +2398,7 @@ void Guild::SendEventNewLeader(Member* newLeader, Member* oldLeader, bool isSelf eventPacket.OldLeaderVirtualRealmAddress = GetVirtualRealmAddress(); // Non owner members in guilds get the lowest club/community role after a guild master change. - club::v1::RoleAssignment* oldLeaderRoleAssignment = memberRoleChangeNotification.add_assignment(); + club::v1::client::RoleAssignment* oldLeaderRoleAssignment = memberRoleChangeNotification.add_assignment(); oldLeaderRoleAssignment->set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(oldLeader->GetGUID()).release()); oldLeaderRoleAssignment->add_role(AsUnderlyingType(ClubRoleIdentifier::Member)); } @@ -2409,7 +2409,7 @@ void Guild::SendEventNewLeader(Member* newLeader, Member* oldLeader, bool isSelf BroadcastWorker([&](Player const* member) { member->SendDirectMessage(eventPacket.GetRawPacket()); - Battlenet::WorldserverService(member->GetSession()).OnMemberRoleChanged(&memberRoleChangeNotification, true, true); + Battlenet::WorldserverService(member->GetSession()).OnMemberRoleChanged(&memberRoleChangeNotification, true, true); }); } @@ -2438,35 +2438,35 @@ void Guild::SendEventPlayerLeft(Member* leaver, Member* remover, bool isRemoved) leaverPlayer->SendDirectMessage(eventPacket.GetRawPacket()); // Unsubscribe the removed player from the club to ensure interface updates. - club::v1::UnsubscribeNotification unsubscribeNotification; + club::v1::client::UnsubscribeNotification unsubscribeNotification; unsubscribeNotification.set_club_id(GetId()); - Battlenet::WorldserverService(leaverPlayer->GetSession()).OnUnsubscribe(&unsubscribeNotification, true, true); + Battlenet::WorldserverService(leaverPlayer->GetSession()).OnUnsubscribe(&unsubscribeNotification, true, true); // Finally notify the client about leaving the club. - club::v1::membership::ClubRemovedNotification clubRemovedNotification; + club_membership::v1::client::ClubRemovedNotification clubRemovedNotification; clubRemovedNotification.set_club_id(GetId()); clubRemovedNotification.set_reason(isRemoved - ? club::v1::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_KICKED - : club::v1::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_LEFT); + ? club::v1::client::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_KICKED + : club::v1::client::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_LEFT); clubRemovedNotification.set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(leaver->GetGUID()).release()); - Battlenet::WorldserverService(leaverPlayer->GetSession()).OnClubRemoved(&clubRemovedNotification, true, true); + Battlenet::WorldserverService(leaverPlayer->GetSession()).OnClubRemoved(&clubRemovedNotification, true, true); } - club::v1::MemberRemovedNotification memberRemovedNotification; + club::v1::client::MemberRemovedNotification memberRemovedNotification; memberRemovedNotification.set_club_id(GetId()); - club::v1::MemberRemovedAssignment* removedMemberAssignment = memberRemovedNotification.add_member(); + club::v1::client::MemberRemovedAssignment* removedMemberAssignment = memberRemovedNotification.add_member(); removedMemberAssignment->set_allocated_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(leaver->GetGUID()).release()); removedMemberAssignment->set_reason(isRemoved - ? club::v1::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_KICKED - : club::v1::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_LEFT); + ? club::v1::client::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_KICKED + : club::v1::client::ClubRemovedReason::CLUB_REMOVED_REASON_MEMBER_LEFT); // We have to send old guild and new club packets so we use a custom broadcast loop here. BroadcastWorker([&](Player const* member) { // Notify other guild members. member->SendDirectMessage(eventPacket.GetRawPacket()); - Battlenet::WorldserverService<::bgs::protocol::club::v1::ClubListener>(member->GetSession()).OnMemberRemoved(&memberRemovedNotification, true, true); + Battlenet::WorldserverService(member->GetSession()).OnMemberRemoved(&memberRemovedNotification, true, true); }, leaverPlayer); } @@ -2900,7 +2900,7 @@ bool Guild::AddMember(CharacterDatabaseTransaction trans, ObjectGuid guid, Optio { player->SendDirectMessage(joinNotificationPacket.GetRawPacket()); - club::v1::membership::ClubAddedNotification clubAddedNotification; + club_membership::v1::client::ClubAddedNotification clubAddedNotification; clubAddedNotification.mutable_membership()->set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(guid).release()); club::v1::ClubDescription* guildClub = clubAddedNotification.mutable_membership()->mutable_club(); @@ -2912,7 +2912,7 @@ bool Guild::AddMember(CharacterDatabaseTransaction trans, ObjectGuid guid, Optio guildClub->set_member_count(GetMembersCount()); // Set the club owner, guild master in this case. - club::v1::MemberDescription* guildLeaderDescription = guildClub->add_leader(); + club::v1::client::MemberDescription* guildLeaderDescription = guildClub->add_leader(); guildLeaderDescription->set_allocated_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(GetLeaderGUID()).release()); // Date is in microseconds. @@ -2921,20 +2921,20 @@ bool Guild::AddMember(CharacterDatabaseTransaction trans, ObjectGuid guid, Optio guildClub->set_timezone(""); guildClub->set_locale(""); - Battlenet::WorldserverService(player->GetSession()).OnClubAdded(&clubAddedNotification, true, true); + Battlenet::WorldserverService(player->GetSession()).OnClubAdded(&clubAddedNotification, true, true); } - club::v1::MemberAddedNotification memberAddedNotification; + club::v1::client::MemberAddedNotification memberAddedNotification; memberAddedNotification.set_club_id(GetId()); - club::v1::Member* addedMember = memberAddedNotification.add_member(); + club::v1::client::Member* addedMember = memberAddedNotification.add_member(); addedMember->set_allocated_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(guid).release()); if (HasAnyRankRight(member.GetRankId(), GuildRankRights(GR_RIGHT_OFFCHATLISTEN | GR_RIGHT_OFFCHATSPEAK))) addedMember->add_role(AsUnderlyingType(ClubRoleIdentifier::Moderator)); else addedMember->add_role(AsUnderlyingType(ClubRoleIdentifier::Member)); - addedMember->set_presence_level(club::v1::PresenceLevel::PRESENCE_LEVEL_RICH); - addedMember->set_whisper_level(club::v1::WhisperLevel::WHISPER_LEVEL_OPEN); + addedMember->set_presence_level(club::v1::client::PresenceLevel::PRESENCE_LEVEL_RICH); + addedMember->set_whisper_level(club::v1::client::WhisperLevel::WHISPER_LEVEL_OPEN); addedMember->set_note(""); addedMember->set_active(member.IsOnline()); @@ -2943,7 +2943,7 @@ bool Guild::AddMember(CharacterDatabaseTransaction trans, ObjectGuid guid, Optio { // Notify other online guild members. otherMember->SendDirectMessage(joinNotificationPacket.GetRawPacket()); - Battlenet::WorldserverService(otherMember->GetSession()).OnMemberAdded(&memberAddedNotification, true, true); + Battlenet::WorldserverService(otherMember->GetSession()).OnMemberAdded(&memberAddedNotification, true, true); }, player); // Call scripts if member was succesfully added (and stored to database) @@ -3717,10 +3717,10 @@ void Guild::SendGuildRanksUpdate(ObjectGuid setterGuid, ObjectGuid targetGuid, G rankChange.Promote = (rank < member->GetRankId()); rankChange.Write(); - club::v1::MemberRoleChangedNotification memberRoleChangeNotification; + club::v1::client::MemberRoleChangedNotification memberRoleChangeNotification; memberRoleChangeNotification.set_club_id(GetId()); - club::v1::RoleAssignment* changedRoleAssignment = memberRoleChangeNotification.add_assignment(); + club::v1::client::RoleAssignment* changedRoleAssignment = memberRoleChangeNotification.add_assignment(); changedRoleAssignment->set_allocated_member_id(Battlenet::Services::ClubMembershipService::CreateClubMemberId(targetGuid).release()); if (rank == GuildRankId::GuildMaster) changedRoleAssignment->add_role(AsUnderlyingType(ClubRoleIdentifier::Owner)); @@ -3732,7 +3732,7 @@ void Guild::SendGuildRanksUpdate(ObjectGuid setterGuid, ObjectGuid targetGuid, G BroadcastWorker([&](Player const* memberPlayer) { memberPlayer->SendDirectMessage(rankChange.GetRawPacket()); - Battlenet::WorldserverService(memberPlayer->GetSession()).OnMemberRoleChanged(&memberRoleChangeNotification, true, true); + Battlenet::WorldserverService(memberPlayer->GetSession()).OnMemberRoleChanged(&memberRoleChangeNotification, true, true); }); CharacterDatabaseTransaction trans; diff --git a/src/server/game/Services/ClubMembershipService.cpp b/src/server/game/Services/ClubMembershipService.cpp index 419d56f29ef..1d4bf487380 100644 --- a/src/server/game/Services/ClubMembershipService.cpp +++ b/src/server/game/Services/ClubMembershipService.cpp @@ -27,7 +27,7 @@ namespace Battlenet::Services { ClubMembershipService::ClubMembershipService(WorldSession* session) : BaseService(session) { } -uint32 ClubMembershipService::HandleSubscribe(club::v1::membership::SubscribeRequest const* /*request*/, club::v1::membership::SubscribeResponse* response, +uint32 ClubMembershipService::HandleSubscribe(club_membership::v1::client::SubscribeRequest const* /*request*/, club_membership::v1::client::SubscribeResponse* response, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -40,7 +40,7 @@ uint32 ClubMembershipService::HandleSubscribe(club::v1::membership::SubscribeReq if (!guild) return ERROR_OK; - club::v1::ClubMembershipDescription* description = response->mutable_state()->add_description(); + club_membership::v1::client::ClubMembershipDescription* description = response->mutable_state()->add_description(); description->set_allocated_member_id(CreateClubMemberId(player->GetGUID()).release()); club::v1::ClubDescription* club = description->mutable_club(); @@ -57,7 +57,7 @@ uint32 ClubMembershipService::HandleSubscribe(club::v1::membership::SubscribeReq club->set_timezone(""); club->set_locale(""); - club::v1::MemberDescription* leader = club->add_leader(); + club::v1::client::MemberDescription* leader = club->add_leader(); leader->set_allocated_id(CreateClubMemberId(guild->GetLeaderGUID()).release()); @@ -67,7 +67,7 @@ uint32 ClubMembershipService::HandleSubscribe(club::v1::membership::SubscribeReq return ERROR_OK; } -uint32 ClubMembershipService::HandleUnsubscribe(club::v1::membership::UnsubscribeRequest const* /*request*/, NoData* /*response*/, +uint32 ClubMembershipService::HandleUnsubscribe(club_membership::v1::client::UnsubscribeRequest const* /*request*/, NoData* /*response*/, std::function& /*continuation*/) { // We just have to signal the client that the unsubscribe request came through. @@ -77,7 +77,7 @@ uint32 ClubMembershipService::HandleUnsubscribe(club::v1::membership::Unsubscrib std::unique_ptr ClubMembershipService::CreateClubMemberId(ObjectGuid guid) { std::unique_ptr id = std::make_unique(); - id->mutable_account_id()->set_id(sCharacterCache->GetCharacterAccountIdByGuid(guid)); + id->set_account_id(sCharacterCache->GetCharacterAccountIdByGuid(guid)); id->set_unique_id(Clubs::CreateClubMemberId(guid)); return id; } diff --git a/src/server/game/Services/ClubMembershipService.h b/src/server/game/Services/ClubMembershipService.h index f914f8e25cd..bdc5027aed5 100644 --- a/src/server/game/Services/ClubMembershipService.h +++ b/src/server/game/Services/ClubMembershipService.h @@ -19,19 +19,19 @@ #define ClubMembershipService_h__ #include "WorldserverService.h" -#include "club_membership_service.pb.h" +#include "api/client/v1/club_membership_service.pb.h" namespace Battlenet::Services { -class ClubMembershipService : public WorldserverService +class ClubMembershipService : public WorldserverService { - typedef WorldserverService BaseService; + typedef WorldserverService BaseService; public: ClubMembershipService(WorldSession* session); - uint32 HandleSubscribe(club::v1::membership::SubscribeRequest const* request, club::v1::membership::SubscribeResponse* response, std::function& continuation) override; - uint32 HandleUnsubscribe(club::v1::membership::UnsubscribeRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleSubscribe(club_membership::v1::client::SubscribeRequest const* request, club_membership::v1::client::SubscribeResponse* response, std::function& continuation) override; + uint32 HandleUnsubscribe(club_membership::v1::client::UnsubscribeRequest const* request, NoData* response, std::function& continuation) override; static std::unique_ptr CreateClubMemberId(ObjectGuid guid); }; diff --git a/src/server/game/Services/ClubService.cpp b/src/server/game/Services/ClubService.cpp index 4b4156a7513..0beb13ed6ba 100644 --- a/src/server/game/Services/ClubService.cpp +++ b/src/server/game/Services/ClubService.cpp @@ -22,13 +22,13 @@ #include "Guild.h" #include "Player.h" #include "SocialMgr.h" -#include "club_listener.pb.h" +#include "api/client/v1/club_listener.pb.h" namespace Battlenet::Services { ClubService::ClubService(WorldSession* session) : BaseService(session) { } -uint32 ClubService::HandleGetClubType(club::v1::GetClubTypeRequest const* request, club::v1::GetClubTypeResponse* response, +uint32 ClubService::HandleGetClubType(club::v1::client::GetClubTypeRequest const* request, club::v1::client::GetClubTypeResponse* response, std::function& /*continuation*/) { // We only support guilds for now. @@ -41,7 +41,7 @@ uint32 ClubService::HandleGetClubType(club::v1::GetClubTypeRequest const* reques return ERROR_NOT_IMPLEMENTED; } -uint32 ClubService::HandleSubscribe(club::v1::SubscribeRequest const* /*request*/, NoData* /*response*/, +uint32 ClubService::HandleSubscribe(club::v1::client::SubscribeRequest const* /*request*/, NoData* /*response*/, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -55,7 +55,7 @@ uint32 ClubService::HandleSubscribe(club::v1::SubscribeRequest const* /*request* return ERROR_CLUB_NO_CLUB; // Subscibe the client to it's own guild club. - club::v1::SubscribeNotification subscribeNotification; + club::v1::client::SubscribeNotification subscribeNotification; Guild::Member const* guildMember = guild->GetMember(player->GetGUID()); @@ -70,7 +70,7 @@ uint32 ClubService::HandleSubscribe(club::v1::SubscribeRequest const* /*request* subscribeNotification.set_club_id(guild->GetId()); subscribeNotification.set_allocated_agent_id(ClubMembershipService::CreateClubMemberId(player->GetGUID()).release()); - club::v1::Club* guildClub = subscribeNotification.mutable_club(); + club::v1::client::Club* guildClub = subscribeNotification.mutable_club(); guildClub->set_id(guild->GetId()); guildClub->set_allocated_type(CreateGuildClubType().release()); @@ -83,12 +83,12 @@ uint32 ClubService::HandleSubscribe(club::v1::SubscribeRequest const* /*request* guildClub->set_member_count(guild->GetMembersCount()); // Set the club leader, guild master in this case. - club::v1::MemberDescription* guildLeaderDescription = guildClub->add_leader(); + club::v1::client::MemberDescription* guildLeaderDescription = guildClub->add_leader(); - guildLeaderDescription->mutable_id()->mutable_account_id()->set_id(guildLeader->GetAccountId()); + guildLeaderDescription->mutable_id()->set_account_id(guildLeader->GetAccountId()); guildLeaderDescription->mutable_id()->set_unique_id(guildLeader->GetGUID().GetCounter()); - club::v1::Member* subscriber = subscribeNotification.mutable_member(); + club::v1::client::Member* subscriber = subscribeNotification.mutable_member(); // The member sending the notification data. subscriber->set_allocated_id(ClubMembershipService::CreateClubMemberId(player->GetGUID()).release()); @@ -103,32 +103,32 @@ uint32 ClubService::HandleSubscribe(club::v1::SubscribeRequest const* /*request* else subscriber->add_role(AsUnderlyingType(ClubRoleIdentifier::Member)); - subscriber->set_presence_level(club::v1::PRESENCE_LEVEL_RICH); - subscriber->set_whisper_level(club::v1::WHISPER_LEVEL_OPEN); + subscriber->set_presence_level(club::v1::client::PRESENCE_LEVEL_RICH); + subscriber->set_whisper_level(club::v1::client::WHISPER_LEVEL_OPEN); // Member is online and active. subscriber->set_active(true); - WorldserverService(_session).OnSubscribe(&subscribeNotification, true, true); + WorldserverService(_session).OnSubscribe(&subscribeNotification, true, true); // Notify the client about the changed club state. - club::v1::SubscriberStateChangedNotification subscriberStateChangedNotification; + club::v1::client::SubscriberStateChangedNotification subscriberStateChangedNotification; subscriberStateChangedNotification.set_club_id(guild->GetId()); - club::v1::SubscriberStateAssignment* assignment = subscriberStateChangedNotification.add_assignment(); + club::v1::client::SubscriberStateAssignment* assignment = subscriberStateChangedNotification.add_assignment(); assignment->set_allocated_member_id(ClubMembershipService::CreateClubMemberId(player->GetGUID()).release()); // Member is online and active. assignment->set_active(true); - WorldserverService(_session).OnSubscriberStateChanged(&subscriberStateChangedNotification, true, true); + WorldserverService(_session).OnSubscriberStateChanged(&subscriberStateChangedNotification, true, true); return ERROR_OK; } -uint32 ClubService::HandleGetMembers(club::v1::GetMembersRequest const* /*request*/, club::v1::GetMembersResponse* response, +uint32 ClubService::HandleGetMembers(club::v1::client::GetMembersRequest const* /*request*/, club::v1::client::GetMembersResponse* response, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -145,7 +145,7 @@ uint32 ClubService::HandleGetMembers(club::v1::GetMembersRequest const* /*reques for (auto const& [guid, member] : guild->GetMembers()) { - club::v1::Member* clubMember = response->add_member(); + club::v1::client::Member* clubMember = response->add_member(); clubMember->set_allocated_id(ClubMembershipService::CreateClubMemberId(guid).release()); @@ -158,8 +158,8 @@ uint32 ClubService::HandleGetMembers(club::v1::GetMembersRequest const* /*reques else clubMember->add_role(AsUnderlyingType(ClubRoleIdentifier::Member)); - clubMember->set_presence_level(club::v1::PresenceLevel::PRESENCE_LEVEL_RICH); - clubMember->set_whisper_level(club::v1::WhisperLevel::WHISPER_LEVEL_OPEN); + clubMember->set_presence_level(club::v1::client::PresenceLevel::PRESENCE_LEVEL_RICH); + clubMember->set_whisper_level(club::v1::client::WhisperLevel::WHISPER_LEVEL_OPEN); clubMember->set_note(member.GetPublicNote()); clubMember->set_active(member.IsOnline()); } @@ -167,7 +167,7 @@ uint32 ClubService::HandleGetMembers(club::v1::GetMembersRequest const* /*reques return ERROR_OK; } -uint32 ClubService::HandleGetStreams(club::v1::GetStreamsRequest const* /*request*/, club::v1::GetStreamsResponse* response, +uint32 ClubService::HandleGetStreams(club::v1::client::GetStreamsRequest const* /*request*/, club::v1::client::GetStreamsResponse* response, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -181,7 +181,7 @@ uint32 ClubService::HandleGetStreams(club::v1::GetStreamsRequest const* /*reques return ERROR_CLUB_NO_CLUB; // General guild channel. - club::v1::Stream* generalGuildChannelStream = response->add_stream(); + club::v1::client::Stream* generalGuildChannelStream = response->add_stream(); generalGuildChannelStream->set_club_id(guild->GetId()); generalGuildChannelStream->set_id(AsUnderlyingType(ClubStreamType::Guild)); @@ -202,10 +202,10 @@ uint32 ClubService::HandleGetStreams(club::v1::GetStreamsRequest const* /*reques generalGuildChannelStream->mutable_access()->add_role(AsUnderlyingType(ClubRoleIdentifier::Member)); // No voice support. - generalGuildChannelStream->set_voice_level(club::v1::StreamVoiceLevel::VOICE_LEVEL_DISABLED); + generalGuildChannelStream->set_voice_level(club::v1::client::StreamVoiceLevel::VOICE_LEVEL_DISABLED); // Officer guild channel. - club::v1::Stream* officerGuildChannelStream = response->add_stream(); + club::v1::client::Stream* officerGuildChannelStream = response->add_stream(); officerGuildChannelStream->set_club_id(guild->GetId()); officerGuildChannelStream->set_id(AsUnderlyingType(ClubStreamType::Officer)); @@ -225,15 +225,15 @@ uint32 ClubService::HandleGetStreams(club::v1::GetStreamsRequest const* /*reques officerGuildChannelStream->mutable_access()->add_role(AsUnderlyingType(ClubRoleIdentifier::Moderator)); // No voice support. - officerGuildChannelStream->set_voice_level(club::v1::StreamVoiceLevel::VOICE_LEVEL_DISABLED); + officerGuildChannelStream->set_voice_level(club::v1::client::StreamVoiceLevel::VOICE_LEVEL_DISABLED); // Enable channel view - club::v1::StreamView* generalView = response->add_view(); + club::v1::client::StreamView* generalView = response->add_view(); generalView->set_club_id(guild->GetId()); generalView->set_stream_id(AsUnderlyingType(ClubStreamType::Guild)); - club::v1::StreamView* officerView = response->add_view(); + club::v1::client::StreamView* officerView = response->add_view(); officerView->set_club_id(guild->GetId()); officerView->set_stream_id(AsUnderlyingType(ClubStreamType::Officer)); @@ -241,7 +241,7 @@ uint32 ClubService::HandleGetStreams(club::v1::GetStreamsRequest const* /*reques return ERROR_OK; } -uint32 ClubService::HandleSubscribeStream(club::v1::SubscribeStreamRequest const* request, NoData* /*response*/, +uint32 ClubService::HandleSubscribeStream(club::v1::client::SubscribeStreamRequest const* request, NoData* /*response*/, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -262,14 +262,14 @@ uint32 ClubService::HandleSubscribeStream(club::v1::SubscribeStreamRequest const return ERROR_OK; } -uint32 ClubService::HandleUnsubscribeStream(club::v1::UnsubscribeStreamRequest const* /*request*/, NoData* /*response*/, +uint32 ClubService::HandleUnsubscribeStream(club::v1::client::UnsubscribeStreamRequest const* /*request*/, NoData* /*response*/, std::function& /*continuation*/) { // We just have to signal the client that the unsubscribe request came through. return ERROR_OK; } -uint32 ClubService::HandleSetStreamFocus(club::v1::SetStreamFocusRequest const* /*request*/, NoData* /*response*/, +uint32 ClubService::HandleSetStreamFocus(club::v1::client::SetStreamFocusRequest const* /*request*/, NoData* /*response*/, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -285,7 +285,7 @@ uint32 ClubService::HandleSetStreamFocus(club::v1::SetStreamFocusRequest const* return ERROR_OK; } -uint32 ClubService::HandleAdvanceStreamViewTime(club::v1::AdvanceStreamViewTimeRequest const* /*request*/, NoData* /*response*/, +uint32 ClubService::HandleAdvanceStreamViewTime(club::v1::client::AdvanceStreamViewTimeRequest const* /*request*/, NoData* /*response*/, std::function& /*continuation*/) { Player const* player = _session->GetPlayer(); @@ -301,7 +301,7 @@ uint32 ClubService::HandleAdvanceStreamViewTime(club::v1::AdvanceStreamViewTimeR return ERROR_OK; } -uint32 ClubService::HandleCreateMessage(club::v1::CreateMessageRequest const* request, club::v1::CreateMessageResponse* response, +uint32 ClubService::HandleCreateMessage(club::v1::client::CreateMessageRequest const* request, club::v1::client::CreateMessageResponse* response, std::function& continuation) { // Basic sanity check until full communities are implemented. @@ -343,7 +343,7 @@ uint32 ClubService::HandleCreateMessage(club::v1::CreateMessageRequest const* re FillStreamMessage(response->mutable_message(), request->options().content(), messageTime, player->GetGUID()); - club::v1::StreamMessageAddedNotification messageAddedNotification; + club::v1::client::StreamMessageAddedNotification messageAddedNotification; messageAddedNotification.set_allocated_agent_id(ClubMembershipService::CreateClubMemberId(player->GetGUID()).release()); messageAddedNotification.set_club_id(guild->GetId()); messageAddedNotification.set_stream_id(request->stream_id()); @@ -358,7 +358,7 @@ uint32 ClubService::HandleCreateMessage(club::v1::CreateMessageRequest const* re if (receiver->GetSocial()->HasIgnore(player->GetGUID(), _session->GetAccountGUID())) return; - WorldserverService(receiver->GetSession()).OnStreamMessageAdded(&messageAddedNotification, true, true); + WorldserverService(receiver->GetSession()).OnStreamMessageAdded(&messageAddedNotification, true, true); }, player); return ERROR_OK; @@ -378,14 +378,14 @@ std::unique_ptr ClubService::CreateGuildClubType() return type; } -void ClubService::FillStreamMessage(club::v1::StreamMessage* message, std::string_view msg, std::chrono::microseconds messageTime, ObjectGuid author) +void ClubService::FillStreamMessage(club::v1::client::StreamMessage* message, std::string_view msg, std::chrono::microseconds messageTime, ObjectGuid author) { message->mutable_id()->set_epoch(messageTime.count()); message->mutable_id()->set_position(0); message->mutable_author()->set_allocated_id(ClubMembershipService::CreateClubMemberId(author).release()); - club::v1::ContentChain* contentChain = message->add_content_chain(); + club::v1::client::ContentChain* contentChain = message->add_content_chain(); contentChain->set_content(msg.data(), msg.size()); contentChain->set_edit_time(messageTime.count()); diff --git a/src/server/game/Services/ClubService.h b/src/server/game/Services/ClubService.h index 8a7072bc5d0..f0da8fee0bd 100644 --- a/src/server/game/Services/ClubService.h +++ b/src/server/game/Services/ClubService.h @@ -19,32 +19,32 @@ #define ClubService_h__ #include "WorldserverService.h" -#include "club_service.pb.h" +#include "api/client/v1/club_service.pb.h" namespace Battlenet::Services { -class ClubService : public WorldserverService +class ClubService : public WorldserverService { - typedef WorldserverService BaseService; + typedef WorldserverService BaseService; public: ClubService(WorldSession* session); - uint32 HandleGetClubType(club::v1::GetClubTypeRequest const* request, club::v1::GetClubTypeResponse* response, std::function& continuation) override; - uint32 HandleSubscribe(club::v1::SubscribeRequest const* request, NoData* response, std::function& continuation) override; - uint32 HandleGetMembers(club::v1::GetMembersRequest const* request, club::v1::GetMembersResponse* response, std::function& continuation) override; - uint32 HandleGetStreams(club::v1::GetStreamsRequest const* request, club::v1::GetStreamsResponse* response, std::function& continuation) override; - uint32 HandleSubscribeStream(club::v1::SubscribeStreamRequest const* request, NoData* response, std::function& continuation) override; - uint32 HandleUnsubscribeStream(club::v1::UnsubscribeStreamRequest const* request, NoData* response, std::function& continuation) override; - uint32 HandleSetStreamFocus(club::v1::SetStreamFocusRequest const* request, NoData* response, std::function& continuation) override; - uint32 HandleAdvanceStreamViewTime(club::v1::AdvanceStreamViewTimeRequest const* request, NoData* response, std::function& continuation) override; - uint32 HandleCreateMessage(club::v1::CreateMessageRequest const* request, club::v1::CreateMessageResponse* response, std::function& continuation) override; + uint32 HandleGetClubType(club::v1::client::GetClubTypeRequest const* request, club::v1::client::GetClubTypeResponse* response, std::function& continuation) override; + uint32 HandleSubscribe(club::v1::client::SubscribeRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleGetMembers(club::v1::client::GetMembersRequest const* request, club::v1::client::GetMembersResponse* response, std::function& continuation) override; + uint32 HandleGetStreams(club::v1::client::GetStreamsRequest const* request, club::v1::client::GetStreamsResponse* response, std::function& continuation) override; + uint32 HandleSubscribeStream(club::v1::client::SubscribeStreamRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleUnsubscribeStream(club::v1::client::UnsubscribeStreamRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleSetStreamFocus(club::v1::client::SetStreamFocusRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleAdvanceStreamViewTime(club::v1::client::AdvanceStreamViewTimeRequest const* request, NoData* response, std::function& continuation) override; + uint32 HandleCreateMessage(club::v1::client::CreateMessageRequest const* request, club::v1::client::CreateMessageResponse* response, std::function& continuation) override; static std::unique_ptr CreateGuildClubType(); private: - static void FillStreamMessage(club::v1::StreamMessage* message, std::string_view msg, std::chrono::microseconds messageTime, ObjectGuid author); + static void FillStreamMessage(club::v1::client::StreamMessage* message, std::string_view msg, std::chrono::microseconds messageTime, ObjectGuid author); }; } diff --git a/src/server/game/Services/WorldserverServiceDispatcher.cpp b/src/server/game/Services/WorldserverServiceDispatcher.cpp index 62e25e6e326..a91ba05e994 100644 --- a/src/server/game/Services/WorldserverServiceDispatcher.cpp +++ b/src/server/game/Services/WorldserverServiceDispatcher.cpp @@ -21,16 +21,17 @@ Battlenet::WorldserverServiceDispatcher::WorldserverServiceDispatcher() { AddService>(); AddService>(); + AddService>(); AddService(); AddService(); AddService>(); AddService>(); AddService(); + AddService>(); AddService>(); - AddService>(); AddService>(); AddService>(); - AddService>(); + AddService>(); } void Battlenet::WorldserverServiceDispatcher::Dispatch(WorldSession* session, uint32 serviceHash, uint32 token, uint32 methodId, MessageBuffer buffer) diff --git a/src/server/game/Services/WorldserverServiceDispatcher.h b/src/server/game/Services/WorldserverServiceDispatcher.h index 70e76aacc3f..b4fd09d22b1 100644 --- a/src/server/game/Services/WorldserverServiceDispatcher.h +++ b/src/server/game/Services/WorldserverServiceDispatcher.h @@ -23,20 +23,23 @@ #include "Log.h" #include "account_service.pb.h" #include "authentication_service.pb.h" +#include "api/client/v1/block_list_listener.pb.h" +#include "api/client/v1/block_list_service.pb.h" #include "challenge_service.pb.h" -#include "club_listener.pb.h" -#include "club_membership_listener.pb.h" +#include "api/client/v1/club_listener.pb.h" +#include "api/client/v1/club_membership_listener.pb.h" #include "ClubMembershipService.h" #include "ClubService.h" #include "connection_service.pb.h" #include "friends_service.pb.h" #include "WorldserverGameUtilitiesService.h" +#include "api/client/v2/notification_service.pb.h" #include "presence_listener.pb.h" #include "presence_service.pb.h" -#include "report_service.pb.h" #include "api/client/v2/report_service.pb.h" #include "resource_service.pb.h" -#include "user_manager_service.pb.h" +#include "api/client/v2/whisper_listener.pb.h" +#include "api/client/v2/whisper_service.pb.h" namespace Battlenet { diff --git a/src/server/proto/Client/account_service.pb.cc b/src/server/proto/Client/account_service.pb.cc index 1b9b6a6ee5c..d033de02168 100644 --- a/src/server/proto/Client/account_service.pb.cc +++ b/src/server/proto/Client/account_service.pb.cc @@ -829,7 +829,7 @@ void protobuf_AddDesc_account_5fservice_2eproto() { "ame_account\030\001 \001(\0132*.bgs.protocol.account" ".v1.GameAccountHandle\022D\n\014session_info\030\002 " "\001(\0132..bgs.protocol.account.v1.GameSessio" - "nUpdateInfo2\363\r\n\016AccountService\022y\n\016Resolv" + "nUpdateInfo2\365\r\n\016AccountService\022y\n\016Resolv" "eAccount\022..bgs.protocol.account.v1.Resol" "veAccountRequest\032/.bgs.protocol.account." "v1.ResolveAccountResponse\"\006\202\371+\002\010\r\022|\n\tSub" @@ -872,22 +872,22 @@ void protobuf_AddDesc_account_5fservice_2eproto() { "bgs.protocol.account.v1.GetAccountPlatfo" "rmRestrictionsRequest\032\?.bgs.protocol.acc" "ount.v1.GetAccountPlatformRestrictionsRe" - "sponse\"\006\202\371+\002\010.\0329\202\371+/\n$bnet.protocol.acco" - "unt.AccountService*\007account\212\371+\002\020\0012\220\004\n\017Ac" - "countListener\022m\n\025OnAccountStateUpdated\0221" - ".bgs.protocol.account.v1.AccountStateNot" - "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371" - "+\002\010\001\022u\n\031OnGameAccountStateUpdated\0225.bgs." - "protocol.account.v1.GameAccountStateNoti" - "fication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+" - "\002\010\002\022n\n\025OnGameAccountsUpdated\0220.bgs.proto" - "col.account.v1.GameAccountNotification\032\031" - ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003P\001\022t\n\024O" - "nGameSessionUpdated\0227.bgs.protocol.accou" - "nt.v1.GameAccountSessionNotification\032\031.b" - "gs.protocol.NO_RESPONSE\"\010\202\371+\004\010\004P\001\0321\202\371+\'\n" - "#bnet.protocol.account.AccountNotify8\001\212\371" - "+\002\010\001B\005H\002\200\001\000", 6131); + "sponse\"\006\202\371+\002\010.\032;\202\371+/\n$bnet.protocol.acco" + "unt.AccountService*\007account\212\371+\004\020\001 \0012\222\004\n\017" + "AccountListener\022m\n\025OnAccountStateUpdated" + "\0221.bgs.protocol.account.v1.AccountStateN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\010\001\022u\n\031OnGameAccountStateUpdated\0225.bg" + "s.protocol.account.v1.GameAccountStateNo" + "tification\032\031.bgs.protocol.NO_RESPONSE\"\006\202" + "\371+\002\010\002\022n\n\025OnGameAccountsUpdated\0220.bgs.pro" + "tocol.account.v1.GameAccountNotification" + "\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003P\001\022t\n" + "\024OnGameSessionUpdated\0227.bgs.protocol.acc" + "ount.v1.GameAccountSessionNotification\032\031" + ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\004P\001\0323\202\371+" + "\'\n#bnet.protocol.account.AccountNotify8\001" + "\212\371+\004\010\001 \001B\005H\002\200\001\000", 6135); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "account_service.proto", &protobuf_RegisterTypes); ResolveAccountRequest::default_instance_ = new ResolveAccountRequest(); diff --git a/src/server/proto/Client/account_types.pb.cc b/src/server/proto/Client/account_types.pb.cc index b13c05a9733..a4b52c290de 100644 --- a/src/server/proto/Client/account_types.pb.cc +++ b/src/server/proto/Client/account_types.pb.cc @@ -442,7 +442,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() { sizeof(PrivacyInfo)); PrivacyInfo_GameInfoPrivacy_descriptor_ = PrivacyInfo_descriptor_->enum_type(0); ParentalControlInfo_descriptor_ = file->message_type(15); - static const int ParentalControlInfo_offsets_[8] = { + static const int ParentalControlInfo_offsets_[9] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, timezone_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, minutes_per_day_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, minutes_per_week_), @@ -451,6 +451,7 @@ void protobuf_AssignDesc_account_5ftypes_2eproto() { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, play_schedule_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, can_join_group_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, can_use_profile_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ParentalControlInfo, in_game_purchase_disabled_), }; ParentalControlInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -1075,10 +1076,10 @@ void protobuf_AddDesc_account_5ftypes_2eproto() { "unt.v1\032\022entity_types.proto\032\'global_exten" "sions/message_options.proto\032%global_exte" "nsions/field_options.proto\")\n\tAccountId\022" - "\024\n\002id\030\001 \002(\007B\010\212\371+\004\022\002\020\000:\006\202\371+\002\010\001\"-\n\016Account" + "\024\n\002id\030\001 \001(\007B\010\212\371+\004\022\002\020\000:\006\202\371+\002\010\001\"-\n\016Account" "License\022\n\n\002id\030\001 \002(\r\022\017\n\007expires\030\002 \001(\004\"k\n\021" - "GameAccountHandle\022\024\n\002id\030\001 \002(\007B\010\212\371+\004\022\002\020\000\022" - "\031\n\007program\030\002 \002(\007B\010\212\371+\004\022\002\020\000\022\035\n\006region\030\003 \002" + "GameAccountHandle\022\024\n\002id\030\001 \001(\007B\010\212\371+\004\022\002\020\000\022" + "\031\n\007program\030\002 \001(\007B\010\212\371+\004\022\002\020\000\022\035\n\006region\030\003 \001" "(\rB\r\212\371+\t\022\007\n\005\010\001\020\377\001:\006\202\371+\002\010\001\"\306\001\n\020AccountRef" "erence\022\n\n\002id\030\001 \001(\007\022\025\n\005email\030\002 \001(\tB\006\202\371+\002\010" "\001\022:\n\006handle\030\003 \001(\0132*.bgs.protocol.account" @@ -1098,162 +1099,164 @@ void protobuf_AddDesc_account_5ftypes_2eproto() { "e_status_tags\030\t \003(\0132#.bgs.protocol.accou" "nt.v1.ProgramTag\022=\n\021game_account_tags\030\013 " "\003(\0132\".bgs.protocol.account.v1.RegionTag\022" - "\033\n\023security_status_tag\030\014 \001(\007\"~\n\024GameAcco" - "untFieldTags\022\033\n\023game_level_info_tag\030\002 \001(" - "\007\022\032\n\022game_time_info_tag\030\003 \001(\007\022\027\n\017game_st" - "atus_tag\030\004 \001(\007\022\024\n\014raf_info_tag\030\005 \001(\007\"\202\002\n" - "\023AccountFieldOptions\022\022\n\nall_fields\030\001 \001(\010" - "\022 \n\030field_account_level_info\030\002 \001(\010\022\032\n\022fi" - "eld_privacy_info\030\003 \001(\010\022#\n\033field_parental" - "_control_info\030\004 \001(\010\022\035\n\025field_game_level_" - "info\030\006 \001(\010\022\031\n\021field_game_status\030\007 \001(\010\022\033\n" - "\023field_game_accounts\030\010 \001(\010\022\035\n\025field_secu" - "rity_status\030\t \001(\010\"\235\001\n\027GameAccountFieldOp" - "tions\022\022\n\nall_fields\030\001 \001(\010\022\035\n\025field_game_" - "level_info\030\002 \001(\010\022\034\n\024field_game_time_info" - "\030\003 \001(\010\022\031\n\021field_game_status\030\004 \001(\010\022\026\n\016fie" - "ld_raf_info\030\005 \001(\010\"\222\003\n\023SubscriberReferenc" - "e\022\024\n\tobject_id\030\001 \001(\004:\0010\022)\n\tentity_id\030\002 \001" - "(\0132\026.bgs.protocol.EntityId\022E\n\017account_op" - "tions\030\003 \001(\0132,.bgs.protocol.account.v1.Ac" - "countFieldOptions\022\?\n\014account_tags\030\004 \001(\0132" - ").bgs.protocol.account.v1.AccountFieldTa" - "gs\022N\n\024game_account_options\030\005 \001(\01320.bgs.p" - "rotocol.account.v1.GameAccountFieldOptio" - "ns\022H\n\021game_account_tags\030\006 \001(\0132-.bgs.prot" - "ocol.account.v1.GameAccountFieldTags\022\030\n\r" - "subscriber_id\030\007 \001(\004:\0010\"\031\n\006OptIns\022\017\n\003ids\030" - "\001 \003(\004B\002\020\001\"\200\005\n\020AccountLevelInfo\0229\n\010licens" - "es\030\003 \003(\0132\'.bgs.protocol.account.v1.Accou" - "ntLicense\022\030\n\020default_currency\030\004 \001(\007\022\017\n\007c" - "ountry\030\005 \001(\t\022\030\n\020preferred_region\030\006 \001(\r\022\031" - "\n\tfull_name\030\007 \001(\tB\006\202\371+\002\010\001\022\032\n\nbattle_tag\030" - "\010 \001(\tB\006\202\371+\002\010\001\022\r\n\005muted\030\t \001(\010\022\025\n\rmanual_r" - "eview\030\n \001(\010\022\030\n\020account_paid_any\030\013 \001(\010\022R\n" - "\025identity_check_status\030\014 \001(\01623.bgs.proto" - "col.account.v1.IdentityVerificationStatu" - "s\022\025\n\005email\030\r \001(\tB\006\202\371+\002\010\001\022\030\n\020headless_acc" - "ount\030\016 \001(\010\022\024\n\014test_account\030\017 \001(\010\022\030\n\020is_s" - "ms_protected\030\021 \001(\010\022!\n\031ratings_board_mini" - "mum_age\030\022 \001(\r\022\034\n\014phone_number\030\023 \001(\tB\006\202\371+" - "\002\010\001\022\031\n\tbirthdate\030\024 \001(\tB\006\202\371+\002\010\001\0222\n*legal_" - "country_feature_restrictions_applied\030\025 \001" - "(\010\0220\n\007opt_ins\030\026 \001(\0132\037.bgs.protocol.accou" - "nt.v1.OptIns\"\302\002\n\013PrivacyInfo\022\024\n\014is_using" - "_rid\030\003 \001(\010\022#\n\033is_visible_for_view_friend" - "s\030\004 \001(\010\022$\n\034is_hidden_from_friend_finder\030" - "\005 \001(\010\022`\n\021game_info_privacy\030\006 \001(\01624.bgs.p" - "rotocol.account.v1.PrivacyInfo.GameInfoP" - "rivacy:\017PRIVACY_FRIENDS\022\"\n\032only_allow_fr" - "iend_whispers\030\007 \001(\010\"L\n\017GameInfoPrivacy\022\016" - "\n\nPRIVACY_ME\020\000\022\023\n\017PRIVACY_FRIENDS\020\001\022\024\n\020P" - "RIVACY_EVERYONE\020\002\"\325\001\n\023ParentalControlInf" - "o\022\020\n\010timezone\030\003 \001(\t\022\027\n\017minutes_per_day\030\004" - " \001(\r\022\030\n\020minutes_per_week\030\005 \001(\r\022\031\n\021can_re" - "ceive_voice\030\006 \001(\010\022\026\n\016can_send_voice\030\007 \001(" - "\010\022\025\n\rplay_schedule\030\010 \003(\010\022\026\n\016can_join_gro" - "up\030\t \001(\010\022\027\n\017can_use_profile\030\n \001(\010\"B\n\027Pla" - "yScheduleRestriction\022\025\n\rplay_schedule\030\001 " - "\003(\010\022\020\n\010timezone\030\002 \001(\t\"\374\001\n\rGameLevelInfo\022" - "\020\n\010is_trial\030\004 \001(\010\022\023\n\013is_lifetime\030\005 \001(\010\022\025" - "\n\ris_restricted\030\006 \001(\010\022\017\n\007is_beta\030\007 \001(\010\022\024" - "\n\004name\030\010 \001(\tB\006\202\371+\002\010\001\022\017\n\007program\030\t \001(\007\0229\n" - "\010licenses\030\n \003(\0132\'.bgs.protocol.account.v" - "1.AccountLicense\022\031\n\021realm_permissions\030\013 " - "\001(\r\022\037\n\023last_logout_time_ms\030\014 \001(\004B\002\030\001\"\205\001\n" - "\014GameTimeInfo\022\036\n\026is_unlimited_play_time\030" - "\003 \001(\010\022\031\n\021play_time_expires\030\005 \001(\004\022\027\n\017is_s" - "ubscription\030\006 \001(\010\022!\n\031is_recurring_subscr" - "iption\030\007 \001(\010\"\261\001\n\025GameTimeRemainingInfo\022\031" - "\n\021minutes_remaining\030\001 \001(\r\022(\n parental_da" - "ily_minutes_remaining\030\002 \001(\r\022)\n!parental_" - "weekly_minutes_remaining\030\003 \001(\r\022(\n\034second" - "s_remaining_until_kick\030\004 \001(\rB\002\030\001\"\220\001\n\nGam" - "eStatus\022\024\n\014is_suspended\030\004 \001(\010\022\021\n\tis_bann" - "ed\030\005 \001(\010\022\032\n\022suspension_expires\030\006 \001(\004\022\017\n\007" - "program\030\007 \001(\007\022\021\n\tis_locked\030\010 \001(\010\022\031\n\021is_b" - "am_unlockable\030\t \001(\010\"\033\n\007RAFInfo\022\020\n\010raf_in" - "fo\030\001 \001(\014\"\250\002\n\017GameSessionInfo\022\026\n\nstart_ti" - "me\030\003 \001(\rB\002\030\001\022>\n\010location\030\004 \001(\0132,.bgs.pro" - "tocol.account.v1.GameSessionLocation\022\026\n\016" - "has_benefactor\030\005 \001(\010\022\024\n\014is_using_igr\030\006 \001" - "(\010\022 \n\030parental_controls_active\030\007 \001(\010\022\026\n\016" - "start_time_sec\030\010 \001(\004\022.\n\006igr_id\030\t \001(\0132\036.b" - "gs.protocol.account.v1.IgrId\022\023\n\013platform" - "_id\030\n \001(\007\022\020\n\010igr_paid\030\013 \001(\010\"D\n\025GameSessi" - "onUpdateInfo\022+\n\004cais\030\010 \001(\0132\035.bgs.protoco" - "l.account.v1.CAIS\"H\n\023GameSessionLocation" - "\022\022\n\nip_address\030\001 \001(\t\022\017\n\007country\030\002 \001(\r\022\014\n" - "\004city\030\003 \001(\t\"O\n\004CAIS\022\026\n\016played_minutes\030\001 " - "\001(\r\022\026\n\016rested_minutes\030\002 \001(\r\022\027\n\017last_hear" - "d_time\030\003 \001(\004\"]\n\017GameAccountList\022\016\n\006regio" - "n\030\003 \001(\r\022:\n\006handle\030\004 \003(\0132*.bgs.protocol.a" - "ccount.v1.GameAccountHandle\"\231\001\n\016Security" - "Status\022\033\n\023sms_protect_enabled\030\001 \001(\010\022\026\n\016e" - "mail_verified\030\002 \001(\010\022\035\n\025authenticator_ena" - "bled\030\003 \001(\010\022\023\n\013sqa_enabled\030\004 \001(\010\022\036\n\026authe" - "nticator_required\030\005 \001(\010\"\251\004\n\014AccountState" - "\022E\n\022account_level_info\030\001 \001(\0132).bgs.proto" - "col.account.v1.AccountLevelInfo\022:\n\014priva" - "cy_info\030\002 \001(\0132$.bgs.protocol.account.v1." - "PrivacyInfo\022K\n\025parental_control_info\030\003 \001" - "(\0132,.bgs.protocol.account.v1.ParentalCon" - "trolInfo\022\?\n\017game_level_info\030\005 \003(\0132&.bgs." - "protocol.account.v1.GameLevelInfo\0228\n\013gam" - "e_status\030\006 \003(\0132#.bgs.protocol.account.v1" - ".GameStatus\022\?\n\rgame_accounts\030\007 \003(\0132(.bgs" - ".protocol.account.v1.GameAccountList\022@\n\017" - "security_status\030\010 \001(\0132\'.bgs.protocol.acc" - "ount.v1.SecurityStatus\022K\n\021government_cur" - "few\030\t \001(\01320.bgs.protocol.account.v1.Play" - "ScheduleRestriction\"\223\001\n\022AccountStateTagg" - "ed\022<\n\raccount_state\030\001 \001(\0132%.bgs.protocol" - ".account.v1.AccountState\022\?\n\014account_tags" - "\030\002 \001(\0132).bgs.protocol.account.v1.Account" - "FieldTags\"\200\002\n\020GameAccountState\022\?\n\017game_l" - "evel_info\030\001 \001(\0132&.bgs.protocol.account.v" - "1.GameLevelInfo\022=\n\016game_time_info\030\002 \001(\0132" - "%.bgs.protocol.account.v1.GameTimeInfo\0228" - "\n\013game_status\030\003 \001(\0132#.bgs.protocol.accou" - "nt.v1.GameStatus\0222\n\010raf_info\030\004 \001(\0132 .bgs" - ".protocol.account.v1.RAFInfo\"\251\001\n\026GameAcc" - "ountStateTagged\022E\n\022game_account_state\030\001 " - "\001(\0132).bgs.protocol.account.v1.GameAccoun" - "tState\022H\n\021game_account_tags\030\002 \001(\0132-.bgs." - "protocol.account.v1.GameAccountFieldTags" - "\"/\n\016AuthorizedData\022\014\n\004data\030\001 \001(\t\022\017\n\007lice" - "nse\030\002 \003(\r\"~\n\005IgrId\022F\n\014game_account\030\001 \001(\013" - "2*.bgs.protocol.account.v1.GameAccountHa" - "ndleB\002\030\001H\000\022\025\n\013external_id\030\002 \001(\007H\000\022\016\n\004uui" - "d\030\003 \001(\tH\000B\006\n\004type\"4\n\nIgrAddress\022\026\n\016clien" - "t_address\030\001 \001(\t\022\016\n\006region\030\002 \001(\r\"\234\001\n\025Acco" - "untPrivacySetting\022\024\n\014is_using_rid\030\001 \001(\010\022" - "#\n\033is_visible_for_view_friends\030\002 \001(\010\022$\n\034" - "is_hidden_from_friend_finder\030\003 \001(\010\022\"\n\032on" - "ly_allow_friend_whispers\030\004 \001(\010\"\343\003\n\013Accou" - "ntInfo\022\032\n\nbattle_tag\030\001 \001(\tB\006\202\371+\002\010\001\022\025\n\005em" - "ail\030\002 \001(\tB\006\202\371+\002\010\001\022\034\n\014phone_number\030\003 \001(\tB" - "\006\202\371+\002\010\001\022\031\n\tfull_name\030\004 \001(\tB\006\202\371+\002\010\001\022\031\n\tbi" - "rthdate\030\005 \001(\tB\006\202\371+\002\010\001\022\017\n\007country\030\006 \001(\t\022\030" - "\n\020default_currency\030\007 \001(\t\022\030\n\020preferred_re" - "gion\030\010 \001(\r\022!\n\031ratings_board_minimum_age\030" - "\t \001(\r\022\034\n\024has_parental_control\030\n \001(\010\022\031\n\021i" - "s_email_verified\030\013 \001(\010\022\030\n\020is_sms_protect" - "ed\030\014 \001(\010\022\033\n\023is_headless_account\030\r \001(\010\022\023\n" - "\013is_employee\030\016 \001(\010\022\027\n\017is_test_account\030\017 " - "\001(\010\022G\n\017privacy_setting\030\020 \001(\0132..bgs.proto" - "col.account.v1.AccountPrivacySetting\":\n\021" - "RestrictionStatus\022\016\n\006active\030\001 \001(\010\022\025\n\rexp" - "iration_us\030\002 \001(\004\"\277\001\n\036AccountPlatformRest" - "rictionInfo\022=\n\tsquelched\030\002 \001(\0132*.bgs.pro" - "tocol.account.v1.RestrictionStatus\022^\n*le" - "gal_country_feature_restrictions_applied" - "\030\003 \001(\0132*.bgs.protocol.account.v1.Restric" - "tionStatus*\265\001\n\032IdentityVerificationStatu" - "s\022\021\n\rIDENT_NO_DATA\020\000\022\021\n\rIDENT_PENDING\020\001\022" - "\021\n\rIDENT_OVER_18\020\002\022\022\n\016IDENT_UNDER_18\020\003\022\020" - "\n\014IDENT_FAILED\020\004\022\021\n\rIDENT_SUCCESS\020\005\022\022\n\016I" - "DENT_SUCC_MNL\020\006\022\021\n\rIDENT_UNKNOWN\020\007B\002H\002", 7318); + "\033\n\023security_status_tag\030\014 \001(\007\"\202\001\n\024GameAcc" + "ountFieldTags\022\033\n\023game_level_info_tag\030\002 \001" + "(\007\022\032\n\022game_time_info_tag\030\003 \001(\007\022\027\n\017game_s" + "tatus_tag\030\004 \001(\007\022\030\n\014raf_info_tag\030\005 \001(\007B\002\030" + "\001\"\202\002\n\023AccountFieldOptions\022\022\n\nall_fields\030" + "\001 \001(\010\022 \n\030field_account_level_info\030\002 \001(\010\022" + "\032\n\022field_privacy_info\030\003 \001(\010\022#\n\033field_par" + "ental_control_info\030\004 \001(\010\022\035\n\025field_game_l" + "evel_info\030\006 \001(\010\022\031\n\021field_game_status\030\007 \001" + "(\010\022\033\n\023field_game_accounts\030\010 \001(\010\022\035\n\025field" + "_security_status\030\t \001(\010\"\241\001\n\027GameAccountFi" + "eldOptions\022\022\n\nall_fields\030\001 \001(\010\022\035\n\025field_" + "game_level_info\030\002 \001(\010\022\034\n\024field_game_time" + "_info\030\003 \001(\010\022\031\n\021field_game_status\030\004 \001(\010\022\032" + "\n\016field_raf_info\030\005 \001(\010B\002\030\001\"\222\003\n\023Subscribe" + "rReference\022\024\n\tobject_id\030\001 \001(\004:\0010\022)\n\tenti" + "ty_id\030\002 \001(\0132\026.bgs.protocol.EntityId\022E\n\017a" + "ccount_options\030\003 \001(\0132,.bgs.protocol.acco" + "unt.v1.AccountFieldOptions\022\?\n\014account_ta" + "gs\030\004 \001(\0132).bgs.protocol.account.v1.Accou" + "ntFieldTags\022N\n\024game_account_options\030\005 \001(" + "\01320.bgs.protocol.account.v1.GameAccountF" + "ieldOptions\022H\n\021game_account_tags\030\006 \001(\0132-" + ".bgs.protocol.account.v1.GameAccountFiel" + "dTags\022\030\n\rsubscriber_id\030\007 \001(\004:\0010\"\031\n\006OptIn" + "s\022\017\n\003ids\030\001 \003(\004B\002\020\001\"\200\005\n\020AccountLevelInfo\022" + "9\n\010licenses\030\003 \003(\0132\'.bgs.protocol.account" + ".v1.AccountLicense\022\030\n\020default_currency\030\004" + " \001(\007\022\017\n\007country\030\005 \001(\t\022\030\n\020preferred_regio" + "n\030\006 \001(\r\022\031\n\tfull_name\030\007 \001(\tB\006\202\371+\002\010\001\022\032\n\nba" + "ttle_tag\030\010 \001(\tB\006\202\371+\002\010\001\022\r\n\005muted\030\t \001(\010\022\025\n" + "\rmanual_review\030\n \001(\010\022\030\n\020account_paid_any" + "\030\013 \001(\010\022R\n\025identity_check_status\030\014 \001(\01623." + "bgs.protocol.account.v1.IdentityVerifica" + "tionStatus\022\025\n\005email\030\r \001(\tB\006\202\371+\002\010\001\022\030\n\020hea" + "dless_account\030\016 \001(\010\022\024\n\014test_account\030\017 \001(" + "\010\022\030\n\020is_sms_protected\030\021 \001(\010\022!\n\031ratings_b" + "oard_minimum_age\030\022 \001(\r\022\034\n\014phone_number\030\023" + " \001(\tB\006\202\371+\002\010\001\022\031\n\tbirthdate\030\024 \001(\tB\006\202\371+\002\010\001\022" + "2\n*legal_country_feature_restrictions_ap" + "plied\030\025 \001(\010\0220\n\007opt_ins\030\026 \001(\0132\037.bgs.proto" + "col.account.v1.OptIns\"\302\002\n\013PrivacyInfo\022\024\n" + "\014is_using_rid\030\003 \001(\010\022#\n\033is_visible_for_vi" + "ew_friends\030\004 \001(\010\022$\n\034is_hidden_from_frien" + "d_finder\030\005 \001(\010\022`\n\021game_info_privacy\030\006 \001(" + "\01624.bgs.protocol.account.v1.PrivacyInfo." + "GameInfoPrivacy:\017PRIVACY_FRIENDS\022\"\n\032only" + "_allow_friend_whispers\030\007 \001(\010\"L\n\017GameInfo" + "Privacy\022\016\n\nPRIVACY_ME\020\000\022\023\n\017PRIVACY_FRIEN" + "DS\020\001\022\024\n\020PRIVACY_EVERYONE\020\002\"\370\001\n\023ParentalC" + "ontrolInfo\022\020\n\010timezone\030\003 \001(\t\022\027\n\017minutes_" + "per_day\030\004 \001(\r\022\030\n\020minutes_per_week\030\005 \001(\r\022" + "\031\n\021can_receive_voice\030\006 \001(\010\022\026\n\016can_send_v" + "oice\030\007 \001(\010\022\025\n\rplay_schedule\030\010 \003(\010\022\026\n\016can" + "_join_group\030\t \001(\010\022\027\n\017can_use_profile\030\n \001" + "(\010\022!\n\031in_game_purchase_disabled\030\013 \001(\010\"B\n" + "\027PlayScheduleRestriction\022\025\n\rplay_schedul" + "e\030\001 \003(\010\022\020\n\010timezone\030\002 \001(\t\"\374\001\n\rGameLevelI" + "nfo\022\020\n\010is_trial\030\004 \001(\010\022\023\n\013is_lifetime\030\005 \001" + "(\010\022\025\n\ris_restricted\030\006 \001(\010\022\017\n\007is_beta\030\007 \001" + "(\010\022\024\n\004name\030\010 \001(\tB\006\202\371+\002\010\001\022\017\n\007program\030\t \001(" + "\007\0229\n\010licenses\030\n \003(\0132\'.bgs.protocol.accou" + "nt.v1.AccountLicense\022\031\n\021realm_permission" + "s\030\013 \001(\r\022\037\n\023last_logout_time_ms\030\014 \001(\004B\002\030\001" + "\"\205\001\n\014GameTimeInfo\022\036\n\026is_unlimited_play_t" + "ime\030\003 \001(\010\022\031\n\021play_time_expires\030\005 \001(\004\022\027\n\017" + "is_subscription\030\006 \001(\010\022!\n\031is_recurring_su" + "bscription\030\007 \001(\010\"\261\001\n\025GameTimeRemainingIn" + "fo\022\031\n\021minutes_remaining\030\001 \001(\r\022(\n parenta" + "l_daily_minutes_remaining\030\002 \001(\r\022)\n!paren" + "tal_weekly_minutes_remaining\030\003 \001(\r\022(\n\034se" + "conds_remaining_until_kick\030\004 \001(\rB\002\030\001\"\220\001\n" + "\nGameStatus\022\024\n\014is_suspended\030\004 \001(\010\022\021\n\tis_" + "banned\030\005 \001(\010\022\032\n\022suspension_expires\030\006 \001(\004" + "\022\017\n\007program\030\007 \001(\007\022\021\n\tis_locked\030\010 \001(\010\022\031\n\021" + "is_bam_unlockable\030\t \001(\010\"\033\n\007RAFInfo\022\020\n\010ra" + "f_info\030\001 \001(\014\"\250\002\n\017GameSessionInfo\022\026\n\nstar" + "t_time\030\003 \001(\rB\002\030\001\022>\n\010location\030\004 \001(\0132,.bgs" + ".protocol.account.v1.GameSessionLocation" + "\022\026\n\016has_benefactor\030\005 \001(\010\022\024\n\014is_using_igr" + "\030\006 \001(\010\022 \n\030parental_controls_active\030\007 \001(\010" + "\022\026\n\016start_time_sec\030\010 \001(\004\022.\n\006igr_id\030\t \001(\013" + "2\036.bgs.protocol.account.v1.IgrId\022\023\n\013plat" + "form_id\030\n \001(\007\022\020\n\010igr_paid\030\013 \001(\010\"D\n\025GameS" + "essionUpdateInfo\022+\n\004cais\030\010 \001(\0132\035.bgs.pro" + "tocol.account.v1.CAIS\"H\n\023GameSessionLoca" + "tion\022\022\n\nip_address\030\001 \001(\t\022\017\n\007country\030\002 \001(" + "\r\022\014\n\004city\030\003 \001(\t\"O\n\004CAIS\022\026\n\016played_minute" + "s\030\001 \001(\r\022\026\n\016rested_minutes\030\002 \001(\r\022\027\n\017last_" + "heard_time\030\003 \001(\004\"]\n\017GameAccountList\022\016\n\006r" + "egion\030\003 \001(\r\022:\n\006handle\030\004 \003(\0132*.bgs.protoc" + "ol.account.v1.GameAccountHandle\"\231\001\n\016Secu" + "rityStatus\022\033\n\023sms_protect_enabled\030\001 \001(\010\022" + "\026\n\016email_verified\030\002 \001(\010\022\035\n\025authenticator" + "_enabled\030\003 \001(\010\022\023\n\013sqa_enabled\030\004 \001(\010\022\036\n\026a" + "uthenticator_required\030\005 \001(\010\"\251\004\n\014AccountS" + "tate\022E\n\022account_level_info\030\001 \001(\0132).bgs.p" + "rotocol.account.v1.AccountLevelInfo\022:\n\014p" + "rivacy_info\030\002 \001(\0132$.bgs.protocol.account" + ".v1.PrivacyInfo\022K\n\025parental_control_info" + "\030\003 \001(\0132,.bgs.protocol.account.v1.Parenta" + "lControlInfo\022\?\n\017game_level_info\030\005 \003(\0132&." + "bgs.protocol.account.v1.GameLevelInfo\0228\n" + "\013game_status\030\006 \003(\0132#.bgs.protocol.accoun" + "t.v1.GameStatus\022\?\n\rgame_accounts\030\007 \003(\0132(" + ".bgs.protocol.account.v1.GameAccountList" + "\022@\n\017security_status\030\010 \001(\0132\'.bgs.protocol" + ".account.v1.SecurityStatus\022K\n\021government" + "_curfew\030\t \001(\01320.bgs.protocol.account.v1." + "PlayScheduleRestriction\"\223\001\n\022AccountState" + "Tagged\022<\n\raccount_state\030\001 \001(\0132%.bgs.prot" + "ocol.account.v1.AccountState\022\?\n\014account_" + "tags\030\002 \001(\0132).bgs.protocol.account.v1.Acc" + "ountFieldTags\"\204\002\n\020GameAccountState\022\?\n\017ga" + "me_level_info\030\001 \001(\0132&.bgs.protocol.accou" + "nt.v1.GameLevelInfo\022=\n\016game_time_info\030\002 " + "\001(\0132%.bgs.protocol.account.v1.GameTimeIn" + "fo\0228\n\013game_status\030\003 \001(\0132#.bgs.protocol.a" + "ccount.v1.GameStatus\0226\n\010raf_info\030\004 \001(\0132 " + ".bgs.protocol.account.v1.RAFInfoB\002\030\001\"\251\001\n" + "\026GameAccountStateTagged\022E\n\022game_account_" + "state\030\001 \001(\0132).bgs.protocol.account.v1.Ga" + "meAccountState\022H\n\021game_account_tags\030\002 \001(" + "\0132-.bgs.protocol.account.v1.GameAccountF" + "ieldTags\"/\n\016AuthorizedData\022\014\n\004data\030\001 \001(\t" + "\022\017\n\007license\030\002 \003(\r\"~\n\005IgrId\022F\n\014game_accou" + "nt\030\001 \001(\0132*.bgs.protocol.account.v1.GameA" + "ccountHandleB\002\030\001H\000\022\025\n\013external_id\030\002 \001(\007H" + "\000\022\016\n\004uuid\030\003 \001(\tH\000B\006\n\004type\"4\n\nIgrAddress\022" + "\026\n\016client_address\030\001 \001(\t\022\016\n\006region\030\002 \001(\r\"" + "\234\001\n\025AccountPrivacySetting\022\024\n\014is_using_ri" + "d\030\001 \001(\010\022#\n\033is_visible_for_view_friends\030\002" + " \001(\010\022$\n\034is_hidden_from_friend_finder\030\003 \001" + "(\010\022\"\n\032only_allow_friend_whispers\030\004 \001(\010\"\343" + "\003\n\013AccountInfo\022\032\n\nbattle_tag\030\001 \001(\tB\006\202\371+\002" + "\010\001\022\025\n\005email\030\002 \001(\tB\006\202\371+\002\010\001\022\034\n\014phone_numbe" + "r\030\003 \001(\tB\006\202\371+\002\010\001\022\031\n\tfull_name\030\004 \001(\tB\006\202\371+\002" + "\010\001\022\031\n\tbirthdate\030\005 \001(\tB\006\202\371+\002\010\001\022\017\n\007country" + "\030\006 \001(\t\022\030\n\020default_currency\030\007 \001(\t\022\030\n\020pref" + "erred_region\030\010 \001(\r\022!\n\031ratings_board_mini" + "mum_age\030\t \001(\r\022\034\n\024has_parental_control\030\n " + "\001(\010\022\031\n\021is_email_verified\030\013 \001(\010\022\030\n\020is_sms" + "_protected\030\014 \001(\010\022\033\n\023is_headless_account\030" + "\r \001(\010\022\023\n\013is_employee\030\016 \001(\010\022\027\n\017is_test_ac" + "count\030\017 \001(\010\022G\n\017privacy_setting\030\020 \001(\0132..b" + "gs.protocol.account.v1.AccountPrivacySet" + "ting\":\n\021RestrictionStatus\022\016\n\006active\030\001 \001(" + "\010\022\025\n\rexpiration_us\030\002 \001(\004\"\277\001\n\036AccountPlat" + "formRestrictionInfo\022=\n\tsquelched\030\002 \001(\0132*" + ".bgs.protocol.account.v1.RestrictionStat" + "us\022^\n*legal_country_feature_restrictions" + "_applied\030\003 \001(\0132*.bgs.protocol.account.v1" + ".RestrictionStatus*\265\001\n\032IdentityVerificat" + "ionStatus\022\021\n\rIDENT_NO_DATA\020\000\022\021\n\rIDENT_PE" + "NDING\020\001\022\021\n\rIDENT_OVER_18\020\002\022\022\n\016IDENT_UNDE" + "R_18\020\003\022\020\n\014IDENT_FAILED\020\004\022\021\n\rIDENT_SUCCES" + "S\020\005\022\022\n\016IDENT_SUCC_MNL\020\006\022\021\n\rIDENT_UNKNOWN" + "\020\007B\002H\002", 7366); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "account_types.proto", &protobuf_RegisterTypes); AccountId::default_instance_ = new AccountId(); @@ -2638,6 +2641,7 @@ const int ParentalControlInfo::kCanSendVoiceFieldNumber; const int ParentalControlInfo::kPlayScheduleFieldNumber; const int ParentalControlInfo::kCanJoinGroupFieldNumber; const int ParentalControlInfo::kCanUseProfileFieldNumber; +const int ParentalControlInfo::kInGamePurchaseDisabledFieldNumber; #endif // !_MSC_VER ParentalControlInfo::ParentalControlInfo() @@ -2666,6 +2670,7 @@ void ParentalControlInfo::SharedCtor() { can_send_voice_ = false; can_join_group_ = false; can_use_profile_ = false; + in_game_purchase_disabled_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } diff --git a/src/server/proto/Client/account_types.pb.h b/src/server/proto/Client/account_types.pb.h index 8d200d6d925..cb949ef7263 100644 --- a/src/server/proto/Client/account_types.pb.h +++ b/src/server/proto/Client/account_types.pb.h @@ -168,7 +168,7 @@ class TC_PROTO_API AccountId : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // required fixed32 id = 1; + // optional fixed32 id = 1; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 1; @@ -310,21 +310,21 @@ class TC_PROTO_API GameAccountHandle : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // required fixed32 id = 1; + // optional fixed32 id = 1; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 1; inline ::google::protobuf::uint32 id() const; inline void set_id(::google::protobuf::uint32 value); - // required fixed32 program = 2; + // optional fixed32 program = 2; inline bool has_program() const; inline void clear_program(); static const int kProgramFieldNumber = 2; inline ::google::protobuf::uint32 program() const; inline void set_program(::google::protobuf::uint32 value); - // required uint32 region = 3; + // optional uint32 region = 3; inline bool has_region() const; inline void clear_region(); static const int kRegionFieldNumber = 3; @@ -917,12 +917,12 @@ class TC_PROTO_API GameAccountFieldTags : public ::google::protobuf::Message { inline ::google::protobuf::uint32 game_status_tag() const; inline void set_game_status_tag(::google::protobuf::uint32 value); - // optional fixed32 raf_info_tag = 5; - inline bool has_raf_info_tag() const; - inline void clear_raf_info_tag(); + // optional fixed32 raf_info_tag = 5 [deprecated = true]; + inline bool has_raf_info_tag() const PROTOBUF_DEPRECATED; + inline void clear_raf_info_tag() PROTOBUF_DEPRECATED; static const int kRafInfoTagFieldNumber = 5; - inline ::google::protobuf::uint32 raf_info_tag() const; - inline void set_raf_info_tag(::google::protobuf::uint32 value); + inline ::google::protobuf::uint32 raf_info_tag() const PROTOBUF_DEPRECATED; + inline void set_raf_info_tag(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED; // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFieldTags) private: @@ -1156,12 +1156,12 @@ class TC_PROTO_API GameAccountFieldOptions : public ::google::protobuf::Message inline bool field_game_status() const; inline void set_field_game_status(bool value); - // optional bool field_raf_info = 5; - inline bool has_field_raf_info() const; - inline void clear_field_raf_info(); + // optional bool field_raf_info = 5 [deprecated = true]; + inline bool has_field_raf_info() const PROTOBUF_DEPRECATED; + inline void clear_field_raf_info() PROTOBUF_DEPRECATED; static const int kFieldRafInfoFieldNumber = 5; - inline bool field_raf_info() const; - inline void set_field_raf_info(bool value); + inline bool field_raf_info() const PROTOBUF_DEPRECATED; + inline void set_field_raf_info(bool value) PROTOBUF_DEPRECATED; // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountFieldOptions) private: @@ -1917,6 +1917,13 @@ class TC_PROTO_API ParentalControlInfo : public ::google::protobuf::Message { inline bool can_use_profile() const; inline void set_can_use_profile(bool value); + // optional bool in_game_purchase_disabled = 11; + inline bool has_in_game_purchase_disabled() const; + inline void clear_in_game_purchase_disabled(); + static const int kInGamePurchaseDisabledFieldNumber = 11; + inline bool in_game_purchase_disabled() const; + inline void set_in_game_purchase_disabled(bool value); + // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.ParentalControlInfo) private: inline void set_has_timezone(); @@ -1933,6 +1940,8 @@ class TC_PROTO_API ParentalControlInfo : public ::google::protobuf::Message { inline void clear_has_can_join_group(); inline void set_has_can_use_profile(); inline void clear_has_can_use_profile(); + inline void set_has_in_game_purchase_disabled(); + inline void clear_has_in_game_purchase_disabled(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -1946,6 +1955,7 @@ class TC_PROTO_API ParentalControlInfo : public ::google::protobuf::Message { bool can_send_voice_; bool can_join_group_; bool can_use_profile_; + bool in_game_purchase_disabled_; friend void TC_PROTO_API protobuf_AddDesc_account_5ftypes_2eproto(); friend void protobuf_AssignDesc_account_5ftypes_2eproto(); friend void protobuf_ShutdownFile_account_5ftypes_2eproto(); @@ -3459,14 +3469,14 @@ class TC_PROTO_API GameAccountState : public ::google::protobuf::Message { inline ::bgs::protocol::account::v1::GameStatus* release_game_status(); inline void set_allocated_game_status(::bgs::protocol::account::v1::GameStatus* game_status); - // optional .bgs.protocol.account.v1.RAFInfo raf_info = 4; - inline bool has_raf_info() const; - inline void clear_raf_info(); + // optional .bgs.protocol.account.v1.RAFInfo raf_info = 4 [deprecated = true]; + inline bool has_raf_info() const PROTOBUF_DEPRECATED; + inline void clear_raf_info() PROTOBUF_DEPRECATED; static const int kRafInfoFieldNumber = 4; - inline const ::bgs::protocol::account::v1::RAFInfo& raf_info() const; - inline ::bgs::protocol::account::v1::RAFInfo* mutable_raf_info(); - inline ::bgs::protocol::account::v1::RAFInfo* release_raf_info(); - inline void set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo* raf_info); + inline const ::bgs::protocol::account::v1::RAFInfo& raf_info() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::RAFInfo* mutable_raf_info() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::RAFInfo* release_raf_info() PROTOBUF_DEPRECATED; + inline void set_allocated_raf_info(::bgs::protocol::account::v1::RAFInfo* raf_info) PROTOBUF_DEPRECATED; // @@protoc_insertion_point(class_scope:bgs.protocol.account.v1.GameAccountState) private: @@ -4358,7 +4368,7 @@ class TC_PROTO_API AccountPlatformRestrictionInfo : public ::google::protobuf::M // AccountId -// required fixed32 id = 1; +// optional fixed32 id = 1; inline bool AccountId::has_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -4438,7 +4448,7 @@ inline void AccountLicense::set_expires(::google::protobuf::uint64 value) { // GameAccountHandle -// required fixed32 id = 1; +// optional fixed32 id = 1; inline bool GameAccountHandle::has_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -4462,7 +4472,7 @@ inline void GameAccountHandle::set_id(::google::protobuf::uint32 value) { // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.id) } -// required fixed32 program = 2; +// optional fixed32 program = 2; inline bool GameAccountHandle::has_program() const { return (_has_bits_[0] & 0x00000002u) != 0; } @@ -4486,7 +4496,7 @@ inline void GameAccountHandle::set_program(::google::protobuf::uint32 value) { // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountHandle.program) } -// required uint32 region = 3; +// optional uint32 region = 3; inline bool GameAccountHandle::has_region() const { return (_has_bits_[0] & 0x00000004u) != 0; } @@ -5287,7 +5297,7 @@ inline void GameAccountFieldTags::set_game_status_tag(::google::protobuf::uint32 // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldTags.game_status_tag) } -// optional fixed32 raf_info_tag = 5; +// optional fixed32 raf_info_tag = 5 [deprecated = true]; inline bool GameAccountFieldTags::has_raf_info_tag() const { return (_has_bits_[0] & 0x00000008u) != 0; } @@ -5607,7 +5617,7 @@ inline void GameAccountFieldOptions::set_field_game_status(bool value) { // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountFieldOptions.field_game_status) } -// optional bool field_raf_info = 5; +// optional bool field_raf_info = 5 [deprecated = true]; inline bool GameAccountFieldOptions::has_field_raf_info() const { return (_has_bits_[0] & 0x00000010u) != 0; } @@ -7097,6 +7107,30 @@ inline void ParentalControlInfo::set_can_use_profile(bool value) { // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.can_use_profile) } +// optional bool in_game_purchase_disabled = 11; +inline bool ParentalControlInfo::has_in_game_purchase_disabled() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ParentalControlInfo::set_has_in_game_purchase_disabled() { + _has_bits_[0] |= 0x00000100u; +} +inline void ParentalControlInfo::clear_has_in_game_purchase_disabled() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ParentalControlInfo::clear_in_game_purchase_disabled() { + in_game_purchase_disabled_ = false; + clear_has_in_game_purchase_disabled(); +} +inline bool ParentalControlInfo::in_game_purchase_disabled() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.ParentalControlInfo.in_game_purchase_disabled) + return in_game_purchase_disabled_; +} +inline void ParentalControlInfo::set_in_game_purchase_disabled(bool value) { + set_has_in_game_purchase_disabled(); + in_game_purchase_disabled_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.ParentalControlInfo.in_game_purchase_disabled) +} + // ------------------------------------------------------------------- // PlayScheduleRestriction @@ -9162,7 +9196,7 @@ inline void GameAccountState::set_allocated_game_status(::bgs::protocol::account // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountState.game_status) } -// optional .bgs.protocol.account.v1.RAFInfo raf_info = 4; +// optional .bgs.protocol.account.v1.RAFInfo raf_info = 4 [deprecated = true]; inline bool GameAccountState::has_raf_info() const { return (_has_bits_[0] & 0x00000008u) != 0; } diff --git a/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc b/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc new file mode 100644 index 00000000000..dd0cfe0a9fa --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_listener.pb.cc @@ -0,0 +1,328 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayerAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayerRemovedNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* BlockListListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_listener.proto"); + GOOGLE_CHECK(file != NULL); + BlockedPlayerAddedNotification_descriptor_ = file->message_type(0); + static const int BlockedPlayerAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, agent_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, player_), + }; + BlockedPlayerAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayerAddedNotification_descriptor_, + BlockedPlayerAddedNotification::default_instance_, + BlockedPlayerAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayerAddedNotification)); + BlockedPlayerRemovedNotification_descriptor_ = file->message_type(1); + static const int BlockedPlayerRemovedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, agent_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, player_), + }; + BlockedPlayerRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayerRemovedNotification_descriptor_, + BlockedPlayerRemovedNotification::default_instance_, + BlockedPlayerRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayerRemovedNotification)); + BlockListListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayerAddedNotification_descriptor_, &BlockedPlayerAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayerRemovedNotification_descriptor_, &BlockedPlayerRemovedNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + delete BlockedPlayerAddedNotification::default_instance_; + delete BlockedPlayerAddedNotification_reflection_; + delete BlockedPlayerRemovedNotification::default_instance_; + delete BlockedPlayerRemovedNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::block_list::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/client/v1/block_list_listener.prot" + "o\022!bgs.protocol.block_list.v1.client\032$ap" + "i/client/v1/block_list_types.proto\032\017rpc_" + "types.proto\"|\n\036BlockedPlayerAddedNotific" + "ation\022\030\n\020agent_account_id\030\001 \001(\004\022@\n\006playe" + "r\030\002 \003(\01320.bgs.protocol.block_list.v1.cli" + "ent.BlockedPlayer\"\210\001\n BlockedPlayerRemov" + "edNotification\022\030\n\020agent_account_id\030\001 \001(\004" + "\022J\n\006player\030\002 \003(\0132:.bgs.protocol.block_li" + "st.v1.client.UnblockPlayerAssignment2\332\002\n" + "\021BlockListListener\022|\n\024OnBlockedPlayerAdd" + "ed\022A.bgs.protocol.block_list.v1.client.B" + "lockedPlayerAddedNotification\032\031.bgs.prot" + "ocol.NO_RESPONSE\"\006\202\371+\002\010\001\022\200\001\n\026OnBlockedPl" + "ayerRemoved\022C.bgs.protocol.block_list.v1" + ".client.BlockedPlayerRemovedNotification" + "\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\032D\202\371+" + "8\n4bnet.protocol.block_list.v1.client.Bl" + "ockListListener8\001\212\371+\004\010\001\030\001B\002H\002", 749); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_listener.proto", &protobuf_RegisterTypes); + BlockedPlayerAddedNotification::default_instance_ = new BlockedPlayerAddedNotification(); + BlockedPlayerRemovedNotification::default_instance_ = new BlockedPlayerRemovedNotification(); + BlockedPlayerAddedNotification::default_instance_->InitAsDefaultInstance(); + BlockedPlayerRemovedNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayerAddedNotification::kAgentAccountIdFieldNumber; +const int BlockedPlayerAddedNotification::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockedPlayerAddedNotification::BlockedPlayerAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) +} + +void BlockedPlayerAddedNotification::InitAsDefaultInstance() { +} + +BlockedPlayerAddedNotification::BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) +} + +void BlockedPlayerAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayerAddedNotification::~BlockedPlayerAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) + SharedDtor(); +} + +void BlockedPlayerAddedNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockedPlayerAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayerAddedNotification_descriptor_; +} + +const BlockedPlayerAddedNotification& BlockedPlayerAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + return *default_instance_; +} + +BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::default_instance_ = NULL; + +BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::New() const { + return new BlockedPlayerAddedNotification; +} + +void BlockedPlayerAddedNotification::Swap(BlockedPlayerAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayerAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayerAddedNotification_descriptor_; + metadata.reflection = BlockedPlayerAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayerRemovedNotification::kAgentAccountIdFieldNumber; +const int BlockedPlayerRemovedNotification::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) +} + +void BlockedPlayerRemovedNotification::InitAsDefaultInstance() { +} + +BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) +} + +void BlockedPlayerRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayerRemovedNotification::~BlockedPlayerRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) + SharedDtor(); +} + +void BlockedPlayerRemovedNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockedPlayerRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayerRemovedNotification_descriptor_; +} + +const BlockedPlayerRemovedNotification& BlockedPlayerRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + return *default_instance_; +} + +BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::default_instance_ = NULL; + +BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::New() const { + return new BlockedPlayerRemovedNotification; +} + +void BlockedPlayerRemovedNotification::Swap(BlockedPlayerRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayerRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayerRemovedNotification_descriptor_; + metadata.reflection = BlockedPlayerRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +BlockListListener::BlockListListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +BlockListListener::~BlockListListener() { +} + +google::protobuf::ServiceDescriptor const* BlockListListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListListener_descriptor_; +} + +void BlockListListener::OnBlockedPlayerAdded(::bgs::protocol::block_list::v1::client::BlockedPlayerAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("BlockListListener.OnBlockedPlayerAdded", "bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void BlockListListener::OnBlockedPlayerRemoved(::bgs::protocol::block_list::v1::client::BlockedPlayerRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("BlockListListener.OnBlockedPlayerRemoved", "bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void BlockListListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_listener.pb.h b/src/server/proto/Client/api/client/v1/block_list_listener.pb.h new file mode 100644 index 00000000000..daf3927320b --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_listener.pb.h @@ -0,0 +1,367 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + +class BlockedPlayerAddedNotification; +class BlockedPlayerRemovedNotification; + +// =================================================================== + +class TC_PROTO_API BlockedPlayerAddedNotification : public ::google::protobuf::Message { + public: + BlockedPlayerAddedNotification(); + virtual ~BlockedPlayerAddedNotification(); + + BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from); + + inline BlockedPlayerAddedNotification& operator=(const BlockedPlayerAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayerAddedNotification& default_instance(); + + void Swap(BlockedPlayerAddedNotification* other); + + // implements Message ---------------------------------------------- + + BlockedPlayerAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 agent_account_id = 1; + inline bool has_agent_account_id() const; + inline void clear_agent_account_id(); + static const int kAgentAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 agent_account_id() const; + inline void set_agent_account_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 2; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification) + private: + inline void set_has_agent_account_id(); + inline void clear_has_agent_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 agent_account_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayerAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockedPlayerRemovedNotification : public ::google::protobuf::Message { + public: + BlockedPlayerRemovedNotification(); + virtual ~BlockedPlayerRemovedNotification(); + + BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from); + + inline BlockedPlayerRemovedNotification& operator=(const BlockedPlayerRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayerRemovedNotification& default_instance(); + + void Swap(BlockedPlayerRemovedNotification* other); + + // implements Message ---------------------------------------------- + + BlockedPlayerRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 agent_account_id = 1; + inline bool has_agent_account_id() const; + inline void clear_agent_account_id(); + static const int kAgentAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 agent_account_id() const; + inline void set_agent_account_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.block_list.v1.client.UnblockPlayerAssignment player = 2; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification) + private: + inline void set_has_agent_account_id(); + inline void clear_has_agent_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 agent_account_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayerRemovedNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API BlockListListener : public ServiceBase +{ + public: + + explicit BlockListListener(bool use_original_hash); + BlockListListener(BlockListListener const&) = delete; + BlockListListener(BlockListListener&&) = delete; + BlockListListener& operator=(BlockListListener const&) = delete; + BlockListListener& operator=(BlockListListener&&) = delete; + virtual ~BlockListListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnBlockedPlayerAdded(::bgs::protocol::block_list::v1::client::BlockedPlayerAddedNotification const* request, bool client = false, bool server = false); + void OnBlockedPlayerRemoved(::bgs::protocol::block_list::v1::client::BlockedPlayerRemovedNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// BlockedPlayerAddedNotification + +// optional uint64 agent_account_id = 1; +inline bool BlockedPlayerAddedNotification::has_agent_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayerAddedNotification::set_has_agent_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayerAddedNotification::clear_has_agent_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayerAddedNotification::clear_agent_account_id() { + agent_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_account_id(); +} +inline ::google::protobuf::uint64 BlockedPlayerAddedNotification::agent_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.agent_account_id) + return agent_account_id_; +} +inline void BlockedPlayerAddedNotification::set_agent_account_id(::google::protobuf::uint64 value) { + set_has_agent_account_id(); + agent_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.agent_account_id) +} + +// repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 2; +inline int BlockedPlayerAddedNotification::player_size() const { + return player_.size(); +} +inline void BlockedPlayerAddedNotification::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& BlockedPlayerAddedNotification::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockedPlayerAddedNotification::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockedPlayerAddedNotification::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& +BlockedPlayerAddedNotification::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* +BlockedPlayerAddedNotification::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockedPlayerAddedNotification.player) + return &player_; +} + +// ------------------------------------------------------------------- + +// BlockedPlayerRemovedNotification + +// optional uint64 agent_account_id = 1; +inline bool BlockedPlayerRemovedNotification::has_agent_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayerRemovedNotification::set_has_agent_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayerRemovedNotification::clear_has_agent_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayerRemovedNotification::clear_agent_account_id() { + agent_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_account_id(); +} +inline ::google::protobuf::uint64 BlockedPlayerRemovedNotification::agent_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.agent_account_id) + return agent_account_id_; +} +inline void BlockedPlayerRemovedNotification::set_agent_account_id(::google::protobuf::uint64 value) { + set_has_agent_account_id(); + agent_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.agent_account_id) +} + +// repeated .bgs.protocol.block_list.v1.client.UnblockPlayerAssignment player = 2; +inline int BlockedPlayerRemovedNotification::player_size() const { + return player_.size(); +} +inline void BlockedPlayerRemovedNotification::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment& BlockedPlayerRemovedNotification::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* BlockedPlayerRemovedNotification::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment* BlockedPlayerRemovedNotification::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >& +BlockedPlayerRemovedNotification::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::UnblockPlayerAssignment >* +BlockedPlayerRemovedNotification::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockedPlayerRemovedNotification.player) + return &player_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/block_list_service.pb.cc b/src/server/proto/Client/api/client/v1/block_list_service.pb.cc new file mode 100644 index 00000000000..99a062c3741 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_service.pb.cc @@ -0,0 +1,951 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockPlayerRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockPlayerRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* BlockListService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[1] = { + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, state_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetStateRequest_descriptor_ = file->message_type(3); + static const int GetStateRequest_offsets_[1] = { + }; + GetStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateRequest_descriptor_, + GetStateRequest::default_instance_, + GetStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateRequest)); + GetStateResponse_descriptor_ = file->message_type(4); + static const int GetStateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, state_), + }; + GetStateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateResponse_descriptor_, + GetStateResponse::default_instance_, + GetStateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateResponse)); + BlockPlayerRequest_descriptor_ = file->message_type(5); + static const int BlockPlayerRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, options_), + }; + BlockPlayerRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockPlayerRequest_descriptor_, + BlockPlayerRequest::default_instance_, + BlockPlayerRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockPlayerRequest)); + UnblockPlayerRequest_descriptor_ = file->message_type(6); + static const int UnblockPlayerRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, options_), + }; + UnblockPlayerRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerRequest_descriptor_, + UnblockPlayerRequest::default_instance_, + UnblockPlayerRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerRequest)); + BlockListService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateRequest_descriptor_, &GetStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateResponse_descriptor_, &GetStateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockPlayerRequest_descriptor_, &BlockPlayerRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerRequest_descriptor_, &UnblockPlayerRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetStateRequest::default_instance_; + delete GetStateRequest_reflection_; + delete GetStateResponse::default_instance_; + delete GetStateResponse_reflection_; + delete BlockPlayerRequest::default_instance_; + delete BlockPlayerRequest_reflection_; + delete UnblockPlayerRequest::default_instance_; + delete UnblockPlayerRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::block_list::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n&api/client/v1/block_list_service.proto" + "\022!bgs.protocol.block_list.v1.client\032$api" + "/client/v1/block_list_types.proto\032\017rpc_t" + "ypes.proto\"\022\n\020SubscribeRequest\"U\n\021Subscr" + "ibeResponse\022@\n\005state\030\001 \001(\01321.bgs.protoco" + "l.block_list.v1.client.BlockListState\"\024\n" + "\022UnsubscribeRequest\"\021\n\017GetStateRequest\"T" + "\n\020GetStateResponse\022@\n\005state\030\001 \001(\01321.bgs." + "protocol.block_list.v1.client.BlockListS" + "tate\"f\n\022BlockPlayerRequest\022P\n\007options\030\002 " + "\001(\01325.bgs.protocol.block_list.v1.client." + "BlockPlayerOptionsB\010\212\371+\0042\002\010\001\"j\n\024UnblockP" + "layerRequest\022R\n\007options\030\002 \001(\01327.bgs.prot" + "ocol.block_list.v1.client.UnblockPlayerO" + "ptionsB\010\212\371+\0042\002\010\0012\211\006\n\020BlockListService\022\200\001" + "\n\tSubscribe\0223.bgs.protocol.block_list.v1" + ".client.SubscribeRequest\0324.bgs.protocol." + "block_list.v1.client.SubscribeResponse\"\010" + "\202\371+\004\010\001\020\001\022d\n\013Unsubscribe\0225.bgs.protocol.b" + "lock_list.v1.client.UnsubscribeRequest\032\024" + ".bgs.protocol.NoData\"\010\202\371+\004\010\002\020\001\022}\n\010GetSta" + "te\0222.bgs.protocol.block_list.v1.client.G" + "etStateRequest\0323.bgs.protocol.block_list" + ".v1.client.GetStateResponse\"\010\202\371+\004\010\003\020\001\022d\n" + "\013BlockPlayer\0225.bgs.protocol.block_list.v" + "1.client.BlockPlayerRequest\032\024.bgs.protoc" + "ol.NoData\"\010\202\371+\004\010\004\020\001\022h\n\rUnblockPlayer\0227.b" + "gs.protocol.block_list.v1.client.Unblock" + "PlayerRequest\032\024.bgs.protocol.NoData\"\010\202\371+" + "\004\010\005\020\001\022n\n\025BlockPlayerForSession\0225.bgs.pro" + "tocol.block_list.v1.client.BlockPlayerRe" + "quest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001\032M\202" + "\371+A\n3bnet.protocol.block_list.v1.client." + "BlockListService*\nblock_list\212\371+\004\020\001\030\001B\002H\002", 1360); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetStateRequest::default_instance_ = new GetStateRequest(); + GetStateResponse::default_instance_ = new GetStateResponse(); + BlockPlayerRequest::default_instance_ = new BlockPlayerRequest(); + UnblockPlayerRequest::default_instance_ = new UnblockPlayerRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetStateRequest::default_instance_->InitAsDefaultInstance(); + GetStateResponse::default_instance_->InitAsDefaultInstance(); + BlockPlayerRequest::default_instance_->InitAsDefaultInstance(); + UnblockPlayerRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kStateFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockListState*>(&::bgs::protocol::block_list::v1::client::BlockListState::default_instance()); +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +GetStateRequest::GetStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.GetStateRequest) +} + +void GetStateRequest::InitAsDefaultInstance() { +} + +GetStateRequest::GetStateRequest(const GetStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.GetStateRequest) +} + +void GetStateRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateRequest::~GetStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.GetStateRequest) + SharedDtor(); +} + +void GetStateRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateRequest_descriptor_; +} + +const GetStateRequest& GetStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +GetStateRequest* GetStateRequest::default_instance_ = NULL; + +GetStateRequest* GetStateRequest::New() const { + return new GetStateRequest; +} + +void GetStateRequest::Swap(GetStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateRequest_descriptor_; + metadata.reflection = GetStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateResponse::kStateFieldNumber; +#endif // !_MSC_VER + +GetStateResponse::GetStateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.GetStateResponse) +} + +void GetStateResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockListState*>(&::bgs::protocol::block_list::v1::client::BlockListState::default_instance()); +} + +GetStateResponse::GetStateResponse(const GetStateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.GetStateResponse) +} + +void GetStateResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateResponse::~GetStateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.GetStateResponse) + SharedDtor(); +} + +void GetStateResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void GetStateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateResponse_descriptor_; +} + +const GetStateResponse& GetStateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +GetStateResponse* GetStateResponse::default_instance_ = NULL; + +GetStateResponse* GetStateResponse::New() const { + return new GetStateResponse; +} + +void GetStateResponse::Swap(GetStateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateResponse_descriptor_; + metadata.reflection = GetStateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockPlayerRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +BlockPlayerRequest::BlockPlayerRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) +} + +void BlockPlayerRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::block_list::v1::client::BlockPlayerOptions*>(&::bgs::protocol::block_list::v1::client::BlockPlayerOptions::default_instance()); +} + +BlockPlayerRequest::BlockPlayerRequest(const BlockPlayerRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) +} + +void BlockPlayerRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockPlayerRequest::~BlockPlayerRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockPlayerRequest) + SharedDtor(); +} + +void BlockPlayerRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void BlockPlayerRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockPlayerRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockPlayerRequest_descriptor_; +} + +const BlockPlayerRequest& BlockPlayerRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +BlockPlayerRequest* BlockPlayerRequest::default_instance_ = NULL; + +BlockPlayerRequest* BlockPlayerRequest::New() const { + return new BlockPlayerRequest; +} + +void BlockPlayerRequest::Swap(BlockPlayerRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockPlayerRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockPlayerRequest_descriptor_; + metadata.reflection = BlockPlayerRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerRequest::UnblockPlayerRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) +} + +void UnblockPlayerRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions*>(&::bgs::protocol::block_list::v1::client::UnblockPlayerOptions::default_instance()); +} + +UnblockPlayerRequest::UnblockPlayerRequest(const UnblockPlayerRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) +} + +void UnblockPlayerRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerRequest::~UnblockPlayerRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) + SharedDtor(); +} + +void UnblockPlayerRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void UnblockPlayerRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerRequest_descriptor_; +} + +const UnblockPlayerRequest& UnblockPlayerRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + return *default_instance_; +} + +UnblockPlayerRequest* UnblockPlayerRequest::default_instance_ = NULL; + +UnblockPlayerRequest* UnblockPlayerRequest::New() const { + return new UnblockPlayerRequest; +} + +void UnblockPlayerRequest::Swap(UnblockPlayerRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerRequest_descriptor_; + metadata.reflection = UnblockPlayerRequest_reflection_; + return metadata; +} + +// =================================================================== + +BlockListService::BlockListService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +BlockListService::~BlockListService() { +} + +google::protobuf::ServiceDescriptor const* BlockListService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListService_descriptor_; +} + +void BlockListService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetState(token, methodId, buffer); + break; + case 4: + ParseAndHandleBlockPlayer(token, methodId, buffer); + break; + case 5: + ParseAndHandleUnblockPlayer(token, methodId, buffer); + break; + case 6: + ParseAndHandleBlockPlayerForSession(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 BlockListService::HandleSubscribe(::bgs::protocol::block_list::v1::client::SubscribeRequest const* request, ::bgs::protocol::block_list::v1::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const* request, ::bgs::protocol::block_list::v1::client::GetStateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.GetState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.BlockPlayer", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.UnblockPlayer", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 BlockListService::HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("BlockListService.BlockPlayerForSession", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void BlockListService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.Subscribe", "bgs.protocol.block_list.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.Subscribe", ::bgs::protocol::block_list::v1::client::SubscribeResponse::descriptor()); + ::bgs::protocol::block_list::v1::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.Unsubscribe", "bgs.protocol.block_list.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::GetStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.GetState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.GetState", "bgs.protocol.block_list.v1.client.GetStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.GetState", ::bgs::protocol::block_list::v1::client::GetStateResponse::descriptor()); + ::bgs::protocol::block_list::v1::client::GetStateResponse response; + uint32 status = HandleGetState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::BlockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.BlockPlayer"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.BlockPlayer", "bgs.protocol.block_list.v1.client.BlockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.BlockPlayer", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleBlockPlayer(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::UnblockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.UnblockPlayer"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.UnblockPlayer", "bgs.protocol.block_list.v1.client.UnblockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.UnblockPlayer", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnblockPlayer(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void BlockListService::ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::block_list::v1::client::BlockPlayerRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("BlockListService.BlockPlayerForSession"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("BlockListService.BlockPlayerForSession", "bgs.protocol.block_list.v1.client.BlockPlayerRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "BlockListService.BlockPlayerForSession", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleBlockPlayerForSession(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_service.pb.h b/src/server/proto/Client/api/client/v1/block_list_service.pb.h new file mode 100644 index 00000000000..24145d41d88 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_service.pb.h @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/block_list_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetStateRequest; +class GetStateResponse; +class BlockPlayerRequest; +class UnblockPlayerRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.SubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockListState& state() const; + inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state(); + inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state(); + inline void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.SubscribeResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockListState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnsubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { + public: + GetStateRequest(); + virtual ~GetStateRequest(); + + GetStateRequest(const GetStateRequest& from); + + inline GetStateRequest& operator=(const GetStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateRequest& default_instance(); + + void Swap(GetStateRequest* other); + + // implements Message ---------------------------------------------- + + GetStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.GetStateRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { + public: + GetStateResponse(); + virtual ~GetStateResponse(); + + GetStateResponse(const GetStateResponse& from); + + inline GetStateResponse& operator=(const GetStateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateResponse& default_instance(); + + void Swap(GetStateResponse* other); + + // implements Message ---------------------------------------------- + + GetStateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockListState& state() const; + inline ::bgs::protocol::block_list::v1::client::BlockListState* mutable_state(); + inline ::bgs::protocol::block_list::v1::client::BlockListState* release_state(); + inline void set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.GetStateResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockListState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockPlayerRequest : public ::google::protobuf::Message { + public: + BlockPlayerRequest(); + virtual ~BlockPlayerRequest(); + + BlockPlayerRequest(const BlockPlayerRequest& from); + + inline BlockPlayerRequest& operator=(const BlockPlayerRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockPlayerRequest& default_instance(); + + void Swap(BlockPlayerRequest* other); + + // implements Message ---------------------------------------------- + + BlockPlayerRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.BlockPlayerOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions& options() const; + inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* mutable_options(); + inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockPlayerRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static BlockPlayerRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerRequest : public ::google::protobuf::Message { + public: + UnblockPlayerRequest(); + virtual ~UnblockPlayerRequest(); + + UnblockPlayerRequest(const UnblockPlayerRequest& from); + + inline UnblockPlayerRequest& operator=(const UnblockPlayerRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerRequest& default_instance(); + + void Swap(UnblockPlayerRequest* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.block_list.v1.client.UnblockPlayerOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions& options() const; + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* mutable_options(); + inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API BlockListService : public ServiceBase +{ + public: + + explicit BlockListService(bool use_original_hash); + BlockListService(BlockListService const&) = delete; + BlockListService(BlockListService&&) = delete; + BlockListService& operator=(BlockListService const&) = delete; + BlockListService& operator=(BlockListService&&) = delete; + virtual ~BlockListService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::block_list::v1::client::SubscribeRequest const* request, ::bgs::protocol::block_list::v1::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::block_list::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetState(::bgs::protocol::block_list::v1::client::GetStateRequest const* request, ::bgs::protocol::block_list::v1::client::GetStateResponse* response, std::function& continuation); + virtual uint32 HandleBlockPlayer(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnblockPlayer(::bgs::protocol::block_list::v1::client::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::block_list::v1::client::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; +inline bool SubscribeResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockListState& SubscribeResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.SubscribeResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* SubscribeResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::block_list::v1::client::BlockListState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.SubscribeResponse.state) + return state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* SubscribeResponse::release_state() { + clear_has_state(); + ::bgs::protocol::block_list::v1::client::BlockListState* temp = state_; + state_ = NULL; + return temp; +} +inline void SubscribeResponse::set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.SubscribeResponse.state) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// ------------------------------------------------------------------- + +// GetStateRequest + +// ------------------------------------------------------------------- + +// GetStateResponse + +// optional .bgs.protocol.block_list.v1.client.BlockListState state = 1; +inline bool GetStateResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::block_list::v1::client::BlockListState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockListState& GetStateResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.GetStateResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* GetStateResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::block_list::v1::client::BlockListState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.GetStateResponse.state) + return state_; +} +inline ::bgs::protocol::block_list::v1::client::BlockListState* GetStateResponse::release_state() { + clear_has_state(); + ::bgs::protocol::block_list::v1::client::BlockListState* temp = state_; + state_ = NULL; + return temp; +} +inline void GetStateResponse::set_allocated_state(::bgs::protocol::block_list::v1::client::BlockListState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.GetStateResponse.state) +} + +// ------------------------------------------------------------------- + +// BlockPlayerRequest + +// optional .bgs.protocol.block_list.v1.client.BlockPlayerOptions options = 2; +inline bool BlockPlayerRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockPlayerRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockPlayerRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockPlayerRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::block_list::v1::client::BlockPlayerOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockPlayerOptions& BlockPlayerRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* BlockPlayerRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::block_list::v1::client::BlockPlayerOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) + return options_; +} +inline ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* BlockPlayerRequest::release_options() { + clear_has_options(); + ::bgs::protocol::block_list::v1::client::BlockPlayerOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void BlockPlayerRequest::set_allocated_options(::bgs::protocol::block_list::v1::client::BlockPlayerOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.BlockPlayerRequest.options) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerRequest + +// optional .bgs.protocol.block_list.v1.client.UnblockPlayerOptions options = 2; +inline bool UnblockPlayerRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::block_list::v1::client::UnblockPlayerOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions& UnblockPlayerRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* UnblockPlayerRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) + return options_; +} +inline ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* UnblockPlayerRequest::release_options() { + clear_has_options(); + ::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UnblockPlayerRequest::set_allocated_options(::bgs::protocol::block_list::v1::client::UnblockPlayerOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.UnblockPlayerRequest.options) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/block_list_types.pb.cc b/src/server/proto/Client/api/client/v1/block_list_types.pb.cc new file mode 100644 index 00000000000..0c2da347cde --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_types.pb.cc @@ -0,0 +1,585 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/block_list_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* BlockedPlayer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockedPlayer_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockPlayerOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockPlayerOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnblockPlayerAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnblockPlayerAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* BlockListState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + BlockListState_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/block_list_types.proto"); + GOOGLE_CHECK(file != NULL); + BlockedPlayer_descriptor_ = file->message_type(0); + static const int BlockedPlayer_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, creation_time_us_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, modified_time_us_), + }; + BlockedPlayer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockedPlayer_descriptor_, + BlockedPlayer::default_instance_, + BlockedPlayer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockedPlayer)); + BlockPlayerOptions_descriptor_ = file->message_type(1); + static const int BlockPlayerOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, account_id_), + }; + BlockPlayerOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockPlayerOptions_descriptor_, + BlockPlayerOptions::default_instance_, + BlockPlayerOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockPlayerOptions)); + UnblockPlayerOptions_descriptor_ = file->message_type(2); + static const int UnblockPlayerOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, account_id_), + }; + UnblockPlayerOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerOptions_descriptor_, + UnblockPlayerOptions::default_instance_, + UnblockPlayerOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerOptions)); + UnblockPlayerAssignment_descriptor_ = file->message_type(3); + static const int UnblockPlayerAssignment_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, id_), + }; + UnblockPlayerAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnblockPlayerAssignment_descriptor_, + UnblockPlayerAssignment::default_instance_, + UnblockPlayerAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnblockPlayerAssignment)); + BlockListState_descriptor_ = file->message_type(4); + static const int BlockListState_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, player_), + }; + BlockListState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + BlockListState_descriptor_, + BlockListState::default_instance_, + BlockListState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockListState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(BlockListState)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockedPlayer_descriptor_, &BlockedPlayer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockPlayerOptions_descriptor_, &BlockPlayerOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerOptions_descriptor_, &UnblockPlayerOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnblockPlayerAssignment_descriptor_, &UnblockPlayerAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + BlockListState_descriptor_, &BlockListState::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + delete BlockedPlayer::default_instance_; + delete BlockedPlayer_reflection_; + delete BlockPlayerOptions::default_instance_; + delete BlockPlayerOptions_reflection_; + delete UnblockPlayerOptions::default_instance_; + delete UnblockPlayerOptions_reflection_; + delete UnblockPlayerAssignment::default_instance_; + delete UnblockPlayerAssignment_reflection_; + delete BlockListState::default_instance_; + delete BlockListState_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/client/v1/block_list_types.proto\022!" + "bgs.protocol.block_list.v1.client\032\017rpc_t" + "ypes.proto\"k\n\rBlockedPlayer\022\n\n\002id\030\001 \001(\004\022" + "\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\030\n\020creation_" + "time_us\030\004 \001(\004\022\030\n\020modified_time_us\030\005 \001(\004\"" + "2\n\022BlockPlayerOptions\022\034\n\naccount_id\030\001 \001(" + "\004B\010\212\371+\004\022\002\020\000\"4\n\024UnblockPlayerOptions\022\034\n\na" + "ccount_id\030\001 \001(\004B\010\212\371+\004\022\002\020\000\"%\n\027UnblockPlay" + "erAssignment\022\n\n\002id\030\001 \001(\004\"R\n\016BlockListSta" + "te\022@\n\006player\030\001 \003(\01320.bgs.protocol.block_" + "list.v1.client.BlockedPlayerB\002H\002", 432); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/block_list_types.proto", &protobuf_RegisterTypes); + BlockedPlayer::default_instance_ = new BlockedPlayer(); + BlockPlayerOptions::default_instance_ = new BlockPlayerOptions(); + UnblockPlayerOptions::default_instance_ = new UnblockPlayerOptions(); + UnblockPlayerAssignment::default_instance_ = new UnblockPlayerAssignment(); + BlockListState::default_instance_ = new BlockListState(); + BlockedPlayer::default_instance_->InitAsDefaultInstance(); + BlockPlayerOptions::default_instance_->InitAsDefaultInstance(); + UnblockPlayerOptions::default_instance_->InitAsDefaultInstance(); + UnblockPlayerAssignment::default_instance_->InitAsDefaultInstance(); + BlockListState::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int BlockedPlayer::kIdFieldNumber; +const int BlockedPlayer::kBattleTagFieldNumber; +const int BlockedPlayer::kCreationTimeUsFieldNumber; +const int BlockedPlayer::kModifiedTimeUsFieldNumber; +#endif // !_MSC_VER + +BlockedPlayer::BlockedPlayer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockedPlayer) +} + +void BlockedPlayer::InitAsDefaultInstance() { +} + +BlockedPlayer::BlockedPlayer(const BlockedPlayer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockedPlayer) +} + +void BlockedPlayer::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_us_ = GOOGLE_ULONGLONG(0); + modified_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockedPlayer::~BlockedPlayer() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockedPlayer) + SharedDtor(); +} + +void BlockedPlayer::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + } +} + +void BlockedPlayer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockedPlayer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockedPlayer_descriptor_; +} + +const BlockedPlayer& BlockedPlayer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockedPlayer* BlockedPlayer::default_instance_ = NULL; + +BlockedPlayer* BlockedPlayer::New() const { + return new BlockedPlayer; +} + +void BlockedPlayer::Swap(BlockedPlayer* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockedPlayer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockedPlayer_descriptor_; + metadata.reflection = BlockedPlayer_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockPlayerOptions::kAccountIdFieldNumber; +#endif // !_MSC_VER + +BlockPlayerOptions::BlockPlayerOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) +} + +void BlockPlayerOptions::InitAsDefaultInstance() { +} + +BlockPlayerOptions::BlockPlayerOptions(const BlockPlayerOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) +} + +void BlockPlayerOptions::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockPlayerOptions::~BlockPlayerOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockPlayerOptions) + SharedDtor(); +} + +void BlockPlayerOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockPlayerOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockPlayerOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockPlayerOptions_descriptor_; +} + +const BlockPlayerOptions& BlockPlayerOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockPlayerOptions* BlockPlayerOptions::default_instance_ = NULL; + +BlockPlayerOptions* BlockPlayerOptions::New() const { + return new BlockPlayerOptions; +} + +void BlockPlayerOptions::Swap(BlockPlayerOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockPlayerOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockPlayerOptions_descriptor_; + metadata.reflection = BlockPlayerOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerOptions::kAccountIdFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerOptions::UnblockPlayerOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) +} + +void UnblockPlayerOptions::InitAsDefaultInstance() { +} + +UnblockPlayerOptions::UnblockPlayerOptions(const UnblockPlayerOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) +} + +void UnblockPlayerOptions::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerOptions::~UnblockPlayerOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) + SharedDtor(); +} + +void UnblockPlayerOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnblockPlayerOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerOptions_descriptor_; +} + +const UnblockPlayerOptions& UnblockPlayerOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +UnblockPlayerOptions* UnblockPlayerOptions::default_instance_ = NULL; + +UnblockPlayerOptions* UnblockPlayerOptions::New() const { + return new UnblockPlayerOptions; +} + +void UnblockPlayerOptions::Swap(UnblockPlayerOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerOptions_descriptor_; + metadata.reflection = UnblockPlayerOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnblockPlayerAssignment::kIdFieldNumber; +#endif // !_MSC_VER + +UnblockPlayerAssignment::UnblockPlayerAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) +} + +void UnblockPlayerAssignment::InitAsDefaultInstance() { +} + +UnblockPlayerAssignment::UnblockPlayerAssignment(const UnblockPlayerAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) +} + +void UnblockPlayerAssignment::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnblockPlayerAssignment::~UnblockPlayerAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) + SharedDtor(); +} + +void UnblockPlayerAssignment::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnblockPlayerAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnblockPlayerAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnblockPlayerAssignment_descriptor_; +} + +const UnblockPlayerAssignment& UnblockPlayerAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +UnblockPlayerAssignment* UnblockPlayerAssignment::default_instance_ = NULL; + +UnblockPlayerAssignment* UnblockPlayerAssignment::New() const { + return new UnblockPlayerAssignment; +} + +void UnblockPlayerAssignment::Swap(UnblockPlayerAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnblockPlayerAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnblockPlayerAssignment_descriptor_; + metadata.reflection = UnblockPlayerAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int BlockListState::kPlayerFieldNumber; +#endif // !_MSC_VER + +BlockListState::BlockListState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.block_list.v1.client.BlockListState) +} + +void BlockListState::InitAsDefaultInstance() { +} + +BlockListState::BlockListState(const BlockListState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.block_list.v1.client.BlockListState) +} + +void BlockListState::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +BlockListState::~BlockListState() { + // @@protoc_insertion_point(destructor:bgs.protocol.block_list.v1.client.BlockListState) + SharedDtor(); +} + +void BlockListState::SharedDtor() { + if (this != default_instance_) { + } +} + +void BlockListState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* BlockListState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return BlockListState_descriptor_; +} + +const BlockListState& BlockListState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + return *default_instance_; +} + +BlockListState* BlockListState::default_instance_ = NULL; + +BlockListState* BlockListState::New() const { + return new BlockListState; +} + +void BlockListState::Swap(BlockListState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata BlockListState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = BlockListState_descriptor_; + metadata.reflection = BlockListState_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/block_list_types.pb.h b/src/server/proto/Client/api/client/v1/block_list_types.pb.h new file mode 100644 index 00000000000..0e418dc9740 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/block_list_types.pb.h @@ -0,0 +1,707 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/block_list_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace block_list { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + +class BlockedPlayer; +class BlockPlayerOptions; +class UnblockPlayerOptions; +class UnblockPlayerAssignment; +class BlockListState; + +// =================================================================== + +class TC_PROTO_API BlockedPlayer : public ::google::protobuf::Message { + public: + BlockedPlayer(); + virtual ~BlockedPlayer(); + + BlockedPlayer(const BlockedPlayer& from); + + inline BlockedPlayer& operator=(const BlockedPlayer& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockedPlayer& default_instance(); + + void Swap(BlockedPlayer* other); + + // implements Message ---------------------------------------------- + + BlockedPlayer* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // optional uint64 creation_time_us = 4; + inline bool has_creation_time_us() const; + inline void clear_creation_time_us(); + static const int kCreationTimeUsFieldNumber = 4; + inline ::google::protobuf::uint64 creation_time_us() const; + inline void set_creation_time_us(::google::protobuf::uint64 value); + + // optional uint64 modified_time_us = 5; + inline bool has_modified_time_us() const; + inline void clear_modified_time_us(); + static const int kModifiedTimeUsFieldNumber = 5; + inline ::google::protobuf::uint64 modified_time_us() const; + inline void set_modified_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockedPlayer) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_creation_time_us(); + inline void clear_has_creation_time_us(); + inline void set_has_modified_time_us(); + inline void clear_has_modified_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::std::string* battle_tag_; + ::google::protobuf::uint64 creation_time_us_; + ::google::protobuf::uint64 modified_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockedPlayer* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockPlayerOptions : public ::google::protobuf::Message { + public: + BlockPlayerOptions(); + virtual ~BlockPlayerOptions(); + + BlockPlayerOptions(const BlockPlayerOptions& from); + + inline BlockPlayerOptions& operator=(const BlockPlayerOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockPlayerOptions& default_instance(); + + void Swap(BlockPlayerOptions* other); + + // implements Message ---------------------------------------------- + + BlockPlayerOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockPlayerOptions) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockPlayerOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerOptions : public ::google::protobuf::Message { + public: + UnblockPlayerOptions(); + virtual ~UnblockPlayerOptions(); + + UnblockPlayerOptions(const UnblockPlayerOptions& from); + + inline UnblockPlayerOptions& operator=(const UnblockPlayerOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerOptions& default_instance(); + + void Swap(UnblockPlayerOptions* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerOptions) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnblockPlayerAssignment : public ::google::protobuf::Message { + public: + UnblockPlayerAssignment(); + virtual ~UnblockPlayerAssignment(); + + UnblockPlayerAssignment(const UnblockPlayerAssignment& from); + + inline UnblockPlayerAssignment& operator=(const UnblockPlayerAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnblockPlayerAssignment& default_instance(); + + void Swap(UnblockPlayerAssignment* other); + + // implements Message ---------------------------------------------- + + UnblockPlayerAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UnblockPlayerAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API BlockListState : public ::google::protobuf::Message { + public: + BlockListState(); + virtual ~BlockListState(); + + BlockListState(const BlockListState& from); + + inline BlockListState& operator=(const BlockListState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const BlockListState& default_instance(); + + void Swap(BlockListState* other); + + // implements Message ---------------------------------------------- + + BlockListState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 1; + inline int player_size() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 1; + inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& player(int index) const; + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* mutable_player(int index); + inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* add_player(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& + player() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* + mutable_player(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.block_list.v1.client.BlockListState) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer > player_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static BlockListState* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// BlockedPlayer + +// optional uint64 id = 1; +inline bool BlockedPlayer::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockedPlayer::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockedPlayer::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockedPlayer::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 BlockedPlayer::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.id) + return id_; +} +inline void BlockedPlayer::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.id) +} + +// optional string battle_tag = 2; +inline bool BlockedPlayer::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void BlockedPlayer::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void BlockedPlayer::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void BlockedPlayer::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& BlockedPlayer::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) + return *battle_tag_; +} +inline void BlockedPlayer::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline void BlockedPlayer::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline void BlockedPlayer::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} +inline ::std::string* BlockedPlayer::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) + return battle_tag_; +} +inline ::std::string* BlockedPlayer::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void BlockedPlayer::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.block_list.v1.client.BlockedPlayer.battle_tag) +} + +// optional uint64 creation_time_us = 4; +inline bool BlockedPlayer::has_creation_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void BlockedPlayer::set_has_creation_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void BlockedPlayer::clear_has_creation_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void BlockedPlayer::clear_creation_time_us() { + creation_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time_us(); +} +inline ::google::protobuf::uint64 BlockedPlayer::creation_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.creation_time_us) + return creation_time_us_; +} +inline void BlockedPlayer::set_creation_time_us(::google::protobuf::uint64 value) { + set_has_creation_time_us(); + creation_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.creation_time_us) +} + +// optional uint64 modified_time_us = 5; +inline bool BlockedPlayer::has_modified_time_us() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void BlockedPlayer::set_has_modified_time_us() { + _has_bits_[0] |= 0x00000008u; +} +inline void BlockedPlayer::clear_has_modified_time_us() { + _has_bits_[0] &= ~0x00000008u; +} +inline void BlockedPlayer::clear_modified_time_us() { + modified_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_modified_time_us(); +} +inline ::google::protobuf::uint64 BlockedPlayer::modified_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockedPlayer.modified_time_us) + return modified_time_us_; +} +inline void BlockedPlayer::set_modified_time_us(::google::protobuf::uint64 value) { + set_has_modified_time_us(); + modified_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockedPlayer.modified_time_us) +} + +// ------------------------------------------------------------------- + +// BlockPlayerOptions + +// optional uint64 account_id = 1; +inline bool BlockPlayerOptions::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void BlockPlayerOptions::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void BlockPlayerOptions::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void BlockPlayerOptions::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 BlockPlayerOptions::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockPlayerOptions.account_id) + return account_id_; +} +inline void BlockPlayerOptions::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.BlockPlayerOptions.account_id) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerOptions + +// optional uint64 account_id = 1; +inline bool UnblockPlayerOptions::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerOptions::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerOptions::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerOptions::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 UnblockPlayerOptions::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerOptions.account_id) + return account_id_; +} +inline void UnblockPlayerOptions::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.UnblockPlayerOptions.account_id) +} + +// ------------------------------------------------------------------- + +// UnblockPlayerAssignment + +// optional uint64 id = 1; +inline bool UnblockPlayerAssignment::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnblockPlayerAssignment::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnblockPlayerAssignment::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnblockPlayerAssignment::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 UnblockPlayerAssignment::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment.id) + return id_; +} +inline void UnblockPlayerAssignment::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.block_list.v1.client.UnblockPlayerAssignment.id) +} + +// ------------------------------------------------------------------- + +// BlockListState + +// repeated .bgs.protocol.block_list.v1.client.BlockedPlayer player = 1; +inline int BlockListState::player_size() const { + return player_.size(); +} +inline void BlockListState::clear_player() { + player_.Clear(); +} +inline const ::bgs::protocol::block_list::v1::client::BlockedPlayer& BlockListState::player(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Get(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockListState::mutable_player(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Mutable(index); +} +inline ::bgs::protocol::block_list::v1::client::BlockedPlayer* BlockListState::add_player() { + // @@protoc_insertion_point(field_add:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >& +BlockListState::player() const { + // @@protoc_insertion_point(field_list:bgs.protocol.block_list.v1.client.BlockListState.player) + return player_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::block_list::v1::client::BlockedPlayer >* +BlockListState::mutable_player() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.block_list.v1.client.BlockListState.player) + return &player_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace block_list +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fblock_5flist_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/channel_types.pb.cc b/src/server/proto/Client/api/client/v1/channel_types.pb.cc new file mode 100644 index 00000000000..ffa9b89b4f4 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.cc @@ -0,0 +1,1132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/channel_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/channel_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace channel { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* Message_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Message_reflection_ = NULL; +const ::google::protobuf::Descriptor* ListChannelsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ListChannelsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* ChannelState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ChannelState_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor_ = NULL; +const ::google::protobuf::Descriptor* MemberAccountInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAccountInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberState_reflection_ = NULL; +const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Member_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberId_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/channel_types.proto"); + GOOGLE_CHECK(file != NULL); + Message_descriptor_ = file->message_type(0); + static const int Message_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, attribute_), + }; + Message_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Message_descriptor_, + Message::default_instance_, + Message_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Message)); + ListChannelsOptions_descriptor_ = file->message_type(1); + static const int ListChannelsOptions_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, start_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, max_results_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, capacity_full_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, attribute_filter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, channel_type_), + }; + ListChannelsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ListChannelsOptions_descriptor_, + ListChannelsOptions::default_instance_, + ListChannelsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ListChannelsOptions)); + ChannelDescription_descriptor_ = file->message_type(2); + static const int ChannelDescription_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, channel_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, current_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, state_), + }; + ChannelDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelDescription_descriptor_, + ChannelDescription::default_instance_, + ChannelDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelDescription)); + ChannelInfo_descriptor_ = file->message_type(3); + static const int ChannelInfo_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, member_), + }; + ChannelInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelInfo_descriptor_, + ChannelInfo::default_instance_, + ChannelInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelInfo)); + ChannelState_descriptor_ = file->message_type(4); + static const int ChannelState_offsets_[10] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, max_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, min_members_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, reason_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, channel_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, subscribe_to_presence_), + }; + ChannelState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ChannelState_descriptor_, + ChannelState::default_instance_, + ChannelState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ChannelState)); + ChannelState_PrivacyLevel_descriptor_ = ChannelState_descriptor_->enum_type(0); + MemberAccountInfo_descriptor_ = file->message_type(5); + static const int MemberAccountInfo_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, battle_tag_), + }; + MemberAccountInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAccountInfo_descriptor_, + MemberAccountInfo::default_instance_, + MemberAccountInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAccountInfo)); + MemberState_descriptor_ = file->message_type(6); + static const int MemberState_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, privileges_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, info_), + }; + MemberState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberState_descriptor_, + MemberState::default_instance_, + MemberState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberState)); + Member_descriptor_ = file->message_type(7); + static const int Member_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, state_), + }; + Member_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Member_descriptor_, + Member::default_instance_, + Member_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Member)); + SubscriberId_descriptor_ = file->message_type(8); + static const int SubscriberId_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, game_account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, process_), + }; + SubscriberId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberId_descriptor_, + SubscriberId::default_instance_, + SubscriberId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberId)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Message_descriptor_, &Message::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ListChannelsOptions_descriptor_, &ListChannelsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelDescription_descriptor_, &ChannelDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelInfo_descriptor_, &ChannelInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ChannelState_descriptor_, &ChannelState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAccountInfo_descriptor_, &MemberAccountInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberState_descriptor_, &MemberState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Member_descriptor_, &Member::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberId_descriptor_, &SubscriberId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + delete Message::default_instance_; + delete Message_reflection_; + delete ListChannelsOptions::default_instance_; + delete ListChannelsOptions_reflection_; + delete ChannelDescription::default_instance_; + delete ChannelDescription_reflection_; + delete ChannelInfo::default_instance_; + delete ChannelInfo_reflection_; + delete ChannelState::default_instance_; + delete ChannelState_reflection_; + delete ChannelState::_default_channel_type_; + delete MemberAccountInfo::default_instance_; + delete MemberAccountInfo_reflection_; + delete MemberState::default_instance_; + delete MemberState_reflection_; + delete Member::default_instance_; + delete Member_reflection_; + delete SubscriberId::default_instance_; + delete SubscriberId_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::channel::v1::protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto(); + ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/client/v1/channel_types.proto\022\027bgs" + ".protocol.channel.v1\032\036api/client/v1/chan" + "nel_id.proto\032\025attribute_types.proto\032\022ent" + "ity_types.proto\032\023account_types.proto\032$ap" + "i/common/v1/invitation_types.proto\032\017rpc_" + "types.proto\"<\n\007Message\022*\n\tattribute\030\001 \003(" + "\0132\027.bgs.protocol.Attribute*\005\010d\020\220N\"\333\001\n\023Li" + "stChannelsOptions\022\026\n\013start_index\030\001 \001(\r:\001" + "0\022\027\n\013max_results\030\002 \001(\r:\00216\022\014\n\004name\030\003 \001(\t" + "\022\017\n\007program\030\004 \001(\007\022\016\n\006locale\030\005 \001(\007\022\025\n\rcap" + "acity_full\030\006 \001(\r\0227\n\020attribute_filter\030\007 \002" + "(\0132\035.bgs.protocol.AttributeFilter\022\024\n\014cha" + "nnel_type\030\010 \001(\t\"\217\001\n\022ChannelDescription\022*" + "\n\nchannel_id\030\001 \002(\0132\026.bgs.protocol.Entity" + "Id\022\027\n\017current_members\030\002 \001(\r\0224\n\005state\030\003 \001" + "(\0132%.bgs.protocol.channel.v1.ChannelStat" + "e\"\200\001\n\013ChannelInfo\022@\n\013description\030\001 \002(\0132+" + ".bgs.protocol.channel.v1.ChannelDescript" + "ion\022/\n\006member\030\002 \003(\0132\037.bgs.protocol.chann" + "el.v1.Member\"\377\003\n\014ChannelState\022\023\n\013max_mem" + "bers\030\001 \001(\r\022\023\n\013min_members\030\002 \001(\r\022*\n\tattri" + "bute\030\003 \003(\0132\027.bgs.protocol.Attribute\022,\n\ni" + "nvitation\030\004 \003(\0132\030.bgs.protocol.Invitatio" + "n\022\016\n\006reason\030\006 \001(\r\022]\n\rprivacy_level\030\007 \001(\016" + "22.bgs.protocol.channel.v1.ChannelState." + "PrivacyLevel:\022PRIVACY_LEVEL_OPEN\022\014\n\004name" + "\030\010 \001(\t\022\035\n\014channel_type\030\n \001(\t:\007default\022\017\n" + "\007program\030\013 \001(\007\022#\n\025subscribe_to_presence\030" + "\r \001(\010:\004true\"\221\001\n\014PrivacyLevel\022\026\n\022PRIVACY_" + "LEVEL_OPEN\020\001\022,\n(PRIVACY_LEVEL_OPEN_INVIT" + "ATION_AND_FRIEND\020\002\022!\n\035PRIVACY_LEVEL_OPEN" + "_INVITATION\020\003\022\030\n\024PRIVACY_LEVEL_CLOSED\020\004*" + "\005\010d\020\220N\"/\n\021MemberAccountInfo\022\032\n\nbattle_ta" + "g\030\003 \001(\tB\006\202\371+\002\010\001\"\234\001\n\013MemberState\022*\n\tattri" + "bute\030\001 \003(\0132\027.bgs.protocol.Attribute\022\020\n\004r" + "ole\030\002 \003(\rB\002\020\001\022\025\n\nprivileges\030\003 \001(\004:\0010\0228\n\004" + "info\030\004 \001(\0132*.bgs.protocol.channel.v1.Mem" + "berAccountInfo\"g\n\006Member\022(\n\010identity\030\001 \002" + "(\0132\026.bgs.protocol.Identity\0223\n\005state\030\002 \002(" + "\0132$.bgs.protocol.channel.v1.MemberState\"" + "\273\001\n\014SubscriberId\0227\n\007account\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\002\030\001\022@\n\014gam" + "e_account\030\002 \001(\0132*.bgs.protocol.account.v" + "1.GameAccountHandle\022(\n\007process\030\003 \001(\0132\027.b" + "gs.protocol.ProcessId:\006\202\371+\002\020\001B\002H\002P\000", 1795); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/channel_types.proto", &protobuf_RegisterTypes); + Message::default_instance_ = new Message(); + ListChannelsOptions::default_instance_ = new ListChannelsOptions(); + ChannelDescription::default_instance_ = new ChannelDescription(); + ChannelInfo::default_instance_ = new ChannelInfo(); + ChannelState::_default_channel_type_ = + new ::std::string("default", 7); + ChannelState::default_instance_ = new ChannelState(); + MemberAccountInfo::default_instance_ = new MemberAccountInfo(); + MemberState::default_instance_ = new MemberState(); + Member::default_instance_ = new Member(); + SubscriberId::default_instance_ = new SubscriberId(); + Message::default_instance_->InitAsDefaultInstance(); + ListChannelsOptions::default_instance_->InitAsDefaultInstance(); + ChannelDescription::default_instance_->InitAsDefaultInstance(); + ChannelInfo::default_instance_->InitAsDefaultInstance(); + ChannelState::default_instance_->InitAsDefaultInstance(); + MemberAccountInfo::default_instance_->InitAsDefaultInstance(); + MemberState::default_instance_->InitAsDefaultInstance(); + Member::default_instance_->InitAsDefaultInstance(); + SubscriberId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fchannel_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Message::kAttributeFieldNumber; +#endif // !_MSC_VER + +Message::Message() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Message) +} + +void Message::InitAsDefaultInstance() { +} + +Message::Message(const Message& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Message) +} + +void Message::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Message::~Message() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Message) + SharedDtor(); +} + +void Message::SharedDtor() { + if (this != default_instance_) { + } +} + +void Message::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Message::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Message_descriptor_; +} + +const Message& Message::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +Message* Message::default_instance_ = NULL; + +Message* Message::New() const { + return new Message; +} + +void Message::Swap(Message* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Message::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Message_descriptor_; + metadata.reflection = Message_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ListChannelsOptions::kStartIndexFieldNumber; +const int ListChannelsOptions::kMaxResultsFieldNumber; +const int ListChannelsOptions::kNameFieldNumber; +const int ListChannelsOptions::kProgramFieldNumber; +const int ListChannelsOptions::kLocaleFieldNumber; +const int ListChannelsOptions::kCapacityFullFieldNumber; +const int ListChannelsOptions::kAttributeFilterFieldNumber; +const int ListChannelsOptions::kChannelTypeFieldNumber; +#endif // !_MSC_VER + +ListChannelsOptions::ListChannelsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ListChannelsOptions) +} + +void ListChannelsOptions::InitAsDefaultInstance() { + attribute_filter_ = const_cast< ::bgs::protocol::AttributeFilter*>(&::bgs::protocol::AttributeFilter::default_instance()); +} + +ListChannelsOptions::ListChannelsOptions(const ListChannelsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ListChannelsOptions) +} + +void ListChannelsOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + start_index_ = 0u; + max_results_ = 16u; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + program_ = 0u; + locale_ = 0u; + capacity_full_ = 0u; + attribute_filter_ = NULL; + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ListChannelsOptions::~ListChannelsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ListChannelsOptions) + SharedDtor(); +} + +void ListChannelsOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_type_; + } + if (this != default_instance_) { + delete attribute_filter_; + } +} + +void ListChannelsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ListChannelsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ListChannelsOptions_descriptor_; +} + +const ListChannelsOptions& ListChannelsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ListChannelsOptions* ListChannelsOptions::default_instance_ = NULL; + +ListChannelsOptions* ListChannelsOptions::New() const { + return new ListChannelsOptions; +} + +void ListChannelsOptions::Swap(ListChannelsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ListChannelsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ListChannelsOptions_descriptor_; + metadata.reflection = ListChannelsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ChannelDescription::kChannelIdFieldNumber; +const int ChannelDescription::kCurrentMembersFieldNumber; +const int ChannelDescription::kStateFieldNumber; +#endif // !_MSC_VER + +ChannelDescription::ChannelDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelDescription) +} + +void ChannelDescription::InitAsDefaultInstance() { + channel_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); + state_ = const_cast< ::bgs::protocol::channel::v1::ChannelState*>(&::bgs::protocol::channel::v1::ChannelState::default_instance()); +} + +ChannelDescription::ChannelDescription(const ChannelDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelDescription) +} + +void ChannelDescription::SharedCtor() { + _cached_size_ = 0; + channel_id_ = NULL; + current_members_ = 0u; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelDescription::~ChannelDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelDescription) + SharedDtor(); +} + +void ChannelDescription::SharedDtor() { + if (this != default_instance_) { + delete channel_id_; + delete state_; + } +} + +void ChannelDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelDescription_descriptor_; +} + +const ChannelDescription& ChannelDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelDescription* ChannelDescription::default_instance_ = NULL; + +ChannelDescription* ChannelDescription::New() const { + return new ChannelDescription; +} + +void ChannelDescription::Swap(ChannelDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelDescription_descriptor_; + metadata.reflection = ChannelDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ChannelInfo::kDescriptionFieldNumber; +const int ChannelInfo::kMemberFieldNumber; +#endif // !_MSC_VER + +ChannelInfo::ChannelInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelInfo) +} + +void ChannelInfo::InitAsDefaultInstance() { + description_ = const_cast< ::bgs::protocol::channel::v1::ChannelDescription*>(&::bgs::protocol::channel::v1::ChannelDescription::default_instance()); +} + +ChannelInfo::ChannelInfo(const ChannelInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelInfo) +} + +void ChannelInfo::SharedCtor() { + _cached_size_ = 0; + description_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelInfo::~ChannelInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelInfo) + SharedDtor(); +} + +void ChannelInfo::SharedDtor() { + if (this != default_instance_) { + delete description_; + } +} + +void ChannelInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelInfo_descriptor_; +} + +const ChannelInfo& ChannelInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelInfo* ChannelInfo::default_instance_ = NULL; + +ChannelInfo* ChannelInfo::New() const { + return new ChannelInfo; +} + +void ChannelInfo::Swap(ChannelInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelInfo_descriptor_; + metadata.reflection = ChannelInfo_reflection_; + return metadata; +} + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelState_PrivacyLevel_descriptor_; +} +bool ChannelState_PrivacyLevel_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION; +const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_CLOSED; +const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MIN; +const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MAX; +const int ChannelState::PrivacyLevel_ARRAYSIZE; +#endif // _MSC_VER +::std::string* ChannelState::_default_channel_type_ = NULL; +#ifndef _MSC_VER +const int ChannelState::kMaxMembersFieldNumber; +const int ChannelState::kMinMembersFieldNumber; +const int ChannelState::kAttributeFieldNumber; +const int ChannelState::kInvitationFieldNumber; +const int ChannelState::kReasonFieldNumber; +const int ChannelState::kPrivacyLevelFieldNumber; +const int ChannelState::kNameFieldNumber; +const int ChannelState::kChannelTypeFieldNumber; +const int ChannelState::kProgramFieldNumber; +const int ChannelState::kSubscribeToPresenceFieldNumber; +#endif // !_MSC_VER + +ChannelState::ChannelState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelState) +} + +void ChannelState::InitAsDefaultInstance() { +} + +ChannelState::ChannelState(const ChannelState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelState) +} + +void ChannelState::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + max_members_ = 0u; + min_members_ = 0u; + reason_ = 0u; + privacy_level_ = 1; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + program_ = 0u; + subscribe_to_presence_ = true; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ChannelState::~ChannelState() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelState) + SharedDtor(); +} + +void ChannelState::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (channel_type_ != _default_channel_type_) { + delete channel_type_; + } + if (this != default_instance_) { + } +} + +void ChannelState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ChannelState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ChannelState_descriptor_; +} + +const ChannelState& ChannelState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +ChannelState* ChannelState::default_instance_ = NULL; + +ChannelState* ChannelState::New() const { + return new ChannelState; +} + +void ChannelState::Swap(ChannelState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ChannelState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ChannelState_descriptor_; + metadata.reflection = ChannelState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAccountInfo::kBattleTagFieldNumber; +#endif // !_MSC_VER + +MemberAccountInfo::MemberAccountInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberAccountInfo) +} + +void MemberAccountInfo::InitAsDefaultInstance() { +} + +MemberAccountInfo::MemberAccountInfo(const MemberAccountInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberAccountInfo) +} + +void MemberAccountInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAccountInfo::~MemberAccountInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberAccountInfo) + SharedDtor(); +} + +void MemberAccountInfo::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + } +} + +void MemberAccountInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAccountInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAccountInfo_descriptor_; +} + +const MemberAccountInfo& MemberAccountInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +MemberAccountInfo* MemberAccountInfo::default_instance_ = NULL; + +MemberAccountInfo* MemberAccountInfo::New() const { + return new MemberAccountInfo; +} + +void MemberAccountInfo::Swap(MemberAccountInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAccountInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAccountInfo_descriptor_; + metadata.reflection = MemberAccountInfo_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberState::kAttributeFieldNumber; +const int MemberState::kRoleFieldNumber; +const int MemberState::kPrivilegesFieldNumber; +const int MemberState::kInfoFieldNumber; +#endif // !_MSC_VER + +MemberState::MemberState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberState) +} + +void MemberState::InitAsDefaultInstance() { + info_ = const_cast< ::bgs::protocol::channel::v1::MemberAccountInfo*>(&::bgs::protocol::channel::v1::MemberAccountInfo::default_instance()); +} + +MemberState::MemberState(const MemberState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberState) +} + +void MemberState::SharedCtor() { + _cached_size_ = 0; + privileges_ = GOOGLE_ULONGLONG(0); + info_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberState::~MemberState() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberState) + SharedDtor(); +} + +void MemberState::SharedDtor() { + if (this != default_instance_) { + delete info_; + } +} + +void MemberState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberState_descriptor_; +} + +const MemberState& MemberState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +MemberState* MemberState::default_instance_ = NULL; + +MemberState* MemberState::New() const { + return new MemberState; +} + +void MemberState::Swap(MemberState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberState_descriptor_; + metadata.reflection = MemberState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Member::kIdentityFieldNumber; +const int Member::kStateFieldNumber; +#endif // !_MSC_VER + +Member::Member() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Member) +} + +void Member::InitAsDefaultInstance() { + identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); + state_ = const_cast< ::bgs::protocol::channel::v1::MemberState*>(&::bgs::protocol::channel::v1::MemberState::default_instance()); +} + +Member::Member(const Member& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Member) +} + +void Member::SharedCtor() { + _cached_size_ = 0; + identity_ = NULL; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Member::~Member() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Member) + SharedDtor(); +} + +void Member::SharedDtor() { + if (this != default_instance_) { + delete identity_; + delete state_; + } +} + +void Member::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Member::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Member_descriptor_; +} + +const Member& Member::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +Member* Member::default_instance_ = NULL; + +Member* Member::New() const { + return new Member; +} + +void Member::Swap(Member* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Member::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Member_descriptor_; + metadata.reflection = Member_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberId::kAccountFieldNumber; +const int SubscriberId::kGameAccountFieldNumber; +const int SubscriberId::kProcessFieldNumber; +#endif // !_MSC_VER + +SubscriberId::SubscriberId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.SubscriberId) +} + +void SubscriberId::InitAsDefaultInstance() { + account_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + game_account_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); + process_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance()); +} + +SubscriberId::SubscriberId(const SubscriberId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.SubscriberId) +} + +void SubscriberId::SharedCtor() { + _cached_size_ = 0; + account_ = NULL; + game_account_ = NULL; + process_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberId::~SubscriberId() { + // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.SubscriberId) + SharedDtor(); +} + +void SubscriberId::SharedDtor() { + if (this != default_instance_) { + delete account_; + delete game_account_; + delete process_; + } +} + +void SubscriberId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberId_descriptor_; +} + +const SubscriberId& SubscriberId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + return *default_instance_; +} + +SubscriberId* SubscriberId::default_instance_ = NULL; + +SubscriberId* SubscriberId::New() const { + return new SubscriberId; +} + +void SubscriberId::Swap(SubscriberId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberId_descriptor_; + metadata.reflection = SubscriberId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace channel +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/channel_types.pb.h b/src/server/proto/Client/api/client/v1/channel_types.pb.h new file mode 100644 index 00000000000..7d6a145d481 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/channel_types.pb.h @@ -0,0 +1,2362 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/channel_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "api/client/v1/channel_id.pb.h" // IWYU pragma: export +#include "attribute_types.pb.h" +#include "entity_types.pb.h" +#include "account_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace channel { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + +class Message; +class ListChannelsOptions; +class ChannelDescription; +class ChannelInfo; +class ChannelState; +class MemberAccountInfo; +class MemberState; +class Member; +class SubscriberId; + +enum ChannelState_PrivacyLevel { + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN = 1, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = 2, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION = 3, + ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED = 4 +}; +TC_PROTO_API bool ChannelState_PrivacyLevel_IsValid(int value); +const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MIN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; +const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MAX = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; +const int ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE = ChannelState_PrivacyLevel_PrivacyLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor(); +inline const ::std::string& ChannelState_PrivacyLevel_Name(ChannelState_PrivacyLevel value) { + return ::google::protobuf::internal::NameOfEnum( + ChannelState_PrivacyLevel_descriptor(), value); +} +inline bool ChannelState_PrivacyLevel_Parse( + const ::std::string& name, ChannelState_PrivacyLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ChannelState_PrivacyLevel_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Message : public ::google::protobuf::Message { + public: + Message(); + virtual ~Message(); + + Message(const Message& from); + + inline Message& operator=(const Message& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Message& default_instance(); + + void Swap(Message* other); + + // implements Message ---------------------------------------------- + + Message* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message) + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Message) + private: + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Message* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ListChannelsOptions : public ::google::protobuf::Message { + public: + ListChannelsOptions(); + virtual ~ListChannelsOptions(); + + ListChannelsOptions(const ListChannelsOptions& from); + + inline ListChannelsOptions& operator=(const ListChannelsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ListChannelsOptions& default_instance(); + + void Swap(ListChannelsOptions* other); + + // implements Message ---------------------------------------------- + + ListChannelsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 start_index = 1 [default = 0]; + inline bool has_start_index() const; + inline void clear_start_index(); + static const int kStartIndexFieldNumber = 1; + inline ::google::protobuf::uint32 start_index() const; + inline void set_start_index(::google::protobuf::uint32 value); + + // optional uint32 max_results = 2 [default = 16]; + inline bool has_max_results() const; + inline void clear_max_results(); + static const int kMaxResultsFieldNumber = 2; + inline ::google::protobuf::uint32 max_results() const; + inline void set_max_results(::google::protobuf::uint32 value); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional fixed32 program = 4; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 4; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional fixed32 locale = 5; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 5; + inline ::google::protobuf::uint32 locale() const; + inline void set_locale(::google::protobuf::uint32 value); + + // optional uint32 capacity_full = 6; + inline bool has_capacity_full() const; + inline void clear_capacity_full(); + static const int kCapacityFullFieldNumber = 6; + inline ::google::protobuf::uint32 capacity_full() const; + inline void set_capacity_full(::google::protobuf::uint32 value); + + // required .bgs.protocol.AttributeFilter attribute_filter = 7; + inline bool has_attribute_filter() const; + inline void clear_attribute_filter(); + static const int kAttributeFilterFieldNumber = 7; + inline const ::bgs::protocol::AttributeFilter& attribute_filter() const; + inline ::bgs::protocol::AttributeFilter* mutable_attribute_filter(); + inline ::bgs::protocol::AttributeFilter* release_attribute_filter(); + inline void set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter); + + // optional string channel_type = 8; + inline bool has_channel_type() const; + inline void clear_channel_type(); + static const int kChannelTypeFieldNumber = 8; + inline const ::std::string& channel_type() const; + inline void set_channel_type(const ::std::string& value); + inline void set_channel_type(const char* value); + inline void set_channel_type(const char* value, size_t size); + inline ::std::string* mutable_channel_type(); + inline ::std::string* release_channel_type(); + inline void set_allocated_channel_type(::std::string* channel_type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ListChannelsOptions) + private: + inline void set_has_start_index(); + inline void clear_has_start_index(); + inline void set_has_max_results(); + inline void clear_has_max_results(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_capacity_full(); + inline void clear_has_capacity_full(); + inline void set_has_attribute_filter(); + inline void clear_has_attribute_filter(); + inline void set_has_channel_type(); + inline void clear_has_channel_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 start_index_; + ::google::protobuf::uint32 max_results_; + ::std::string* name_; + ::google::protobuf::uint32 program_; + ::google::protobuf::uint32 locale_; + ::bgs::protocol::AttributeFilter* attribute_filter_; + ::std::string* channel_type_; + ::google::protobuf::uint32 capacity_full_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ListChannelsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelDescription : public ::google::protobuf::Message { + public: + ChannelDescription(); + virtual ~ChannelDescription(); + + ChannelDescription(const ChannelDescription& from); + + inline ChannelDescription& operator=(const ChannelDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelDescription& default_instance(); + + void Swap(ChannelDescription* other); + + // implements Message ---------------------------------------------- + + ChannelDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.EntityId channel_id = 1; + inline bool has_channel_id() const; + inline void clear_channel_id(); + static const int kChannelIdFieldNumber = 1; + inline const ::bgs::protocol::EntityId& channel_id() const; + inline ::bgs::protocol::EntityId* mutable_channel_id(); + inline ::bgs::protocol::EntityId* release_channel_id(); + inline void set_allocated_channel_id(::bgs::protocol::EntityId* channel_id); + + // optional uint32 current_members = 2; + inline bool has_current_members() const; + inline void clear_current_members(); + static const int kCurrentMembersFieldNumber = 2; + inline ::google::protobuf::uint32 current_members() const; + inline void set_current_members(::google::protobuf::uint32 value); + + // optional .bgs.protocol.channel.v1.ChannelState state = 3; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 3; + inline const ::bgs::protocol::channel::v1::ChannelState& state() const; + inline ::bgs::protocol::channel::v1::ChannelState* mutable_state(); + inline ::bgs::protocol::channel::v1::ChannelState* release_state(); + inline void set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelDescription) + private: + inline void set_has_channel_id(); + inline void clear_has_channel_id(); + inline void set_has_current_members(); + inline void clear_has_current_members(); + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::EntityId* channel_id_; + ::bgs::protocol::channel::v1::ChannelState* state_; + ::google::protobuf::uint32 current_members_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelInfo : public ::google::protobuf::Message { + public: + ChannelInfo(); + virtual ~ChannelInfo(); + + ChannelInfo(const ChannelInfo& from); + + inline ChannelInfo& operator=(const ChannelInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelInfo& default_instance(); + + void Swap(ChannelInfo* other); + + // implements Message ---------------------------------------------- + + ChannelInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.channel.v1.ChannelDescription description = 1; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 1; + inline const ::bgs::protocol::channel::v1::ChannelDescription& description() const; + inline ::bgs::protocol::channel::v1::ChannelDescription* mutable_description(); + inline ::bgs::protocol::channel::v1::ChannelDescription* release_description(); + inline void set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description); + + // repeated .bgs.protocol.channel.v1.Member member = 2; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 2; + inline const ::bgs::protocol::channel::v1::Member& member(int index) const; + inline ::bgs::protocol::channel::v1::Member* mutable_member(int index); + inline ::bgs::protocol::channel::v1::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelInfo) + private: + inline void set_has_description(); + inline void clear_has_description(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::channel::v1::ChannelDescription* description_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ChannelState : public ::google::protobuf::Message { + public: + ChannelState(); + virtual ~ChannelState(); + + ChannelState(const ChannelState& from); + + inline ChannelState& operator=(const ChannelState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ChannelState& default_instance(); + + void Swap(ChannelState* other); + + // implements Message ---------------------------------------------- + + ChannelState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + typedef ChannelState_PrivacyLevel PrivacyLevel; + static const PrivacyLevel PRIVACY_LEVEL_OPEN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; + static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; + static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION; + static const PrivacyLevel PRIVACY_LEVEL_CLOSED = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; + static inline bool PrivacyLevel_IsValid(int value) { + return ChannelState_PrivacyLevel_IsValid(value); + } + static const PrivacyLevel PrivacyLevel_MIN = + ChannelState_PrivacyLevel_PrivacyLevel_MIN; + static const PrivacyLevel PrivacyLevel_MAX = + ChannelState_PrivacyLevel_PrivacyLevel_MAX; + static const int PrivacyLevel_ARRAYSIZE = + ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + PrivacyLevel_descriptor() { + return ChannelState_PrivacyLevel_descriptor(); + } + static inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { + return ChannelState_PrivacyLevel_Name(value); + } + static inline bool PrivacyLevel_Parse(const ::std::string& name, + PrivacyLevel* value) { + return ChannelState_PrivacyLevel_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // optional uint32 max_members = 1; + inline bool has_max_members() const; + inline void clear_max_members(); + static const int kMaxMembersFieldNumber = 1; + inline ::google::protobuf::uint32 max_members() const; + inline void set_max_members(::google::protobuf::uint32 value); + + // optional uint32 min_members = 2; + inline bool has_min_members() const; + inline void clear_min_members(); + static const int kMinMembersFieldNumber = 2; + inline ::google::protobuf::uint32 min_members() const; + inline void set_min_members(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + // repeated .bgs.protocol.Invitation invitation = 4; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 4; + inline const ::bgs::protocol::Invitation& invitation(int index) const; + inline ::bgs::protocol::Invitation* mutable_invitation(int index); + inline ::bgs::protocol::Invitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* + mutable_invitation(); + + // optional uint32 reason = 6; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 6; + inline ::google::protobuf::uint32 reason() const; + inline void set_reason(::google::protobuf::uint32 value); + + // optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 7; + inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value); + + // optional string name = 8; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 8; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string channel_type = 10 [default = "default"]; + inline bool has_channel_type() const; + inline void clear_channel_type(); + static const int kChannelTypeFieldNumber = 10; + inline const ::std::string& channel_type() const; + inline void set_channel_type(const ::std::string& value); + inline void set_channel_type(const char* value); + inline void set_channel_type(const char* value, size_t size); + inline ::std::string* mutable_channel_type(); + inline ::std::string* release_channel_type(); + inline void set_allocated_channel_type(::std::string* channel_type); + + // optional fixed32 program = 11; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 11; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional bool subscribe_to_presence = 13 [default = true]; + inline bool has_subscribe_to_presence() const; + inline void clear_subscribe_to_presence(); + static const int kSubscribeToPresenceFieldNumber = 13; + inline bool subscribe_to_presence() const; + inline void set_subscribe_to_presence(bool value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ChannelState) + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelState) + private: + inline void set_has_max_members(); + inline void clear_has_max_members(); + inline void set_has_min_members(); + inline void clear_has_min_members(); + inline void set_has_reason(); + inline void clear_has_reason(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_channel_type(); + inline void clear_has_channel_type(); + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_subscribe_to_presence(); + inline void clear_has_subscribe_to_presence(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 max_members_; + ::google::protobuf::uint32 min_members_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation > invitation_; + ::google::protobuf::uint32 reason_; + int privacy_level_; + ::std::string* name_; + static ::std::string* _default_channel_type_; + ::std::string* channel_type_; + ::google::protobuf::uint32 program_; + bool subscribe_to_presence_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ChannelState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAccountInfo : public ::google::protobuf::Message { + public: + MemberAccountInfo(); + virtual ~MemberAccountInfo(); + + MemberAccountInfo(const MemberAccountInfo& from); + + inline MemberAccountInfo& operator=(const MemberAccountInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAccountInfo& default_instance(); + + void Swap(MemberAccountInfo* other); + + // implements Message ---------------------------------------------- + + MemberAccountInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string battle_tag = 3; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 3; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberAccountInfo) + private: + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MemberAccountInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberState : public ::google::protobuf::Message { + public: + MemberState(); + virtual ~MemberState(); + + MemberState(const MemberState& from); + + inline MemberState& operator=(const MemberState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberState& default_instance(); + + void Swap(MemberState* other); + + // implements Message ---------------------------------------------- + + MemberState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::Attribute& attribute(int index) const; + inline ::bgs::protocol::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* + mutable_attribute(); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // optional uint64 privileges = 3 [default = 0]; + inline bool has_privileges() const; + inline void clear_privileges(); + static const int kPrivilegesFieldNumber = 3; + inline ::google::protobuf::uint64 privileges() const; + inline void set_privileges(::google::protobuf::uint64 value); + + // optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; + inline bool has_info() const; + inline void clear_info(); + static const int kInfoFieldNumber = 4; + inline const ::bgs::protocol::channel::v1::MemberAccountInfo& info() const; + inline ::bgs::protocol::channel::v1::MemberAccountInfo* mutable_info(); + inline ::bgs::protocol::channel::v1::MemberAccountInfo* release_info(); + inline void set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberState) + private: + inline void set_has_privileges(); + inline void clear_has_privileges(); + inline void set_has_info(); + inline void clear_has_info(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + ::google::protobuf::uint64 privileges_; + ::bgs::protocol::channel::v1::MemberAccountInfo* info_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MemberState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Member : public ::google::protobuf::Message { + public: + Member(); + virtual ~Member(); + + Member(const Member& from); + + inline Member& operator=(const Member& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Member& default_instance(); + + void Swap(Member* other); + + // implements Message ---------------------------------------------- + + Member* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required .bgs.protocol.Identity identity = 1; + inline bool has_identity() const; + inline void clear_identity(); + static const int kIdentityFieldNumber = 1; + inline const ::bgs::protocol::Identity& identity() const; + inline ::bgs::protocol::Identity* mutable_identity(); + inline ::bgs::protocol::Identity* release_identity(); + inline void set_allocated_identity(::bgs::protocol::Identity* identity); + + // required .bgs.protocol.channel.v1.MemberState state = 2; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 2; + inline const ::bgs::protocol::channel::v1::MemberState& state() const; + inline ::bgs::protocol::channel::v1::MemberState* mutable_state(); + inline ::bgs::protocol::channel::v1::MemberState* release_state(); + inline void set_allocated_state(::bgs::protocol::channel::v1::MemberState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Member) + private: + inline void set_has_identity(); + inline void clear_has_identity(); + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::Identity* identity_; + ::bgs::protocol::channel::v1::MemberState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Member* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberId : public ::google::protobuf::Message { + public: + SubscriberId(); + virtual ~SubscriberId(); + + SubscriberId(const SubscriberId& from); + + inline SubscriberId& operator=(const SubscriberId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberId& default_instance(); + + void Swap(SubscriberId* other); + + // implements Message ---------------------------------------------- + + SubscriberId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; + inline bool has_account() const PROTOBUF_DEPRECATED; + inline void clear_account() PROTOBUF_DEPRECATED; + static const int kAccountFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& account() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_account() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_account() PROTOBUF_DEPRECATED; + inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; + inline bool has_game_account() const; + inline void clear_game_account(); + static const int kGameAccountFieldNumber = 2; + inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const; + inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account(); + inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account(); + inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account); + + // optional .bgs.protocol.ProcessId process = 3; + inline bool has_process() const; + inline void clear_process(); + static const int kProcessFieldNumber = 3; + inline const ::bgs::protocol::ProcessId& process() const; + inline ::bgs::protocol::ProcessId* mutable_process(); + inline ::bgs::protocol::ProcessId* release_process(); + inline void set_allocated_process(::bgs::protocol::ProcessId* process); + + // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.SubscriberId) + private: + inline void set_has_account(); + inline void clear_has_account(); + inline void set_has_game_account(); + inline void clear_has_game_account(); + inline void set_has_process(); + inline void clear_has_process(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* account_; + ::bgs::protocol::account::v1::GameAccountHandle* game_account_; + ::bgs::protocol::ProcessId* process_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Message + +// repeated .bgs.protocol.Attribute attribute = 1; +inline int Message::attribute_size() const { + return attribute_.size(); +} +inline void Message::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& Message::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* Message::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* Message::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.Message.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +Message::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.Message.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +Message::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.Message.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// ListChannelsOptions + +// optional uint32 start_index = 1 [default = 0]; +inline bool ListChannelsOptions::has_start_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ListChannelsOptions::set_has_start_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void ListChannelsOptions::clear_has_start_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ListChannelsOptions::clear_start_index() { + start_index_ = 0u; + clear_has_start_index(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::start_index() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.start_index) + return start_index_; +} +inline void ListChannelsOptions::set_start_index(::google::protobuf::uint32 value) { + set_has_start_index(); + start_index_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.start_index) +} + +// optional uint32 max_results = 2 [default = 16]; +inline bool ListChannelsOptions::has_max_results() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ListChannelsOptions::set_has_max_results() { + _has_bits_[0] |= 0x00000002u; +} +inline void ListChannelsOptions::clear_has_max_results() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ListChannelsOptions::clear_max_results() { + max_results_ = 16u; + clear_has_max_results(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::max_results() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.max_results) + return max_results_; +} +inline void ListChannelsOptions::set_max_results(::google::protobuf::uint32 value) { + set_has_max_results(); + max_results_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.max_results) +} + +// optional string name = 3; +inline bool ListChannelsOptions::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ListChannelsOptions::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ListChannelsOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ListChannelsOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ListChannelsOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.name) + return *name_; +} +inline void ListChannelsOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline void ListChannelsOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline void ListChannelsOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.name) +} +inline ::std::string* ListChannelsOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.name) + return name_; +} +inline ::std::string* ListChannelsOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ListChannelsOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.name) +} + +// optional fixed32 program = 4; +inline bool ListChannelsOptions::has_program() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ListChannelsOptions::set_has_program() { + _has_bits_[0] |= 0x00000008u; +} +inline void ListChannelsOptions::clear_has_program() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ListChannelsOptions::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.program) + return program_; +} +inline void ListChannelsOptions::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.program) +} + +// optional fixed32 locale = 5; +inline bool ListChannelsOptions::has_locale() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ListChannelsOptions::set_has_locale() { + _has_bits_[0] |= 0x00000010u; +} +inline void ListChannelsOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ListChannelsOptions::clear_locale() { + locale_ = 0u; + clear_has_locale(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.locale) + return locale_; +} +inline void ListChannelsOptions::set_locale(::google::protobuf::uint32 value) { + set_has_locale(); + locale_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.locale) +} + +// optional uint32 capacity_full = 6; +inline bool ListChannelsOptions::has_capacity_full() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ListChannelsOptions::set_has_capacity_full() { + _has_bits_[0] |= 0x00000020u; +} +inline void ListChannelsOptions::clear_has_capacity_full() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ListChannelsOptions::clear_capacity_full() { + capacity_full_ = 0u; + clear_has_capacity_full(); +} +inline ::google::protobuf::uint32 ListChannelsOptions::capacity_full() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) + return capacity_full_; +} +inline void ListChannelsOptions::set_capacity_full(::google::protobuf::uint32 value) { + set_has_capacity_full(); + capacity_full_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) +} + +// required .bgs.protocol.AttributeFilter attribute_filter = 7; +inline bool ListChannelsOptions::has_attribute_filter() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ListChannelsOptions::set_has_attribute_filter() { + _has_bits_[0] |= 0x00000040u; +} +inline void ListChannelsOptions::clear_has_attribute_filter() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ListChannelsOptions::clear_attribute_filter() { + if (attribute_filter_ != NULL) attribute_filter_->::bgs::protocol::AttributeFilter::Clear(); + clear_has_attribute_filter(); +} +inline const ::bgs::protocol::AttributeFilter& ListChannelsOptions::attribute_filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) + return attribute_filter_ != NULL ? *attribute_filter_ : *default_instance_->attribute_filter_; +} +inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::mutable_attribute_filter() { + set_has_attribute_filter(); + if (attribute_filter_ == NULL) attribute_filter_ = new ::bgs::protocol::AttributeFilter; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) + return attribute_filter_; +} +inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::release_attribute_filter() { + clear_has_attribute_filter(); + ::bgs::protocol::AttributeFilter* temp = attribute_filter_; + attribute_filter_ = NULL; + return temp; +} +inline void ListChannelsOptions::set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter) { + delete attribute_filter_; + attribute_filter_ = attribute_filter; + if (attribute_filter) { + set_has_attribute_filter(); + } else { + clear_has_attribute_filter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) +} + +// optional string channel_type = 8; +inline bool ListChannelsOptions::has_channel_type() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ListChannelsOptions::set_has_channel_type() { + _has_bits_[0] |= 0x00000080u; +} +inline void ListChannelsOptions::clear_has_channel_type() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ListChannelsOptions::clear_channel_type() { + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_->clear(); + } + clear_has_channel_type(); +} +inline const ::std::string& ListChannelsOptions::channel_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) + return *channel_type_; +} +inline void ListChannelsOptions::set_channel_type(const ::std::string& value) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline void ListChannelsOptions::set_channel_type(const char* value) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline void ListChannelsOptions::set_channel_type(const char* value, size_t size) { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + channel_type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} +inline ::std::string* ListChannelsOptions::mutable_channel_type() { + set_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) + return channel_type_; +} +inline ::std::string* ListChannelsOptions::release_channel_type() { + clear_has_channel_type(); + if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = channel_type_; + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ListChannelsOptions::set_allocated_channel_type(::std::string* channel_type) { + if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_type_; + } + if (channel_type) { + set_has_channel_type(); + channel_type_ = channel_type; + } else { + clear_has_channel_type(); + channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) +} + +// ------------------------------------------------------------------- + +// ChannelDescription + +// required .bgs.protocol.EntityId channel_id = 1; +inline bool ChannelDescription::has_channel_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelDescription::set_has_channel_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelDescription::clear_has_channel_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelDescription::clear_channel_id() { + if (channel_id_ != NULL) channel_id_->::bgs::protocol::EntityId::Clear(); + clear_has_channel_id(); +} +inline const ::bgs::protocol::EntityId& ChannelDescription::channel_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.channel_id) + return channel_id_ != NULL ? *channel_id_ : *default_instance_->channel_id_; +} +inline ::bgs::protocol::EntityId* ChannelDescription::mutable_channel_id() { + set_has_channel_id(); + if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::EntityId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.channel_id) + return channel_id_; +} +inline ::bgs::protocol::EntityId* ChannelDescription::release_channel_id() { + clear_has_channel_id(); + ::bgs::protocol::EntityId* temp = channel_id_; + channel_id_ = NULL; + return temp; +} +inline void ChannelDescription::set_allocated_channel_id(::bgs::protocol::EntityId* channel_id) { + delete channel_id_; + channel_id_ = channel_id; + if (channel_id) { + set_has_channel_id(); + } else { + clear_has_channel_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.channel_id) +} + +// optional uint32 current_members = 2; +inline bool ChannelDescription::has_current_members() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ChannelDescription::set_has_current_members() { + _has_bits_[0] |= 0x00000002u; +} +inline void ChannelDescription::clear_has_current_members() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ChannelDescription::clear_current_members() { + current_members_ = 0u; + clear_has_current_members(); +} +inline ::google::protobuf::uint32 ChannelDescription::current_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.current_members) + return current_members_; +} +inline void ChannelDescription::set_current_members(::google::protobuf::uint32 value) { + set_has_current_members(); + current_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelDescription.current_members) +} + +// optional .bgs.protocol.channel.v1.ChannelState state = 3; +inline bool ChannelDescription::has_state() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ChannelDescription::set_has_state() { + _has_bits_[0] |= 0x00000004u; +} +inline void ChannelDescription::clear_has_state() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ChannelDescription::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::channel::v1::ChannelState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::channel::v1::ChannelState& ChannelDescription::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::ChannelState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.state) + return state_; +} +inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::release_state() { + clear_has_state(); + ::bgs::protocol::channel::v1::ChannelState* temp = state_; + state_ = NULL; + return temp; +} +inline void ChannelDescription::set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.state) +} + +// ------------------------------------------------------------------- + +// ChannelInfo + +// required .bgs.protocol.channel.v1.ChannelDescription description = 1; +inline bool ChannelInfo::has_description() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelInfo::set_has_description() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelInfo::clear_has_description() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelInfo::clear_description() { + if (description_ != NULL) description_->::bgs::protocol::channel::v1::ChannelDescription::Clear(); + clear_has_description(); +} +inline const ::bgs::protocol::channel::v1::ChannelDescription& ChannelInfo::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.description) + return description_ != NULL ? *description_ : *default_instance_->description_; +} +inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::mutable_description() { + set_has_description(); + if (description_ == NULL) description_ = new ::bgs::protocol::channel::v1::ChannelDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.description) + return description_; +} +inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::release_description() { + clear_has_description(); + ::bgs::protocol::channel::v1::ChannelDescription* temp = description_; + description_ = NULL; + return temp; +} +inline void ChannelInfo::set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description) { + delete description_; + description_ = description; + if (description) { + set_has_description(); + } else { + clear_has_description(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelInfo.description) +} + +// repeated .bgs.protocol.channel.v1.Member member = 2; +inline int ChannelInfo::member_size() const { + return member_.size(); +} +inline void ChannelInfo::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::channel::v1::Member& ChannelInfo::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Get(index); +} +inline ::bgs::protocol::channel::v1::Member* ChannelInfo::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::channel::v1::Member* ChannelInfo::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelInfo.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& +ChannelInfo::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelInfo.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* +ChannelInfo::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelInfo.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// ChannelState + +// optional uint32 max_members = 1; +inline bool ChannelState::has_max_members() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ChannelState::set_has_max_members() { + _has_bits_[0] |= 0x00000001u; +} +inline void ChannelState::clear_has_max_members() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ChannelState::clear_max_members() { + max_members_ = 0u; + clear_has_max_members(); +} +inline ::google::protobuf::uint32 ChannelState::max_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.max_members) + return max_members_; +} +inline void ChannelState::set_max_members(::google::protobuf::uint32 value) { + set_has_max_members(); + max_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.max_members) +} + +// optional uint32 min_members = 2; +inline bool ChannelState::has_min_members() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ChannelState::set_has_min_members() { + _has_bits_[0] |= 0x00000002u; +} +inline void ChannelState::clear_has_min_members() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ChannelState::clear_min_members() { + min_members_ = 0u; + clear_has_min_members(); +} +inline ::google::protobuf::uint32 ChannelState::min_members() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.min_members) + return min_members_; +} +inline void ChannelState::set_min_members(::google::protobuf::uint32 value) { + set_has_min_members(); + min_members_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.min_members) +} + +// repeated .bgs.protocol.Attribute attribute = 3; +inline int ChannelState::attribute_size() const { + return attribute_.size(); +} +inline void ChannelState::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& ChannelState::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* ChannelState::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* ChannelState::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +ChannelState::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +ChannelState::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.attribute) + return &attribute_; +} + +// repeated .bgs.protocol.Invitation invitation = 4; +inline int ChannelState::invitation_size() const { + return invitation_.size(); +} +inline void ChannelState::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::Invitation& ChannelState::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::Invitation* ChannelState::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::Invitation* ChannelState::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& +ChannelState::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* +ChannelState::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.invitation) + return &invitation_; +} + +// optional uint32 reason = 6; +inline bool ChannelState::has_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ChannelState::set_has_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void ChannelState::clear_has_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ChannelState::clear_reason() { + reason_ = 0u; + clear_has_reason(); +} +inline ::google::protobuf::uint32 ChannelState::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.reason) + return reason_; +} +inline void ChannelState::set_reason(::google::protobuf::uint32 value) { + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.reason) +} + +// optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; +inline bool ChannelState::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ChannelState::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ChannelState::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ChannelState::clear_privacy_level() { + privacy_level_ = 1; + clear_has_privacy_level(); +} +inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel ChannelState::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.privacy_level) + return static_cast< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel >(privacy_level_); +} +inline void ChannelState::set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value) { + assert(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.privacy_level) +} + +// optional string name = 8; +inline bool ChannelState::has_name() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ChannelState::set_has_name() { + _has_bits_[0] |= 0x00000040u; +} +inline void ChannelState::clear_has_name() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ChannelState::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ChannelState::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.name) + return *name_; +} +inline void ChannelState::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.name) +} +inline void ChannelState::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.name) +} +inline void ChannelState::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.name) +} +inline ::std::string* ChannelState::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.name) + return name_; +} +inline ::std::string* ChannelState::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ChannelState::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.name) +} + +// optional string channel_type = 10 [default = "default"]; +inline bool ChannelState::has_channel_type() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ChannelState::set_has_channel_type() { + _has_bits_[0] |= 0x00000080u; +} +inline void ChannelState::clear_has_channel_type() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ChannelState::clear_channel_type() { + if (channel_type_ != _default_channel_type_) { + channel_type_->assign(*_default_channel_type_); + } + clear_has_channel_type(); +} +inline const ::std::string& ChannelState::channel_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.channel_type) + return *channel_type_; +} +inline void ChannelState::set_channel_type(const ::std::string& value) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline void ChannelState::set_channel_type(const char* value) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline void ChannelState::set_channel_type(const char* value, size_t size) { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string; + } + channel_type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.channel_type) +} +inline ::std::string* ChannelState::mutable_channel_type() { + set_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + channel_type_ = new ::std::string(*_default_channel_type_); + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.channel_type) + return channel_type_; +} +inline ::std::string* ChannelState::release_channel_type() { + clear_has_channel_type(); + if (channel_type_ == _default_channel_type_) { + return NULL; + } else { + ::std::string* temp = channel_type_; + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + return temp; + } +} +inline void ChannelState::set_allocated_channel_type(::std::string* channel_type) { + if (channel_type_ != _default_channel_type_) { + delete channel_type_; + } + if (channel_type) { + set_has_channel_type(); + channel_type_ = channel_type; + } else { + clear_has_channel_type(); + channel_type_ = const_cast< ::std::string*>(_default_channel_type_); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.channel_type) +} + +// optional fixed32 program = 11; +inline bool ChannelState::has_program() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ChannelState::set_has_program() { + _has_bits_[0] |= 0x00000100u; +} +inline void ChannelState::clear_has_program() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ChannelState::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 ChannelState::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.program) + return program_; +} +inline void ChannelState::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.program) +} + +// optional bool subscribe_to_presence = 13 [default = true]; +inline bool ChannelState::has_subscribe_to_presence() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ChannelState::set_has_subscribe_to_presence() { + _has_bits_[0] |= 0x00000200u; +} +inline void ChannelState::clear_has_subscribe_to_presence() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ChannelState::clear_subscribe_to_presence() { + subscribe_to_presence_ = true; + clear_has_subscribe_to_presence(); +} +inline bool ChannelState::subscribe_to_presence() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) + return subscribe_to_presence_; +} +inline void ChannelState::set_subscribe_to_presence(bool value) { + set_has_subscribe_to_presence(); + subscribe_to_presence_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) +} + +// ------------------------------------------------------------------- + +// MemberAccountInfo + +// optional string battle_tag = 3; +inline bool MemberAccountInfo::has_battle_tag() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAccountInfo::set_has_battle_tag() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAccountInfo::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAccountInfo::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& MemberAccountInfo::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) + return *battle_tag_; +} +inline void MemberAccountInfo::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline void MemberAccountInfo::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline void MemberAccountInfo::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} +inline ::std::string* MemberAccountInfo::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) + return battle_tag_; +} +inline ::std::string* MemberAccountInfo::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberAccountInfo::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) +} + +// ------------------------------------------------------------------- + +// MemberState + +// repeated .bgs.protocol.Attribute attribute = 1; +inline int MemberState::attribute_size() const { + return attribute_.size(); +} +inline void MemberState::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::Attribute& MemberState::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::Attribute* MemberState::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::Attribute* MemberState::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& +MemberState::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* +MemberState::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.attribute) + return &attribute_; +} + +// repeated uint32 role = 2 [packed = true]; +inline int MemberState::role_size() const { + return role_.size(); +} +inline void MemberState::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 MemberState::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.role) + return role_.Get(index); +} +inline void MemberState::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.role) +} +inline void MemberState::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +MemberState::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +MemberState::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.role) + return &role_; +} + +// optional uint64 privileges = 3 [default = 0]; +inline bool MemberState::has_privileges() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberState::set_has_privileges() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberState::clear_has_privileges() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberState::clear_privileges() { + privileges_ = GOOGLE_ULONGLONG(0); + clear_has_privileges(); +} +inline ::google::protobuf::uint64 MemberState::privileges() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.privileges) + return privileges_; +} +inline void MemberState::set_privileges(::google::protobuf::uint64 value) { + set_has_privileges(); + privileges_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.privileges) +} + +// optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; +inline bool MemberState::has_info() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberState::set_has_info() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberState::clear_has_info() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberState::clear_info() { + if (info_ != NULL) info_->::bgs::protocol::channel::v1::MemberAccountInfo::Clear(); + clear_has_info(); +} +inline const ::bgs::protocol::channel::v1::MemberAccountInfo& MemberState::info() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.info) + return info_ != NULL ? *info_ : *default_instance_->info_; +} +inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::mutable_info() { + set_has_info(); + if (info_ == NULL) info_ = new ::bgs::protocol::channel::v1::MemberAccountInfo; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.info) + return info_; +} +inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::release_info() { + clear_has_info(); + ::bgs::protocol::channel::v1::MemberAccountInfo* temp = info_; + info_ = NULL; + return temp; +} +inline void MemberState::set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info) { + delete info_; + info_ = info; + if (info) { + set_has_info(); + } else { + clear_has_info(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberState.info) +} + +// ------------------------------------------------------------------- + +// Member + +// required .bgs.protocol.Identity identity = 1; +inline bool Member::has_identity() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Member::set_has_identity() { + _has_bits_[0] |= 0x00000001u; +} +inline void Member::clear_has_identity() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Member::clear_identity() { + if (identity_ != NULL) identity_->::bgs::protocol::Identity::Clear(); + clear_has_identity(); +} +inline const ::bgs::protocol::Identity& Member::identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.identity) + return identity_ != NULL ? *identity_ : *default_instance_->identity_; +} +inline ::bgs::protocol::Identity* Member::mutable_identity() { + set_has_identity(); + if (identity_ == NULL) identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.identity) + return identity_; +} +inline ::bgs::protocol::Identity* Member::release_identity() { + clear_has_identity(); + ::bgs::protocol::Identity* temp = identity_; + identity_ = NULL; + return temp; +} +inline void Member::set_allocated_identity(::bgs::protocol::Identity* identity) { + delete identity_; + identity_ = identity; + if (identity) { + set_has_identity(); + } else { + clear_has_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.identity) +} + +// required .bgs.protocol.channel.v1.MemberState state = 2; +inline bool Member::has_state() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Member::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void Member::clear_has_state() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Member::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::channel::v1::MemberState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::channel::v1::MemberState& Member::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::channel::v1::MemberState* Member::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::MemberState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.state) + return state_; +} +inline ::bgs::protocol::channel::v1::MemberState* Member::release_state() { + clear_has_state(); + ::bgs::protocol::channel::v1::MemberState* temp = state_; + state_ = NULL; + return temp; +} +inline void Member::set_allocated_state(::bgs::protocol::channel::v1::MemberState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.state) +} + +// ------------------------------------------------------------------- + +// SubscriberId + +// optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; +inline bool SubscriberId::has_account() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberId::set_has_account() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberId::clear_has_account() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberId::clear_account() { + if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_account(); +} +inline const ::bgs::protocol::account::v1::AccountId& SubscriberId::account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.account) + return account_ != NULL ? *account_ : *default_instance_->account_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscriberId::mutable_account() { + set_has_account(); + if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.account) + return account_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscriberId::release_account() { + clear_has_account(); + ::bgs::protocol::account::v1::AccountId* temp = account_; + account_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_account(::bgs::protocol::account::v1::AccountId* account) { + delete account_; + account_ = account; + if (account) { + set_has_account(); + } else { + clear_has_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.account) +} + +// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; +inline bool SubscriberId::has_game_account() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberId::set_has_game_account() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberId::clear_has_game_account() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberId::clear_game_account() { + if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); + clear_has_game_account(); +} +inline const ::bgs::protocol::account::v1::GameAccountHandle& SubscriberId::game_account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.game_account) + return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::mutable_game_account() { + set_has_game_account(); + if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.game_account) + return game_account_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::release_game_account() { + clear_has_game_account(); + ::bgs::protocol::account::v1::GameAccountHandle* temp = game_account_; + game_account_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) { + delete game_account_; + game_account_ = game_account; + if (game_account) { + set_has_game_account(); + } else { + clear_has_game_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.game_account) +} + +// optional .bgs.protocol.ProcessId process = 3; +inline bool SubscriberId::has_process() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscriberId::set_has_process() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscriberId::clear_has_process() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscriberId::clear_process() { + if (process_ != NULL) process_->::bgs::protocol::ProcessId::Clear(); + clear_has_process(); +} +inline const ::bgs::protocol::ProcessId& SubscriberId::process() const { + // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.process) + return process_ != NULL ? *process_ : *default_instance_->process_; +} +inline ::bgs::protocol::ProcessId* SubscriberId::mutable_process() { + set_has_process(); + if (process_ == NULL) process_ = new ::bgs::protocol::ProcessId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.process) + return process_; +} +inline ::bgs::protocol::ProcessId* SubscriberId::release_process() { + clear_has_process(); + ::bgs::protocol::ProcessId* temp = process_; + process_ = NULL; + return temp; +} +inline void SubscriberId::set_allocated_process(::bgs::protocol::ProcessId* process) { + delete process_; + process_ = process; + if (process) { + set_has_process(); + } else { + clear_has_process(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.process) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace channel +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel>() { + return ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_ban.pb.cc b/src/server/proto/Client/api/client/v1/club_ban.pb.cc new file mode 100644 index 00000000000..993b7c757fd --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.cc @@ -0,0 +1,326 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_ban.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_ban.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* AddBanOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddBanOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubBan_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubBan_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_ban.proto"); + GOOGLE_CHECK(file != NULL); + AddBanOptions_descriptor_ = file->message_type(0); + static const int AddBanOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, reason_), + }; + AddBanOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddBanOptions_descriptor_, + AddBanOptions::default_instance_, + AddBanOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddBanOptions)); + ClubBan_descriptor_ = file->message_type(1); + static const int ClubBan_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, reason_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creation_time_), + }; + ClubBan_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubBan_descriptor_, + ClubBan::default_instance_, + ClubBan_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubBan)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddBanOptions_descriptor_, &AddBanOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubBan_descriptor_, &ClubBan::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto() { + delete AddBanOptions::default_instance_; + delete AddBanOptions_reflection_; + delete ClubBan::default_instance_; + delete ClubBan_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\034api/client/v1/club_ban.proto\022\033bgs.prot" + "ocol.club.v1.client\032%global_extensions/f" + "ield_options.proto\032\037api/client/v1/club_m" + "ember.proto\032#api/common/v2/attribute_typ" + "es.proto\"\201\001\n\rAddBanOptions\0221\n\ttarget_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022-\n" + "\tattribute\030\002 \003(\0132\032.bgs.protocol.v2.Attri" + "bute\022\016\n\006reason\030\003 \001(\t\"\350\001\n\007ClubBan\022*\n\002id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\032\n\n" + "battle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\?\n\007creator\030\003 \001(" + "\0132..bgs.protocol.club.v1.client.MemberDe" + "scription\022-\n\tattribute\030\004 \003(\0132\032.bgs.proto" + "col.v2.Attribute\022\016\n\006reason\030\005 \001(\t\022\025\n\rcrea" + "tion_time\030\006 \001(\004B\002H\002", 539); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_ban.proto", &protobuf_RegisterTypes); + AddBanOptions::default_instance_ = new AddBanOptions(); + ClubBan::default_instance_ = new ClubBan(); + AddBanOptions::default_instance_->InitAsDefaultInstance(); + ClubBan::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fban_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fban_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fban_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int AddBanOptions::kTargetIdFieldNumber; +const int AddBanOptions::kAttributeFieldNumber; +const int AddBanOptions::kReasonFieldNumber; +#endif // !_MSC_VER + +AddBanOptions::AddBanOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddBanOptions) +} + +void AddBanOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AddBanOptions::AddBanOptions(const AddBanOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanOptions) +} + +void AddBanOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + target_id_ = NULL; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddBanOptions::~AddBanOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanOptions) + SharedDtor(); +} + +void AddBanOptions::SharedDtor() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (this != default_instance_) { + delete target_id_; + } +} + +void AddBanOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddBanOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddBanOptions_descriptor_; +} + +const AddBanOptions& AddBanOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + return *default_instance_; +} + +AddBanOptions* AddBanOptions::default_instance_ = NULL; + +AddBanOptions* AddBanOptions::New() const { + return new AddBanOptions; +} + +void AddBanOptions::Swap(AddBanOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddBanOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddBanOptions_descriptor_; + metadata.reflection = AddBanOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubBan::kIdFieldNumber; +const int ClubBan::kBattleTagFieldNumber; +const int ClubBan::kCreatorFieldNumber; +const int ClubBan::kAttributeFieldNumber; +const int ClubBan::kReasonFieldNumber; +const int ClubBan::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +ClubBan::ClubBan() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubBan) +} + +void ClubBan::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +ClubBan::ClubBan(const ClubBan& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBan) +} + +void ClubBan::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubBan::~ClubBan() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBan) + SharedDtor(); +} + +void ClubBan::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (this != default_instance_) { + delete id_; + delete creator_; + } +} + +void ClubBan::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubBan::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubBan_descriptor_; +} + +const ClubBan& ClubBan::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + return *default_instance_; +} + +ClubBan* ClubBan::default_instance_ = NULL; + +ClubBan* ClubBan::New() const { + return new ClubBan; +} + +void ClubBan::Swap(ClubBan* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubBan::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubBan_descriptor_; + metadata.reflection = ClubBan_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_ban.pb.h b/src/server/proto/Client/api/client/v1/club_ban.pb.h new file mode 100644 index 00000000000..bf42f4ff348 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_ban.pb.h @@ -0,0 +1,740 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_ban.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/field_options.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + +class AddBanOptions; +class ClubBan; + +// =================================================================== + +class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message { + public: + AddBanOptions(); + virtual ~AddBanOptions(); + + AddBanOptions(const AddBanOptions& from); + + inline AddBanOptions& operator=(const AddBanOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddBanOptions& default_instance(); + + void Swap(AddBanOptions* other); + + // implements Message ---------------------------------------------- + + AddBanOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string reason = 3; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 3; + inline const ::std::string& reason() const; + inline void set_reason(const ::std::string& value); + inline void set_reason(const char* value); + inline void set_reason(const char* value, size_t size); + inline ::std::string* mutable_reason(); + inline ::std::string* release_reason(); + inline void set_allocated_reason(::std::string* reason); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + + void InitAsDefaultInstance(); + static AddBanOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubBan : public ::google::protobuf::Message { + public: + ClubBan(); + virtual ~ClubBan(); + + ClubBan(const ClubBan& from); + + inline ClubBan& operator=(const ClubBan& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubBan& default_instance(); + + void Swap(ClubBan* other); + + // implements Message ---------------------------------------------- + + ClubBan* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 3; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline const ::std::string& reason() const; + inline void set_reason(const ::std::string& value); + inline void set_reason(const char* value); + inline void set_reason(const char* value, size_t size); + inline ::std::string* mutable_reason(); + inline ::std::string* release_reason(); + inline void set_allocated_reason(::std::string* reason); + + // optional uint64 creation_time = 6; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 6; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBan) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_reason(); + inline void clear_has_reason(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* reason_; + ::google::protobuf::uint64 creation_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fban_2eproto(); + + void InitAsDefaultInstance(); + static ClubBan* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// AddBanOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool AddBanOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddBanOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddBanOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddBanOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddBanOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void AddBanOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.target_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int AddBanOptions::attribute_size() const { + return attribute_.size(); +} +inline void AddBanOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& AddBanOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* AddBanOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* AddBanOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +AddBanOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +AddBanOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AddBanOptions.attribute) + return &attribute_; +} + +// optional string reason = 3; +inline bool AddBanOptions::has_reason() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddBanOptions::set_has_reason() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddBanOptions::clear_has_reason() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddBanOptions::clear_reason() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_->clear(); + } + clear_has_reason(); +} +inline const ::std::string& AddBanOptions::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanOptions.reason) + return *reason_; +} +inline void AddBanOptions::set_reason(const ::std::string& value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline void AddBanOptions::set_reason(const char* value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline void AddBanOptions::set_reason(const char* value, size_t size) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.AddBanOptions.reason) +} +inline ::std::string* AddBanOptions::mutable_reason() { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanOptions.reason) + return reason_; +} +inline ::std::string* AddBanOptions::release_reason() { + clear_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = reason_; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void AddBanOptions::set_allocated_reason(::std::string* reason) { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (reason) { + set_has_reason(); + reason_ = reason; + } else { + clear_has_reason(); + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanOptions.reason) +} + +// ------------------------------------------------------------------- + +// ClubBan + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool ClubBan::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubBan::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubBan::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubBan::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubBan::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubBan::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubBan::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void ClubBan::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.id) +} + +// optional string battle_tag = 2; +inline bool ClubBan::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubBan::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubBan::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubBan::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& ClubBan::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.battle_tag) + return *battle_tag_; +} +inline void ClubBan::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline void ClubBan::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline void ClubBan::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} +inline ::std::string* ClubBan::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.battle_tag) + return battle_tag_; +} +inline ::std::string* ClubBan::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubBan::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.battle_tag) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 3; +inline bool ClubBan::has_creator() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubBan::set_has_creator() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubBan::clear_has_creator() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubBan::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubBan::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubBan::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.creator) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int ClubBan::attribute_size() const { + return attribute_.size(); +} +inline void ClubBan::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubBan::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubBan::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubBan::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubBan::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubBan.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubBan::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubBan.attribute) + return &attribute_; +} + +// optional string reason = 5; +inline bool ClubBan::has_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubBan::set_has_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubBan::clear_has_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubBan::clear_reason() { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_->clear(); + } + clear_has_reason(); +} +inline const ::std::string& ClubBan::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.reason) + return *reason_; +} +inline void ClubBan::set_reason(const ::std::string& value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline void ClubBan::set_reason(const char* value) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline void ClubBan::set_reason(const char* value, size_t size) { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + reason_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubBan.reason) +} +inline ::std::string* ClubBan::mutable_reason() { + set_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + reason_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBan.reason) + return reason_; +} +inline ::std::string* ClubBan::release_reason() { + clear_has_reason(); + if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = reason_; + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubBan::set_allocated_reason(::std::string* reason) { + if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete reason_; + } + if (reason) { + set_has_reason(); + reason_ = reason; + } else { + clear_has_reason(); + reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBan.reason) +} + +// optional uint64 creation_time = 6; +inline bool ClubBan::has_creation_time() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubBan::set_has_creation_time() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubBan::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubBan::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubBan::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBan.creation_time) + return creation_time_; +} +inline void ClubBan::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubBan.creation_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fban_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_core.pb.cc b/src/server/proto/Client/api/client/v1/club_core.pb.cc new file mode 100644 index 00000000000..83df2d99f02 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_core.pb.cc @@ -0,0 +1,1543 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_core.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_core.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SetBroadcastOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetBroadcastOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Broadcast_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Broadcast_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubCreateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubCreateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Club_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Club_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubView_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettingsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettingsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSettingsAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSettingsAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_core.proto"); + GOOGLE_CHECK(file != NULL); + SetBroadcastOptions_descriptor_ = file->message_type(0); + static const int SetBroadcastOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, content_), + }; + SetBroadcastOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetBroadcastOptions_descriptor_, + SetBroadcastOptions::default_instance_, + SetBroadcastOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetBroadcastOptions)); + Broadcast_descriptor_ = file->message_type(1); + static const int Broadcast_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creation_time_), + }; + Broadcast_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Broadcast_descriptor_, + Broadcast::default_instance_, + Broadcast_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Broadcast)); + ClubCreateOptions_descriptor_ = file->message_type(2); + static const int ClubCreateOptions_offsets_[14] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, timezone_), + }; + ClubCreateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubCreateOptions_descriptor_, + ClubCreateOptions::default_instance_, + ClubCreateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubCreateOptions)); + Club_descriptor_ = file->message_type(3); + static const int Club_offsets_[19] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, member_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, role_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, leader_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, timezone_), + }; + Club_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Club_descriptor_, + Club::default_instance_, + Club_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Club)); + ClubView_descriptor_ = file->message_type(4); + static const int ClubView_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, marker_), + }; + ClubView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubView_descriptor_, + ClubView::default_instance_, + ClubView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubView)); + ClubStateOptions_descriptor_ = file->message_type(5); + static const int ClubStateOptions_offsets_[13] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, tag_options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, search_attribute_), + }; + ClubStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStateOptions_descriptor_, + ClubStateOptions::default_instance_, + ClubStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStateOptions)); + ClubStateAssignment_descriptor_ = file->message_type(6); + static const int ClubStateAssignment_offsets_[15] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, short_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, search_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_cleared_), + }; + ClubStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStateAssignment_descriptor_, + ClubStateAssignment::default_instance_, + ClubStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStateAssignment)); + StreamSettings_descriptor_ = file->message_type(7); + static const int StreamSettings_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, filter_), + }; + StreamSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamSettings_descriptor_, + StreamSettings::default_instance_, + StreamSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamSettings)); + ClubSettings_descriptor_ = file->message_type(8); + static const int ClubSettings_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_notification_filter_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, push_notification_filter_all_), + }; + ClubSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettings_descriptor_, + ClubSettings::default_instance_, + ClubSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettings)); + ClubSettingsOptions_descriptor_ = file->message_type(9); + static const int ClubSettingsOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, settings_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, version_), + }; + ClubSettingsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettingsOptions_descriptor_, + ClubSettingsOptions::default_instance_, + ClubSettingsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettingsOptions)); + ClubSettingsAssignment_descriptor_ = file->message_type(10); + static const int ClubSettingsAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, settings_), + }; + ClubSettingsAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSettingsAssignment_descriptor_, + ClubSettingsAssignment::default_instance_, + ClubSettingsAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSettingsAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetBroadcastOptions_descriptor_, &SetBroadcastOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Broadcast_descriptor_, &Broadcast::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubCreateOptions_descriptor_, &ClubCreateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Club_descriptor_, &Club::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubView_descriptor_, &ClubView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStateOptions_descriptor_, &ClubStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStateAssignment_descriptor_, &ClubStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamSettings_descriptor_, &StreamSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettings_descriptor_, &ClubSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettingsOptions_descriptor_, &ClubSettingsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSettingsAssignment_descriptor_, &ClubSettingsAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + delete SetBroadcastOptions::default_instance_; + delete SetBroadcastOptions_reflection_; + delete Broadcast::default_instance_; + delete Broadcast_reflection_; + delete ClubCreateOptions::default_instance_; + delete ClubCreateOptions_reflection_; + delete Club::default_instance_; + delete Club_reflection_; + delete ClubView::default_instance_; + delete ClubView_reflection_; + delete ClubStateOptions::default_instance_; + delete ClubStateOptions_reflection_; + delete ClubStateAssignment::default_instance_; + delete ClubStateAssignment_reflection_; + delete StreamSettings::default_instance_; + delete StreamSettings_reflection_; + delete ClubSettings::default_instance_; + delete ClubSettings_reflection_; + delete ClubSettingsOptions::default_instance_; + delete ClubSettingsOptions_reflection_; + delete ClubSettingsAssignment::default_instance_; + delete ClubSettingsAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_core.proto\022\033bgs.pro" + "tocol.club.v1.client\032\035api/client/v1/club" + "_enum.proto\032\035api/client/v1/club_role.pro" + "to\032\037api/client/v1/club_member.proto\032\037api" + "/client/v1/club_stream.proto\032\035api/common" + "/v1/club_core.proto\032\035api/common/v1/club_" + "enum.proto\032\034api/common/v1/club_tag.proto" + "\032\035api/common/v1/club_type.proto\032#api/com" + "mon/v2/attribute_types.proto\032\026event_view" + "_types.proto\"&\n\023SetBroadcastOptions\022\017\n\007c" + "ontent\030\001 \001(\t\"t\n\tBroadcast\022\017\n\007content\030\001 \001" + "(\t\022\?\n\007creator\030\002 \001(\0132..bgs.protocol.club." + "v1.client.MemberDescription\022\025\n\rcreation_" + "time\030\003 \001(\004\"\344\004\n\021ClubCreateOptions\0222\n\004type" + "\030\001 \001(\0132$.bgs.protocol.club.v1.UniqueClub" + "Type\022-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v" + "2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013description" + "\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol.cl" + "ub.v1.AvatarId\0229\n\rprivacy_level\030\006 \001(\0162\"." + "bgs.protocol.club.v1.PrivacyLevel\022\022\n\nsho" + "rt_name\030\007 \001(\t\022\?\n\020visibility_level\030\010 \001(\0162" + "%.bgs.protocol.club.v1.VisibilityLevel\022@" + "\n\006member\030\n \001(\01320.bgs.protocol.club.v1.cl" + "ient.CreateMemberOptions\022@\n\006stream\030\013 \001(\013" + "20.bgs.protocol.club.v1.client.CreateStr" + "eamOptions\022-\n\003tag\030\014 \001(\0132 .bgs.protocol.c" + "lub.v1.TagOptions\0224\n\020search_attribute\030\r " + "\003(\0132\032.bgs.protocol.v2.Attribute\022\016\n\006local" + "e\030\016 \001(\t\022\020\n\010timezone\030\017 \001(\t\"\214\006\n\004Club\022\n\n\002id" + "\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club" + ".v1.UniqueClubType\022-\n\tattribute\030\003 \003(\0132\032." + "bgs.protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t\022" + "\023\n\013description\030\005 \001(\t\0229\n\tbroadcast\030\006 \001(\0132" + "&.bgs.protocol.club.v1.client.Broadcast\022" + ".\n\006avatar\030\007 \001(\0132\036.bgs.protocol.club.v1.A" + "vatarId\0229\n\rprivacy_level\030\010 \001(\0162\".bgs.pro" + "tocol.club.v1.PrivacyLevel\022\?\n\020visibility" + "_level\030\t \001(\0162%.bgs.protocol.club.v1.Visi" + "bilityLevel\022\024\n\014member_count\030\n \001(\r\022\025\n\rcre" + "ation_time\030\013 \001(\004\022D\n\017stream_position\030\014 \001(" + "\0132+.bgs.protocol.club.v1.client.StreamPo" + "sition\022:\n\010role_set\030\r \001(\0132(.bgs.protocol." + "club.v1.client.ClubRoleSet\022>\n\006leader\030\016 \003" + "(\0132..bgs.protocol.club.v1.client.MemberD" + "escription\022\022\n\nshort_name\030\017 \001(\t\0224\n\020search" + "_attribute\030\020 \003(\0132\032.bgs.protocol.v2.Attri" + "bute\0220\n\003tag\030\021 \003(\0132#.bgs.protocol.club.v1" + ".TagIdentifier\022\016\n\006locale\030\022 \001(\t\022\020\n\010timezo" + "ne\030\023 \001(\t\"E\n\010ClubView\022\017\n\007club_id\030\001 \001(\004\022(\n" + "\006marker\030\002 \001(\0132\030.bgs.protocol.ViewMarker\"" + "\276\004\n\020ClubStateOptions\022-\n\tattribute\030\001 \003(\0132" + "\032.bgs.protocol.v2.Attribute\022\014\n\004name\030\002 \001(" + "\t\022\023\n\013description\030\003 \001(\t\022C\n\tbroadcast\030\004 \001(" + "\01320.bgs.protocol.club.v1.client.SetBroad" + "castOptions\022.\n\006avatar\030\005 \001(\0132\036.bgs.protoc" + "ol.club.v1.AvatarId\0229\n\rprivacy_level\030\006 \001" + "(\0162\".bgs.protocol.club.v1.PrivacyLevel\022D" + "\n\017stream_position\030\007 \001(\0132+.bgs.protocol.c" + "lub.v1.client.StreamPosition\022\022\n\nshort_na" + "me\030\010 \001(\t\022\?\n\020visibility_level\030\t \001(\0162%.bgs" + ".protocol.club.v1.VisibilityLevel\022\016\n\006loc" + "ale\030\n \001(\t\022\020\n\010timezone\030\013 \001(\t\0225\n\013tag_optio" + "ns\030\014 \001(\0132 .bgs.protocol.club.v1.TagOptio" + "ns\0224\n\020search_attribute\030\r \003(\0132\032.bgs.proto" + "col.v2.Attribute\"\330\004\n\023ClubStateAssignment" + "\022\017\n\007club_id\030\001 \001(\004\022-\n\tattribute\030\002 \003(\0132\032.b" + "gs.protocol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023" + "\n\013description\030\004 \001(\t\0229\n\tbroadcast\030\005 \001(\0132&" + ".bgs.protocol.club.v1.client.Broadcast\022." + "\n\006avatar\030\006 \001(\0132\036.bgs.protocol.club.v1.Av" + "atarId\0229\n\rprivacy_level\030\007 \001(\0162\".bgs.prot" + "ocol.club.v1.PrivacyLevel\022D\n\017stream_posi" + "tion\030\010 \001(\0132+.bgs.protocol.club.v1.client" + ".StreamPosition\022\022\n\nshort_name\030\t \001(\t\022\?\n\020v" + "isibility_level\030\n \001(\0162%.bgs.protocol.clu" + "b.v1.VisibilityLevel\022\016\n\006locale\030\013 \001(\t\022\020\n\010" + "timezone\030\014 \001(\t\0220\n\003tag\030\r \003(\0132#.bgs.protoc" + "ol.club.v1.TagIdentifier\0224\n\020search_attri" + "bute\030\016 \003(\0132\032.bgs.protocol.v2.Attribute\022\023" + "\n\013tag_cleared\030\017 \001(\010\"j\n\016StreamSettings\022\021\n" + "\tstream_id\030\001 \001(\004\022E\n\006filter\030\002 \001(\01625.bgs.p" + "rotocol.club.v1.client.StreamNotificatio" + "nFilter\"\310\001\n\014ClubSettings\022;\n\006stream\030\001 \003(\013" + "2+.bgs.protocol.club.v1.client.StreamSet" + "tings\022&\n\036stream_notification_filter_all\030" + "\002 \001(\010\022-\n\tattribute\030\003 \003(\0132\032.bgs.protocol." + "v2.Attribute\022$\n\034push_notification_filter" + "_all\030\004 \001(\010\"\244\001\n\023ClubSettingsOptions\022\?\n\006st" + "ream\030\001 \003(\0132+.bgs.protocol.club.v1.client" + ".StreamSettingsB\002\030\001\022;\n\010settings\030\002 \001(\0132)." + "bgs.protocol.club.v1.client.ClubSettings" + "\022\017\n\007version\030\003 \001(\r\"\226\001\n\026ClubSettingsAssign" + "ment\022\?\n\006stream\030\001 \003(\0132+.bgs.protocol.club" + ".v1.client.StreamSettingsB\002\030\001\022;\n\010setting" + "s\030\002 \001(\0132).bgs.protocol.club.v1.client.Cl" + "ubSettingsB\002H\002", 3814); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_core.proto", &protobuf_RegisterTypes); + SetBroadcastOptions::default_instance_ = new SetBroadcastOptions(); + Broadcast::default_instance_ = new Broadcast(); + ClubCreateOptions::default_instance_ = new ClubCreateOptions(); + Club::default_instance_ = new Club(); + ClubView::default_instance_ = new ClubView(); + ClubStateOptions::default_instance_ = new ClubStateOptions(); + ClubStateAssignment::default_instance_ = new ClubStateAssignment(); + StreamSettings::default_instance_ = new StreamSettings(); + ClubSettings::default_instance_ = new ClubSettings(); + ClubSettingsOptions::default_instance_ = new ClubSettingsOptions(); + ClubSettingsAssignment::default_instance_ = new ClubSettingsAssignment(); + SetBroadcastOptions::default_instance_->InitAsDefaultInstance(); + Broadcast::default_instance_->InitAsDefaultInstance(); + ClubCreateOptions::default_instance_->InitAsDefaultInstance(); + Club::default_instance_->InitAsDefaultInstance(); + ClubView::default_instance_->InitAsDefaultInstance(); + ClubStateOptions::default_instance_->InitAsDefaultInstance(); + ClubStateAssignment::default_instance_->InitAsDefaultInstance(); + StreamSettings::default_instance_->InitAsDefaultInstance(); + ClubSettings::default_instance_->InitAsDefaultInstance(); + ClubSettingsOptions::default_instance_->InitAsDefaultInstance(); + ClubSettingsAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fcore_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SetBroadcastOptions::kContentFieldNumber; +#endif // !_MSC_VER + +SetBroadcastOptions::SetBroadcastOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) +} + +void SetBroadcastOptions::InitAsDefaultInstance() { +} + +SetBroadcastOptions::SetBroadcastOptions(const SetBroadcastOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetBroadcastOptions) +} + +void SetBroadcastOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetBroadcastOptions::~SetBroadcastOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetBroadcastOptions) + SharedDtor(); +} + +void SetBroadcastOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void SetBroadcastOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetBroadcastOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetBroadcastOptions_descriptor_; +} + +const SetBroadcastOptions& SetBroadcastOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +SetBroadcastOptions* SetBroadcastOptions::default_instance_ = NULL; + +SetBroadcastOptions* SetBroadcastOptions::New() const { + return new SetBroadcastOptions; +} + +void SetBroadcastOptions::Swap(SetBroadcastOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetBroadcastOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetBroadcastOptions_descriptor_; + metadata.reflection = SetBroadcastOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Broadcast::kContentFieldNumber; +const int Broadcast::kCreatorFieldNumber; +const int Broadcast::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +Broadcast::Broadcast() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Broadcast) +} + +void Broadcast::InitAsDefaultInstance() { + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +Broadcast::Broadcast(const Broadcast& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Broadcast) +} + +void Broadcast::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Broadcast::~Broadcast() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Broadcast) + SharedDtor(); +} + +void Broadcast::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete creator_; + } +} + +void Broadcast::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Broadcast::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Broadcast_descriptor_; +} + +const Broadcast& Broadcast::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +Broadcast* Broadcast::default_instance_ = NULL; + +Broadcast* Broadcast::New() const { + return new Broadcast; +} + +void Broadcast::Swap(Broadcast* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Broadcast::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Broadcast_descriptor_; + metadata.reflection = Broadcast_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubCreateOptions::kTypeFieldNumber; +const int ClubCreateOptions::kAttributeFieldNumber; +const int ClubCreateOptions::kNameFieldNumber; +const int ClubCreateOptions::kDescriptionFieldNumber; +const int ClubCreateOptions::kAvatarFieldNumber; +const int ClubCreateOptions::kPrivacyLevelFieldNumber; +const int ClubCreateOptions::kShortNameFieldNumber; +const int ClubCreateOptions::kVisibilityLevelFieldNumber; +const int ClubCreateOptions::kMemberFieldNumber; +const int ClubCreateOptions::kStreamFieldNumber; +const int ClubCreateOptions::kTagFieldNumber; +const int ClubCreateOptions::kSearchAttributeFieldNumber; +const int ClubCreateOptions::kLocaleFieldNumber; +const int ClubCreateOptions::kTimezoneFieldNumber; +#endif // !_MSC_VER + +ClubCreateOptions::ClubCreateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubCreateOptions) +} + +void ClubCreateOptions::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::CreateStreamOptions*>(&::bgs::protocol::club::v1::client::CreateStreamOptions::default_instance()); + tag_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); +} + +ClubCreateOptions::ClubCreateOptions(const ClubCreateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubCreateOptions) +} + +void ClubCreateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_ = NULL; + privacy_level_ = 0; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + member_ = NULL; + stream_ = NULL; + tag_ = NULL; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubCreateOptions::~ClubCreateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubCreateOptions) + SharedDtor(); +} + +void ClubCreateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete type_; + delete avatar_; + delete member_; + delete stream_; + delete tag_; + } +} + +void ClubCreateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubCreateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubCreateOptions_descriptor_; +} + +const ClubCreateOptions& ClubCreateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubCreateOptions* ClubCreateOptions::default_instance_ = NULL; + +ClubCreateOptions* ClubCreateOptions::New() const { + return new ClubCreateOptions; +} + +void ClubCreateOptions::Swap(ClubCreateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubCreateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubCreateOptions_descriptor_; + metadata.reflection = ClubCreateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Club::kIdFieldNumber; +const int Club::kTypeFieldNumber; +const int Club::kAttributeFieldNumber; +const int Club::kNameFieldNumber; +const int Club::kDescriptionFieldNumber; +const int Club::kBroadcastFieldNumber; +const int Club::kAvatarFieldNumber; +const int Club::kPrivacyLevelFieldNumber; +const int Club::kVisibilityLevelFieldNumber; +const int Club::kMemberCountFieldNumber; +const int Club::kCreationTimeFieldNumber; +const int Club::kStreamPositionFieldNumber; +const int Club::kRoleSetFieldNumber; +const int Club::kLeaderFieldNumber; +const int Club::kShortNameFieldNumber; +const int Club::kSearchAttributeFieldNumber; +const int Club::kTagFieldNumber; +const int Club::kLocaleFieldNumber; +const int Club::kTimezoneFieldNumber; +#endif // !_MSC_VER + +Club::Club() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Club) +} + +void Club::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::Broadcast*>(&::bgs::protocol::club::v1::client::Broadcast::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); + role_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubRoleSet*>(&::bgs::protocol::club::v1::client::ClubRoleSet::default_instance()); +} + +Club::Club(const Club& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Club) +} + +void Club::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + visibility_level_ = 0; + member_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + stream_position_ = NULL; + role_set_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Club::~Club() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Club) + SharedDtor(); +} + +void Club::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete type_; + delete broadcast_; + delete avatar_; + delete stream_position_; + delete role_set_; + } +} + +void Club::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Club::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Club_descriptor_; +} + +const Club& Club::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +Club* Club::default_instance_ = NULL; + +Club* Club::New() const { + return new Club; +} + +void Club::Swap(Club* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Club::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Club_descriptor_; + metadata.reflection = Club_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubView::kClubIdFieldNumber; +const int ClubView::kMarkerFieldNumber; +#endif // !_MSC_VER + +ClubView::ClubView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubView) +} + +void ClubView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +ClubView::ClubView(const ClubView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubView) +} + +void ClubView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubView::~ClubView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubView) + SharedDtor(); +} + +void ClubView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void ClubView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubView_descriptor_; +} + +const ClubView& ClubView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubView* ClubView::default_instance_ = NULL; + +ClubView* ClubView::New() const { + return new ClubView; +} + +void ClubView::Swap(ClubView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubView_descriptor_; + metadata.reflection = ClubView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStateOptions::kAttributeFieldNumber; +const int ClubStateOptions::kNameFieldNumber; +const int ClubStateOptions::kDescriptionFieldNumber; +const int ClubStateOptions::kBroadcastFieldNumber; +const int ClubStateOptions::kAvatarFieldNumber; +const int ClubStateOptions::kPrivacyLevelFieldNumber; +const int ClubStateOptions::kStreamPositionFieldNumber; +const int ClubStateOptions::kShortNameFieldNumber; +const int ClubStateOptions::kVisibilityLevelFieldNumber; +const int ClubStateOptions::kLocaleFieldNumber; +const int ClubStateOptions::kTimezoneFieldNumber; +const int ClubStateOptions::kTagOptionsFieldNumber; +const int ClubStateOptions::kSearchAttributeFieldNumber; +#endif // !_MSC_VER + +ClubStateOptions::ClubStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateOptions) +} + +void ClubStateOptions::InitAsDefaultInstance() { + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::SetBroadcastOptions*>(&::bgs::protocol::club::v1::client::SetBroadcastOptions::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); + tag_options_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); +} + +ClubStateOptions::ClubStateOptions(const ClubStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateOptions) +} + +void ClubStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + stream_position_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStateOptions::~ClubStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateOptions) + SharedDtor(); +} + +void ClubStateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete broadcast_; + delete avatar_; + delete stream_position_; + delete tag_options_; + } +} + +void ClubStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStateOptions_descriptor_; +} + +const ClubStateOptions& ClubStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubStateOptions* ClubStateOptions::default_instance_ = NULL; + +ClubStateOptions* ClubStateOptions::New() const { + return new ClubStateOptions; +} + +void ClubStateOptions::Swap(ClubStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStateOptions_descriptor_; + metadata.reflection = ClubStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStateAssignment::kClubIdFieldNumber; +const int ClubStateAssignment::kAttributeFieldNumber; +const int ClubStateAssignment::kNameFieldNumber; +const int ClubStateAssignment::kDescriptionFieldNumber; +const int ClubStateAssignment::kBroadcastFieldNumber; +const int ClubStateAssignment::kAvatarFieldNumber; +const int ClubStateAssignment::kPrivacyLevelFieldNumber; +const int ClubStateAssignment::kStreamPositionFieldNumber; +const int ClubStateAssignment::kShortNameFieldNumber; +const int ClubStateAssignment::kVisibilityLevelFieldNumber; +const int ClubStateAssignment::kLocaleFieldNumber; +const int ClubStateAssignment::kTimezoneFieldNumber; +const int ClubStateAssignment::kTagFieldNumber; +const int ClubStateAssignment::kSearchAttributeFieldNumber; +const int ClubStateAssignment::kTagClearedFieldNumber; +#endif // !_MSC_VER + +ClubStateAssignment::ClubStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStateAssignment) +} + +void ClubStateAssignment::InitAsDefaultInstance() { + broadcast_ = const_cast< ::bgs::protocol::club::v1::client::Broadcast*>(&::bgs::protocol::club::v1::client::Broadcast::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); + stream_position_ = const_cast< ::bgs::protocol::club::v1::client::StreamPosition*>(&::bgs::protocol::club::v1::client::StreamPosition::default_instance()); +} + +ClubStateAssignment::ClubStateAssignment(const ClubStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStateAssignment) +} + +void ClubStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + broadcast_ = NULL; + avatar_ = NULL; + privacy_level_ = 0; + stream_position_ = NULL; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + visibility_level_ = 0; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_cleared_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStateAssignment::~ClubStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStateAssignment) + SharedDtor(); +} + +void ClubStateAssignment::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (this != default_instance_) { + delete broadcast_; + delete avatar_; + delete stream_position_; + } +} + +void ClubStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStateAssignment_descriptor_; +} + +const ClubStateAssignment& ClubStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubStateAssignment* ClubStateAssignment::default_instance_ = NULL; + +ClubStateAssignment* ClubStateAssignment::New() const { + return new ClubStateAssignment; +} + +void ClubStateAssignment::Swap(ClubStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStateAssignment_descriptor_; + metadata.reflection = ClubStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamSettings::kStreamIdFieldNumber; +const int StreamSettings::kFilterFieldNumber; +#endif // !_MSC_VER + +StreamSettings::StreamSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamSettings) +} + +void StreamSettings::InitAsDefaultInstance() { +} + +StreamSettings::StreamSettings(const StreamSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamSettings) +} + +void StreamSettings::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + filter_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamSettings::~StreamSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamSettings) + SharedDtor(); +} + +void StreamSettings::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamSettings_descriptor_; +} + +const StreamSettings& StreamSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +StreamSettings* StreamSettings::default_instance_ = NULL; + +StreamSettings* StreamSettings::New() const { + return new StreamSettings; +} + +void StreamSettings::Swap(StreamSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamSettings_descriptor_; + metadata.reflection = StreamSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettings::kStreamFieldNumber; +const int ClubSettings::kStreamNotificationFilterAllFieldNumber; +const int ClubSettings::kAttributeFieldNumber; +const int ClubSettings::kPushNotificationFilterAllFieldNumber; +#endif // !_MSC_VER + +ClubSettings::ClubSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettings) +} + +void ClubSettings::InitAsDefaultInstance() { +} + +ClubSettings::ClubSettings(const ClubSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettings) +} + +void ClubSettings::SharedCtor() { + _cached_size_ = 0; + stream_notification_filter_all_ = false; + push_notification_filter_all_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettings::~ClubSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettings) + SharedDtor(); +} + +void ClubSettings::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettings_descriptor_; +} + +const ClubSettings& ClubSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettings* ClubSettings::default_instance_ = NULL; + +ClubSettings* ClubSettings::New() const { + return new ClubSettings; +} + +void ClubSettings::Swap(ClubSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettings_descriptor_; + metadata.reflection = ClubSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettingsOptions::kStreamFieldNumber; +const int ClubSettingsOptions::kSettingsFieldNumber; +const int ClubSettingsOptions::kVersionFieldNumber; +#endif // !_MSC_VER + +ClubSettingsOptions::ClubSettingsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) +} + +void ClubSettingsOptions::InitAsDefaultInstance() { + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); +} + +ClubSettingsOptions::ClubSettingsOptions(const ClubSettingsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsOptions) +} + +void ClubSettingsOptions::SharedCtor() { + _cached_size_ = 0; + settings_ = NULL; + version_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettingsOptions::~ClubSettingsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsOptions) + SharedDtor(); +} + +void ClubSettingsOptions::SharedDtor() { + if (this != default_instance_) { + delete settings_; + } +} + +void ClubSettingsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettingsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettingsOptions_descriptor_; +} + +const ClubSettingsOptions& ClubSettingsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettingsOptions* ClubSettingsOptions::default_instance_ = NULL; + +ClubSettingsOptions* ClubSettingsOptions::New() const { + return new ClubSettingsOptions; +} + +void ClubSettingsOptions::Swap(ClubSettingsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettingsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettingsOptions_descriptor_; + metadata.reflection = ClubSettingsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSettingsAssignment::kStreamFieldNumber; +const int ClubSettingsAssignment::kSettingsFieldNumber; +#endif // !_MSC_VER + +ClubSettingsAssignment::ClubSettingsAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) +} + +void ClubSettingsAssignment::InitAsDefaultInstance() { + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); +} + +ClubSettingsAssignment::ClubSettingsAssignment(const ClubSettingsAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) +} + +void ClubSettingsAssignment::SharedCtor() { + _cached_size_ = 0; + settings_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSettingsAssignment::~ClubSettingsAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSettingsAssignment) + SharedDtor(); +} + +void ClubSettingsAssignment::SharedDtor() { + if (this != default_instance_) { + delete settings_; + } +} + +void ClubSettingsAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSettingsAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSettingsAssignment_descriptor_; +} + +const ClubSettingsAssignment& ClubSettingsAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubSettingsAssignment* ClubSettingsAssignment::default_instance_ = NULL; + +ClubSettingsAssignment* ClubSettingsAssignment::New() const { + return new ClubSettingsAssignment; +} + +void ClubSettingsAssignment::Swap(ClubSettingsAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSettingsAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSettingsAssignment_descriptor_; + metadata.reflection = ClubSettingsAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_core.pb.h b/src/server/proto/Client/api/client/v1/club_core.pb.h new file mode 100644 index 00000000000..04661fcb3b9 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_core.pb.h @@ -0,0 +1,5193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_core.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_enum.pb.h" +#include "api/client/v1/club_role.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/client/v1/club_stream.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "api/common/v1/club_enum.pb.h" +#include "api/common/v1/club_tag.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "event_view_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + +class SetBroadcastOptions; +class Broadcast; +class ClubCreateOptions; +class Club; +class ClubView; +class ClubStateOptions; +class ClubStateAssignment; +class StreamSettings; +class ClubSettings; +class ClubSettingsOptions; +class ClubSettingsAssignment; + +// =================================================================== + +class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message { + public: + SetBroadcastOptions(); + virtual ~SetBroadcastOptions(); + + SetBroadcastOptions(const SetBroadcastOptions& from); + + inline SetBroadcastOptions& operator=(const SetBroadcastOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetBroadcastOptions& default_instance(); + + void Swap(SetBroadcastOptions* other); + + // implements Message ---------------------------------------------- + + SetBroadcastOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetBroadcastOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static SetBroadcastOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Broadcast : public ::google::protobuf::Message { + public: + Broadcast(); + virtual ~Broadcast(); + + Broadcast(const Broadcast& from); + + inline Broadcast& operator=(const Broadcast& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Broadcast& default_instance(); + + void Swap(Broadcast* other); + + // implements Message ---------------------------------------------- + + Broadcast* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // optional uint64 creation_time = 3; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 3; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Broadcast) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::google::protobuf::uint64 creation_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static Broadcast* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { + public: + ClubCreateOptions(); + virtual ~ClubCreateOptions(); + + ClubCreateOptions(const ClubCreateOptions& from); + + inline ClubCreateOptions& operator=(const ClubCreateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubCreateOptions& default_instance(); + + void Swap(ClubCreateOptions* other); + + // implements Message ---------------------------------------------- + + ClubCreateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.UniqueClubType type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional string short_name = 7; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 7; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 10; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& member() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_member(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member); + + // optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 11; + inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& stream() const; + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* mutable_stream(); + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream); + + // optional .bgs.protocol.club.v1.TagOptions tag = 12; + inline bool has_tag() const; + inline void clear_tag(); + static const int kTagFieldNumber = 12; + inline const ::bgs::protocol::club::v1::TagOptions& tag() const; + inline ::bgs::protocol::club::v1::TagOptions* mutable_tag(); + inline ::bgs::protocol::club::v1::TagOptions* release_tag(); + inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 13; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 13; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // optional string locale = 14; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 14; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 15; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 15; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubCreateOptions) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member(); + inline void clear_has_member(); + inline void set_has_stream(); + inline void clear_has_stream(); + inline void set_has_tag(); + inline void clear_has_tag(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::std::string* short_name_; + int privacy_level_; + int visibility_level_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* member_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* stream_; + ::bgs::protocol::club::v1::TagOptions* tag_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + ::std::string* locale_; + ::std::string* timezone_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubCreateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Club : public ::google::protobuf::Message { + public: + Club(); + virtual ~Club(); + + Club(const Club& from); + + inline Club& operator=(const Club& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Club& default_instance(); + + void Swap(Club* other); + + // implements Message ---------------------------------------------- + + Club* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 5; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 5; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const; + inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 7; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 7; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 9; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional uint32 member_count = 10; + inline bool has_member_count() const; + inline void clear_member_count(); + static const int kMemberCountFieldNumber = 10; + inline ::google::protobuf::uint32 member_count() const; + inline void set_member_count(::google::protobuf::uint32 value); + + // optional uint64 creation_time = 11; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 11; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 12; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13; + inline bool has_role_set() const; + inline void clear_role_set(); + static const int kRoleSetFieldNumber = 13; + inline const ::bgs::protocol::club::v1::client::ClubRoleSet& role_set() const; + inline ::bgs::protocol::club::v1::client::ClubRoleSet* mutable_role_set(); + inline ::bgs::protocol::club::v1::client::ClubRoleSet* release_role_set(); + inline void set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set); + + // repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14; + inline int leader_size() const; + inline void clear_leader(); + static const int kLeaderFieldNumber = 14; + inline const ::bgs::protocol::club::v1::client::MemberDescription& leader(int index) const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_leader(int index); + inline ::bgs::protocol::club::v1::client::MemberDescription* add_leader(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& + leader() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* + mutable_leader(); + + // optional string short_name = 15; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 15; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 16; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 16; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 17; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // optional string locale = 18; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 18; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 19; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 19; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Club) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member_count(); + inline void clear_has_member_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_role_set(); + inline void clear_has_role_set(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::Broadcast* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + int privacy_level_; + int visibility_level_; + ::google::protobuf::uint64 creation_time_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + ::bgs::protocol::club::v1::client::ClubRoleSet* role_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_; + ::std::string* short_name_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::std::string* locale_; + ::std::string* timezone_; + ::google::protobuf::uint32 member_count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static Club* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubView : public ::google::protobuf::Message { + public: + ClubView(); + virtual ~ClubView(); + + ClubView(const ClubView& from); + + inline ClubView& operator=(const ClubView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubView& default_instance(); + + void Swap(ClubView* other); + + // implements Message ---------------------------------------------- + + ClubView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 2; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 2; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { + public: + ClubStateOptions(); + virtual ~ClubStateOptions(); + + ClubStateOptions(const ClubStateOptions& from); + + inline ClubStateOptions& operator=(const ClubStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStateOptions& default_instance(); + + void Swap(ClubStateOptions* other); + + // implements Message ---------------------------------------------- + + ClubStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 3; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 3; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& broadcast() const; + inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 7; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional string short_name = 8; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 8; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 9; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional string locale = 10; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 10; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 11; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 11; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // optional .bgs.protocol.club.v1.TagOptions tag_options = 12; + inline bool has_tag_options() const; + inline void clear_tag_options(); + static const int kTagOptionsFieldNumber = 12; + inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const; + inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options(); + inline ::bgs::protocol::club::v1::TagOptions* release_tag_options(); + inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 13; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 13; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_tag_options(); + inline void clear_has_tag_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + int privacy_level_; + int visibility_level_; + ::std::string* short_name_; + ::std::string* locale_; + ::std::string* timezone_; + ::bgs::protocol::club::v1::TagOptions* tag_options_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { + public: + ClubStateAssignment(); + virtual ~ClubStateAssignment(); + + ClubStateAssignment(const ClubStateAssignment& from); + + inline ClubStateAssignment& operator=(const ClubStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStateAssignment& default_instance(); + + void Swap(ClubStateAssignment* other); + + // implements Message ---------------------------------------------- + + ClubStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5; + inline bool has_broadcast() const; + inline void clear_broadcast(); + static const int kBroadcastFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const; + inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast(); + inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast(); + inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 6; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 6; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8; + inline bool has_stream_position() const; + inline void clear_stream_position(); + static const int kStreamPositionFieldNumber = 8; + inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const; + inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position(); + inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position(); + inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position); + + // optional string short_name = 9; + inline bool has_short_name() const; + inline void clear_short_name(); + static const int kShortNameFieldNumber = 9; + inline const ::std::string& short_name() const; + inline void set_short_name(const ::std::string& value); + inline void set_short_name(const char* value); + inline void set_short_name(const char* value, size_t size); + inline ::std::string* mutable_short_name(); + inline ::std::string* release_short_name(); + inline void set_allocated_short_name(::std::string* short_name); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 10; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional string locale = 11; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 11; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // optional string timezone = 12; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 12; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 13; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // repeated .bgs.protocol.v2.Attribute search_attribute = 14; + inline int search_attribute_size() const; + inline void clear_search_attribute(); + static const int kSearchAttributeFieldNumber = 14; + inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_search_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + search_attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_search_attribute(); + + // optional bool tag_cleared = 15; + inline bool has_tag_cleared() const; + inline void clear_tag_cleared(); + static const int kTagClearedFieldNumber = 15; + inline bool tag_cleared() const; + inline void set_tag_cleared(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateAssignment) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_broadcast(); + inline void clear_has_broadcast(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_stream_position(); + inline void clear_has_stream_position(); + inline void set_has_short_name(); + inline void clear_has_short_name(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_locale(); + inline void clear_has_locale(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_tag_cleared(); + inline void clear_has_tag_cleared(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::client::Broadcast* broadcast_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + ::bgs::protocol::club::v1::client::StreamPosition* stream_position_; + int privacy_level_; + int visibility_level_; + ::std::string* short_name_; + ::std::string* locale_; + ::std::string* timezone_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; + bool tag_cleared_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamSettings : public ::google::protobuf::Message { + public: + StreamSettings(); + virtual ~StreamSettings(); + + StreamSettings(const StreamSettings& from); + + inline StreamSettings& operator=(const StreamSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamSettings& default_instance(); + + void Swap(StreamSettings* other); + + // implements Message ---------------------------------------------- + + StreamSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2; + inline bool has_filter() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::StreamNotificationFilter filter() const; + inline void set_filter(::bgs::protocol::club::v1::client::StreamNotificationFilter value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamSettings) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_filter(); + inline void clear_has_filter(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + int filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static StreamSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { + public: + ClubSettings(); + virtual ~ClubSettings(); + + ClubSettings(const ClubSettings& from); + + inline ClubSettings& operator=(const ClubSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettings& default_instance(); + + void Swap(ClubSettings* other); + + // implements Message ---------------------------------------------- + + ClubSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1; + inline int stream_size() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index); + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream(); + + // optional bool stream_notification_filter_all = 2; + inline bool has_stream_notification_filter_all() const; + inline void clear_stream_notification_filter_all(); + static const int kStreamNotificationFilterAllFieldNumber = 2; + inline bool stream_notification_filter_all() const; + inline void set_stream_notification_filter_all(bool value); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional bool push_notification_filter_all = 4; + inline bool has_push_notification_filter_all() const; + inline void clear_push_notification_filter_all(); + static const int kPushNotificationFilterAllFieldNumber = 4; + inline bool push_notification_filter_all() const; + inline void set_push_notification_filter_all(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettings) + private: + inline void set_has_stream_notification_filter_all(); + inline void clear_has_stream_notification_filter_all(); + inline void set_has_push_notification_filter_all(); + inline void clear_has_push_notification_filter_all(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + bool stream_notification_filter_all_; + bool push_notification_filter_all_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { + public: + ClubSettingsOptions(); + virtual ~ClubSettingsOptions(); + + ClubSettingsOptions(const ClubSettingsOptions& from); + + inline ClubSettingsOptions& operator=(const ClubSettingsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettingsOptions& default_instance(); + + void Swap(ClubSettingsOptions* other); + + // implements Message ---------------------------------------------- + + ClubSettingsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; + inline int stream_size() const PROTOBUF_DEPRECATED; + inline void clear_stream() PROTOBUF_DEPRECATED; + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED; + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const PROTOBUF_DEPRECATED; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream() PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // optional uint32 version = 3; + inline bool has_version() const; + inline void clear_version(); + static const int kVersionFieldNumber = 3; + inline ::google::protobuf::uint32 version() const; + inline void set_version(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsOptions) + private: + inline void set_has_settings(); + inline void clear_has_settings(); + inline void set_has_version(); + inline void clear_has_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + ::google::protobuf::uint32 version_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettingsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { + public: + ClubSettingsAssignment(); + virtual ~ClubSettingsAssignment(); + + ClubSettingsAssignment(const ClubSettingsAssignment& from); + + inline ClubSettingsAssignment& operator=(const ClubSettingsAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSettingsAssignment& default_instance(); + + void Swap(ClubSettingsAssignment* other); + + // implements Message ---------------------------------------------- + + ClubSettingsAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; + inline int stream_size() const PROTOBUF_DEPRECATED; + inline void clear_stream() PROTOBUF_DEPRECATED; + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; + inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED; + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& + stream() const PROTOBUF_DEPRECATED; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* + mutable_stream() PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsAssignment) + private: + inline void set_has_settings(); + inline void clear_has_settings(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubSettingsAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SetBroadcastOptions + +// optional string content = 1; +inline bool SetBroadcastOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetBroadcastOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetBroadcastOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetBroadcastOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& SetBroadcastOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetBroadcastOptions.content) + return *content_; +} +inline void SetBroadcastOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline void SetBroadcastOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline void SetBroadcastOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} +inline ::std::string* SetBroadcastOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetBroadcastOptions.content) + return content_; +} +inline ::std::string* SetBroadcastOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SetBroadcastOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetBroadcastOptions.content) +} + +// ------------------------------------------------------------------- + +// Broadcast + +// optional string content = 1; +inline bool Broadcast::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Broadcast::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void Broadcast::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Broadcast::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& Broadcast::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.content) + return *content_; +} +inline void Broadcast::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.content) +} +inline void Broadcast::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Broadcast.content) +} +inline void Broadcast::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Broadcast.content) +} +inline ::std::string* Broadcast::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.content) + return content_; +} +inline ::std::string* Broadcast::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Broadcast::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.content) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; +inline bool Broadcast::has_creator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Broadcast::set_has_creator() { + _has_bits_[0] |= 0x00000002u; +} +inline void Broadcast::clear_has_creator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Broadcast::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& Broadcast::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.creator) +} + +// optional uint64 creation_time = 3; +inline bool Broadcast::has_creation_time() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Broadcast::set_has_creation_time() { + _has_bits_[0] |= 0x00000004u; +} +inline void Broadcast::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Broadcast::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Broadcast::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creation_time) + return creation_time_; +} +inline void Broadcast::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.creation_time) +} + +// ------------------------------------------------------------------- + +// ClubCreateOptions + +// optional .bgs.protocol.club.v1.UniqueClubType type = 1; +inline bool ClubCreateOptions::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubCreateOptions::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubCreateOptions::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubCreateOptions::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.type) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int ClubCreateOptions::attribute_size() const { + return attribute_.size(); +} +inline void ClubCreateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubCreateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubCreateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool ClubCreateOptions::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubCreateOptions::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubCreateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubCreateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubCreateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.name) + return *name_; +} +inline void ClubCreateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline void ClubCreateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline void ClubCreateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} +inline ::std::string* ClubCreateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.name) + return name_; +} +inline ::std::string* ClubCreateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.name) +} + +// optional string description = 4; +inline bool ClubCreateOptions::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubCreateOptions::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubCreateOptions::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubCreateOptions::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubCreateOptions::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.description) + return *description_; +} +inline void ClubCreateOptions::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline void ClubCreateOptions::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline void ClubCreateOptions::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} +inline ::std::string* ClubCreateOptions::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.description) + return description_; +} +inline ::std::string* ClubCreateOptions::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.description) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubCreateOptions::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubCreateOptions::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubCreateOptions::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubCreateOptions::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubCreateOptions::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubCreateOptions::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubCreateOptions::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubCreateOptions::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubCreateOptions::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubCreateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level) +} + +// optional string short_name = 7; +inline bool ClubCreateOptions::has_short_name() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubCreateOptions::set_has_short_name() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubCreateOptions::clear_has_short_name() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubCreateOptions::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubCreateOptions::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) + return *short_name_; +} +inline void ClubCreateOptions::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline void ClubCreateOptions::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline void ClubCreateOptions::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} +inline ::std::string* ClubCreateOptions::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) + return short_name_; +} +inline ::std::string* ClubCreateOptions::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; +inline bool ClubCreateOptions::has_visibility_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubCreateOptions::set_has_visibility_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubCreateOptions::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubCreateOptions::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubCreateOptions::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubCreateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10; +inline bool ClubCreateOptions::has_member() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubCreateOptions::set_has_member() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubCreateOptions::clear_has_member() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubCreateOptions::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& ClubCreateOptions::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = member_; + member_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.member) +} + +// optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11; +inline bool ClubCreateOptions::has_stream() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubCreateOptions::set_has_stream() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubCreateOptions::clear_has_stream() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubCreateOptions::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::CreateStreamOptions::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& ClubCreateOptions::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::CreateStreamOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = stream_; + stream_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.stream) +} + +// optional .bgs.protocol.club.v1.TagOptions tag = 12; +inline bool ClubCreateOptions::has_tag() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubCreateOptions::set_has_tag() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubCreateOptions::clear_has_tag() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubCreateOptions::clear_tag() { + if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear(); + clear_has_tag(); +} +inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.tag) + return tag_ != NULL ? *tag_ : *default_instance_->tag_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() { + set_has_tag(); + if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.tag) + return tag_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() { + clear_has_tag(); + ::bgs::protocol::club::v1::TagOptions* temp = tag_; + tag_ = NULL; + return temp; +} +inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag) { + delete tag_; + tag_ = tag; + if (tag) { + set_has_tag(); + } else { + clear_has_tag(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.tag) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 13; +inline int ClubCreateOptions::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubCreateOptions::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubCreateOptions::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubCreateOptions::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute) + return &search_attribute_; +} + +// optional string locale = 14; +inline bool ClubCreateOptions::has_locale() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void ClubCreateOptions::set_has_locale() { + _has_bits_[0] |= 0x00001000u; +} +inline void ClubCreateOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00001000u; +} +inline void ClubCreateOptions::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubCreateOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.locale) + return *locale_; +} +inline void ClubCreateOptions::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline void ClubCreateOptions::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline void ClubCreateOptions::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} +inline ::std::string* ClubCreateOptions::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.locale) + return locale_; +} +inline ::std::string* ClubCreateOptions::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.locale) +} + +// optional string timezone = 15; +inline bool ClubCreateOptions::has_timezone() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void ClubCreateOptions::set_has_timezone() { + _has_bits_[0] |= 0x00002000u; +} +inline void ClubCreateOptions::clear_has_timezone() { + _has_bits_[0] &= ~0x00002000u; +} +inline void ClubCreateOptions::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubCreateOptions::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) + return *timezone_; +} +inline void ClubCreateOptions::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline void ClubCreateOptions::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline void ClubCreateOptions::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} +inline ::std::string* ClubCreateOptions::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) + return timezone_; +} +inline ::std::string* ClubCreateOptions::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.timezone) +} + +// ------------------------------------------------------------------- + +// Club + +// optional uint64 id = 1; +inline bool Club::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Club::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Club::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Club::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Club::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.id) + return id_; +} +inline void Club::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool Club::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Club::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void Club::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Club::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* Club::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void Club::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.type) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int Club::attribute_size() const { + return attribute_.size(); +} +inline void Club::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Club::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Club::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Club::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Club::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Club::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.attribute) + return &attribute_; +} + +// optional string name = 4; +inline bool Club::has_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Club::set_has_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Club::clear_has_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Club::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Club::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.name) + return *name_; +} +inline void Club::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.name) +} +inline void Club::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.name) +} +inline void Club::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.name) +} +inline ::std::string* Club::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.name) + return name_; +} +inline ::std::string* Club::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.name) +} + +// optional string description = 5; +inline bool Club::has_description() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Club::set_has_description() { + _has_bits_[0] |= 0x00000010u; +} +inline void Club::clear_has_description() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Club::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& Club::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.description) + return *description_; +} +inline void Club::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.description) +} +inline void Club::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.description) +} +inline void Club::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.description) +} +inline ::std::string* Club::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.description) + return description_; +} +inline ::std::string* Club::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.description) +} + +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6; +inline bool Club::has_broadcast() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Club::set_has_broadcast() { + _has_bits_[0] |= 0x00000020u; +} +inline void Club::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Club::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::Broadcast& Club::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* Club::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* Club::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 7; +inline bool Club::has_avatar() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Club::set_has_avatar() { + _has_bits_[0] |= 0x00000040u; +} +inline void Club::clear_has_avatar() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Club::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* Club::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void Club::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; +inline bool Club::has_privacy_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Club::set_has_privacy_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void Club::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Club::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel Club::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void Club::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.privacy_level) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; +inline bool Club::has_visibility_level() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void Club::set_has_visibility_level() { + _has_bits_[0] |= 0x00000100u; +} +inline void Club::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000100u; +} +inline void Club::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel Club::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void Club::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.visibility_level) +} + +// optional uint32 member_count = 10; +inline bool Club::has_member_count() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void Club::set_has_member_count() { + _has_bits_[0] |= 0x00000200u; +} +inline void Club::clear_has_member_count() { + _has_bits_[0] &= ~0x00000200u; +} +inline void Club::clear_member_count() { + member_count_ = 0u; + clear_has_member_count(); +} +inline ::google::protobuf::uint32 Club::member_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.member_count) + return member_count_; +} +inline void Club::set_member_count(::google::protobuf::uint32 value) { + set_has_member_count(); + member_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.member_count) +} + +// optional uint64 creation_time = 11; +inline bool Club::has_creation_time() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void Club::set_has_creation_time() { + _has_bits_[0] |= 0x00000400u; +} +inline void Club::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000400u; +} +inline void Club::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Club::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.creation_time) + return creation_time_; +} +inline void Club::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.creation_time) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12; +inline bool Club::has_stream_position() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void Club::set_has_stream_position() { + _has_bits_[0] |= 0x00000800u; +} +inline void Club::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000800u; +} +inline void Club::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& Club::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* Club::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* Club::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void Club::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.stream_position) +} + +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13; +inline bool Club::has_role_set() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void Club::set_has_role_set() { + _has_bits_[0] |= 0x00001000u; +} +inline void Club::clear_has_role_set() { + _has_bits_[0] &= ~0x00001000u; +} +inline void Club::clear_role_set() { + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::ClubRoleSet::Clear(); + clear_has_role_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubRoleSet& Club::role_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.role_set) + return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::mutable_role_set() { + set_has_role_set(); + if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::client::ClubRoleSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.role_set) + return role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::release_role_set() { + clear_has_role_set(); + ::bgs::protocol::club::v1::client::ClubRoleSet* temp = role_set_; + role_set_ = NULL; + return temp; +} +inline void Club::set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set) { + delete role_set_; + role_set_ = role_set; + if (role_set) { + set_has_role_set(); + } else { + clear_has_role_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.role_set) +} + +// repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14; +inline int Club::leader_size() const { + return leader_.size(); +} +inline void Club::clear_leader() { + leader_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& Club::leader(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.leader) + return leader_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Club::mutable_leader(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.leader) + return leader_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* Club::add_leader() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.leader) + return leader_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& +Club::leader() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.leader) + return leader_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* +Club::mutable_leader() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.leader) + return &leader_; +} + +// optional string short_name = 15; +inline bool Club::has_short_name() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void Club::set_has_short_name() { + _has_bits_[0] |= 0x00004000u; +} +inline void Club::clear_has_short_name() { + _has_bits_[0] &= ~0x00004000u; +} +inline void Club::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& Club::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.short_name) + return *short_name_; +} +inline void Club::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.short_name) +} +inline void Club::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.short_name) +} +inline void Club::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.short_name) +} +inline ::std::string* Club::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.short_name) + return short_name_; +} +inline ::std::string* Club::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.short_name) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 16; +inline int Club::search_attribute_size() const { + return search_attribute_.size(); +} +inline void Club::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Club::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Club::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.search_attribute) + return &search_attribute_; +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; +inline int Club::tag_size() const { + return tag_.size(); +} +inline void Club::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +Club::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +Club::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.tag) + return &tag_; +} + +// optional string locale = 18; +inline bool Club::has_locale() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void Club::set_has_locale() { + _has_bits_[0] |= 0x00020000u; +} +inline void Club::clear_has_locale() { + _has_bits_[0] &= ~0x00020000u; +} +inline void Club::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& Club::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.locale) + return *locale_; +} +inline void Club::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.locale) +} +inline void Club::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.locale) +} +inline void Club::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.locale) +} +inline ::std::string* Club::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.locale) + return locale_; +} +inline ::std::string* Club::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.locale) +} + +// optional string timezone = 19; +inline bool Club::has_timezone() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void Club::set_has_timezone() { + _has_bits_[0] |= 0x00040000u; +} +inline void Club::clear_has_timezone() { + _has_bits_[0] &= ~0x00040000u; +} +inline void Club::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& Club::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.timezone) + return *timezone_; +} +inline void Club::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.timezone) +} +inline void Club::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.timezone) +} +inline void Club::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.timezone) +} +inline ::std::string* Club::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.timezone) + return timezone_; +} +inline ::std::string* Club::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Club::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.timezone) +} + +// ------------------------------------------------------------------- + +// ClubView + +// optional uint64 club_id = 1; +inline bool ClubView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.club_id) + return club_id_; +} +inline void ClubView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubView.club_id) +} + +// optional .bgs.protocol.ViewMarker marker = 2; +inline bool ClubView::has_marker() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubView::set_has_marker() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubView::clear_has_marker() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& ClubView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* ClubView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* ClubView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void ClubView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubView.marker) +} + +// ------------------------------------------------------------------- + +// ClubStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int ClubStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void ClubStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool ClubStateOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubStateOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubStateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubStateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubStateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.name) + return *name_; +} +inline void ClubStateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline void ClubStateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline void ClubStateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.name) +} +inline ::std::string* ClubStateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.name) + return name_; +} +inline ::std::string* ClubStateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.name) +} + +// optional string description = 3; +inline bool ClubStateOptions::has_description() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStateOptions::set_has_description() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStateOptions::clear_has_description() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStateOptions::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubStateOptions::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.description) + return *description_; +} +inline void ClubStateOptions::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline void ClubStateOptions::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline void ClubStateOptions::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.description) +} +inline ::std::string* ClubStateOptions::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.description) + return description_; +} +inline ::std::string* ClubStateOptions::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.description) +} + +// optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4; +inline bool ClubStateOptions::has_broadcast() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStateOptions::set_has_broadcast() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStateOptions::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStateOptions::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::SetBroadcastOptions::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& ClubStateOptions::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::SetBroadcastOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::SetBroadcastOptions* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubStateOptions::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubStateOptions::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubStateOptions::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubStateOptions::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubStateOptions::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubStateOptions::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubStateOptions::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubStateOptions::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateOptions::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubStateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7; +inline bool ClubStateOptions::has_stream_position() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubStateOptions::set_has_stream_position() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubStateOptions::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubStateOptions::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateOptions::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.stream_position) +} + +// optional string short_name = 8; +inline bool ClubStateOptions::has_short_name() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubStateOptions::set_has_short_name() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubStateOptions::clear_has_short_name() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubStateOptions::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubStateOptions::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.short_name) + return *short_name_; +} +inline void ClubStateOptions::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline void ClubStateOptions::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline void ClubStateOptions::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} +inline ::std::string* ClubStateOptions::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.short_name) + return short_name_; +} +inline ::std::string* ClubStateOptions::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; +inline bool ClubStateOptions::has_visibility_level() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubStateOptions::set_has_visibility_level() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubStateOptions::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubStateOptions::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateOptions::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubStateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level) +} + +// optional string locale = 10; +inline bool ClubStateOptions::has_locale() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubStateOptions::set_has_locale() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubStateOptions::clear_has_locale() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubStateOptions::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubStateOptions::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.locale) + return *locale_; +} +inline void ClubStateOptions::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline void ClubStateOptions::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline void ClubStateOptions::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} +inline ::std::string* ClubStateOptions::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.locale) + return locale_; +} +inline ::std::string* ClubStateOptions::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.locale) +} + +// optional string timezone = 11; +inline bool ClubStateOptions::has_timezone() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubStateOptions::set_has_timezone() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubStateOptions::clear_has_timezone() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubStateOptions::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubStateOptions::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.timezone) + return *timezone_; +} +inline void ClubStateOptions::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline void ClubStateOptions::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline void ClubStateOptions::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} +inline ::std::string* ClubStateOptions::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.timezone) + return timezone_; +} +inline ::std::string* ClubStateOptions::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.timezone) +} + +// optional .bgs.protocol.club.v1.TagOptions tag_options = 12; +inline bool ClubStateOptions::has_tag_options() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubStateOptions::set_has_tag_options() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubStateOptions::clear_has_tag_options() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubStateOptions::clear_tag_options() { + if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear(); + clear_has_tag_options(); +} +inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) + return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() { + set_has_tag_options(); + if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) + return tag_options_; +} +inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() { + clear_has_tag_options(); + ::bgs::protocol::club::v1::TagOptions* temp = tag_options_; + tag_options_ = NULL; + return temp; +} +inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options) { + delete tag_options_; + tag_options_ = tag_options; + if (tag_options) { + set_has_tag_options(); + } else { + clear_has_tag_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.tag_options) +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 13; +inline int ClubStateOptions::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubStateOptions::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateOptions::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateOptions::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute) + return &search_attribute_; +} + +// ------------------------------------------------------------------- + +// ClubStateAssignment + +// optional uint64 club_id = 1; +inline bool ClubStateAssignment::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubStateAssignment::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubStateAssignment::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubStateAssignment::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubStateAssignment::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.club_id) + return club_id_; +} +inline void ClubStateAssignment::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.club_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int ClubStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void ClubStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool ClubStateAssignment::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStateAssignment::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStateAssignment::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStateAssignment::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubStateAssignment::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.name) + return *name_; +} +inline void ClubStateAssignment::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline void ClubStateAssignment::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline void ClubStateAssignment::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} +inline ::std::string* ClubStateAssignment::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.name) + return name_; +} +inline ::std::string* ClubStateAssignment::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.name) +} + +// optional string description = 4; +inline bool ClubStateAssignment::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStateAssignment::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStateAssignment::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStateAssignment::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubStateAssignment::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.description) + return *description_; +} +inline void ClubStateAssignment::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline void ClubStateAssignment::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline void ClubStateAssignment::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} +inline ::std::string* ClubStateAssignment::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.description) + return description_; +} +inline ::std::string* ClubStateAssignment::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.description) +} + +// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5; +inline bool ClubStateAssignment::has_broadcast() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubStateAssignment::set_has_broadcast() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubStateAssignment::clear_has_broadcast() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubStateAssignment::clear_broadcast() { + if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear(); + clear_has_broadcast(); +} +inline const ::bgs::protocol::club::v1::client::Broadcast& ClubStateAssignment::broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) + return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::mutable_broadcast() { + set_has_broadcast(); + if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) + return broadcast_; +} +inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::release_broadcast() { + clear_has_broadcast(); + ::bgs::protocol::club::v1::client::Broadcast* temp = broadcast_; + broadcast_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) { + delete broadcast_; + broadcast_ = broadcast; + if (broadcast) { + set_has_broadcast(); + } else { + clear_has_broadcast(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 6; +inline bool ClubStateAssignment::has_avatar() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubStateAssignment::set_has_avatar() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubStateAssignment::clear_has_avatar() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubStateAssignment::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; +inline bool ClubStateAssignment::has_privacy_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubStateAssignment::set_has_privacy_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubStateAssignment::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubStateAssignment::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateAssignment::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubStateAssignment::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level) +} + +// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8; +inline bool ClubStateAssignment::has_stream_position() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubStateAssignment::set_has_stream_position() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubStateAssignment::clear_has_stream_position() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubStateAssignment::clear_stream_position() { + if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear(); + clear_has_stream_position(); +} +inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateAssignment::stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) + return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::mutable_stream_position() { + set_has_stream_position(); + if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) + return stream_position_; +} +inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::release_stream_position() { + clear_has_stream_position(); + ::bgs::protocol::club::v1::client::StreamPosition* temp = stream_position_; + stream_position_ = NULL; + return temp; +} +inline void ClubStateAssignment::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) { + delete stream_position_; + stream_position_ = stream_position; + if (stream_position) { + set_has_stream_position(); + } else { + clear_has_stream_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position) +} + +// optional string short_name = 9; +inline bool ClubStateAssignment::has_short_name() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubStateAssignment::set_has_short_name() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubStateAssignment::clear_has_short_name() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubStateAssignment::clear_short_name() { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_->clear(); + } + clear_has_short_name(); +} +inline const ::std::string& ClubStateAssignment::short_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) + return *short_name_; +} +inline void ClubStateAssignment::set_short_name(const ::std::string& value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline void ClubStateAssignment::set_short_name(const char* value) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline void ClubStateAssignment::set_short_name(const char* value, size_t size) { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + short_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} +inline ::std::string* ClubStateAssignment::mutable_short_name() { + set_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + short_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) + return short_name_; +} +inline ::std::string* ClubStateAssignment::release_short_name() { + clear_has_short_name(); + if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = short_name_; + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_name) { + if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete short_name_; + } + if (short_name) { + set_has_short_name(); + short_name_ = short_name; + } else { + clear_has_short_name(); + short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.short_name) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; +inline bool ClubStateAssignment::has_visibility_level() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubStateAssignment::set_has_visibility_level() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubStateAssignment::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubStateAssignment::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateAssignment::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubStateAssignment::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level) +} + +// optional string locale = 11; +inline bool ClubStateAssignment::has_locale() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubStateAssignment::set_has_locale() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubStateAssignment::clear_has_locale() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubStateAssignment::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubStateAssignment::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.locale) + return *locale_; +} +inline void ClubStateAssignment::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline void ClubStateAssignment::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline void ClubStateAssignment::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} +inline ::std::string* ClubStateAssignment::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.locale) + return locale_; +} +inline ::std::string* ClubStateAssignment::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.locale) +} + +// optional string timezone = 12; +inline bool ClubStateAssignment::has_timezone() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubStateAssignment::set_has_timezone() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubStateAssignment::clear_has_timezone() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubStateAssignment::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubStateAssignment::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) + return *timezone_; +} +inline void ClubStateAssignment::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline void ClubStateAssignment::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline void ClubStateAssignment::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} +inline ::std::string* ClubStateAssignment::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) + return timezone_; +} +inline ::std::string* ClubStateAssignment::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.timezone) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; +inline int ClubStateAssignment::tag_size() const { + return tag_.size(); +} +inline void ClubStateAssignment::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +ClubStateAssignment::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +ClubStateAssignment::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag) + return &tag_; +} + +// repeated .bgs.protocol.v2.Attribute search_attribute = 14; +inline int ClubStateAssignment::search_attribute_size() const { + return search_attribute_.size(); +} +inline void ClubStateAssignment::clear_search_attribute() { + search_attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubStateAssignment::search_attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return search_attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubStateAssignment::mutable_search_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute) + return &search_attribute_; +} + +// optional bool tag_cleared = 15; +inline bool ClubStateAssignment::has_tag_cleared() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void ClubStateAssignment::set_has_tag_cleared() { + _has_bits_[0] |= 0x00004000u; +} +inline void ClubStateAssignment::clear_has_tag_cleared() { + _has_bits_[0] &= ~0x00004000u; +} +inline void ClubStateAssignment::clear_tag_cleared() { + tag_cleared_ = false; + clear_has_tag_cleared(); +} +inline bool ClubStateAssignment::tag_cleared() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared) + return tag_cleared_; +} +inline void ClubStateAssignment::set_tag_cleared(bool value) { + set_has_tag_cleared(); + tag_cleared_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared) +} + +// ------------------------------------------------------------------- + +// StreamSettings + +// optional uint64 stream_id = 1; +inline bool StreamSettings::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamSettings::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamSettings::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamSettings::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamSettings::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.stream_id) + return stream_id_; +} +inline void StreamSettings::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2; +inline bool StreamSettings::has_filter() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamSettings::set_has_filter() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamSettings::clear_has_filter() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamSettings::clear_filter() { + filter_ = 0; + clear_has_filter(); +} +inline ::bgs::protocol::club::v1::client::StreamNotificationFilter StreamSettings::filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.filter) + return static_cast< ::bgs::protocol::club::v1::client::StreamNotificationFilter >(filter_); +} +inline void StreamSettings::set_filter(::bgs::protocol::club::v1::client::StreamNotificationFilter value) { + assert(::bgs::protocol::club::v1::client::StreamNotificationFilter_IsValid(value)); + set_has_filter(); + filter_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.filter) +} + +// ------------------------------------------------------------------- + +// ClubSettings + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1; +inline int ClubSettings::stream_size() const { + return stream_.size(); +} +inline void ClubSettings::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettings::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettings::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettings::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.stream) + return &stream_; +} + +// optional bool stream_notification_filter_all = 2; +inline bool ClubSettings::has_stream_notification_filter_all() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettings::set_has_stream_notification_filter_all() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettings::clear_has_stream_notification_filter_all() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettings::clear_stream_notification_filter_all() { + stream_notification_filter_all_ = false; + clear_has_stream_notification_filter_all(); +} +inline bool ClubSettings::stream_notification_filter_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all) + return stream_notification_filter_all_; +} +inline void ClubSettings::set_stream_notification_filter_all(bool value) { + set_has_stream_notification_filter_all(); + stream_notification_filter_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int ClubSettings::attribute_size() const { + return attribute_.size(); +} +inline void ClubSettings::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubSettings::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSettings::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSettings::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubSettings::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubSettings::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.attribute) + return &attribute_; +} + +// optional bool push_notification_filter_all = 4; +inline bool ClubSettings::has_push_notification_filter_all() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubSettings::set_has_push_notification_filter_all() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubSettings::clear_has_push_notification_filter_all() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubSettings::clear_push_notification_filter_all() { + push_notification_filter_all_ = false; + clear_has_push_notification_filter_all(); +} +inline bool ClubSettings::push_notification_filter_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all) + return push_notification_filter_all_; +} +inline void ClubSettings::set_push_notification_filter_all(bool value) { + set_has_push_notification_filter_all(); + push_notification_filter_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all) +} + +// ------------------------------------------------------------------- + +// ClubSettingsOptions + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; +inline int ClubSettingsOptions::stream_size() const { + return stream_.size(); +} +inline void ClubSettingsOptions::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsOptions::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettingsOptions::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettingsOptions::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream) + return &stream_; +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; +inline bool ClubSettingsOptions::has_settings() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettingsOptions::set_has_settings() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettingsOptions::clear_has_settings() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettingsOptions::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsOptions::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsOptions.settings) +} + +// optional uint32 version = 3; +inline bool ClubSettingsOptions::has_version() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubSettingsOptions::set_has_version() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubSettingsOptions::clear_has_version() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubSettingsOptions::clear_version() { + version_ = 0u; + clear_has_version(); +} +inline ::google::protobuf::uint32 ClubSettingsOptions::version() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.version) + return version_; +} +inline void ClubSettingsOptions::set_version(::google::protobuf::uint32 value) { + set_has_version(); + version_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettingsOptions.version) +} + +// ------------------------------------------------------------------- + +// ClubSettingsAssignment + +// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true]; +inline int ClubSettingsAssignment::stream_size() const { + return stream_.size(); +} +inline void ClubSettingsAssignment::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsAssignment::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >& +ClubSettingsAssignment::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >* +ClubSettingsAssignment::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream) + return &stream_; +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2; +inline bool ClubSettingsAssignment::has_settings() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSettingsAssignment::set_has_settings() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSettingsAssignment::clear_has_settings() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSettingsAssignment::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsAssignment::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_enum.pb.cc b/src/server/proto/Client/api/client/v1/club_enum.pb.cc new file mode 100644 index 00000000000..88442d57265 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_enum.pb.cc @@ -0,0 +1,209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_enum.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_enum.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_enum.proto"); + GOOGLE_CHECK(file != NULL); + ClubRemovedReason_descriptor_ = file->enum_type(0); + StreamVoiceLevel_descriptor_ = file->enum_type(1); + VoiceMicrophoneState_descriptor_ = file->enum_type(2); + PresenceLevel_descriptor_ = file->enum_type(3); + WhisperLevel_descriptor_ = file->enum_type(4); + StreamNotificationFilter_descriptor_ = file->enum_type(5); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_enum.proto\022\033bgs.pro" + "tocol.club.v1.client*\262\002\n\021ClubRemovedReas" + "on\022\034\n\030CLUB_REMOVED_REASON_NONE\020\000\022#\n\037CLUB" + "_REMOVED_REASON_MEMBER_LEFT\020\001\022%\n!CLUB_RE" + "MOVED_REASON_MEMBER_KICKED\020\002\022%\n!CLUB_REM" + "OVED_REASON_MEMBER_BANNED\020\003\0221\n-CLUB_REMO" + "VED_REASON_MEMBER_REMOVED_BY_SERVICE\020\004\022+" + "\n\'CLUB_REMOVED_REASON_DESTROYED_BY_MEMBE" + "R\020\005\022,\n(CLUB_REMOVED_REASON_DESTROYED_BY_" + "SERVICE\020\006*d\n\020StreamVoiceLevel\022\030\n\024VOICE_L" + "EVEL_DISABLED\020\000\022\034\n\030VOICE_LEVEL_PUSH_TO_T" + "ALK\020\001\022\030\n\024VOICE_LEVEL_OPEN_MIC\020\002*s\n\024Voice" + "MicrophoneState\022\033\n\027MICROPHONE_STATE_NORM" + "AL\020\000\022\036\n\032MICROPHONE_STATE_SELF_MUTE\020\001\022\036\n\032" + "MICROPHONE_STATE_SELF_DEAF\020\002*[\n\rPresence" + "Level\022\027\n\023PRESENCE_LEVEL_NONE\020\000\022\030\n\024PRESEN" + "CE_LEVEL_BASIC\020\001\022\027\n\023PRESENCE_LEVEL_RICH\020" + "\002*D\n\014WhisperLevel\022\026\n\022WHISPER_LEVEL_OPEN\020" + "\000\022\034\n\030WHISPER_LEVEL_RESTRICTED\020\001*\213\001\n\030Stre" + "amNotificationFilter\022#\n\037STREAM_NOTIFICAT" + "ION_FILTER_NONE\020\000\022&\n\"STREAM_NOTIFICATION" + "_FILTER_MENTION\020\001\022\"\n\036STREAM_NOTIFICATION" + "_FILTER_ALL\020\002B\002H\002", 897); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_enum.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fenum_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fenum_2eproto_; +const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRemovedReason_descriptor_; +} +bool ClubRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamVoiceLevel_descriptor_; +} +bool StreamVoiceLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceMicrophoneState_descriptor_; +} +bool VoiceMicrophoneState_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return PresenceLevel_descriptor_; +} +bool PresenceLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperLevel_descriptor_; +} +bool WhisperLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamNotificationFilter_descriptor_; +} +bool StreamNotificationFilter_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_enum.pb.h b/src/server/proto/Client/api/client/v1/club_enum.pb.h new file mode 100644 index 00000000000..499dce8969f --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_enum.pb.h @@ -0,0 +1,217 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_enum.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + +enum ClubRemovedReason { + CLUB_REMOVED_REASON_NONE = 0, + CLUB_REMOVED_REASON_MEMBER_LEFT = 1, + CLUB_REMOVED_REASON_MEMBER_KICKED = 2, + CLUB_REMOVED_REASON_MEMBER_BANNED = 3, + CLUB_REMOVED_REASON_MEMBER_REMOVED_BY_SERVICE = 4, + CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER = 5, + CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE = 6 +}; +TC_PROTO_API bool ClubRemovedReason_IsValid(int value); +const ClubRemovedReason ClubRemovedReason_MIN = CLUB_REMOVED_REASON_NONE; +const ClubRemovedReason ClubRemovedReason_MAX = CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE; +const int ClubRemovedReason_ARRAYSIZE = ClubRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor(); +inline const ::std::string& ClubRemovedReason_Name(ClubRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + ClubRemovedReason_descriptor(), value); +} +inline bool ClubRemovedReason_Parse( + const ::std::string& name, ClubRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ClubRemovedReason_descriptor(), name, value); +} +enum StreamVoiceLevel { + VOICE_LEVEL_DISABLED = 0, + VOICE_LEVEL_PUSH_TO_TALK = 1, + VOICE_LEVEL_OPEN_MIC = 2 +}; +TC_PROTO_API bool StreamVoiceLevel_IsValid(int value); +const StreamVoiceLevel StreamVoiceLevel_MIN = VOICE_LEVEL_DISABLED; +const StreamVoiceLevel StreamVoiceLevel_MAX = VOICE_LEVEL_OPEN_MIC; +const int StreamVoiceLevel_ARRAYSIZE = StreamVoiceLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor(); +inline const ::std::string& StreamVoiceLevel_Name(StreamVoiceLevel value) { + return ::google::protobuf::internal::NameOfEnum( + StreamVoiceLevel_descriptor(), value); +} +inline bool StreamVoiceLevel_Parse( + const ::std::string& name, StreamVoiceLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + StreamVoiceLevel_descriptor(), name, value); +} +enum VoiceMicrophoneState { + MICROPHONE_STATE_NORMAL = 0, + MICROPHONE_STATE_SELF_MUTE = 1, + MICROPHONE_STATE_SELF_DEAF = 2 +}; +TC_PROTO_API bool VoiceMicrophoneState_IsValid(int value); +const VoiceMicrophoneState VoiceMicrophoneState_MIN = MICROPHONE_STATE_NORMAL; +const VoiceMicrophoneState VoiceMicrophoneState_MAX = MICROPHONE_STATE_SELF_DEAF; +const int VoiceMicrophoneState_ARRAYSIZE = VoiceMicrophoneState_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor(); +inline const ::std::string& VoiceMicrophoneState_Name(VoiceMicrophoneState value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceMicrophoneState_descriptor(), value); +} +inline bool VoiceMicrophoneState_Parse( + const ::std::string& name, VoiceMicrophoneState* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceMicrophoneState_descriptor(), name, value); +} +enum PresenceLevel { + PRESENCE_LEVEL_NONE = 0, + PRESENCE_LEVEL_BASIC = 1, + PRESENCE_LEVEL_RICH = 2 +}; +TC_PROTO_API bool PresenceLevel_IsValid(int value); +const PresenceLevel PresenceLevel_MIN = PRESENCE_LEVEL_NONE; +const PresenceLevel PresenceLevel_MAX = PRESENCE_LEVEL_RICH; +const int PresenceLevel_ARRAYSIZE = PresenceLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor(); +inline const ::std::string& PresenceLevel_Name(PresenceLevel value) { + return ::google::protobuf::internal::NameOfEnum( + PresenceLevel_descriptor(), value); +} +inline bool PresenceLevel_Parse( + const ::std::string& name, PresenceLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PresenceLevel_descriptor(), name, value); +} +enum WhisperLevel { + WHISPER_LEVEL_OPEN = 0, + WHISPER_LEVEL_RESTRICTED = 1 +}; +TC_PROTO_API bool WhisperLevel_IsValid(int value); +const WhisperLevel WhisperLevel_MIN = WHISPER_LEVEL_OPEN; +const WhisperLevel WhisperLevel_MAX = WHISPER_LEVEL_RESTRICTED; +const int WhisperLevel_ARRAYSIZE = WhisperLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor(); +inline const ::std::string& WhisperLevel_Name(WhisperLevel value) { + return ::google::protobuf::internal::NameOfEnum( + WhisperLevel_descriptor(), value); +} +inline bool WhisperLevel_Parse( + const ::std::string& name, WhisperLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + WhisperLevel_descriptor(), name, value); +} +enum StreamNotificationFilter { + STREAM_NOTIFICATION_FILTER_NONE = 0, + STREAM_NOTIFICATION_FILTER_MENTION = 1, + STREAM_NOTIFICATION_FILTER_ALL = 2 +}; +TC_PROTO_API bool StreamNotificationFilter_IsValid(int value); +const StreamNotificationFilter StreamNotificationFilter_MIN = STREAM_NOTIFICATION_FILTER_NONE; +const StreamNotificationFilter StreamNotificationFilter_MAX = STREAM_NOTIFICATION_FILTER_ALL; +const int StreamNotificationFilter_ARRAYSIZE = StreamNotificationFilter_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor(); +inline const ::std::string& StreamNotificationFilter_Name(StreamNotificationFilter value) { + return ::google::protobuf::internal::NameOfEnum( + StreamNotificationFilter_descriptor(), value); +} +inline bool StreamNotificationFilter_Parse( + const ::std::string& name, StreamNotificationFilter* value) { + return ::google::protobuf::internal::ParseNamedEnum( + StreamNotificationFilter_descriptor(), name, value); +} +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::ClubRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::ClubRemovedReason>() { + return ::bgs::protocol::club::v1::client::ClubRemovedReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::StreamVoiceLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::StreamVoiceLevel>() { + return ::bgs::protocol::club::v1::client::StreamVoiceLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::VoiceMicrophoneState> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::VoiceMicrophoneState>() { + return ::bgs::protocol::club::v1::client::VoiceMicrophoneState_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::PresenceLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::PresenceLevel>() { + return ::bgs::protocol::club::v1::client::PresenceLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::WhisperLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::WhisperLevel>() { + return ::bgs::protocol::club::v1::client::WhisperLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::client::StreamNotificationFilter> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::client::StreamNotificationFilter>() { + return ::bgs::protocol::club::v1::client::StreamNotificationFilter_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_invitation.pb.cc b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc new file mode 100644 index 00000000000..55b90216636 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.cc @@ -0,0 +1,937 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_invitation.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_invitation.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubSlot_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSlot_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendInvitationOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendInvitationOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubInvitation_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubInvitation_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendSuggestionOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendSuggestionOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSuggestion_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSuggestion_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubTicket_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTicket_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_invitation.proto"); + GOOGLE_CHECK(file != NULL); + ClubSlot_descriptor_ = file->message_type(0); + static const int ClubSlot_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, default_stream_id_), + }; + ClubSlot_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSlot_descriptor_, + ClubSlot::default_instance_, + ClubSlot_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSlot)); + SendInvitationOptions_descriptor_ = file->message_type(1); + static const int SendInvitationOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, attribute_), + }; + SendInvitationOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendInvitationOptions_descriptor_, + SendInvitationOptions::default_instance_, + SendInvitationOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendInvitationOptions)); + ClubInvitation_descriptor_ = file->message_type(2); + static const int ClubInvitation_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, inviter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, invitee_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, expiration_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, suggester_), + }; + ClubInvitation_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubInvitation_descriptor_, + ClubInvitation::default_instance_, + ClubInvitation_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubInvitation)); + SendSuggestionOptions_descriptor_ = file->message_type(3); + static const int SendSuggestionOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, target_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, join_club_source_), + }; + SendSuggestionOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendSuggestionOptions_descriptor_, + SendSuggestionOptions::default_instance_, + SendSuggestionOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendSuggestionOptions)); + ClubSuggestion_descriptor_ = file->message_type(4); + static const int ClubSuggestion_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggester_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggestee_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, expiration_time_), + }; + ClubSuggestion_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSuggestion_descriptor_, + ClubSuggestion::default_instance_, + ClubSuggestion_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSuggestion)); + CreateTicketOptions_descriptor_ = file->message_type(5); + static const int CreateTicketOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, allowed_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, expiration_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, join_club_source_), + }; + CreateTicketOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketOptions_descriptor_, + CreateTicketOptions::default_instance_, + CreateTicketOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketOptions)); + ClubTicket_descriptor_ = file->message_type(6); + static const int ClubTicket_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, current_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, allowed_redeem_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, expiration_time_), + }; + ClubTicket_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTicket_descriptor_, + ClubTicket::default_instance_, + ClubTicket_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTicket)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSlot_descriptor_, &ClubSlot::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendInvitationOptions_descriptor_, &SendInvitationOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubInvitation_descriptor_, &ClubInvitation::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendSuggestionOptions_descriptor_, &SendSuggestionOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSuggestion_descriptor_, &ClubSuggestion::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketOptions_descriptor_, &CreateTicketOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTicket_descriptor_, &ClubTicket::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + delete ClubSlot::default_instance_; + delete ClubSlot_reflection_; + delete SendInvitationOptions::default_instance_; + delete SendInvitationOptions_reflection_; + delete ClubInvitation::default_instance_; + delete ClubInvitation_reflection_; + delete SendSuggestionOptions::default_instance_; + delete SendSuggestionOptions_reflection_; + delete ClubSuggestion::default_instance_; + delete ClubSuggestion_reflection_; + delete CreateTicketOptions::default_instance_; + delete CreateTicketOptions_reflection_; + delete ClubTicket::default_instance_; + delete ClubTicket_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/client/v1/club_invitation.proto\022\033b" + "gs.protocol.club.v1.client\032%global_exten" + "sions/field_options.proto\032\037api/client/v1" + "/club_member.proto\032\035api/common/v1/club_c" + "ore.proto\032#api/common/v2/attribute_types" + ".proto\"3\n\010ClubSlot\022\014\n\004role\030\001 \001(\r\022\031\n\021defa" + "ult_stream_id\030\002 \001(\004\"\256\001\n\025SendInvitationOp" + "tions\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\0223\n\004slot\030\002 \001(\0132%.bgs.pro" + "tocol.club.v1.client.ClubSlot\022-\n\tattribu" + "te\030\003 \003(\0132\032.bgs.protocol.v2.Attribute\"\252\003\n" + "\016ClubInvitation\022\n\n\002id\030\001 \001(\006\022\?\n\007inviter\030\002" + " \001(\0132..bgs.protocol.club.v1.client.Membe" + "rDescription\022\?\n\007invitee\030\003 \001(\0132..bgs.prot" + "ocol.club.v1.client.MemberDescription\0223\n" + "\004club\030\004 \001(\0132%.bgs.protocol.club.v1.ClubD" + "escription\0223\n\004slot\030\005 \001(\0132%.bgs.protocol." + "club.v1.client.ClubSlot\022-\n\tattribute\030\006 \003" + "(\0132\032.bgs.protocol.v2.Attribute\022\025\n\rcreati" + "on_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001(\004\022A" + "\n\tsuggester\030\t \001(\0132..bgs.protocol.club.v1" + ".client.MemberDescription\"\336\001\n\025SendSugges" + "tionOptions\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.pro" + "tocol.club.v1.MemberId\0223\n\004slot\030\002 \001(\0132%.b" + "gs.protocol.club.v1.client.ClubSlot\022-\n\ta" + "ttribute\030\003 \003(\0132\032.bgs.protocol.v2.Attribu" + "te\022.\n\020join_club_source\030\004 \001(\rB\024\202\371+\020*\016Join" + "ClubSource\"\307\002\n\016ClubSuggestion\022\n\n\002id\030\001 \001(" + "\006\022\017\n\007club_id\030\002 \001(\004\022A\n\tsuggester\030\003 \001(\0132.." + "bgs.protocol.club.v1.client.MemberDescri" + "ption\022A\n\tsuggestee\030\004 \001(\0132..bgs.protocol." + "club.v1.client.MemberDescription\0223\n\004slot" + "\030\005 \001(\0132%.bgs.protocol.club.v1.client.Clu" + "bSlot\022-\n\tattribute\030\006 \003(\0132\032.bgs.protocol." + "v2.Attribute\022\025\n\rcreation_time\030\007 \001(\004\022\027\n\017e" + "xpiration_time\030\010 \001(\004\"\340\001\n\023CreateTicketOpt" + "ions\0223\n\004slot\030\001 \001(\0132%.bgs.protocol.club.v" + "1.client.ClubSlot\022-\n\tattribute\030\002 \003(\0132\032.b" + "gs.protocol.v2.Attribute\022\034\n\024allowed_rede" + "em_count\030\003 \001(\r\022\027\n\017expiration_time\030\004 \001(\004\022" + ".\n\020join_club_source\030\005 \001(\rB\024\202\371+\020*\016JoinClu" + "bSource\"\336\002\n\nClubTicket\022\n\n\002id\030\001 \001(\t\022\?\n\007cr" + "eator\030\002 \001(\0132..bgs.protocol.club.v1.clien" + "t.MemberDescription\0223\n\004club\030\003 \001(\0132%.bgs." + "protocol.club.v1.ClubDescription\0223\n\004slot" + "\030\004 \001(\0132%.bgs.protocol.club.v1.client.Clu" + "bSlot\022-\n\tattribute\030\005 \003(\0132\032.bgs.protocol." + "v2.Attribute\022\034\n\024current_redeem_count\030\006 \001" + "(\r\022\034\n\024allowed_redeem_count\030\007 \001(\r\022\025\n\rcrea" + "tion_time\030\010 \001(\004\022\027\n\017expiration_time\030\t \001(\004" + "B\002H\002P\000", 2006); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_invitation.proto", &protobuf_RegisterTypes); + ClubSlot::default_instance_ = new ClubSlot(); + SendInvitationOptions::default_instance_ = new SendInvitationOptions(); + ClubInvitation::default_instance_ = new ClubInvitation(); + SendSuggestionOptions::default_instance_ = new SendSuggestionOptions(); + ClubSuggestion::default_instance_ = new ClubSuggestion(); + CreateTicketOptions::default_instance_ = new CreateTicketOptions(); + ClubTicket::default_instance_ = new ClubTicket(); + ClubSlot::default_instance_->InitAsDefaultInstance(); + SendInvitationOptions::default_instance_->InitAsDefaultInstance(); + ClubInvitation::default_instance_->InitAsDefaultInstance(); + SendSuggestionOptions::default_instance_->InitAsDefaultInstance(); + ClubSuggestion::default_instance_->InitAsDefaultInstance(); + CreateTicketOptions::default_instance_->InitAsDefaultInstance(); + ClubTicket::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5finvitation_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubSlot::kRoleFieldNumber; +const int ClubSlot::kDefaultStreamIdFieldNumber; +#endif // !_MSC_VER + +ClubSlot::ClubSlot() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSlot) +} + +void ClubSlot::InitAsDefaultInstance() { +} + +ClubSlot::ClubSlot(const ClubSlot& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSlot) +} + +void ClubSlot::SharedCtor() { + _cached_size_ = 0; + role_ = 0u; + default_stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSlot::~ClubSlot() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSlot) + SharedDtor(); +} + +void ClubSlot::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubSlot::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSlot::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSlot_descriptor_; +} + +const ClubSlot& ClubSlot::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubSlot* ClubSlot::default_instance_ = NULL; + +ClubSlot* ClubSlot::New() const { + return new ClubSlot; +} + +void ClubSlot::Swap(ClubSlot* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSlot::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSlot_descriptor_; + metadata.reflection = ClubSlot_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendInvitationOptions::kTargetIdFieldNumber; +const int SendInvitationOptions::kSlotFieldNumber; +const int SendInvitationOptions::kAttributeFieldNumber; +#endif // !_MSC_VER + +SendInvitationOptions::SendInvitationOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendInvitationOptions) +} + +void SendInvitationOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +SendInvitationOptions::SendInvitationOptions(const SendInvitationOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationOptions) +} + +void SendInvitationOptions::SharedCtor() { + _cached_size_ = 0; + target_id_ = NULL; + slot_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendInvitationOptions::~SendInvitationOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationOptions) + SharedDtor(); +} + +void SendInvitationOptions::SharedDtor() { + if (this != default_instance_) { + delete target_id_; + delete slot_; + } +} + +void SendInvitationOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendInvitationOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendInvitationOptions_descriptor_; +} + +const SendInvitationOptions& SendInvitationOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +SendInvitationOptions* SendInvitationOptions::default_instance_ = NULL; + +SendInvitationOptions* SendInvitationOptions::New() const { + return new SendInvitationOptions; +} + +void SendInvitationOptions::Swap(SendInvitationOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendInvitationOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendInvitationOptions_descriptor_; + metadata.reflection = SendInvitationOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubInvitation::kIdFieldNumber; +const int ClubInvitation::kInviterFieldNumber; +const int ClubInvitation::kInviteeFieldNumber; +const int ClubInvitation::kClubFieldNumber; +const int ClubInvitation::kSlotFieldNumber; +const int ClubInvitation::kAttributeFieldNumber; +const int ClubInvitation::kCreationTimeFieldNumber; +const int ClubInvitation::kExpirationTimeFieldNumber; +const int ClubInvitation::kSuggesterFieldNumber; +#endif // !_MSC_VER + +ClubInvitation::ClubInvitation() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubInvitation) +} + +void ClubInvitation::InitAsDefaultInstance() { + inviter_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + invitee_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); + suggester_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +ClubInvitation::ClubInvitation(const ClubInvitation& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitation) +} + +void ClubInvitation::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + inviter_ = NULL; + invitee_ = NULL; + club_ = NULL; + slot_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + suggester_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubInvitation::~ClubInvitation() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitation) + SharedDtor(); +} + +void ClubInvitation::SharedDtor() { + if (this != default_instance_) { + delete inviter_; + delete invitee_; + delete club_; + delete slot_; + delete suggester_; + } +} + +void ClubInvitation::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubInvitation::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubInvitation_descriptor_; +} + +const ClubInvitation& ClubInvitation::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubInvitation* ClubInvitation::default_instance_ = NULL; + +ClubInvitation* ClubInvitation::New() const { + return new ClubInvitation; +} + +void ClubInvitation::Swap(ClubInvitation* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubInvitation::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubInvitation_descriptor_; + metadata.reflection = ClubInvitation_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendSuggestionOptions::kTargetIdFieldNumber; +const int SendSuggestionOptions::kSlotFieldNumber; +const int SendSuggestionOptions::kAttributeFieldNumber; +const int SendSuggestionOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +SendSuggestionOptions::SendSuggestionOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendSuggestionOptions) +} + +void SendSuggestionOptions::InitAsDefaultInstance() { + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +SendSuggestionOptions::SendSuggestionOptions(const SendSuggestionOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionOptions) +} + +void SendSuggestionOptions::SharedCtor() { + _cached_size_ = 0; + target_id_ = NULL; + slot_ = NULL; + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendSuggestionOptions::~SendSuggestionOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionOptions) + SharedDtor(); +} + +void SendSuggestionOptions::SharedDtor() { + if (this != default_instance_) { + delete target_id_; + delete slot_; + } +} + +void SendSuggestionOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendSuggestionOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendSuggestionOptions_descriptor_; +} + +const SendSuggestionOptions& SendSuggestionOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +SendSuggestionOptions* SendSuggestionOptions::default_instance_ = NULL; + +SendSuggestionOptions* SendSuggestionOptions::New() const { + return new SendSuggestionOptions; +} + +void SendSuggestionOptions::Swap(SendSuggestionOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendSuggestionOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendSuggestionOptions_descriptor_; + metadata.reflection = SendSuggestionOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSuggestion::kIdFieldNumber; +const int ClubSuggestion::kClubIdFieldNumber; +const int ClubSuggestion::kSuggesterFieldNumber; +const int ClubSuggestion::kSuggesteeFieldNumber; +const int ClubSuggestion::kSlotFieldNumber; +const int ClubSuggestion::kAttributeFieldNumber; +const int ClubSuggestion::kCreationTimeFieldNumber; +const int ClubSuggestion::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +ClubSuggestion::ClubSuggestion() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSuggestion) +} + +void ClubSuggestion::InitAsDefaultInstance() { + suggester_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + suggestee_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +ClubSuggestion::ClubSuggestion(const ClubSuggestion& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestion) +} + +void ClubSuggestion::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + club_id_ = GOOGLE_ULONGLONG(0); + suggester_ = NULL; + suggestee_ = NULL; + slot_ = NULL; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSuggestion::~ClubSuggestion() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestion) + SharedDtor(); +} + +void ClubSuggestion::SharedDtor() { + if (this != default_instance_) { + delete suggester_; + delete suggestee_; + delete slot_; + } +} + +void ClubSuggestion::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSuggestion::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSuggestion_descriptor_; +} + +const ClubSuggestion& ClubSuggestion::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubSuggestion* ClubSuggestion::default_instance_ = NULL; + +ClubSuggestion* ClubSuggestion::New() const { + return new ClubSuggestion; +} + +void ClubSuggestion::Swap(ClubSuggestion* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSuggestion::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSuggestion_descriptor_; + metadata.reflection = ClubSuggestion_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketOptions::kSlotFieldNumber; +const int CreateTicketOptions::kAttributeFieldNumber; +const int CreateTicketOptions::kAllowedRedeemCountFieldNumber; +const int CreateTicketOptions::kExpirationTimeFieldNumber; +const int CreateTicketOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +CreateTicketOptions::CreateTicketOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketOptions) +} + +void CreateTicketOptions::InitAsDefaultInstance() { + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +CreateTicketOptions::CreateTicketOptions(const CreateTicketOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketOptions) +} + +void CreateTicketOptions::SharedCtor() { + _cached_size_ = 0; + slot_ = NULL; + allowed_redeem_count_ = 0u; + expiration_time_ = GOOGLE_ULONGLONG(0); + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketOptions::~CreateTicketOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketOptions) + SharedDtor(); +} + +void CreateTicketOptions::SharedDtor() { + if (this != default_instance_) { + delete slot_; + } +} + +void CreateTicketOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketOptions_descriptor_; +} + +const CreateTicketOptions& CreateTicketOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +CreateTicketOptions* CreateTicketOptions::default_instance_ = NULL; + +CreateTicketOptions* CreateTicketOptions::New() const { + return new CreateTicketOptions; +} + +void CreateTicketOptions::Swap(CreateTicketOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketOptions_descriptor_; + metadata.reflection = CreateTicketOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubTicket::kIdFieldNumber; +const int ClubTicket::kCreatorFieldNumber; +const int ClubTicket::kClubFieldNumber; +const int ClubTicket::kSlotFieldNumber; +const int ClubTicket::kAttributeFieldNumber; +const int ClubTicket::kCurrentRedeemCountFieldNumber; +const int ClubTicket::kAllowedRedeemCountFieldNumber; +const int ClubTicket::kCreationTimeFieldNumber; +const int ClubTicket::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +ClubTicket::ClubTicket() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicket) +} + +void ClubTicket::InitAsDefaultInstance() { + creator_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); + slot_ = const_cast< ::bgs::protocol::club::v1::client::ClubSlot*>(&::bgs::protocol::club::v1::client::ClubSlot::default_instance()); +} + +ClubTicket::ClubTicket(const ClubTicket& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicket) +} + +void ClubTicket::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creator_ = NULL; + club_ = NULL; + slot_ = NULL; + current_redeem_count_ = 0u; + allowed_redeem_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTicket::~ClubTicket() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicket) + SharedDtor(); +} + +void ClubTicket::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + delete creator_; + delete club_; + delete slot_; + } +} + +void ClubTicket::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTicket::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTicket_descriptor_; +} + +const ClubTicket& ClubTicket::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + return *default_instance_; +} + +ClubTicket* ClubTicket::default_instance_ = NULL; + +ClubTicket* ClubTicket::New() const { + return new ClubTicket; +} + +void ClubTicket::Swap(ClubTicket* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTicket::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTicket_descriptor_; + metadata.reflection = ClubTicket_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_invitation.pb.h b/src/server/proto/Client/api/client/v1/club_invitation.pb.h new file mode 100644 index 00000000000..b0a3496bd5a --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_invitation.pb.h @@ -0,0 +1,2269 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_invitation.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/field_options.pb.h" // IWYU pragma: export +#include "api/client/v1/club_member.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + +class ClubSlot; +class SendInvitationOptions; +class ClubInvitation; +class SendSuggestionOptions; +class ClubSuggestion; +class CreateTicketOptions; +class ClubTicket; + +// =================================================================== + +class TC_PROTO_API ClubSlot : public ::google::protobuf::Message { + public: + ClubSlot(); + virtual ~ClubSlot(); + + ClubSlot(const ClubSlot& from); + + inline ClubSlot& operator=(const ClubSlot& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSlot& default_instance(); + + void Swap(ClubSlot* other); + + // implements Message ---------------------------------------------- + + ClubSlot* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 role = 1; + inline bool has_role() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline ::google::protobuf::uint32 role() const; + inline void set_role(::google::protobuf::uint32 value); + + // optional uint64 default_stream_id = 2; + inline bool has_default_stream_id() const; + inline void clear_default_stream_id(); + static const int kDefaultStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 default_stream_id() const; + inline void set_default_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSlot) + private: + inline void set_has_role(); + inline void clear_has_role(); + inline void set_has_default_stream_id(); + inline void clear_has_default_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 default_stream_id_; + ::google::protobuf::uint32 role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubSlot* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { + public: + SendInvitationOptions(); + virtual ~SendInvitationOptions(); + + SendInvitationOptions(const SendInvitationOptions& from); + + inline SendInvitationOptions& operator=(const SendInvitationOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendInvitationOptions& default_instance(); + + void Swap(SendInvitationOptions* other); + + // implements Message ---------------------------------------------- + + SendInvitationOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_slot(); + inline void clear_has_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static SendInvitationOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { + public: + ClubInvitation(); + virtual ~ClubInvitation(); + + ClubInvitation(const ClubInvitation& from); + + inline ClubInvitation& operator=(const ClubInvitation& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubInvitation& default_instance(); + + void Swap(ClubInvitation* other); + + // implements Message ---------------------------------------------- + + ClubInvitation* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription inviter = 2; + inline bool has_inviter() const; + inline void clear_inviter(); + static const int kInviterFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& inviter() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_inviter(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_inviter(); + inline void set_allocated_inviter(::bgs::protocol::club::v1::client::MemberDescription* inviter); + + // optional .bgs.protocol.club.v1.client.MemberDescription invitee = 3; + inline bool has_invitee() const; + inline void clear_invitee(); + static const int kInviteeFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& invitee() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_invitee(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_invitee(); + inline void set_allocated_invitee(::bgs::protocol::club::v1::client::MemberDescription* invitee); + + // optional .bgs.protocol.club.v1.ClubDescription club = 4; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 4; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 6; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 6; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggester = 9; + inline bool has_suggester() const; + inline void clear_suggester(); + static const int kSuggesterFieldNumber = 9; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggester() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggester(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggester(); + inline void set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitation) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_inviter(); + inline void clear_has_inviter(); + inline void set_has_invitee(); + inline void clear_has_invitee(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + inline void set_has_suggester(); + inline void clear_has_suggester(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::client::MemberDescription* inviter_; + ::bgs::protocol::club::v1::client::MemberDescription* invitee_; + ::bgs::protocol::club::v1::ClubDescription* club_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + ::bgs::protocol::club::v1::client::MemberDescription* suggester_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubInvitation* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { + public: + SendSuggestionOptions(); + virtual ~SendSuggestionOptions(); + + SendSuggestionOptions(const SendSuggestionOptions& from); + + inline SendSuggestionOptions& operator=(const SendSuggestionOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendSuggestionOptions& default_instance(); + + void Swap(SendSuggestionOptions* other); + + // implements Message ---------------------------------------------- + + SendSuggestionOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId target_id = 1; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 join_club_source = 4; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 4; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionOptions) + private: + inline void set_has_target_id(); + inline void clear_has_target_id(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* target_id_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static SendSuggestionOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { + public: + ClubSuggestion(); + virtual ~ClubSuggestion(); + + ClubSuggestion(const ClubSuggestion& from); + + inline ClubSuggestion& operator=(const ClubSuggestion& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSuggestion& default_instance(); + + void Swap(ClubSuggestion* other); + + // implements Message ---------------------------------------------- + + ClubSuggestion* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggester = 3; + inline bool has_suggester() const; + inline void clear_suggester(); + static const int kSuggesterFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggester() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggester(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggester(); + inline void set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester); + + // optional .bgs.protocol.club.v1.client.MemberDescription suggestee = 4; + inline bool has_suggestee() const; + inline void clear_suggestee(); + static const int kSuggesteeFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& suggestee() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_suggestee(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_suggestee(); + inline void set_allocated_suggestee(::bgs::protocol::club::v1::client::MemberDescription* suggestee); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 6; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 6; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestion) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggester(); + inline void clear_has_suggester(); + inline void set_has_suggestee(); + inline void clear_has_suggestee(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::MemberDescription* suggester_; + ::bgs::protocol::club::v1::client::MemberDescription* suggestee_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubSuggestion* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { + public: + CreateTicketOptions(); + virtual ~CreateTicketOptions(); + + CreateTicketOptions(const CreateTicketOptions& from); + + inline CreateTicketOptions& operator=(const CreateTicketOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketOptions& default_instance(); + + void Swap(CreateTicketOptions* other); + + // implements Message ---------------------------------------------- + + CreateTicketOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 1; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 allowed_redeem_count = 3; + inline bool has_allowed_redeem_count() const; + inline void clear_allowed_redeem_count(); + static const int kAllowedRedeemCountFieldNumber = 3; + inline ::google::protobuf::uint32 allowed_redeem_count() const; + inline void set_allowed_redeem_count(::google::protobuf::uint32 value); + + // optional uint64 expiration_time = 4; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 4; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // optional uint32 join_club_source = 5; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 5; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketOptions) + private: + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_allowed_redeem_count(); + inline void clear_has_allowed_redeem_count(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 expiration_time_; + ::google::protobuf::uint32 allowed_redeem_count_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { + public: + ClubTicket(); + virtual ~ClubTicket(); + + ClubTicket(const ClubTicket& from); + + inline ClubTicket& operator=(const ClubTicket& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTicket& default_instance(); + + void Swap(ClubTicket* other); + + // implements Message ---------------------------------------------- + + ClubTicket* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; + inline bool has_creator() const; + inline void clear_creator(); + static const int kCreatorFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator(); + inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator); + + // optional .bgs.protocol.club.v1.ClubDescription club = 3; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 3; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // optional .bgs.protocol.club.v1.client.ClubSlot slot = 4; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSlot& slot() const; + inline ::bgs::protocol::club::v1::client::ClubSlot* mutable_slot(); + inline ::bgs::protocol::club::v1::client::ClubSlot* release_slot(); + inline void set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot); + + // repeated .bgs.protocol.v2.Attribute attribute = 5; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 5; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 current_redeem_count = 6; + inline bool has_current_redeem_count() const; + inline void clear_current_redeem_count(); + static const int kCurrentRedeemCountFieldNumber = 6; + inline ::google::protobuf::uint32 current_redeem_count() const; + inline void set_current_redeem_count(::google::protobuf::uint32 value); + + // optional uint32 allowed_redeem_count = 7; + inline bool has_allowed_redeem_count() const; + inline void clear_allowed_redeem_count(); + static const int kAllowedRedeemCountFieldNumber = 7; + inline ::google::protobuf::uint32 allowed_redeem_count() const; + inline void set_allowed_redeem_count(::google::protobuf::uint32 value); + + // optional uint64 creation_time = 8; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 9; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 9; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicket) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_creator(); + inline void clear_has_creator(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_current_redeem_count(); + inline void clear_has_current_redeem_count(); + inline void set_has_allowed_redeem_count(); + inline void clear_has_allowed_redeem_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::bgs::protocol::club::v1::client::MemberDescription* creator_; + ::bgs::protocol::club::v1::ClubDescription* club_; + ::bgs::protocol::club::v1::client::ClubSlot* slot_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 current_redeem_count_; + ::google::protobuf::uint32 allowed_redeem_count_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + + void InitAsDefaultInstance(); + static ClubTicket* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubSlot + +// optional uint32 role = 1; +inline bool ClubSlot::has_role() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSlot::set_has_role() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSlot::clear_has_role() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSlot::clear_role() { + role_ = 0u; + clear_has_role(); +} +inline ::google::protobuf::uint32 ClubSlot::role() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSlot.role) + return role_; +} +inline void ClubSlot::set_role(::google::protobuf::uint32 value) { + set_has_role(); + role_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.role) +} + +// optional uint64 default_stream_id = 2; +inline bool ClubSlot::has_default_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSlot::set_has_default_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSlot::clear_has_default_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSlot::clear_default_stream_id() { + default_stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_default_stream_id(); +} +inline ::google::protobuf::uint64 ClubSlot::default_stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSlot.default_stream_id) + return default_stream_id_; +} +inline void ClubSlot::set_default_stream_id(::google::protobuf::uint64 value) { + set_has_default_stream_id(); + default_stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSlot.default_stream_id) +} + +// ------------------------------------------------------------------- + +// SendInvitationOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool SendInvitationOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendInvitationOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendInvitationOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendInvitationOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendInvitationOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void SendInvitationOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.target_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; +inline bool SendInvitationOptions::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendInvitationOptions::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendInvitationOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendInvitationOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& SendInvitationOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendInvitationOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendInvitationOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int SendInvitationOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendInvitationOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendInvitationOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendInvitationOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendInvitationOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendInvitationOptions.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// ClubInvitation + +// optional fixed64 id = 1; +inline bool ClubInvitation::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubInvitation::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubInvitation::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubInvitation::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubInvitation::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.id) + return id_; +} +inline void ClubInvitation::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription inviter = 2; +inline bool ClubInvitation::has_inviter() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubInvitation::set_has_inviter() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubInvitation::clear_has_inviter() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubInvitation::clear_inviter() { + if (inviter_ != NULL) inviter_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_inviter(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::inviter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.inviter) + return inviter_ != NULL ? *inviter_ : *default_instance_->inviter_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_inviter() { + set_has_inviter(); + if (inviter_ == NULL) inviter_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.inviter) + return inviter_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_inviter() { + clear_has_inviter(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = inviter_; + inviter_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::client::MemberDescription* inviter) { + delete inviter_; + inviter_ = inviter; + if (inviter) { + set_has_inviter(); + } else { + clear_has_inviter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.inviter) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription invitee = 3; +inline bool ClubInvitation::has_invitee() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubInvitation::set_has_invitee() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubInvitation::clear_has_invitee() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubInvitation::clear_invitee() { + if (invitee_ != NULL) invitee_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_invitee(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::invitee() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.invitee) + return invitee_ != NULL ? *invitee_ : *default_instance_->invitee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_invitee() { + set_has_invitee(); + if (invitee_ == NULL) invitee_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.invitee) + return invitee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_invitee() { + clear_has_invitee(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = invitee_; + invitee_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::client::MemberDescription* invitee) { + delete invitee_; + invitee_ = invitee; + if (invitee) { + set_has_invitee(); + } else { + clear_has_invitee(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.invitee) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 4; +inline bool ClubInvitation::has_club() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubInvitation::set_has_club() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubInvitation::clear_has_club() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubInvitation::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubInvitation::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.club) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; +inline bool ClubInvitation::has_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubInvitation::set_has_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubInvitation::clear_has_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubInvitation::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubInvitation::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubInvitation::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubInvitation::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 6; +inline int ClubInvitation::attribute_size() const { + return attribute_.size(); +} +inline void ClubInvitation::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubInvitation::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubInvitation::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubInvitation::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubInvitation::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubInvitation::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubInvitation.attribute) + return &attribute_; +} + +// optional uint64 creation_time = 7; +inline bool ClubInvitation::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubInvitation::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubInvitation::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubInvitation::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubInvitation::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.creation_time) + return creation_time_; +} +inline void ClubInvitation::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool ClubInvitation::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubInvitation::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubInvitation::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubInvitation::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubInvitation::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.expiration_time) + return expiration_time_; +} +inline void ClubInvitation::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubInvitation.expiration_time) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 9; +inline bool ClubInvitation::has_suggester() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubInvitation::set_has_suggester() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubInvitation::clear_has_suggester() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubInvitation::clear_suggester() { + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggester(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubInvitation::suggester() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitation.suggester) + return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::mutable_suggester() { + set_has_suggester(); + if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitation.suggester) + return suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubInvitation::release_suggester() { + clear_has_suggester(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; + suggester_ = NULL; + return temp; +} +inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { + delete suggester_; + suggester_ = suggester; + if (suggester) { + set_has_suggester(); + } else { + clear_has_suggester(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitation.suggester) +} + +// ------------------------------------------------------------------- + +// SendSuggestionOptions + +// optional .bgs.protocol.club.v1.MemberId target_id = 1; +inline bool SendSuggestionOptions::has_target_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendSuggestionOptions::set_has_target_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendSuggestionOptions::clear_has_target_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendSuggestionOptions::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionOptions::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void SendSuggestionOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.target_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 2; +inline bool SendSuggestionOptions::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendSuggestionOptions::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendSuggestionOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendSuggestionOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& SendSuggestionOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendSuggestionOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* SendSuggestionOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int SendSuggestionOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendSuggestionOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendSuggestionOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendSuggestionOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendSuggestionOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SendSuggestionOptions.attribute) + return &attribute_; +} + +// optional uint32 join_club_source = 4; +inline bool SendSuggestionOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SendSuggestionOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000008u; +} +inline void SendSuggestionOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SendSuggestionOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 SendSuggestionOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionOptions.join_club_source) + return join_club_source_; +} +inline void SendSuggestionOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// ClubSuggestion + +// optional fixed64 id = 1; +inline bool ClubSuggestion::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSuggestion::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSuggestion::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSuggestion::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubSuggestion::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.id) + return id_; +} +inline void ClubSuggestion::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.id) +} + +// optional uint64 club_id = 2; +inline bool ClubSuggestion::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubSuggestion::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubSuggestion::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubSuggestion::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubSuggestion::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.club_id) + return club_id_; +} +inline void ClubSuggestion::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.club_id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggester = 3; +inline bool ClubSuggestion::has_suggester() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubSuggestion::set_has_suggester() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubSuggestion::clear_has_suggester() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubSuggestion::clear_suggester() { + if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggester(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubSuggestion::suggester() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.suggester) + return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::mutable_suggester() { + set_has_suggester(); + if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.suggester) + return suggester_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggester() { + clear_has_suggester(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggester_; + suggester_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::client::MemberDescription* suggester) { + delete suggester_; + suggester_ = suggester; + if (suggester) { + set_has_suggester(); + } else { + clear_has_suggester(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggester) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription suggestee = 4; +inline bool ClubSuggestion::has_suggestee() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubSuggestion::set_has_suggestee() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubSuggestion::clear_has_suggestee() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubSuggestion::clear_suggestee() { + if (suggestee_ != NULL) suggestee_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_suggestee(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubSuggestion::suggestee() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) + return suggestee_ != NULL ? *suggestee_ : *default_instance_->suggestee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::mutable_suggestee() { + set_has_suggestee(); + if (suggestee_ == NULL) suggestee_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) + return suggestee_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubSuggestion::release_suggestee() { + clear_has_suggestee(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = suggestee_; + suggestee_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::client::MemberDescription* suggestee) { + delete suggestee_; + suggestee_ = suggestee; + if (suggestee) { + set_has_suggestee(); + } else { + clear_has_suggestee(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.suggestee) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 5; +inline bool ClubSuggestion::has_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubSuggestion::set_has_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubSuggestion::clear_has_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubSuggestion::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubSuggestion::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubSuggestion::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubSuggestion::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestion.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 6; +inline int ClubSuggestion::attribute_size() const { + return attribute_.size(); +} +inline void ClubSuggestion::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubSuggestion::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSuggestion::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubSuggestion::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubSuggestion::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubSuggestion::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSuggestion.attribute) + return &attribute_; +} + +// optional uint64 creation_time = 7; +inline bool ClubSuggestion::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubSuggestion::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubSuggestion::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubSuggestion::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubSuggestion::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.creation_time) + return creation_time_; +} +inline void ClubSuggestion::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool ClubSuggestion::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubSuggestion::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubSuggestion::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubSuggestion::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubSuggestion::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestion.expiration_time) + return expiration_time_; +} +inline void ClubSuggestion::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSuggestion.expiration_time) +} + +// ------------------------------------------------------------------- + +// CreateTicketOptions + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 1; +inline bool CreateTicketOptions::has_slot() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketOptions::set_has_slot() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketOptions::clear_has_slot() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketOptions::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& CreateTicketOptions::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* CreateTicketOptions::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketOptions.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* CreateTicketOptions::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketOptions.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int CreateTicketOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateTicketOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateTicketOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateTicketOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateTicketOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateTicketOptions.attribute) + return &attribute_; +} + +// optional uint32 allowed_redeem_count = 3; +inline bool CreateTicketOptions::has_allowed_redeem_count() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateTicketOptions::set_has_allowed_redeem_count() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateTicketOptions::clear_has_allowed_redeem_count() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateTicketOptions::clear_allowed_redeem_count() { + allowed_redeem_count_ = 0u; + clear_has_allowed_redeem_count(); +} +inline ::google::protobuf::uint32 CreateTicketOptions::allowed_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.allowed_redeem_count) + return allowed_redeem_count_; +} +inline void CreateTicketOptions::set_allowed_redeem_count(::google::protobuf::uint32 value) { + set_has_allowed_redeem_count(); + allowed_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.allowed_redeem_count) +} + +// optional uint64 expiration_time = 4; +inline bool CreateTicketOptions::has_expiration_time() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateTicketOptions::set_has_expiration_time() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateTicketOptions::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateTicketOptions::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 CreateTicketOptions::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.expiration_time) + return expiration_time_; +} +inline void CreateTicketOptions::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.expiration_time) +} + +// optional uint32 join_club_source = 5; +inline bool CreateTicketOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CreateTicketOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000010u; +} +inline void CreateTicketOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CreateTicketOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 CreateTicketOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketOptions.join_club_source) + return join_club_source_; +} +inline void CreateTicketOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// ClubTicket + +// optional string id = 1; +inline bool ClubTicket::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTicket::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTicket::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTicket::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& ClubTicket::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.id) + return *id_; +} +inline void ClubTicket::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline void ClubTicket::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline void ClubTicket::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubTicket.id) +} +inline ::std::string* ClubTicket::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.id) + return id_; +} +inline ::std::string* ClubTicket::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubTicket::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2; +inline bool ClubTicket::has_creator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubTicket::set_has_creator() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubTicket::clear_has_creator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubTicket::clear_creator() { + if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_creator(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubTicket::creator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.creator) + return creator_ != NULL ? *creator_ : *default_instance_->creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubTicket::mutable_creator() { + set_has_creator(); + if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.creator) + return creator_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubTicket::release_creator() { + clear_has_creator(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = creator_; + creator_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) { + delete creator_; + creator_ = creator; + if (creator) { + set_has_creator(); + } else { + clear_has_creator(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.creator) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 3; +inline bool ClubTicket::has_club() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubTicket::set_has_club() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubTicket::clear_has_club() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubTicket::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubTicket::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.club) +} + +// optional .bgs.protocol.club.v1.client.ClubSlot slot = 4; +inline bool ClubTicket::has_slot() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubTicket::set_has_slot() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubTicket::clear_has_slot() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubTicket::clear_slot() { + if (slot_ != NULL) slot_->::bgs::protocol::club::v1::client::ClubSlot::Clear(); + clear_has_slot(); +} +inline const ::bgs::protocol::club::v1::client::ClubSlot& ClubTicket::slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.slot) + return slot_ != NULL ? *slot_ : *default_instance_->slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubTicket::mutable_slot() { + set_has_slot(); + if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::client::ClubSlot; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.slot) + return slot_; +} +inline ::bgs::protocol::club::v1::client::ClubSlot* ClubTicket::release_slot() { + clear_has_slot(); + ::bgs::protocol::club::v1::client::ClubSlot* temp = slot_; + slot_ = NULL; + return temp; +} +inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::client::ClubSlot* slot) { + delete slot_; + slot_ = slot; + if (slot) { + set_has_slot(); + } else { + clear_has_slot(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicket.slot) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 5; +inline int ClubTicket::attribute_size() const { + return attribute_.size(); +} +inline void ClubTicket::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& ClubTicket::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* ClubTicket::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* ClubTicket::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +ClubTicket::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubTicket.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +ClubTicket::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubTicket.attribute) + return &attribute_; +} + +// optional uint32 current_redeem_count = 6; +inline bool ClubTicket::has_current_redeem_count() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubTicket::set_has_current_redeem_count() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubTicket::clear_has_current_redeem_count() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubTicket::clear_current_redeem_count() { + current_redeem_count_ = 0u; + clear_has_current_redeem_count(); +} +inline ::google::protobuf::uint32 ClubTicket::current_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.current_redeem_count) + return current_redeem_count_; +} +inline void ClubTicket::set_current_redeem_count(::google::protobuf::uint32 value) { + set_has_current_redeem_count(); + current_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.current_redeem_count) +} + +// optional uint32 allowed_redeem_count = 7; +inline bool ClubTicket::has_allowed_redeem_count() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubTicket::set_has_allowed_redeem_count() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubTicket::clear_has_allowed_redeem_count() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubTicket::clear_allowed_redeem_count() { + allowed_redeem_count_ = 0u; + clear_has_allowed_redeem_count(); +} +inline ::google::protobuf::uint32 ClubTicket::allowed_redeem_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.allowed_redeem_count) + return allowed_redeem_count_; +} +inline void ClubTicket::set_allowed_redeem_count(::google::protobuf::uint32 value) { + set_has_allowed_redeem_count(); + allowed_redeem_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.allowed_redeem_count) +} + +// optional uint64 creation_time = 8; +inline bool ClubTicket::has_creation_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubTicket::set_has_creation_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubTicket::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubTicket::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubTicket::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.creation_time) + return creation_time_; +} +inline void ClubTicket::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.creation_time) +} + +// optional uint64 expiration_time = 9; +inline bool ClubTicket::has_expiration_time() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubTicket::set_has_expiration_time() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubTicket::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubTicket::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 ClubTicket::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicket.expiration_time) + return expiration_time_; +} +inline void ClubTicket::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubTicket.expiration_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5finvitation_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_listener.pb.cc b/src/server/proto/Client/api/client/v1/club_listener.pb.cc new file mode 100644 index 00000000000..7117ba4b8ff --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.pb.cc @@ -0,0 +1,273 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::ServiceDescriptor* ClubListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_listener.proto"); + GOOGLE_CHECK(file != NULL); + ClubListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/client/v1/club_listener.proto\022\033bgs" + ".protocol.club.v1.client\032%api/client/v1/" + "club_notification.proto2\305\023\n\014ClubListener" + "\022d\n\013OnSubscribe\0222.bgs.protocol.club.v1.c" + "lient.SubscribeNotification\032\031.bgs.protoc" + "ol.NO_RESPONSE\"\006\202\371+\002\010\001\022h\n\rOnUnsubscribe\022" + "4.bgs.protocol.club.v1.client.Unsubscrib" + "eNotification\032\031.bgs.protocol.NO_RESPONSE" + "\"\006\202\371+\002\010\002\022j\n\016OnStateChanged\0225.bgs.protoco" + "l.club.v1.client.StateChangedNotificatio" + "n\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\003\022p\n\021" + "OnSettingsChanged\0228.bgs.protocol.club.v1" + ".client.SettingsChangedNotification\032\031.bg" + "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\004\022h\n\rOnMemb" + "erAdded\0224.bgs.protocol.club.v1.client.Me" + "mberAddedNotification\032\031.bgs.protocol.NO_" + "RESPONSE\"\006\202\371+\002\010\036\022l\n\017OnMemberRemoved\0226.bg" + "s.protocol.club.v1.client.MemberRemovedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\010\037\022v\n\024OnMemberStateChanged\022;.bgs.pro" + "tocol.club.v1.client.MemberStateChangedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\010 \022~\n\030OnSubscriberStateChanged\022\?.bgs" + ".protocol.club.v1.client.SubscriberState" + "ChangedNotification\032\031.bgs.protocol.NO_RE" + "SPONSE\"\006\202\371+\002\010!\022t\n\023OnMemberRoleChanged\022:." + "bgs.protocol.club.v1.client.MemberRoleCh" + "angedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010\"\022p\n\021OnInvitationAdded\0228.bgs." + "protocol.club.v1.client.InvitationAddedN" + "otification\032\031.bgs.protocol.NO_RESPONSE\"\006" + "\202\371+\002\0102\022t\n\023OnInvitationRemoved\022:.bgs.prot" + "ocol.club.v1.client.InvitationRemovedNot" + "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371" + "+\002\0103\022p\n\021OnSuggestionAdded\0228.bgs.protocol" + ".club.v1.client.SuggestionAddedNotificat" + "ion\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010F\022t" + "\n\023OnSuggestionRemoved\022:.bgs.protocol.clu" + "b.v1.client.SuggestionRemovedNotificatio" + "n\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010G\022h\n\r" + "OnStreamAdded\0224.bgs.protocol.club.v1.cli" + "ent.StreamAddedNotification\032\031.bgs.protoc" + "ol.NO_RESPONSE\"\006\202\371+\002\010d\022l\n\017OnStreamRemove" + "d\0226.bgs.protocol.club.v1.client.StreamRe" + "movedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010e\022v\n\024OnStreamStateChanged\022;.b" + "gs.protocol.club.v1.client.StreamStateCh" + "angedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\006\202\371+\002\010f\022w\n\024OnStreamMessageAdded\022;.b" + "gs.protocol.club.v1.client.StreamMessage" + "AddedNotification\032\031.bgs.protocol.NO_RESP" + "ONSE\"\007\202\371+\003\010\226\001\022{\n\026OnStreamMessageUpdated\022" + "=.bgs.protocol.club.v1.client.StreamMess" + "ageUpdatedNotification\032\031.bgs.protocol.NO" + "_RESPONSE\"\007\202\371+\003\010\230\001\022}\n\027OnStreamTypingIndi" + "cator\022>.bgs.protocol.club.v1.client.Stre" + "amTypingIndicatorNotification\032\031.bgs.prot" + "ocol.NO_RESPONSE\"\007\202\371+\003\010\231\001\022}\n\027OnStreamUnr" + "eadIndicator\022>.bgs.protocol.club.v1.clie" + "nt.StreamUnreadIndicatorNotification\032\031.b" + "gs.protocol.NO_RESPONSE\"\007\202\371+\003\010\232\001\022}\n\027OnSt" + "reamAdvanceViewTime\022>.bgs.protocol.club." + "v1.client.StreamAdvanceViewTimeNotificat" + "ion\032\031.bgs.protocol.NO_RESPONSE\"\007\202\371+\003\010\233\001\032" + ".\202\371+$\n\"bnet.protocol.club.v1.ClubListene" + "r\212\371+\002\010\001B\005H\002\200\001\000", 2614); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_listener.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5flistener_2eproto_; +// =================================================================== + +ClubListener::ClubListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubListener::~ClubListener() { +} + +google::protobuf::ServiceDescriptor const* ClubListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubListener_descriptor_; +} + +void ClubListener::OnSubscribe(::bgs::protocol::club::v1::client::SubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSubscribe", "bgs.protocol.club.v1.client.SubscribeNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnUnsubscribe", "bgs.protocol.club.v1.client.UnsubscribeNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStateChanged(::bgs::protocol::club::v1::client::StateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStateChanged", "bgs.protocol.club.v1.client.StateChangedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSettingsChanged(::bgs::protocol::club::v1::client::SettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSettingsChanged", "bgs.protocol.club.v1.client.SettingsChangedNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberAdded(::bgs::protocol::club::v1::client::MemberAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberAdded", "bgs.protocol.club.v1.client.MemberAddedNotification", request); + SendRequest(service_hash_, 30 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberRemoved(::bgs::protocol::club::v1::client::MemberRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberRemoved", "bgs.protocol.club.v1.client.MemberRemovedNotification", request); + SendRequest(service_hash_, 31 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberStateChanged(::bgs::protocol::club::v1::client::MemberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberStateChanged", "bgs.protocol.club.v1.client.MemberStateChangedNotification", request); + SendRequest(service_hash_, 32 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSubscriberStateChanged(::bgs::protocol::club::v1::client::SubscriberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSubscriberStateChanged", "bgs.protocol.club.v1.client.SubscriberStateChangedNotification", request); + SendRequest(service_hash_, 33 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnMemberRoleChanged(::bgs::protocol::club::v1::client::MemberRoleChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnMemberRoleChanged", "bgs.protocol.club.v1.client.MemberRoleChangedNotification", request); + SendRequest(service_hash_, 34 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnInvitationAdded(::bgs::protocol::club::v1::client::InvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnInvitationAdded", "bgs.protocol.club.v1.client.InvitationAddedNotification", request); + SendRequest(service_hash_, 50 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnInvitationRemoved(::bgs::protocol::club::v1::client::InvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnInvitationRemoved", "bgs.protocol.club.v1.client.InvitationRemovedNotification", request); + SendRequest(service_hash_, 51 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSuggestionAdded(::bgs::protocol::club::v1::client::SuggestionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSuggestionAdded", "bgs.protocol.club.v1.client.SuggestionAddedNotification", request); + SendRequest(service_hash_, 70 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnSuggestionRemoved(::bgs::protocol::club::v1::client::SuggestionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnSuggestionRemoved", "bgs.protocol.club.v1.client.SuggestionRemovedNotification", request); + SendRequest(service_hash_, 71 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamAdded(::bgs::protocol::club::v1::client::StreamAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamAdded", "bgs.protocol.club.v1.client.StreamAddedNotification", request); + SendRequest(service_hash_, 100 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamRemoved(::bgs::protocol::club::v1::client::StreamRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamRemoved", "bgs.protocol.club.v1.client.StreamRemovedNotification", request); + SendRequest(service_hash_, 101 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamStateChanged(::bgs::protocol::club::v1::client::StreamStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamStateChanged", "bgs.protocol.club.v1.client.StreamStateChangedNotification", request); + SendRequest(service_hash_, 102 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamMessageAdded(::bgs::protocol::club::v1::client::StreamMessageAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamMessageAdded", "bgs.protocol.club.v1.client.StreamMessageAddedNotification", request); + SendRequest(service_hash_, 150 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamMessageUpdated(::bgs::protocol::club::v1::client::StreamMessageUpdatedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamMessageUpdated", "bgs.protocol.club.v1.client.StreamMessageUpdatedNotification", request); + SendRequest(service_hash_, 152 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamTypingIndicator(::bgs::protocol::club::v1::client::StreamTypingIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamTypingIndicator", "bgs.protocol.club.v1.client.StreamTypingIndicatorNotification", request); + SendRequest(service_hash_, 153 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamUnreadIndicator(::bgs::protocol::club::v1::client::StreamUnreadIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamUnreadIndicator", "bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification", request); + SendRequest(service_hash_, 154 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::OnStreamAdvanceViewTime(::bgs::protocol::club::v1::client::StreamAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubListener.OnStreamAdvanceViewTime", "bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification", request); + SendRequest(service_hash_, 155 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_listener.pb.h b/src/server/proto/Client/api/client/v1/club_listener.pb.h new file mode 100644 index 00000000000..40ec620c8d2 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.pb.h @@ -0,0 +1,109 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_notification.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5flistener_2eproto(); + +// =================================================================== + +// =================================================================== + +class TC_PROTO_API ClubListener : public ServiceBase +{ + public: + + explicit ClubListener(bool use_original_hash); + ClubListener(ClubListener const&) = delete; + ClubListener(ClubListener&&) = delete; + ClubListener& operator=(ClubListener const&) = delete; + ClubListener& operator=(ClubListener&&) = delete; + virtual ~ClubListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnSubscribe(::bgs::protocol::club::v1::client::SubscribeNotification const* request, bool client = false, bool server = false); + void OnUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeNotification const* request, bool client = false, bool server = false); + void OnStateChanged(::bgs::protocol::club::v1::client::StateChangedNotification const* request, bool client = false, bool server = false); + void OnSettingsChanged(::bgs::protocol::club::v1::client::SettingsChangedNotification const* request, bool client = false, bool server = false); + void OnMemberAdded(::bgs::protocol::club::v1::client::MemberAddedNotification const* request, bool client = false, bool server = false); + void OnMemberRemoved(::bgs::protocol::club::v1::client::MemberRemovedNotification const* request, bool client = false, bool server = false); + void OnMemberStateChanged(::bgs::protocol::club::v1::client::MemberStateChangedNotification const* request, bool client = false, bool server = false); + void OnSubscriberStateChanged(::bgs::protocol::club::v1::client::SubscriberStateChangedNotification const* request, bool client = false, bool server = false); + void OnMemberRoleChanged(::bgs::protocol::club::v1::client::MemberRoleChangedNotification const* request, bool client = false, bool server = false); + void OnInvitationAdded(::bgs::protocol::club::v1::client::InvitationAddedNotification const* request, bool client = false, bool server = false); + void OnInvitationRemoved(::bgs::protocol::club::v1::client::InvitationRemovedNotification const* request, bool client = false, bool server = false); + void OnSuggestionAdded(::bgs::protocol::club::v1::client::SuggestionAddedNotification const* request, bool client = false, bool server = false); + void OnSuggestionRemoved(::bgs::protocol::club::v1::client::SuggestionRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamAdded(::bgs::protocol::club::v1::client::StreamAddedNotification const* request, bool client = false, bool server = false); + void OnStreamRemoved(::bgs::protocol::club::v1::client::StreamRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamStateChanged(::bgs::protocol::club::v1::client::StreamStateChangedNotification const* request, bool client = false, bool server = false); + void OnStreamMessageAdded(::bgs::protocol::club::v1::client::StreamMessageAddedNotification const* request, bool client = false, bool server = false); + void OnStreamMessageUpdated(::bgs::protocol::club::v1::client::StreamMessageUpdatedNotification const* request, bool client = false, bool server = false); + void OnStreamTypingIndicator(::bgs::protocol::club::v1::client::StreamTypingIndicatorNotification const* request, bool client = false, bool server = false); + void OnStreamUnreadIndicator(::bgs::protocol::club::v1::client::StreamUnreadIndicatorNotification const* request, bool client = false, bool server = false); + void OnStreamAdvanceViewTime(::bgs::protocol::club::v1::client::StreamAdvanceViewTimeNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_listener.proto b/src/server/proto/Client/api/client/v1/club_listener.proto new file mode 100644 index 00000000000..21ef82da02e --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_listener.proto @@ -0,0 +1,121 @@ +syntax = "proto2"; + +import "api/client/v1/club_notification.proto"; +package bgs.protocol.club.v1.client; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubListener { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubListener" + }; + option (.bgs.protocol.sdk_service_options) = { + inbound: true + }; + rpc OnSubscribe(.bgs.protocol.club.v1.client.SubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc OnUnsubscribe(.bgs.protocol.club.v1.client.UnsubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc OnStateChanged(.bgs.protocol.club.v1.client.StateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc OnSettingsChanged(.bgs.protocol.club.v1.client.SettingsChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc OnMemberAdded(.bgs.protocol.club.v1.client.MemberAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc OnMemberRemoved(.bgs.protocol.club.v1.client.MemberRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc OnMemberStateChanged(.bgs.protocol.club.v1.client.MemberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc OnSubscriberStateChanged(.bgs.protocol.club.v1.client.SubscriberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc OnMemberRoleChanged(.bgs.protocol.club.v1.client.MemberRoleChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc OnInvitationAdded(.bgs.protocol.club.v1.client.InvitationAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc OnInvitationRemoved(.bgs.protocol.club.v1.client.InvitationRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc OnSuggestionAdded(.bgs.protocol.club.v1.client.SuggestionAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc OnSuggestionRemoved(.bgs.protocol.club.v1.client.SuggestionRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc OnStreamAdded(.bgs.protocol.club.v1.client.StreamAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc OnStreamRemoved(.bgs.protocol.club.v1.client.StreamRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc OnStreamStateChanged(.bgs.protocol.club.v1.client.StreamStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc OnStreamMessageAdded(.bgs.protocol.club.v1.client.StreamMessageAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc OnStreamMessageUpdated(.bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc OnStreamTypingIndicator(.bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc OnStreamUnreadIndicator(.bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc OnStreamAdvanceViewTime(.bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) returns (.bgs.protocol.NO_RESPONSE) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } +} diff --git a/src/server/proto/Client/api/client/v1/club_member.pb.cc b/src/server/proto/Client/api/client/v1/club_member.pb.cc new file mode 100644 index 00000000000..f3750076a07 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_member.pb.cc @@ -0,0 +1,1745 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_member.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_member.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Member_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberResult_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberResult_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveMemberOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveMemberOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRemovedAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRemovedAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberVoiceOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberVoiceOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberVoiceState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberVoiceState_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMemberOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMemberOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* RoleOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RoleOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* RoleAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RoleAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberAttributeAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAttributeAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_member.proto"); + GOOGLE_CHECK(file != NULL); + Member_descriptor_ = file->message_type(0); + static const int Member_offsets_[11] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, join_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, active_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, voice_), + }; + Member_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Member_descriptor_, + Member::default_instance_, + Member_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Member)); + MemberResult_descriptor_ = file->message_type(1); + static const int MemberResult_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, status_), + }; + MemberResult_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberResult_descriptor_, + MemberResult::default_instance_, + MemberResult_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberResult)); + RemoveMemberOptions_descriptor_ = file->message_type(2); + static const int RemoveMemberOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, reason_), + }; + RemoveMemberOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveMemberOptions_descriptor_, + RemoveMemberOptions::default_instance_, + RemoveMemberOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveMemberOptions)); + MemberRemovedAssignment_descriptor_ = file->message_type(3); + static const int MemberRemovedAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, reason_), + }; + MemberRemovedAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRemovedAssignment_descriptor_, + MemberRemovedAssignment::default_instance_, + MemberRemovedAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRemovedAssignment)); + MemberVoiceOptions_descriptor_ = file->message_type(4); + static const int MemberVoiceOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, joined_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, microphone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, active_), + }; + MemberVoiceOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberVoiceOptions_descriptor_, + MemberVoiceOptions::default_instance_, + MemberVoiceOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberVoiceOptions)); + MemberVoiceState_descriptor_ = file->message_type(5); + static const int MemberVoiceState_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, joined_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, microphone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, active_), + }; + MemberVoiceState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberVoiceState_descriptor_, + MemberVoiceState::default_instance_, + MemberVoiceState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberVoiceState)); + CreateMemberOptions_descriptor_ = file->message_type(6); + static const int CreateMemberOptions_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, join_club_source_), + }; + CreateMemberOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMemberOptions_descriptor_, + CreateMemberOptions::default_instance_, + CreateMemberOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMemberOptions)); + MemberDescription_descriptor_ = file->message_type(7); + static const int MemberDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, battle_tag_), + }; + MemberDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberDescription_descriptor_, + MemberDescription::default_instance_, + MemberDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberDescription)); + RoleOptions_descriptor_ = file->message_type(8); + static const int RoleOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, role_), + }; + RoleOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RoleOptions_descriptor_, + RoleOptions::default_instance_, + RoleOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RoleOptions)); + RoleAssignment_descriptor_ = file->message_type(9); + static const int RoleAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, role_), + }; + RoleAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RoleAssignment_descriptor_, + RoleAssignment::default_instance_, + RoleAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RoleAssignment)); + MemberAttributeAssignment_descriptor_ = file->message_type(10); + static const int MemberAttributeAssignment_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, attribute_), + }; + MemberAttributeAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAttributeAssignment_descriptor_, + MemberAttributeAssignment::default_instance_, + MemberAttributeAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAttributeAssignment)); + SubscriberStateOptions_descriptor_ = file->message_type(11); + static const int SubscriberStateOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, voice_), + }; + SubscriberStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateOptions_descriptor_, + SubscriberStateOptions::default_instance_, + SubscriberStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateOptions)); + SubscriberStateAssignment_descriptor_ = file->message_type(12); + static const int SubscriberStateAssignment_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, active_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, voice_), + }; + SubscriberStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateAssignment_descriptor_, + SubscriberStateAssignment::default_instance_, + SubscriberStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateAssignment)); + MemberStateOptions_descriptor_ = file->message_type(13); + static const int MemberStateOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, note_), + }; + MemberStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateOptions_descriptor_, + MemberStateOptions::default_instance_, + MemberStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateOptions)); + MemberStateAssignment_descriptor_ = file->message_type(14); + static const int MemberStateAssignment_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, moderator_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, note_), + }; + MemberStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateAssignment_descriptor_, + MemberStateAssignment::default_instance_, + MemberStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Member_descriptor_, &Member::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberResult_descriptor_, &MemberResult::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveMemberOptions_descriptor_, &RemoveMemberOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRemovedAssignment_descriptor_, &MemberRemovedAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberVoiceOptions_descriptor_, &MemberVoiceOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberVoiceState_descriptor_, &MemberVoiceState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMemberOptions_descriptor_, &CreateMemberOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberDescription_descriptor_, &MemberDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RoleOptions_descriptor_, &RoleOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RoleAssignment_descriptor_, &RoleAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAttributeAssignment_descriptor_, &MemberAttributeAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateOptions_descriptor_, &SubscriberStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateAssignment_descriptor_, &SubscriberStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateOptions_descriptor_, &MemberStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateAssignment_descriptor_, &MemberStateAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + delete Member::default_instance_; + delete Member_reflection_; + delete MemberResult::default_instance_; + delete MemberResult_reflection_; + delete RemoveMemberOptions::default_instance_; + delete RemoveMemberOptions_reflection_; + delete MemberRemovedAssignment::default_instance_; + delete MemberRemovedAssignment_reflection_; + delete MemberVoiceOptions::default_instance_; + delete MemberVoiceOptions_reflection_; + delete MemberVoiceState::default_instance_; + delete MemberVoiceState_reflection_; + delete CreateMemberOptions::default_instance_; + delete CreateMemberOptions_reflection_; + delete MemberDescription::default_instance_; + delete MemberDescription_reflection_; + delete RoleOptions::default_instance_; + delete RoleOptions_reflection_; + delete RoleAssignment::default_instance_; + delete RoleAssignment_reflection_; + delete MemberAttributeAssignment::default_instance_; + delete MemberAttributeAssignment_reflection_; + delete SubscriberStateOptions::default_instance_; + delete SubscriberStateOptions_reflection_; + delete SubscriberStateAssignment::default_instance_; + delete SubscriberStateAssignment_reflection_; + delete MemberStateOptions::default_instance_; + delete MemberStateOptions_reflection_; + delete MemberStateAssignment::default_instance_; + delete MemberStateAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/client/v1/club_member.proto\022\033bgs.p" + "rotocol.club.v1.client\032\"api/common/v1/cl" + "ub_member_id.proto\032#api/common/v2/attrib" + "ute_types.proto\032\035api/client/v1/club_enum" + ".proto\032\017rpc_types.proto\"\236\003\n\006Member\022*\n\002id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\032" + "\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004role\030\003 \003(\r" + "B\002\020\001\022-\n\tattribute\030\004 \003(\0132\032.bgs.protocol.v" + "2.Attribute\022\021\n\tjoin_time\030\005 \001(\004\022B\n\016presen" + "ce_level\030\006 \001(\0162*.bgs.protocol.club.v1.cl" + "ient.PresenceLevel\022\026\n\016moderator_mute\030\007 \001" + "(\010\022@\n\rwhisper_level\030\010 \001(\0162).bgs.protocol" + ".club.v1.client.WhisperLevel\022\014\n\004note\030\t \001" + "(\t\022\016\n\006active\0302 \001(\010\022<\n\005voice\0303 \001(\0132-.bgs." + "protocol.club.v1.client.MemberVoiceState" + "\"Q\n\014MemberResult\0221\n\tmember_id\030\001 \001(\0132\036.bg" + "s.protocol.club.v1.MemberId\022\016\n\006status\030\002 " + "\001(\r\"\201\001\n\023RemoveMemberOptions\022*\n\002id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022>\n\006reaso" + "n\030\002 \001(\0162..bgs.protocol.club.v1.client.Cl" + "ubRemovedReason\"\205\001\n\027MemberRemovedAssignm" + "ent\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" + "emberId\022>\n\006reason\030\002 \001(\0162..bgs.protocol.c" + "lub.v1.client.ClubRemovedReason\"\216\001\n\022Memb" + "erVoiceOptions\022\021\n\tstream_id\030\001 \001(\004\022\016\n\006joi" + "ned\030\002 \001(\010\022E\n\nmicrophone\030\003 \001(\01621.bgs.prot" + "ocol.club.v1.client.VoiceMicrophoneState" + "\022\016\n\006active\030\004 \001(\010\"\230\001\n\020MemberVoiceState\022\n\n" + "\002id\030\001 \001(\t\022\021\n\tstream_id\030\002 \001(\004\022\016\n\006joined\030\003" + " \001(\010\022E\n\nmicrophone\030\004 \001(\01621.bgs.protocol." + "club.v1.client.VoiceMicrophoneState\022\016\n\006a" + "ctive\030\005 \001(\010\"\240\001\n\023CreateMemberOptions\022*\n\002i" + "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" + "-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v2.Att" + "ribute\022.\n\020join_club_source\030\003 \001(\rB\024\202\371+\020*\016" + "JoinClubSource\"[\n\021MemberDescription\022*\n\002i" + "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" + "\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\"^\n\013RoleOptio" + "ns\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\034\n\004role\030\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010" + "\001\020\001\"U\n\016RoleAssignment\0221\n\tmember_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022\020\n\004role" + "\030\002 \003(\rB\002\020\001\"}\n\031MemberAttributeAssignment\022" + "1\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club.v" + "1.MemberId\022-\n\tattribute\030\002 \003(\0132\032.bgs.prot" + "ocol.v2.Attribute\"X\n\026SubscriberStateOpti" + "ons\022>\n\005voice\030\001 \001(\0132/.bgs.protocol.club.v" + "1.client.MemberVoiceOptions\"\234\001\n\031Subscrib" + "erStateAssignment\0221\n\tmember_id\030\001 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\022\016\n\006active\030\002" + " \001(\010\022<\n\005voice\030\003 \001(\0132-.bgs.protocol.club." + "v1.client.MemberVoiceState\"\357\001\n\022MemberSta" + "teOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs.proto" + "col.v2.Attribute\022B\n\016presence_level\030\002 \001(\016" + "2*.bgs.protocol.club.v1.client.PresenceL" + "evel\022\026\n\016moderator_mute\030\003 \001(\010\022@\n\rwhisper_" + "level\030\004 \001(\0162).bgs.protocol.club.v1.clien" + "t.WhisperLevel\022\014\n\004note\030\005 \001(\t\"\245\002\n\025MemberS" + "tateAssignment\0221\n\tmember_id\030\001 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022-\n\tattribute\030\002" + " \003(\0132\032.bgs.protocol.v2.Attribute\022B\n\016pres" + "ence_level\030\003 \001(\0162*.bgs.protocol.club.v1." + "client.PresenceLevel\022\026\n\016moderator_mute\030\004" + " \001(\010\022@\n\rwhisper_level\030\005 \001(\0162).bgs.protoc" + "ol.club.v1.client.WhisperLevel\022\014\n\004note\030\006" + " \001(\tB\002H\002P\000", 2610); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_member.proto", &protobuf_RegisterTypes); + Member::default_instance_ = new Member(); + MemberResult::default_instance_ = new MemberResult(); + RemoveMemberOptions::default_instance_ = new RemoveMemberOptions(); + MemberRemovedAssignment::default_instance_ = new MemberRemovedAssignment(); + MemberVoiceOptions::default_instance_ = new MemberVoiceOptions(); + MemberVoiceState::default_instance_ = new MemberVoiceState(); + CreateMemberOptions::default_instance_ = new CreateMemberOptions(); + MemberDescription::default_instance_ = new MemberDescription(); + RoleOptions::default_instance_ = new RoleOptions(); + RoleAssignment::default_instance_ = new RoleAssignment(); + MemberAttributeAssignment::default_instance_ = new MemberAttributeAssignment(); + SubscriberStateOptions::default_instance_ = new SubscriberStateOptions(); + SubscriberStateAssignment::default_instance_ = new SubscriberStateAssignment(); + MemberStateOptions::default_instance_ = new MemberStateOptions(); + MemberStateAssignment::default_instance_ = new MemberStateAssignment(); + Member::default_instance_->InitAsDefaultInstance(); + MemberResult::default_instance_->InitAsDefaultInstance(); + RemoveMemberOptions::default_instance_->InitAsDefaultInstance(); + MemberRemovedAssignment::default_instance_->InitAsDefaultInstance(); + MemberVoiceOptions::default_instance_->InitAsDefaultInstance(); + MemberVoiceState::default_instance_->InitAsDefaultInstance(); + CreateMemberOptions::default_instance_->InitAsDefaultInstance(); + MemberDescription::default_instance_->InitAsDefaultInstance(); + RoleOptions::default_instance_->InitAsDefaultInstance(); + RoleAssignment::default_instance_->InitAsDefaultInstance(); + MemberAttributeAssignment::default_instance_->InitAsDefaultInstance(); + SubscriberStateOptions::default_instance_->InitAsDefaultInstance(); + SubscriberStateAssignment::default_instance_->InitAsDefaultInstance(); + MemberStateOptions::default_instance_->InitAsDefaultInstance(); + MemberStateAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmember_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmember_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmember_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Member::kIdFieldNumber; +const int Member::kBattleTagFieldNumber; +const int Member::kRoleFieldNumber; +const int Member::kAttributeFieldNumber; +const int Member::kJoinTimeFieldNumber; +const int Member::kPresenceLevelFieldNumber; +const int Member::kModeratorMuteFieldNumber; +const int Member::kWhisperLevelFieldNumber; +const int Member::kNoteFieldNumber; +const int Member::kActiveFieldNumber; +const int Member::kVoiceFieldNumber; +#endif // !_MSC_VER + +Member::Member() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Member) +} + +void Member::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceState*>(&::bgs::protocol::club::v1::client::MemberVoiceState::default_instance()); +} + +Member::Member(const Member& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Member) +} + +void Member::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + join_time_ = GOOGLE_ULONGLONG(0); + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + active_ = false; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Member::~Member() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Member) + SharedDtor(); +} + +void Member::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + delete id_; + delete voice_; + } +} + +void Member::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Member::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Member_descriptor_; +} + +const Member& Member::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +Member* Member::default_instance_ = NULL; + +Member* Member::New() const { + return new Member; +} + +void Member::Swap(Member* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Member::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Member_descriptor_; + metadata.reflection = Member_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberResult::kMemberIdFieldNumber; +const int MemberResult::kStatusFieldNumber; +#endif // !_MSC_VER + +MemberResult::MemberResult() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberResult) +} + +void MemberResult::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberResult::MemberResult(const MemberResult& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberResult) +} + +void MemberResult::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + status_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberResult::~MemberResult() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberResult) + SharedDtor(); +} + +void MemberResult::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberResult::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberResult::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberResult_descriptor_; +} + +const MemberResult& MemberResult::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberResult* MemberResult::default_instance_ = NULL; + +MemberResult* MemberResult::New() const { + return new MemberResult; +} + +void MemberResult::Swap(MemberResult* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberResult::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberResult_descriptor_; + metadata.reflection = MemberResult_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveMemberOptions::kIdFieldNumber; +const int RemoveMemberOptions::kReasonFieldNumber; +#endif // !_MSC_VER + +RemoveMemberOptions::RemoveMemberOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) +} + +void RemoveMemberOptions::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RemoveMemberOptions::RemoveMemberOptions(const RemoveMemberOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveMemberOptions) +} + +void RemoveMemberOptions::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveMemberOptions::~RemoveMemberOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveMemberOptions) + SharedDtor(); +} + +void RemoveMemberOptions::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void RemoveMemberOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveMemberOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveMemberOptions_descriptor_; +} + +const RemoveMemberOptions& RemoveMemberOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RemoveMemberOptions* RemoveMemberOptions::default_instance_ = NULL; + +RemoveMemberOptions* RemoveMemberOptions::New() const { + return new RemoveMemberOptions; +} + +void RemoveMemberOptions::Swap(RemoveMemberOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveMemberOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveMemberOptions_descriptor_; + metadata.reflection = RemoveMemberOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRemovedAssignment::kIdFieldNumber; +const int MemberRemovedAssignment::kReasonFieldNumber; +#endif // !_MSC_VER + +MemberRemovedAssignment::MemberRemovedAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) +} + +void MemberRemovedAssignment::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRemovedAssignment::MemberRemovedAssignment(const MemberRemovedAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) +} + +void MemberRemovedAssignment::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRemovedAssignment::~MemberRemovedAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedAssignment) + SharedDtor(); +} + +void MemberRemovedAssignment::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void MemberRemovedAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRemovedAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRemovedAssignment_descriptor_; +} + +const MemberRemovedAssignment& MemberRemovedAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberRemovedAssignment* MemberRemovedAssignment::default_instance_ = NULL; + +MemberRemovedAssignment* MemberRemovedAssignment::New() const { + return new MemberRemovedAssignment; +} + +void MemberRemovedAssignment::Swap(MemberRemovedAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRemovedAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRemovedAssignment_descriptor_; + metadata.reflection = MemberRemovedAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberVoiceOptions::kStreamIdFieldNumber; +const int MemberVoiceOptions::kJoinedFieldNumber; +const int MemberVoiceOptions::kMicrophoneFieldNumber; +const int MemberVoiceOptions::kActiveFieldNumber; +#endif // !_MSC_VER + +MemberVoiceOptions::MemberVoiceOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) +} + +void MemberVoiceOptions::InitAsDefaultInstance() { +} + +MemberVoiceOptions::MemberVoiceOptions(const MemberVoiceOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceOptions) +} + +void MemberVoiceOptions::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + joined_ = false; + microphone_ = 0; + active_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberVoiceOptions::~MemberVoiceOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceOptions) + SharedDtor(); +} + +void MemberVoiceOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void MemberVoiceOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberVoiceOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberVoiceOptions_descriptor_; +} + +const MemberVoiceOptions& MemberVoiceOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberVoiceOptions* MemberVoiceOptions::default_instance_ = NULL; + +MemberVoiceOptions* MemberVoiceOptions::New() const { + return new MemberVoiceOptions; +} + +void MemberVoiceOptions::Swap(MemberVoiceOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberVoiceOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberVoiceOptions_descriptor_; + metadata.reflection = MemberVoiceOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberVoiceState::kIdFieldNumber; +const int MemberVoiceState::kStreamIdFieldNumber; +const int MemberVoiceState::kJoinedFieldNumber; +const int MemberVoiceState::kMicrophoneFieldNumber; +const int MemberVoiceState::kActiveFieldNumber; +#endif // !_MSC_VER + +MemberVoiceState::MemberVoiceState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberVoiceState) +} + +void MemberVoiceState::InitAsDefaultInstance() { +} + +MemberVoiceState::MemberVoiceState(const MemberVoiceState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberVoiceState) +} + +void MemberVoiceState::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + stream_id_ = GOOGLE_ULONGLONG(0); + joined_ = false; + microphone_ = 0; + active_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberVoiceState::~MemberVoiceState() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberVoiceState) + SharedDtor(); +} + +void MemberVoiceState::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + } +} + +void MemberVoiceState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberVoiceState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberVoiceState_descriptor_; +} + +const MemberVoiceState& MemberVoiceState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberVoiceState* MemberVoiceState::default_instance_ = NULL; + +MemberVoiceState* MemberVoiceState::New() const { + return new MemberVoiceState; +} + +void MemberVoiceState::Swap(MemberVoiceState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberVoiceState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberVoiceState_descriptor_; + metadata.reflection = MemberVoiceState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMemberOptions::kIdFieldNumber; +const int CreateMemberOptions::kAttributeFieldNumber; +const int CreateMemberOptions::kJoinClubSourceFieldNumber; +#endif // !_MSC_VER + +CreateMemberOptions::CreateMemberOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMemberOptions) +} + +void CreateMemberOptions::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +CreateMemberOptions::CreateMemberOptions(const CreateMemberOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMemberOptions) +} + +void CreateMemberOptions::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + join_club_source_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMemberOptions::~CreateMemberOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMemberOptions) + SharedDtor(); +} + +void CreateMemberOptions::SharedDtor() { + if (this != default_instance_) { + delete id_; + } +} + +void CreateMemberOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMemberOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMemberOptions_descriptor_; +} + +const CreateMemberOptions& CreateMemberOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +CreateMemberOptions* CreateMemberOptions::default_instance_ = NULL; + +CreateMemberOptions* CreateMemberOptions::New() const { + return new CreateMemberOptions; +} + +void CreateMemberOptions::Swap(CreateMemberOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMemberOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMemberOptions_descriptor_; + metadata.reflection = CreateMemberOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberDescription::kIdFieldNumber; +const int MemberDescription::kBattleTagFieldNumber; +#endif // !_MSC_VER + +MemberDescription::MemberDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberDescription) +} + +void MemberDescription::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberDescription::MemberDescription(const MemberDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberDescription) +} + +void MemberDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = NULL; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberDescription::~MemberDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberDescription) + SharedDtor(); +} + +void MemberDescription::SharedDtor() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (this != default_instance_) { + delete id_; + } +} + +void MemberDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberDescription_descriptor_; +} + +const MemberDescription& MemberDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberDescription* MemberDescription::default_instance_ = NULL; + +MemberDescription* MemberDescription::New() const { + return new MemberDescription; +} + +void MemberDescription::Swap(MemberDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberDescription_descriptor_; + metadata.reflection = MemberDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RoleOptions::kMemberIdFieldNumber; +const int RoleOptions::kRoleFieldNumber; +#endif // !_MSC_VER + +RoleOptions::RoleOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleOptions) +} + +void RoleOptions::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RoleOptions::RoleOptions(const RoleOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleOptions) +} + +void RoleOptions::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RoleOptions::~RoleOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleOptions) + SharedDtor(); +} + +void RoleOptions::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void RoleOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RoleOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RoleOptions_descriptor_; +} + +const RoleOptions& RoleOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RoleOptions* RoleOptions::default_instance_ = NULL; + +RoleOptions* RoleOptions::New() const { + return new RoleOptions; +} + +void RoleOptions::Swap(RoleOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RoleOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RoleOptions_descriptor_; + metadata.reflection = RoleOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RoleAssignment::kMemberIdFieldNumber; +const int RoleAssignment::kRoleFieldNumber; +#endif // !_MSC_VER + +RoleAssignment::RoleAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RoleAssignment) +} + +void RoleAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RoleAssignment::RoleAssignment(const RoleAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RoleAssignment) +} + +void RoleAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RoleAssignment::~RoleAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RoleAssignment) + SharedDtor(); +} + +void RoleAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void RoleAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RoleAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RoleAssignment_descriptor_; +} + +const RoleAssignment& RoleAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +RoleAssignment* RoleAssignment::default_instance_ = NULL; + +RoleAssignment* RoleAssignment::New() const { + return new RoleAssignment; +} + +void RoleAssignment::Swap(RoleAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RoleAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RoleAssignment_descriptor_; + metadata.reflection = RoleAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAttributeAssignment::kMemberIdFieldNumber; +const int MemberAttributeAssignment::kAttributeFieldNumber; +#endif // !_MSC_VER + +MemberAttributeAssignment::MemberAttributeAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) +} + +void MemberAttributeAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberAttributeAssignment::MemberAttributeAssignment(const MemberAttributeAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) +} + +void MemberAttributeAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAttributeAssignment::~MemberAttributeAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAttributeAssignment) + SharedDtor(); +} + +void MemberAttributeAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberAttributeAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAttributeAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAttributeAssignment_descriptor_; +} + +const MemberAttributeAssignment& MemberAttributeAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberAttributeAssignment* MemberAttributeAssignment::default_instance_ = NULL; + +MemberAttributeAssignment* MemberAttributeAssignment::New() const { + return new MemberAttributeAssignment; +} + +void MemberAttributeAssignment::Swap(MemberAttributeAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAttributeAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAttributeAssignment_descriptor_; + metadata.reflection = MemberAttributeAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateOptions::kVoiceFieldNumber; +#endif // !_MSC_VER + +SubscriberStateOptions::SubscriberStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) +} + +void SubscriberStateOptions::InitAsDefaultInstance() { + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceOptions*>(&::bgs::protocol::club::v1::client::MemberVoiceOptions::default_instance()); +} + +SubscriberStateOptions::SubscriberStateOptions(const SubscriberStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateOptions) +} + +void SubscriberStateOptions::SharedCtor() { + _cached_size_ = 0; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateOptions::~SubscriberStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateOptions) + SharedDtor(); +} + +void SubscriberStateOptions::SharedDtor() { + if (this != default_instance_) { + delete voice_; + } +} + +void SubscriberStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateOptions_descriptor_; +} + +const SubscriberStateOptions& SubscriberStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +SubscriberStateOptions* SubscriberStateOptions::default_instance_ = NULL; + +SubscriberStateOptions* SubscriberStateOptions::New() const { + return new SubscriberStateOptions; +} + +void SubscriberStateOptions::Swap(SubscriberStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateOptions_descriptor_; + metadata.reflection = SubscriberStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateAssignment::kMemberIdFieldNumber; +const int SubscriberStateAssignment::kActiveFieldNumber; +const int SubscriberStateAssignment::kVoiceFieldNumber; +#endif // !_MSC_VER + +SubscriberStateAssignment::SubscriberStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) +} + +void SubscriberStateAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + voice_ = const_cast< ::bgs::protocol::club::v1::client::MemberVoiceState*>(&::bgs::protocol::club::v1::client::MemberVoiceState::default_instance()); +} + +SubscriberStateAssignment::SubscriberStateAssignment(const SubscriberStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) +} + +void SubscriberStateAssignment::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + active_ = false; + voice_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateAssignment::~SubscriberStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateAssignment) + SharedDtor(); +} + +void SubscriberStateAssignment::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete voice_; + } +} + +void SubscriberStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateAssignment_descriptor_; +} + +const SubscriberStateAssignment& SubscriberStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +SubscriberStateAssignment* SubscriberStateAssignment::default_instance_ = NULL; + +SubscriberStateAssignment* SubscriberStateAssignment::New() const { + return new SubscriberStateAssignment; +} + +void SubscriberStateAssignment::Swap(SubscriberStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateAssignment_descriptor_; + metadata.reflection = SubscriberStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateOptions::kAttributeFieldNumber; +const int MemberStateOptions::kPresenceLevelFieldNumber; +const int MemberStateOptions::kModeratorMuteFieldNumber; +const int MemberStateOptions::kWhisperLevelFieldNumber; +const int MemberStateOptions::kNoteFieldNumber; +#endif // !_MSC_VER + +MemberStateOptions::MemberStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateOptions) +} + +void MemberStateOptions::InitAsDefaultInstance() { +} + +MemberStateOptions::MemberStateOptions(const MemberStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateOptions) +} + +void MemberStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateOptions::~MemberStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateOptions) + SharedDtor(); +} + +void MemberStateOptions::SharedDtor() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + } +} + +void MemberStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateOptions_descriptor_; +} + +const MemberStateOptions& MemberStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberStateOptions* MemberStateOptions::default_instance_ = NULL; + +MemberStateOptions* MemberStateOptions::New() const { + return new MemberStateOptions; +} + +void MemberStateOptions::Swap(MemberStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateOptions_descriptor_; + metadata.reflection = MemberStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateAssignment::kMemberIdFieldNumber; +const int MemberStateAssignment::kAttributeFieldNumber; +const int MemberStateAssignment::kPresenceLevelFieldNumber; +const int MemberStateAssignment::kModeratorMuteFieldNumber; +const int MemberStateAssignment::kWhisperLevelFieldNumber; +const int MemberStateAssignment::kNoteFieldNumber; +#endif // !_MSC_VER + +MemberStateAssignment::MemberStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateAssignment) +} + +void MemberStateAssignment::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberStateAssignment::MemberStateAssignment(const MemberStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateAssignment) +} + +void MemberStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + member_id_ = NULL; + presence_level_ = 0; + moderator_mute_ = false; + whisper_level_ = 0; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateAssignment::~MemberStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateAssignment) + SharedDtor(); +} + +void MemberStateAssignment::SharedDtor() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (this != default_instance_) { + delete member_id_; + } +} + +void MemberStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateAssignment_descriptor_; +} + +const MemberStateAssignment& MemberStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + return *default_instance_; +} + +MemberStateAssignment* MemberStateAssignment::default_instance_ = NULL; + +MemberStateAssignment* MemberStateAssignment::New() const { + return new MemberStateAssignment; +} + +void MemberStateAssignment::Swap(MemberStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateAssignment_descriptor_; + metadata.reflection = MemberStateAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_member.pb.h b/src/server/proto/Client/api/client/v1/club_member.pb.h new file mode 100644 index 00000000000..1e08c2d8c01 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_member.pb.h @@ -0,0 +1,3440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_member.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_member_id.pb.h" // IWYU pragma: export +#include "api/common/v2/attribute_types.pb.h" +#include "api/client/v1/club_enum.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + +class Member; +class MemberResult; +class RemoveMemberOptions; +class MemberRemovedAssignment; +class MemberVoiceOptions; +class MemberVoiceState; +class CreateMemberOptions; +class MemberDescription; +class RoleOptions; +class RoleAssignment; +class MemberAttributeAssignment; +class SubscriberStateOptions; +class SubscriberStateAssignment; +class MemberStateOptions; +class MemberStateAssignment; + +// =================================================================== + +class TC_PROTO_API Member : public ::google::protobuf::Message { + public: + Member(); + virtual ~Member(); + + Member(const Member& from); + + inline Member& operator=(const Member& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Member& default_instance(); + + void Swap(Member* other); + + // implements Message ---------------------------------------------- + + Member* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // repeated uint32 role = 3 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 3; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 join_time = 5; + inline bool has_join_time() const; + inline void clear_join_time(); + static const int kJoinTimeFieldNumber = 5; + inline ::google::protobuf::uint64 join_time() const; + inline void set_join_time(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 7; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 7; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 8; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 9; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 9; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // optional bool active = 50; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 50; + inline bool active() const; + inline void set_active(bool value); + + // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 51; + inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Member) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + inline void set_has_join_time(); + inline void clear_has_join_time(); + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + inline void set_has_active(); + inline void clear_has_active(); + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 join_time_; + int presence_level_; + int whisper_level_; + ::std::string* note_; + ::bgs::protocol::club::v1::client::MemberVoiceState* voice_; + bool moderator_mute_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static Member* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberResult : public ::google::protobuf::Message { + public: + MemberResult(); + virtual ~MemberResult(); + + MemberResult(const MemberResult& from); + + inline MemberResult& operator=(const MemberResult& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberResult& default_instance(); + + void Swap(MemberResult* other); + + // implements Message ---------------------------------------------- + + MemberResult* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional uint32 status = 2; + inline bool has_status() const; + inline void clear_status(); + static const int kStatusFieldNumber = 2; + inline ::google::protobuf::uint32 status() const; + inline void set_status(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberResult) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_status(); + inline void clear_has_status(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::uint32 status_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberResult* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message { + public: + RemoveMemberOptions(); + virtual ~RemoveMemberOptions(); + + RemoveMemberOptions(const RemoveMemberOptions& from); + + inline RemoveMemberOptions& operator=(const RemoveMemberOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveMemberOptions& default_instance(); + + void Swap(RemoveMemberOptions* other); + + // implements Message ---------------------------------------------- + + RemoveMemberOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveMemberOptions) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RemoveMemberOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message { + public: + MemberRemovedAssignment(); + virtual ~MemberRemovedAssignment(); + + MemberRemovedAssignment(const MemberRemovedAssignment& from); + + inline MemberRemovedAssignment& operator=(const MemberRemovedAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRemovedAssignment& default_instance(); + + void Swap(MemberRemovedAssignment* other); + + // implements Message ---------------------------------------------- + + MemberRemovedAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedAssignment) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberRemovedAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { + public: + MemberVoiceOptions(); + virtual ~MemberVoiceOptions(); + + MemberVoiceOptions(const MemberVoiceOptions& from); + + inline MemberVoiceOptions& operator=(const MemberVoiceOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberVoiceOptions& default_instance(); + + void Swap(MemberVoiceOptions* other); + + // implements Message ---------------------------------------------- + + MemberVoiceOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool joined = 2; + inline bool has_joined() const; + inline void clear_joined(); + static const int kJoinedFieldNumber = 2; + inline bool joined() const; + inline void set_joined(bool value); + + // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3; + inline bool has_microphone() const; + inline void clear_microphone(); + static const int kMicrophoneFieldNumber = 3; + inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const; + inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value); + + // optional bool active = 4; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 4; + inline bool active() const; + inline void set_active(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceOptions) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_joined(); + inline void clear_has_joined(); + inline void set_has_microphone(); + inline void clear_has_microphone(); + inline void set_has_active(); + inline void clear_has_active(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + int microphone_; + bool joined_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberVoiceOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { + public: + MemberVoiceState(); + virtual ~MemberVoiceState(); + + MemberVoiceState(const MemberVoiceState& from); + + inline MemberVoiceState& operator=(const MemberVoiceState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberVoiceState& default_instance(); + + void Swap(MemberVoiceState* other); + + // implements Message ---------------------------------------------- + + MemberVoiceState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool joined = 3; + inline bool has_joined() const; + inline void clear_joined(); + static const int kJoinedFieldNumber = 3; + inline bool joined() const; + inline void set_joined(bool value); + + // optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4; + inline bool has_microphone() const; + inline void clear_microphone(); + static const int kMicrophoneFieldNumber = 4; + inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState microphone() const; + inline void set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value); + + // optional bool active = 5; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 5; + inline bool active() const; + inline void set_active(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberVoiceState) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_joined(); + inline void clear_has_joined(); + inline void set_has_microphone(); + inline void clear_has_microphone(); + inline void set_has_active(); + inline void clear_has_active(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::google::protobuf::uint64 stream_id_; + int microphone_; + bool joined_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberVoiceState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message { + public: + CreateMemberOptions(); + virtual ~CreateMemberOptions(); + + CreateMemberOptions(const CreateMemberOptions& from); + + inline CreateMemberOptions& operator=(const CreateMemberOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMemberOptions& default_instance(); + + void Swap(CreateMemberOptions* other); + + // implements Message ---------------------------------------------- + + CreateMemberOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint32 join_club_source = 3; + inline bool has_join_club_source() const; + inline void clear_join_club_source(); + static const int kJoinClubSourceFieldNumber = 3; + inline ::google::protobuf::uint32 join_club_source() const; + inline void set_join_club_source(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMemberOptions) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_join_club_source(); + inline void clear_has_join_club_source(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint32 join_club_source_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static CreateMemberOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberDescription : public ::google::protobuf::Message { + public: + MemberDescription(); + virtual ~MemberDescription(); + + MemberDescription(const MemberDescription& from); + + inline MemberDescription& operator=(const MemberDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberDescription& default_instance(); + + void Swap(MemberDescription* other); + + // implements Message ---------------------------------------------- + + MemberDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_id(); + inline ::bgs::protocol::club::v1::MemberId* release_id(); + inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); + + // optional string battle_tag = 2; + inline bool has_battle_tag() const; + inline void clear_battle_tag(); + static const int kBattleTagFieldNumber = 2; + inline const ::std::string& battle_tag() const; + inline void set_battle_tag(const ::std::string& value); + inline void set_battle_tag(const char* value); + inline void set_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_battle_tag(); + inline ::std::string* release_battle_tag(); + inline void set_allocated_battle_tag(::std::string* battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_battle_tag(); + inline void clear_has_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* id_; + ::std::string* battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RoleOptions : public ::google::protobuf::Message { + public: + RoleOptions(); + virtual ~RoleOptions(); + + RoleOptions(const RoleOptions& from); + + inline RoleOptions& operator=(const RoleOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RoleOptions& default_instance(); + + void Swap(RoleOptions* other); + + // implements Message ---------------------------------------------- + + RoleOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleOptions) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RoleOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message { + public: + RoleAssignment(); + virtual ~RoleAssignment(); + + RoleAssignment(const RoleAssignment& from); + + inline RoleAssignment& operator=(const RoleAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RoleAssignment& default_instance(); + + void Swap(RoleAssignment* other); + + // implements Message ---------------------------------------------- + + RoleAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated uint32 role = 2 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 2; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RoleAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static RoleAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Message { + public: + MemberAttributeAssignment(); + virtual ~MemberAttributeAssignment(); + + MemberAttributeAssignment(const MemberAttributeAssignment& from); + + inline MemberAttributeAssignment& operator=(const MemberAttributeAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAttributeAssignment& default_instance(); + + void Swap(MemberAttributeAssignment* other); + + // implements Message ---------------------------------------------- + + MemberAttributeAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAttributeAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberAttributeAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message { + public: + SubscriberStateOptions(); + virtual ~SubscriberStateOptions(); + + SubscriberStateOptions(const SubscriberStateOptions& from); + + inline SubscriberStateOptions& operator=(const SubscriberStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateOptions& default_instance(); + + void Swap(SubscriberStateOptions* other); + + // implements Message ---------------------------------------------- + + SubscriberStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateOptions) + private: + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::MemberVoiceOptions* voice_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Message { + public: + SubscriberStateAssignment(); + virtual ~SubscriberStateAssignment(); + + SubscriberStateAssignment(const SubscriberStateAssignment& from); + + inline SubscriberStateAssignment& operator=(const SubscriberStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateAssignment& default_instance(); + + void Swap(SubscriberStateAssignment* other); + + // implements Message ---------------------------------------------- + + SubscriberStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional bool active = 2; + inline bool has_active() const; + inline void clear_active(); + static const int kActiveFieldNumber = 2; + inline bool active() const; + inline void set_active(bool value); + + // optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MemberVoiceState& voice() const; + inline ::bgs::protocol::club::v1::client::MemberVoiceState* mutable_voice(); + inline ::bgs::protocol::club::v1::client::MemberVoiceState* release_voice(); + inline void set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_active(); + inline void clear_has_active(); + inline void set_has_voice(); + inline void clear_has_voice(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::MemberVoiceState* voice_; + bool active_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { + public: + MemberStateOptions(); + virtual ~MemberStateOptions(); + + MemberStateOptions(const MemberStateOptions& from); + + inline MemberStateOptions& operator=(const MemberStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateOptions& default_instance(); + + void Swap(MemberStateOptions* other); + + // implements Message ---------------------------------------------- + + MemberStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 2; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 3; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 3; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 4; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 5; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 5; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateOptions) + private: + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int presence_level_; + bool moderator_mute_; + ::std::string* note_; + int whisper_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { + public: + MemberStateAssignment(); + virtual ~MemberStateAssignment(); + + MemberStateAssignment(const MemberStateAssignment& from); + + inline MemberStateAssignment& operator=(const MemberStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateAssignment& default_instance(); + + void Swap(MemberStateAssignment* other); + + // implements Message ---------------------------------------------- + + MemberStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3; + inline bool has_presence_level() const; + inline void clear_presence_level(); + static const int kPresenceLevelFieldNumber = 3; + inline ::bgs::protocol::club::v1::client::PresenceLevel presence_level() const; + inline void set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value); + + // optional bool moderator_mute = 4; + inline bool has_moderator_mute() const; + inline void clear_moderator_mute(); + static const int kModeratorMuteFieldNumber = 4; + inline bool moderator_mute() const; + inline void set_moderator_mute(bool value); + + // optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5; + inline bool has_whisper_level() const; + inline void clear_whisper_level(); + static const int kWhisperLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::WhisperLevel whisper_level() const; + inline void set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value); + + // optional string note = 6; + inline bool has_note() const; + inline void clear_note(); + static const int kNoteFieldNumber = 6; + inline const ::std::string& note() const; + inline void set_note(const ::std::string& value); + inline void set_note(const char* value); + inline void set_note(const char* value, size_t size); + inline ::std::string* mutable_note(); + inline ::std::string* release_note(); + inline void set_allocated_note(::std::string* note); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateAssignment) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_presence_level(); + inline void clear_has_presence_level(); + inline void set_has_moderator_mute(); + inline void clear_has_moderator_mute(); + inline void set_has_whisper_level(); + inline void clear_has_whisper_level(); + inline void set_has_note(); + inline void clear_has_note(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int presence_level_; + bool moderator_mute_; + ::std::string* note_; + int whisper_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Member + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool Member::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Member::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Member::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Member::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& Member::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* Member::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* Member::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void Member::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.id) +} + +// optional string battle_tag = 2; +inline bool Member::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Member::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void Member::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Member::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& Member::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.battle_tag) + return *battle_tag_; +} +inline void Member::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline void Member::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline void Member::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.battle_tag) +} +inline ::std::string* Member::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.battle_tag) + return battle_tag_; +} +inline ::std::string* Member::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Member::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.battle_tag) +} + +// repeated uint32 role = 3 [packed = true]; +inline int Member::role_size() const { + return role_.size(); +} +inline void Member::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 Member::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.role) + return role_.Get(index); +} +inline void Member::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.role) +} +inline void Member::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +Member::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +Member::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.role) + return &role_; +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int Member::attribute_size() const { + return attribute_.size(); +} +inline void Member::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Member::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Member::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Member::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Member.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Member::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Member.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Member::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Member.attribute) + return &attribute_; +} + +// optional uint64 join_time = 5; +inline bool Member::has_join_time() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Member::set_has_join_time() { + _has_bits_[0] |= 0x00000010u; +} +inline void Member::clear_has_join_time() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Member::clear_join_time() { + join_time_ = GOOGLE_ULONGLONG(0); + clear_has_join_time(); +} +inline ::google::protobuf::uint64 Member::join_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.join_time) + return join_time_; +} +inline void Member::set_join_time(::google::protobuf::uint64 value) { + set_has_join_time(); + join_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.join_time) +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 6; +inline bool Member::has_presence_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Member::set_has_presence_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void Member::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Member::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel Member::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void Member::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.presence_level) +} + +// optional bool moderator_mute = 7; +inline bool Member::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Member::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000040u; +} +inline void Member::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Member::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool Member::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.moderator_mute) + return moderator_mute_; +} +inline void Member::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 8; +inline bool Member::has_whisper_level() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Member::set_has_whisper_level() { + _has_bits_[0] |= 0x00000080u; +} +inline void Member::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Member::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel Member::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void Member::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.whisper_level) +} + +// optional string note = 9; +inline bool Member::has_note() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void Member::set_has_note() { + _has_bits_[0] |= 0x00000100u; +} +inline void Member::clear_has_note() { + _has_bits_[0] &= ~0x00000100u; +} +inline void Member::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& Member::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.note) + return *note_; +} +inline void Member::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.note) +} +inline void Member::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Member.note) +} +inline void Member::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Member.note) +} +inline ::std::string* Member::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.note) + return note_; +} +inline ::std::string* Member::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Member::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.note) +} + +// optional bool active = 50; +inline bool Member::has_active() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void Member::set_has_active() { + _has_bits_[0] |= 0x00000200u; +} +inline void Member::clear_has_active() { + _has_bits_[0] &= ~0x00000200u; +} +inline void Member::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool Member::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.active) + return active_; +} +inline void Member::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Member.active) +} + +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 51; +inline bool Member::has_voice() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void Member::set_has_voice() { + _has_bits_[0] |= 0x00000400u; +} +inline void Member::clear_has_voice() { + _has_bits_[0] &= ~0x00000400u; +} +inline void Member::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceState& Member::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Member.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Member.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* Member::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; + voice_ = NULL; + return temp; +} +inline void Member::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Member.voice) +} + +// ------------------------------------------------------------------- + +// MemberResult + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberResult::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberResult::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberResult::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberResult::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberResult::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberResult::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberResult.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberResult::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberResult::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberResult.member_id) +} + +// optional uint32 status = 2; +inline bool MemberResult::has_status() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberResult::set_has_status() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberResult::clear_has_status() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberResult::clear_status() { + status_ = 0u; + clear_has_status(); +} +inline ::google::protobuf::uint32 MemberResult::status() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberResult.status) + return status_; +} +inline void MemberResult::set_status(::google::protobuf::uint32 value) { + set_has_status(); + status_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberResult.status) +} + +// ------------------------------------------------------------------- + +// RemoveMemberOptions + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool RemoveMemberOptions::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveMemberOptions::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveMemberOptions::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveMemberOptions::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveMemberOptions::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveMemberOptions.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void RemoveMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveMemberOptions.id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; +inline bool RemoveMemberOptions::has_reason() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RemoveMemberOptions::set_has_reason() { + _has_bits_[0] |= 0x00000002u; +} +inline void RemoveMemberOptions::clear_has_reason() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RemoveMemberOptions::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason RemoveMemberOptions::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveMemberOptions.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void RemoveMemberOptions::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveMemberOptions.reason) +} + +// ------------------------------------------------------------------- + +// MemberRemovedAssignment + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool MemberRemovedAssignment::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRemovedAssignment::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRemovedAssignment::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRemovedAssignment::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedAssignment::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void MemberRemovedAssignment::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedAssignment.id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 2; +inline bool MemberRemovedAssignment::has_reason() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRemovedAssignment::set_has_reason() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRemovedAssignment::clear_has_reason() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRemovedAssignment::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason MemberRemovedAssignment::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void MemberRemovedAssignment::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedAssignment.reason) +} + +// ------------------------------------------------------------------- + +// MemberVoiceOptions + +// optional uint64 stream_id = 1; +inline bool MemberVoiceOptions::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberVoiceOptions::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberVoiceOptions::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberVoiceOptions::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 MemberVoiceOptions::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id) + return stream_id_; +} +inline void MemberVoiceOptions::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.stream_id) +} + +// optional bool joined = 2; +inline bool MemberVoiceOptions::has_joined() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberVoiceOptions::set_has_joined() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberVoiceOptions::clear_has_joined() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberVoiceOptions::clear_joined() { + joined_ = false; + clear_has_joined(); +} +inline bool MemberVoiceOptions::joined() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.joined) + return joined_; +} +inline void MemberVoiceOptions::set_joined(bool value) { + set_has_joined(); + joined_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.joined) +} + +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 3; +inline bool MemberVoiceOptions::has_microphone() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberVoiceOptions::set_has_microphone() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberVoiceOptions::clear_has_microphone() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberVoiceOptions::clear_microphone() { + microphone_ = 0; + clear_has_microphone(); +} +inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceOptions::microphone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone) + return static_cast< ::bgs::protocol::club::v1::client::VoiceMicrophoneState >(microphone_); +} +inline void MemberVoiceOptions::set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value) { + assert(::bgs::protocol::club::v1::client::VoiceMicrophoneState_IsValid(value)); + set_has_microphone(); + microphone_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.microphone) +} + +// optional bool active = 4; +inline bool MemberVoiceOptions::has_active() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberVoiceOptions::set_has_active() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberVoiceOptions::clear_has_active() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberVoiceOptions::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool MemberVoiceOptions::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceOptions.active) + return active_; +} +inline void MemberVoiceOptions::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceOptions.active) +} + +// ------------------------------------------------------------------- + +// MemberVoiceState + +// optional string id = 1; +inline bool MemberVoiceState::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberVoiceState::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberVoiceState::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberVoiceState::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& MemberVoiceState::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.id) + return *id_; +} +inline void MemberVoiceState::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline void MemberVoiceState::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline void MemberVoiceState::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberVoiceState.id) +} +inline ::std::string* MemberVoiceState::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberVoiceState.id) + return id_; +} +inline ::std::string* MemberVoiceState::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberVoiceState::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberVoiceState.id) +} + +// optional uint64 stream_id = 2; +inline bool MemberVoiceState::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberVoiceState::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberVoiceState::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberVoiceState::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 MemberVoiceState::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.stream_id) + return stream_id_; +} +inline void MemberVoiceState::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.stream_id) +} + +// optional bool joined = 3; +inline bool MemberVoiceState::has_joined() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberVoiceState::set_has_joined() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberVoiceState::clear_has_joined() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberVoiceState::clear_joined() { + joined_ = false; + clear_has_joined(); +} +inline bool MemberVoiceState::joined() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.joined) + return joined_; +} +inline void MemberVoiceState::set_joined(bool value) { + set_has_joined(); + joined_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.joined) +} + +// optional .bgs.protocol.club.v1.client.VoiceMicrophoneState microphone = 4; +inline bool MemberVoiceState::has_microphone() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberVoiceState::set_has_microphone() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberVoiceState::clear_has_microphone() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberVoiceState::clear_microphone() { + microphone_ = 0; + clear_has_microphone(); +} +inline ::bgs::protocol::club::v1::client::VoiceMicrophoneState MemberVoiceState::microphone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.microphone) + return static_cast< ::bgs::protocol::club::v1::client::VoiceMicrophoneState >(microphone_); +} +inline void MemberVoiceState::set_microphone(::bgs::protocol::club::v1::client::VoiceMicrophoneState value) { + assert(::bgs::protocol::club::v1::client::VoiceMicrophoneState_IsValid(value)); + set_has_microphone(); + microphone_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.microphone) +} + +// optional bool active = 5; +inline bool MemberVoiceState::has_active() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberVoiceState::set_has_active() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberVoiceState::clear_has_active() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberVoiceState::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool MemberVoiceState::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberVoiceState.active) + return active_; +} +inline void MemberVoiceState::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberVoiceState.active) +} + +// ------------------------------------------------------------------- + +// CreateMemberOptions + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool CreateMemberOptions::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMemberOptions::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMemberOptions::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMemberOptions::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateMemberOptions::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void CreateMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMemberOptions.id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int CreateMemberOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateMemberOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateMemberOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateMemberOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateMemberOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateMemberOptions.attribute) + return &attribute_; +} + +// optional uint32 join_club_source = 3; +inline bool CreateMemberOptions::has_join_club_source() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateMemberOptions::set_has_join_club_source() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateMemberOptions::clear_has_join_club_source() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateMemberOptions::clear_join_club_source() { + join_club_source_ = 0u; + clear_has_join_club_source(); +} +inline ::google::protobuf::uint32 CreateMemberOptions::join_club_source() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source) + return join_club_source_; +} +inline void CreateMemberOptions::set_join_club_source(::google::protobuf::uint32 value) { + set_has_join_club_source(); + join_club_source_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMemberOptions.join_club_source) +} + +// ------------------------------------------------------------------- + +// MemberDescription + +// optional .bgs.protocol.club.v1.MemberId id = 1; +inline bool MemberDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberDescription::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberDescription::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.id) + return id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberDescription::release_id() { + clear_has_id(); + ::bgs::protocol::club::v1::MemberId* temp = id_; + id_ = NULL; + return temp; +} +inline void MemberDescription::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.id) +} + +// optional string battle_tag = 2; +inline bool MemberDescription::has_battle_tag() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberDescription::set_has_battle_tag() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberDescription::clear_has_battle_tag() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberDescription::clear_battle_tag() { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_->clear(); + } + clear_has_battle_tag(); +} +inline const ::std::string& MemberDescription::battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberDescription.battle_tag) + return *battle_tag_; +} +inline void MemberDescription::set_battle_tag(const ::std::string& value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline void MemberDescription::set_battle_tag(const char* value) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline void MemberDescription::set_battle_tag(const char* value, size_t size) { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} +inline ::std::string* MemberDescription::mutable_battle_tag() { + set_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberDescription.battle_tag) + return battle_tag_; +} +inline ::std::string* MemberDescription::release_battle_tag() { + clear_has_battle_tag(); + if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = battle_tag_; + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberDescription::set_allocated_battle_tag(::std::string* battle_tag) { + if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete battle_tag_; + } + if (battle_tag) { + set_has_battle_tag(); + battle_tag_ = battle_tag; + } else { + clear_has_battle_tag(); + battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberDescription.battle_tag) +} + +// ------------------------------------------------------------------- + +// RoleOptions + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool RoleOptions::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RoleOptions::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RoleOptions::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RoleOptions::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RoleOptions::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleOptions::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleOptions.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleOptions::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void RoleOptions::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleOptions.member_id) +} + +// repeated uint32 role = 2 [packed = true]; +inline int RoleOptions::role_size() const { + return role_.size(); +} +inline void RoleOptions::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 RoleOptions::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleOptions.role) + return role_.Get(index); +} +inline void RoleOptions::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleOptions.role) +} +inline void RoleOptions::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleOptions.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +RoleOptions::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleOptions.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +RoleOptions::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleOptions.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// RoleAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool RoleAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RoleAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RoleAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RoleAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RoleAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RoleAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void RoleAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RoleAssignment.member_id) +} + +// repeated uint32 role = 2 [packed = true]; +inline int RoleAssignment::role_size() const { + return role_.size(); +} +inline void RoleAssignment::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 RoleAssignment::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RoleAssignment.role) + return role_.Get(index); +} +inline void RoleAssignment::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RoleAssignment.role) +} +inline void RoleAssignment::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.RoleAssignment.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +RoleAssignment::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.RoleAssignment.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +RoleAssignment::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.RoleAssignment.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// MemberAttributeAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberAttributeAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAttributeAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAttributeAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAttributeAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberAttributeAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberAttributeAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAttributeAssignment.member_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int MemberAttributeAssignment::attribute_size() const { + return attribute_.size(); +} +inline void MemberAttributeAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberAttributeAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberAttributeAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberAttributeAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAttributeAssignment.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// SubscriberStateOptions + +// optional .bgs.protocol.club.v1.client.MemberVoiceOptions voice = 1; +inline bool SubscriberStateOptions::has_voice() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateOptions::set_has_voice() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateOptions::clear_has_voice() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateOptions::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceOptions::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceOptions& SubscriberStateOptions::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceOptions* SubscriberStateOptions::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceOptions* temp = voice_; + voice_ = NULL; + return temp; +} +inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceOptions* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateOptions.voice) +} + +// ------------------------------------------------------------------- + +// SubscriberStateAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool SubscriberStateAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void SubscriberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.member_id) +} + +// optional bool active = 2; +inline bool SubscriberStateAssignment::has_active() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberStateAssignment::set_has_active() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberStateAssignment::clear_has_active() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberStateAssignment::clear_active() { + active_ = false; + clear_has_active(); +} +inline bool SubscriberStateAssignment::active() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.active) + return active_; +} +inline void SubscriberStateAssignment::set_active(bool value) { + set_has_active(); + active_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateAssignment.active) +} + +// optional .bgs.protocol.club.v1.client.MemberVoiceState voice = 3; +inline bool SubscriberStateAssignment::has_voice() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscriberStateAssignment::set_has_voice() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscriberStateAssignment::clear_has_voice() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscriberStateAssignment::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::club::v1::client::MemberVoiceState::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::club::v1::client::MemberVoiceState& SubscriberStateAssignment::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::client::MemberVoiceState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) + return voice_; +} +inline ::bgs::protocol::club::v1::client::MemberVoiceState* SubscriberStateAssignment::release_voice() { + clear_has_voice(); + ::bgs::protocol::club::v1::client::MemberVoiceState* temp = voice_; + voice_ = NULL; + return temp; +} +inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club::v1::client::MemberVoiceState* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateAssignment.voice) +} + +// ------------------------------------------------------------------- + +// MemberStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int MemberStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void MemberStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateOptions.attribute) + return &attribute_; +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 2; +inline bool MemberStateOptions::has_presence_level() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberStateOptions::set_has_presence_level() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberStateOptions::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberStateOptions::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateOptions::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void MemberStateOptions::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.presence_level) +} + +// optional bool moderator_mute = 3; +inline bool MemberStateOptions::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberStateOptions::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberStateOptions::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberStateOptions::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool MemberStateOptions::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute) + return moderator_mute_; +} +inline void MemberStateOptions::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 4; +inline bool MemberStateOptions::has_whisper_level() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberStateOptions::set_has_whisper_level() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberStateOptions::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberStateOptions::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateOptions::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void MemberStateOptions::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.whisper_level) +} + +// optional string note = 5; +inline bool MemberStateOptions::has_note() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberStateOptions::set_has_note() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberStateOptions::clear_has_note() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberStateOptions::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& MemberStateOptions::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateOptions.note) + return *note_; +} +inline void MemberStateOptions::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline void MemberStateOptions::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline void MemberStateOptions::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateOptions.note) +} +inline ::std::string* MemberStateOptions::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateOptions.note) + return note_; +} +inline ::std::string* MemberStateOptions::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberStateOptions::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateOptions.note) +} + +// ------------------------------------------------------------------- + +// MemberStateAssignment + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool MemberStateAssignment::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberStateAssignment::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberStateAssignment::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberStateAssignment::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberStateAssignment::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void MemberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.member_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int MemberStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void MemberStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& MemberStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +MemberStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +MemberStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateAssignment.attribute) + return &attribute_; +} + +// optional .bgs.protocol.club.v1.client.PresenceLevel presence_level = 3; +inline bool MemberStateAssignment::has_presence_level() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberStateAssignment::set_has_presence_level() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberStateAssignment::clear_has_presence_level() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberStateAssignment::clear_presence_level() { + presence_level_ = 0; + clear_has_presence_level(); +} +inline ::bgs::protocol::club::v1::client::PresenceLevel MemberStateAssignment::presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level) + return static_cast< ::bgs::protocol::club::v1::client::PresenceLevel >(presence_level_); +} +inline void MemberStateAssignment::set_presence_level(::bgs::protocol::club::v1::client::PresenceLevel value) { + assert(::bgs::protocol::club::v1::client::PresenceLevel_IsValid(value)); + set_has_presence_level(); + presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.presence_level) +} + +// optional bool moderator_mute = 4; +inline bool MemberStateAssignment::has_moderator_mute() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void MemberStateAssignment::set_has_moderator_mute() { + _has_bits_[0] |= 0x00000008u; +} +inline void MemberStateAssignment::clear_has_moderator_mute() { + _has_bits_[0] &= ~0x00000008u; +} +inline void MemberStateAssignment::clear_moderator_mute() { + moderator_mute_ = false; + clear_has_moderator_mute(); +} +inline bool MemberStateAssignment::moderator_mute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute) + return moderator_mute_; +} +inline void MemberStateAssignment::set_moderator_mute(bool value) { + set_has_moderator_mute(); + moderator_mute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.moderator_mute) +} + +// optional .bgs.protocol.club.v1.client.WhisperLevel whisper_level = 5; +inline bool MemberStateAssignment::has_whisper_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void MemberStateAssignment::set_has_whisper_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void MemberStateAssignment::clear_has_whisper_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void MemberStateAssignment::clear_whisper_level() { + whisper_level_ = 0; + clear_has_whisper_level(); +} +inline ::bgs::protocol::club::v1::client::WhisperLevel MemberStateAssignment::whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level) + return static_cast< ::bgs::protocol::club::v1::client::WhisperLevel >(whisper_level_); +} +inline void MemberStateAssignment::set_whisper_level(::bgs::protocol::club::v1::client::WhisperLevel value) { + assert(::bgs::protocol::club::v1::client::WhisperLevel_IsValid(value)); + set_has_whisper_level(); + whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.whisper_level) +} + +// optional string note = 6; +inline bool MemberStateAssignment::has_note() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void MemberStateAssignment::set_has_note() { + _has_bits_[0] |= 0x00000020u; +} +inline void MemberStateAssignment::clear_has_note() { + _has_bits_[0] &= ~0x00000020u; +} +inline void MemberStateAssignment::clear_note() { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_->clear(); + } + clear_has_note(); +} +inline const ::std::string& MemberStateAssignment::note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateAssignment.note) + return *note_; +} +inline void MemberStateAssignment::set_note(const ::std::string& value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline void MemberStateAssignment::set_note(const char* value) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline void MemberStateAssignment::set_note(const char* value, size_t size) { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + note_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} +inline ::std::string* MemberStateAssignment::mutable_note() { + set_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + note_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateAssignment.note) + return note_; +} +inline ::std::string* MemberStateAssignment::release_note() { + clear_has_note(); + if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = note_; + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void MemberStateAssignment::set_allocated_note(::std::string* note) { + if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete note_; + } + if (note) { + set_has_note(); + note_ = note; + } else { + clear_has_note(); + note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateAssignment.note) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmember_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc new file mode 100644 index 00000000000..d6247643f2a --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.cc @@ -0,0 +1,1050 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ReceivedInvitationAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ReceivedInvitationRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SharedSettingsChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SharedSettingsChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionAdvanceViewTimeNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* ClubMembershipListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_listener.proto"); + GOOGLE_CHECK(file != NULL); + ClubAddedNotification_descriptor_ = file->message_type(0); + static const int ClubAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, membership_), + }; + ClubAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubAddedNotification_descriptor_, + ClubAddedNotification::default_instance_, + ClubAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubAddedNotification)); + ClubRemovedNotification_descriptor_ = file->message_type(1); + static const int ClubRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, reason_), + }; + ClubRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRemovedNotification_descriptor_, + ClubRemovedNotification::default_instance_, + ClubRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRemovedNotification)); + ReceivedInvitationAddedNotification_descriptor_ = file->message_type(2); + static const int ReceivedInvitationAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, invitation_), + }; + ReceivedInvitationAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ReceivedInvitationAddedNotification_descriptor_, + ReceivedInvitationAddedNotification::default_instance_, + ReceivedInvitationAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ReceivedInvitationAddedNotification)); + ReceivedInvitationRemovedNotification_descriptor_ = file->message_type(3); + static const int ReceivedInvitationRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, invitation_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, reason_), + }; + ReceivedInvitationRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ReceivedInvitationRemovedNotification_descriptor_, + ReceivedInvitationRemovedNotification::default_instance_, + ReceivedInvitationRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ReceivedInvitationRemovedNotification)); + SharedSettingsChangedNotification_descriptor_ = file->message_type(4); + static const int SharedSettingsChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, assignment_), + }; + SharedSettingsChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SharedSettingsChangedNotification_descriptor_, + SharedSettingsChangedNotification::default_instance_, + SharedSettingsChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SharedSettingsChangedNotification)); + StreamMentionAddedNotification_descriptor_ = file->message_type(5); + static const int StreamMentionAddedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, mention_), + }; + StreamMentionAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionAddedNotification_descriptor_, + StreamMentionAddedNotification::default_instance_, + StreamMentionAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionAddedNotification)); + StreamMentionRemovedNotification_descriptor_ = file->message_type(6); + static const int StreamMentionRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, mention_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, agent_id_), + }; + StreamMentionRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionRemovedNotification_descriptor_, + StreamMentionRemovedNotification::default_instance_, + StreamMentionRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionRemovedNotification)); + StreamMentionAdvanceViewTimeNotification_descriptor_ = file->message_type(7); + static const int StreamMentionAdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, view_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, agent_id_), + }; + StreamMentionAdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionAdvanceViewTimeNotification_descriptor_, + StreamMentionAdvanceViewTimeNotification::default_instance_, + StreamMentionAdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionAdvanceViewTimeNotification)); + ClubMembershipListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubAddedNotification_descriptor_, &ClubAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRemovedNotification_descriptor_, &ClubRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ReceivedInvitationAddedNotification_descriptor_, &ReceivedInvitationAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ReceivedInvitationRemovedNotification_descriptor_, &ReceivedInvitationRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SharedSettingsChangedNotification_descriptor_, &SharedSettingsChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionAddedNotification_descriptor_, &StreamMentionAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionRemovedNotification_descriptor_, &StreamMentionRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionAdvanceViewTimeNotification_descriptor_, &StreamMentionAdvanceViewTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + delete ClubAddedNotification::default_instance_; + delete ClubAddedNotification_reflection_; + delete ClubRemovedNotification::default_instance_; + delete ClubRemovedNotification_reflection_; + delete ReceivedInvitationAddedNotification::default_instance_; + delete ReceivedInvitationAddedNotification_reflection_; + delete ReceivedInvitationRemovedNotification::default_instance_; + delete ReceivedInvitationRemovedNotification_reflection_; + delete SharedSettingsChangedNotification::default_instance_; + delete SharedSettingsChangedNotification_reflection_; + delete StreamMentionAddedNotification::default_instance_; + delete StreamMentionAddedNotification_reflection_; + delete StreamMentionRemovedNotification::default_instance_; + delete StreamMentionRemovedNotification_reflection_; + delete StreamMentionAdvanceViewTimeNotification::default_instance_; + delete StreamMentionAdvanceViewTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n,api/client/v1/club_membership_listener" + ".proto\022&bgs.protocol.club_membership.v1." + "client\032\036api/client/v1/club_types.proto\032$" + "api/common/v1/invitation_types.proto\"\240\001\n" + "\025ClubAddedNotification\0220\n\010agent_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022U\n\nmemb" + "ership\030\003 \001(\0132A.bgs.protocol.club_members" + "hip.v1.client.ClubMembershipDescription\"" + "\317\001\n\027ClubRemovedNotification\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\0221\n" + "\tmember_id\030\003 \001(\0132\036.bgs.protocol.club.v1." + "MemberId\022\017\n\007club_id\030\004 \001(\004\022>\n\006reason\030\005 \001(" + "\0162..bgs.protocol.club.v1.client.ClubRemo" + "vedReason\"\230\001\n#ReceivedInvitationAddedNot" + "ification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\?\n\ninvitation\030\003 \001(\0132" + "+.bgs.protocol.club.v1.client.ClubInvita" + "tion\"\247\001\n%ReceivedInvitationRemovedNotifi" + "cation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\025\n\rinvitation_id\030\003 \001(\006\022" + "5\n\006reason\030\004 \001(\0162%.bgs.protocol.Invitatio" + "nRemovedReason\"\332\001\n!SharedSettingsChanged" + "Notification\022I\n\023agent_id_deprecated\030\001 \001(" + "\0132\".bgs.protocol.account.v1.AccountIdB\010\030" + "\001\222\371+\002 \001\022\020\n\010agent_id\030\003 \001(\004\022X\n\nassignment\030" + "\004 \001(\0132D.bgs.protocol.club_membership.v1." + "client.ClubSharedSettingsAssignment\"\217\001\n\036" + "StreamMentionAddedNotification\0220\n\010agent_" + "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" + "\022;\n\007mention\030\003 \001(\0132*.bgs.protocol.club.v1" + ".client.StreamMention\"\257\001\n StreamMentionR" + "emovedNotification\022I\n\023agent_id_deprecate" + "d\030\001 \001(\0132\".bgs.protocol.account.v1.Accoun" + "tIdB\010\030\001\222\371+\002 \001\022.\n\nmention_id\030\003 \001(\0132\032.bgs." + "protocol.TimeSeriesId\022\020\n\010agent_id\030\004 \001(\004\"" + "\232\001\n(StreamMentionAdvanceViewTimeNotifica" + "tion\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022" + "\021\n\tview_time\030\003 \001(\004\022\020\n\010agent_id\030\004 \001(\0042\232\t\n" + "\026ClubMembershipListener\022q\n\013OnClubAdded\022=" + ".bgs.protocol.club_membership.v1.client." + "ClubAddedNotification\032\031.bgs.protocol.NO_" + "RESPONSE\"\010\202\371+\004\010\001\030\001\022u\n\rOnClubRemoved\022\?.bg" + "s.protocol.club_membership.v1.client.Clu" + "bRemovedNotification\032\031.bgs.protocol.NO_R" + "ESPONSE\"\010\202\371+\004\010\002\030\001\022\215\001\n\031OnReceivedInvitati" + "onAdded\022K.bgs.protocol.club_membership.v" + "1.client.ReceivedInvitationAddedNotifica" + "tion\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\003\030" + "\001\022\221\001\n\033OnReceivedInvitationRemoved\022M.bgs." + "protocol.club_membership.v1.client.Recei" + "vedInvitationRemovedNotification\032\031.bgs.p" + "rotocol.NO_RESPONSE\"\010\202\371+\004\010\004\030\001\022\211\001\n\027OnShar" + "edSettingsChanged\022I.bgs.protocol.club_me" + "mbership.v1.client.SharedSettingsChanged" + "Notification\032\031.bgs.protocol.NO_RESPONSE\"" + "\010\202\371+\004\010\005\030\001\022\203\001\n\024OnStreamMentionAdded\022F.bgs" + ".protocol.club_membership.v1.client.Stre" + "amMentionAddedNotification\032\031.bgs.protoco" + "l.NO_RESPONSE\"\010\202\371+\004\010\006\030\001\022\207\001\n\026OnStreamMent" + "ionRemoved\022H.bgs.protocol.club_membershi" + "p.v1.client.StreamMentionRemovedNotifica" + "tion\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\007\030" + "\001\022\227\001\n\036OnStreamMentionAdvanceViewTime\022P.b" + "gs.protocol.club_membership.v1.client.St" + "reamMentionAdvanceViewTimeNotification\032\031" + ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\010\030\001\032<\202\371+" + "0\n,bnet.protocol.club.v1.ClubMembershipL" + "istener8\001\212\371+\004\010\001\030\001B\005H\002\200\001\000", 2744); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_listener.proto", &protobuf_RegisterTypes); + ClubAddedNotification::default_instance_ = new ClubAddedNotification(); + ClubRemovedNotification::default_instance_ = new ClubRemovedNotification(); + ReceivedInvitationAddedNotification::default_instance_ = new ReceivedInvitationAddedNotification(); + ReceivedInvitationRemovedNotification::default_instance_ = new ReceivedInvitationRemovedNotification(); + SharedSettingsChangedNotification::default_instance_ = new SharedSettingsChangedNotification(); + StreamMentionAddedNotification::default_instance_ = new StreamMentionAddedNotification(); + StreamMentionRemovedNotification::default_instance_ = new StreamMentionRemovedNotification(); + StreamMentionAdvanceViewTimeNotification::default_instance_ = new StreamMentionAdvanceViewTimeNotification(); + ClubAddedNotification::default_instance_->InitAsDefaultInstance(); + ClubRemovedNotification::default_instance_->InitAsDefaultInstance(); + ReceivedInvitationAddedNotification::default_instance_->InitAsDefaultInstance(); + ReceivedInvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); + SharedSettingsChangedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamMentionAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubAddedNotification::kAgentIdFieldNumber; +const int ClubAddedNotification::kMembershipFieldNumber; +#endif // !_MSC_VER + +ClubAddedNotification::ClubAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) +} + +void ClubAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + membership_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipDescription::default_instance()); +} + +ClubAddedNotification::ClubAddedNotification(const ClubAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) +} + +void ClubAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + membership_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubAddedNotification::~ClubAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubAddedNotification) + SharedDtor(); +} + +void ClubAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete membership_; + } +} + +void ClubAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubAddedNotification_descriptor_; +} + +const ClubAddedNotification& ClubAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ClubAddedNotification* ClubAddedNotification::default_instance_ = NULL; + +ClubAddedNotification* ClubAddedNotification::New() const { + return new ClubAddedNotification; +} + +void ClubAddedNotification::Swap(ClubAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubAddedNotification_descriptor_; + metadata.reflection = ClubAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRemovedNotification::kAgentIdFieldNumber; +const int ClubRemovedNotification::kMemberIdFieldNumber; +const int ClubRemovedNotification::kClubIdFieldNumber; +const int ClubRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +ClubRemovedNotification::ClubRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) +} + +void ClubRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +ClubRemovedNotification::ClubRemovedNotification(const ClubRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) +} + +void ClubRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + member_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRemovedNotification::~ClubRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) + SharedDtor(); +} + +void ClubRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + } +} + +void ClubRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRemovedNotification_descriptor_; +} + +const ClubRemovedNotification& ClubRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ClubRemovedNotification* ClubRemovedNotification::default_instance_ = NULL; + +ClubRemovedNotification* ClubRemovedNotification::New() const { + return new ClubRemovedNotification; +} + +void ClubRemovedNotification::Swap(ClubRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRemovedNotification_descriptor_; + metadata.reflection = ClubRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ReceivedInvitationAddedNotification::kAgentIdFieldNumber; +const int ReceivedInvitationAddedNotification::kInvitationFieldNumber; +#endif // !_MSC_VER + +ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) +} + +void ReceivedInvitationAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) +} + +void ReceivedInvitationAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ReceivedInvitationAddedNotification::~ReceivedInvitationAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) + SharedDtor(); +} + +void ReceivedInvitationAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete invitation_; + } +} + +void ReceivedInvitationAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ReceivedInvitationAddedNotification_descriptor_; +} + +const ReceivedInvitationAddedNotification& ReceivedInvitationAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::default_instance_ = NULL; + +ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::New() const { + return new ReceivedInvitationAddedNotification; +} + +void ReceivedInvitationAddedNotification::Swap(ReceivedInvitationAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ReceivedInvitationAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ReceivedInvitationAddedNotification_descriptor_; + metadata.reflection = ReceivedInvitationAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ReceivedInvitationRemovedNotification::kAgentIdFieldNumber; +const int ReceivedInvitationRemovedNotification::kInvitationIdFieldNumber; +const int ReceivedInvitationRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) +} + +void ReceivedInvitationRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) +} + +void ReceivedInvitationRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + invitation_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ReceivedInvitationRemovedNotification::~ReceivedInvitationRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) + SharedDtor(); +} + +void ReceivedInvitationRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void ReceivedInvitationRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ReceivedInvitationRemovedNotification_descriptor_; +} + +const ReceivedInvitationRemovedNotification& ReceivedInvitationRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::default_instance_ = NULL; + +ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::New() const { + return new ReceivedInvitationRemovedNotification; +} + +void ReceivedInvitationRemovedNotification::Swap(ReceivedInvitationRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ReceivedInvitationRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ReceivedInvitationRemovedNotification_descriptor_; + metadata.reflection = ReceivedInvitationRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SharedSettingsChangedNotification::kAgentIdDeprecatedFieldNumber; +const int SharedSettingsChangedNotification::kAgentIdFieldNumber; +const int SharedSettingsChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SharedSettingsChangedNotification::SharedSettingsChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) +} + +void SharedSettingsChangedNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment::default_instance()); +} + +SharedSettingsChangedNotification::SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) +} + +void SharedSettingsChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + agent_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SharedSettingsChangedNotification::~SharedSettingsChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) + SharedDtor(); +} + +void SharedSettingsChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete assignment_; + } +} + +void SharedSettingsChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SharedSettingsChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SharedSettingsChangedNotification_descriptor_; +} + +const SharedSettingsChangedNotification& SharedSettingsChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +SharedSettingsChangedNotification* SharedSettingsChangedNotification::default_instance_ = NULL; + +SharedSettingsChangedNotification* SharedSettingsChangedNotification::New() const { + return new SharedSettingsChangedNotification; +} + +void SharedSettingsChangedNotification::Swap(SharedSettingsChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SharedSettingsChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SharedSettingsChangedNotification_descriptor_; + metadata.reflection = SharedSettingsChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionAddedNotification::kAgentIdFieldNumber; +const int StreamMentionAddedNotification::kMentionFieldNumber; +#endif // !_MSC_VER + +StreamMentionAddedNotification::StreamMentionAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) +} + +void StreamMentionAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + mention_ = const_cast< ::bgs::protocol::club::v1::client::StreamMention*>(&::bgs::protocol::club::v1::client::StreamMention::default_instance()); +} + +StreamMentionAddedNotification::StreamMentionAddedNotification(const StreamMentionAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) +} + +void StreamMentionAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + mention_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionAddedNotification::~StreamMentionAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) + SharedDtor(); +} + +void StreamMentionAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete mention_; + } +} + +void StreamMentionAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionAddedNotification_descriptor_; +} + +const StreamMentionAddedNotification& StreamMentionAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionAddedNotification* StreamMentionAddedNotification::default_instance_ = NULL; + +StreamMentionAddedNotification* StreamMentionAddedNotification::New() const { + return new StreamMentionAddedNotification; +} + +void StreamMentionAddedNotification::Swap(StreamMentionAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionAddedNotification_descriptor_; + metadata.reflection = StreamMentionAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionRemovedNotification::kAgentIdDeprecatedFieldNumber; +const int StreamMentionRemovedNotification::kMentionIdFieldNumber; +const int StreamMentionRemovedNotification::kAgentIdFieldNumber; +#endif // !_MSC_VER + +StreamMentionRemovedNotification::StreamMentionRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) +} + +void StreamMentionRemovedNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); +} + +StreamMentionRemovedNotification::StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) +} + +void StreamMentionRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + mention_id_ = NULL; + agent_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionRemovedNotification::~StreamMentionRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) + SharedDtor(); +} + +void StreamMentionRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete mention_id_; + } +} + +void StreamMentionRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionRemovedNotification_descriptor_; +} + +const StreamMentionRemovedNotification& StreamMentionRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionRemovedNotification* StreamMentionRemovedNotification::default_instance_ = NULL; + +StreamMentionRemovedNotification* StreamMentionRemovedNotification::New() const { + return new StreamMentionRemovedNotification; +} + +void StreamMentionRemovedNotification::Swap(StreamMentionRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionRemovedNotification_descriptor_; + metadata.reflection = StreamMentionRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionAdvanceViewTimeNotification::kAgentIdDeprecatedFieldNumber; +const int StreamMentionAdvanceViewTimeNotification::kViewTimeFieldNumber; +const int StreamMentionAdvanceViewTimeNotification::kAgentIdFieldNumber; +#endif // !_MSC_VER + +StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) +} + +void StreamMentionAdvanceViewTimeNotification::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) +} + +void StreamMentionAdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + view_time_ = GOOGLE_ULONGLONG(0); + agent_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionAdvanceViewTimeNotification::~StreamMentionAdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) + SharedDtor(); +} + +void StreamMentionAdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void StreamMentionAdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionAdvanceViewTimeNotification_descriptor_; +} + +const StreamMentionAdvanceViewTimeNotification& StreamMentionAdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + return *default_instance_; +} + +StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::default_instance_ = NULL; + +StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::New() const { + return new StreamMentionAdvanceViewTimeNotification; +} + +void StreamMentionAdvanceViewTimeNotification::Swap(StreamMentionAdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionAdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionAdvanceViewTimeNotification_descriptor_; + metadata.reflection = StreamMentionAdvanceViewTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +ClubMembershipListener::ClubMembershipListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubMembershipListener::~ClubMembershipListener() { +} + +google::protobuf::ServiceDescriptor const* ClubMembershipListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipListener_descriptor_; +} + +void ClubMembershipListener::OnClubAdded(::bgs::protocol::club_membership::v1::client::ClubAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnClubAdded", "bgs.protocol.club_membership.v1.client.ClubAddedNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnClubRemoved(::bgs::protocol::club_membership::v1::client::ClubRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnClubRemoved", "bgs.protocol.club_membership.v1.client.ClubRemovedNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnReceivedInvitationAdded(::bgs::protocol::club_membership::v1::client::ReceivedInvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationAdded", "bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnReceivedInvitationRemoved(::bgs::protocol::club_membership::v1::client::ReceivedInvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationRemoved", "bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnSharedSettingsChanged(::bgs::protocol::club_membership::v1::client::SharedSettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnSharedSettingsChanged", "bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification", request); + SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionAdded(::bgs::protocol::club_membership::v1::client::StreamMentionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdded", "bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification", request); + SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionRemoved(::bgs::protocol::club_membership::v1::client::StreamMentionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionRemoved", "bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification", request); + SendRequest(service_hash_, 7 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::OnStreamMentionAdvanceViewTime(::bgs::protocol::club_membership::v1::client::StreamMentionAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdvanceViewTime", "bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification", request); + SendRequest(service_hash_, 8 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void ClubMembershipListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h new file mode 100644 index 00000000000..99110109ce0 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_listener.pb.h @@ -0,0 +1,1601 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + +class ClubAddedNotification; +class ClubRemovedNotification; +class ReceivedInvitationAddedNotification; +class ReceivedInvitationRemovedNotification; +class SharedSettingsChangedNotification; +class StreamMentionAddedNotification; +class StreamMentionRemovedNotification; +class StreamMentionAdvanceViewTimeNotification; + +// =================================================================== + +class TC_PROTO_API ClubAddedNotification : public ::google::protobuf::Message { + public: + ClubAddedNotification(); + virtual ~ClubAddedNotification(); + + ClubAddedNotification(const ClubAddedNotification& from); + + inline ClubAddedNotification& operator=(const ClubAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubAddedNotification& default_instance(); + + void Swap(ClubAddedNotification* other); + + // implements Message ---------------------------------------------- + + ClubAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipDescription membership = 3; + inline bool has_membership() const; + inline void clear_membership(); + static const int kMembershipFieldNumber = 3; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& membership() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* mutable_membership(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* release_membership(); + inline void set_allocated_membership(::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_membership(); + inline void clear_has_membership(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ClubAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRemovedNotification : public ::google::protobuf::Message { + public: + ClubRemovedNotification(); + virtual ~ClubRemovedNotification(); + + ClubRemovedNotification(const ClubRemovedNotification& from); + + inline ClubRemovedNotification& operator=(const ClubRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRemovedNotification& default_instance(); + + void Swap(ClubRemovedNotification* other); + + // implements Message ---------------------------------------------- + + ClubRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional uint64 club_id = 4; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 4; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::ClubRemovedReason reason() const; + inline void set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::google::protobuf::uint64 club_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ClubRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ReceivedInvitationAddedNotification : public ::google::protobuf::Message { + public: + ReceivedInvitationAddedNotification(); + virtual ~ReceivedInvitationAddedNotification(); + + ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from); + + inline ReceivedInvitationAddedNotification& operator=(const ReceivedInvitationAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ReceivedInvitationAddedNotification& default_instance(); + + void Swap(ReceivedInvitationAddedNotification* other); + + // implements Message ---------------------------------------------- + + ReceivedInvitationAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 3; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ReceivedInvitationAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ReceivedInvitationRemovedNotification : public ::google::protobuf::Message { + public: + ReceivedInvitationRemovedNotification(); + virtual ~ReceivedInvitationRemovedNotification(); + + ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from); + + inline ReceivedInvitationRemovedNotification& operator=(const ReceivedInvitationRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ReceivedInvitationRemovedNotification& default_instance(); + + void Swap(ReceivedInvitationRemovedNotification* other); + + // implements Message ---------------------------------------------- + + ReceivedInvitationRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.InvitationRemovedReason reason = 4; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 4; + inline ::bgs::protocol::InvitationRemovedReason reason() const; + inline void set_reason(::bgs::protocol::InvitationRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 invitation_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static ReceivedInvitationRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SharedSettingsChangedNotification : public ::google::protobuf::Message { + public: + SharedSettingsChangedNotification(); + virtual ~SharedSettingsChangedNotification(); + + SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from); + + inline SharedSettingsChangedNotification& operator=(const SharedSettingsChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SharedSettingsChangedNotification& default_instance(); + + void Swap(SharedSettingsChangedNotification* other); + + // implements Message ---------------------------------------------- + + SharedSettingsChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional uint64 agent_id = 3; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 3; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment assignment = 4; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment& assignment() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* mutable_assignment(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::uint64 agent_id_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static SharedSettingsChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionAddedNotification : public ::google::protobuf::Message { + public: + StreamMentionAddedNotification(); + virtual ~StreamMentionAddedNotification(); + + StreamMentionAddedNotification(const StreamMentionAddedNotification& from); + + inline StreamMentionAddedNotification& operator=(const StreamMentionAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionAddedNotification& default_instance(); + + void Swap(StreamMentionAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.StreamMention mention = 3; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::StreamMention& mention() const; + inline ::bgs::protocol::club::v1::client::StreamMention* mutable_mention(); + inline ::bgs::protocol::club::v1::client::StreamMention* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::StreamMention* mention); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_mention(); + inline void clear_has_mention(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::StreamMention* mention_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionRemovedNotification : public ::google::protobuf::Message { + public: + StreamMentionRemovedNotification(); + virtual ~StreamMentionRemovedNotification(); + + StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from); + + inline StreamMentionRemovedNotification& operator=(const StreamMentionRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionRemovedNotification& default_instance(); + + void Swap(StreamMentionRemovedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.TimeSeriesId mention_id = 3; + inline bool has_mention_id() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 3; + inline const ::bgs::protocol::TimeSeriesId& mention_id() const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); + inline ::bgs::protocol::TimeSeriesId* release_mention_id(); + inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); + + // optional uint64 agent_id = 4; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 4; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_mention_id(); + inline void clear_has_mention_id(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::TimeSeriesId* mention_id_; + ::google::protobuf::uint64 agent_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionAdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + StreamMentionAdvanceViewTimeNotification(); + virtual ~StreamMentionAdvanceViewTimeNotification(); + + StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from); + + inline StreamMentionAdvanceViewTimeNotification& operator=(const StreamMentionAdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionAdvanceViewTimeNotification& default_instance(); + + void Swap(StreamMentionAdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + StreamMentionAdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional uint64 view_time = 3; + inline bool has_view_time() const; + inline void clear_view_time(); + static const int kViewTimeFieldNumber = 3; + inline ::google::protobuf::uint64 view_time() const; + inline void set_view_time(::google::protobuf::uint64 value); + + // optional uint64 agent_id = 4; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 4; + inline ::google::protobuf::uint64 agent_id() const; + inline void set_agent_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_view_time(); + inline void clear_has_view_time(); + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::uint64 view_time_; + ::google::protobuf::uint64 agent_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionAdvanceViewTimeNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API ClubMembershipListener : public ServiceBase +{ + public: + + explicit ClubMembershipListener(bool use_original_hash); + ClubMembershipListener(ClubMembershipListener const&) = delete; + ClubMembershipListener(ClubMembershipListener&&) = delete; + ClubMembershipListener& operator=(ClubMembershipListener const&) = delete; + ClubMembershipListener& operator=(ClubMembershipListener&&) = delete; + virtual ~ClubMembershipListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnClubAdded(::bgs::protocol::club_membership::v1::client::ClubAddedNotification const* request, bool client = false, bool server = false); + void OnClubRemoved(::bgs::protocol::club_membership::v1::client::ClubRemovedNotification const* request, bool client = false, bool server = false); + void OnReceivedInvitationAdded(::bgs::protocol::club_membership::v1::client::ReceivedInvitationAddedNotification const* request, bool client = false, bool server = false); + void OnReceivedInvitationRemoved(::bgs::protocol::club_membership::v1::client::ReceivedInvitationRemovedNotification const* request, bool client = false, bool server = false); + void OnSharedSettingsChanged(::bgs::protocol::club_membership::v1::client::SharedSettingsChangedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionAdded(::bgs::protocol::club_membership::v1::client::StreamMentionAddedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionRemoved(::bgs::protocol::club_membership::v1::client::StreamMentionRemovedNotification const* request, bool client = false, bool server = false); + void OnStreamMentionAdvanceViewTime(::bgs::protocol::club_membership::v1::client::StreamMentionAdvanceViewTimeNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// ClubAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ClubAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ClubAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.agent_id) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipDescription membership = 3; +inline bool ClubAddedNotification::has_membership() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubAddedNotification::set_has_membership() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubAddedNotification::clear_has_membership() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubAddedNotification::clear_membership() { + if (membership_ != NULL) membership_->::bgs::protocol::club_membership::v1::client::ClubMembershipDescription::Clear(); + clear_has_membership(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& ClubAddedNotification::membership() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) + return membership_ != NULL ? *membership_ : *default_instance_->membership_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubAddedNotification::mutable_membership() { + set_has_membership(); + if (membership_ == NULL) membership_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) + return membership_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubAddedNotification::release_membership() { + clear_has_membership(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* temp = membership_; + membership_ = NULL; + return temp; +} +inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* membership) { + delete membership_; + membership_ = membership; + if (membership) { + set_has_membership(); + } else { + clear_has_membership(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubAddedNotification.membership) +} + +// ------------------------------------------------------------------- + +// ClubRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ClubRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ClubRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool ClubRemovedNotification::has_member_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubRemovedNotification::set_has_member_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubRemovedNotification::clear_has_member_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubRemovedNotification::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubRemovedNotification::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.member_id) +} + +// optional uint64 club_id = 4; +inline bool ClubRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 ClubRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.club_id) + return club_id_; +} +inline void ClubRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubRemovedReason reason = 5; +inline bool ClubRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::club::v1::client::ClubRemovedReason ClubRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.reason) + return static_cast< ::bgs::protocol::club::v1::client::ClubRemovedReason >(reason_); +} +inline void ClubRemovedNotification::set_reason(::bgs::protocol::club::v1::client::ClubRemovedReason value) { + assert(::bgs::protocol::club::v1::client::ClubRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// ReceivedInvitationAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ReceivedInvitationAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ReceivedInvitationAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ReceivedInvitationAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ReceivedInvitationAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ReceivedInvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 3; +inline bool ReceivedInvitationAddedNotification::has_invitation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ReceivedInvitationAddedNotification::set_has_invitation() { + _has_bits_[0] |= 0x00000002u; +} +inline void ReceivedInvitationAddedNotification::clear_has_invitation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ReceivedInvitationAddedNotification::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& ReceivedInvitationAddedNotification::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ReceivedInvitationAddedNotification::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ReceivedInvitationAddedNotification::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationAddedNotification.invitation) +} + +// ------------------------------------------------------------------- + +// ReceivedInvitationRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool ReceivedInvitationRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ReceivedInvitationRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void ReceivedInvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.agent_id) +} + +// optional fixed64 invitation_id = 3; +inline bool ReceivedInvitationRemovedNotification::has_invitation_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_invitation_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ReceivedInvitationRemovedNotification::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 ReceivedInvitationRemovedNotification::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.invitation_id) + return invitation_id_; +} +inline void ReceivedInvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.invitation_id) +} + +// optional .bgs.protocol.InvitationRemovedReason reason = 4; +inline bool ReceivedInvitationRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ReceivedInvitationRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000004u; +} +inline void ReceivedInvitationRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ReceivedInvitationRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::InvitationRemovedReason ReceivedInvitationRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.reason) + return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); +} +inline void ReceivedInvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { + assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ReceivedInvitationRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// SharedSettingsChangedNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool SharedSettingsChangedNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void SharedSettingsChangedNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SharedSettingsChangedNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& SharedSettingsChangedNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void SharedSettingsChangedNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id_deprecated) +} + +// optional uint64 agent_id = 3; +inline bool SharedSettingsChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SharedSettingsChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SharedSettingsChangedNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 SharedSettingsChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id) + return agent_id_; +} +inline void SharedSettingsChangedNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.agent_id) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment assignment = 4; +inline bool SharedSettingsChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SharedSettingsChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void SharedSettingsChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SharedSettingsChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment& SharedSettingsChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SharedSettingsChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// StreamMentionAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMentionAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMentionAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMentionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.agent_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMention mention = 3; +inline bool StreamMentionAddedNotification::has_mention() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionAddedNotification::set_has_mention() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionAddedNotification::clear_has_mention() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionAddedNotification::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::StreamMention::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::StreamMention& StreamMentionAddedNotification::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::StreamMention* StreamMentionAddedNotification::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::StreamMention; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::StreamMention* StreamMentionAddedNotification::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::StreamMention* temp = mention_; + mention_ = NULL; + return temp; +} +inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protocol::club::v1::client::StreamMention* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAddedNotification.mention) +} + +// ------------------------------------------------------------------- + +// StreamMentionRemovedNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool StreamMentionRemovedNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionRemovedNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionRemovedNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& StreamMentionRemovedNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void StreamMentionRemovedNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id_deprecated) +} + +// optional .bgs.protocol.TimeSeriesId mention_id = 3; +inline bool StreamMentionRemovedNotification::has_mention_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_mention_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionRemovedNotification::clear_has_mention_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionRemovedNotification::clear_mention_id() { + if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); + clear_has_mention_id(); +} +inline const ::bgs::protocol::TimeSeriesId& StreamMentionRemovedNotification::mention_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) + return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::mutable_mention_id() { + set_has_mention_id(); + if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) + return mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::release_mention_id() { + clear_has_mention_id(); + ::bgs::protocol::TimeSeriesId* temp = mention_id_; + mention_id_ = NULL; + return temp; +} +inline void StreamMentionRemovedNotification::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { + delete mention_id_; + mention_id_ = mention_id; + if (mention_id) { + set_has_mention_id(); + } else { + clear_has_mention_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.mention_id) +} + +// optional uint64 agent_id = 4; +inline bool StreamMentionRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionRemovedNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 StreamMentionRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id) + return agent_id_; +} +inline void StreamMentionRemovedNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionRemovedNotification.agent_id) +} + +// ------------------------------------------------------------------- + +// StreamMentionAdvanceViewTimeNotification + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& StreamMentionAdvanceViewTimeNotification::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void StreamMentionAdvanceViewTimeNotification::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id_deprecated) +} + +// optional uint64 view_time = 3; +inline bool StreamMentionAdvanceViewTimeNotification::has_view_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_view_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_view_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_view_time() { + view_time_ = GOOGLE_ULONGLONG(0); + clear_has_view_time(); +} +inline ::google::protobuf::uint64 StreamMentionAdvanceViewTimeNotification::view_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.view_time) + return view_time_; +} +inline void StreamMentionAdvanceViewTimeNotification::set_view_time(::google::protobuf::uint64 value) { + set_has_view_time(); + view_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.view_time) +} + +// optional uint64 agent_id = 4; +inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionAdvanceViewTimeNotification::clear_agent_id() { + agent_id_ = GOOGLE_ULONGLONG(0); + clear_has_agent_id(); +} +inline ::google::protobuf::uint64 StreamMentionAdvanceViewTimeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id) + return agent_id_; +} +inline void StreamMentionAdvanceViewTimeNotification::set_agent_id(::google::protobuf::uint64 value) { + set_has_agent_id(); + agent_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.StreamMentionAdvanceViewTimeNotification.agent_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc new file mode 100644 index 00000000000..99e9cc0f285 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.cc @@ -0,0 +1,1340 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubSharedSettingsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMentionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMentionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMentionsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMentionsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveStreamMentionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* ClubMembershipService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, options_), + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, state_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_deprecated_), + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetStateRequest_descriptor_ = file->message_type(3); + static const int GetStateRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, options_), + }; + GetStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateRequest_descriptor_, + GetStateRequest::default_instance_, + GetStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateRequest)); + GetStateResponse_descriptor_ = file->message_type(4); + static const int GetStateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, state_), + }; + GetStateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStateResponse_descriptor_, + GetStateResponse::default_instance_, + GetStateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStateResponse)); + UpdateClubSharedSettingsRequest_descriptor_ = file->message_type(5); + static const int UpdateClubSharedSettingsRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, options_), + }; + UpdateClubSharedSettingsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubSharedSettingsRequest_descriptor_, + UpdateClubSharedSettingsRequest::default_instance_, + UpdateClubSharedSettingsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubSharedSettingsRequest)); + GetStreamMentionsRequest_descriptor_ = file->message_type(6); + static const int GetStreamMentionsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, fetch_messages_), + }; + GetStreamMentionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMentionsRequest_descriptor_, + GetStreamMentionsRequest::default_instance_, + GetStreamMentionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMentionsRequest)); + GetStreamMentionsResponse_descriptor_ = file->message_type(7); + static const int GetStreamMentionsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, mention_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, continuation_), + }; + GetStreamMentionsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMentionsResponse_descriptor_, + GetStreamMentionsResponse::default_instance_, + GetStreamMentionsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMentionsResponse)); + RemoveStreamMentionsRequest_descriptor_ = file->message_type(8); + static const int RemoveStreamMentionsRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, agent_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, mention_id_), + }; + RemoveStreamMentionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveStreamMentionsRequest_descriptor_, + RemoveStreamMentionsRequest::default_instance_, + RemoveStreamMentionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveStreamMentionsRequest)); + AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(9); + static const int AdvanceStreamMentionViewTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_deprecated_), + }; + AdvanceStreamMentionViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamMentionViewTimeRequest_descriptor_, + AdvanceStreamMentionViewTimeRequest::default_instance_, + AdvanceStreamMentionViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamMentionViewTimeRequest)); + ClubMembershipService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateRequest_descriptor_, &GetStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStateResponse_descriptor_, &GetStateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubSharedSettingsRequest_descriptor_, &UpdateClubSharedSettingsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMentionsRequest_descriptor_, &GetStreamMentionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMentionsResponse_descriptor_, &GetStreamMentionsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveStreamMentionsRequest_descriptor_, &RemoveStreamMentionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetStateRequest::default_instance_; + delete GetStateRequest_reflection_; + delete GetStateResponse::default_instance_; + delete GetStateResponse_reflection_; + delete UpdateClubSharedSettingsRequest::default_instance_; + delete UpdateClubSharedSettingsRequest_reflection_; + delete GetStreamMentionsRequest::default_instance_; + delete GetStreamMentionsRequest_reflection_; + delete GetStreamMentionsResponse::default_instance_; + delete GetStreamMentionsResponse_reflection_; + delete RemoveStreamMentionsRequest::default_instance_; + delete RemoveStreamMentionsRequest_reflection_; + delete AdvanceStreamMentionViewTimeRequest::default_instance_; + delete AdvanceStreamMentionViewTimeRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n+api/client/v1/club_membership_service." + "proto\022&bgs.protocol.club_membership.v1.c" + "lient\032\036api/client/v1/club_types.proto\032\037a" + "pi/client/v1/club_stream.proto\"\266\001\n\020Subsc" + "ribeRequest\022I\n\023agent_id_deprecated\030\001 \001(\013" + "2\".bgs.protocol.account.v1.AccountIdB\010\030\001" + "\222\371+\002 \001\022W\n\007options\030\002 \001(\0132F.bgs.protocol.c" + "lub_membership.v1.client.ClubMembershipS" + "ubscribeOptions\"_\n\021SubscribeResponse\022J\n\005" + "state\030\001 \001(\0132;.bgs.protocol.club_membersh" + "ip.v1.client.ClubMembershipState\"_\n\022Unsu" + "bscribeRequest\022I\n\023agent_id_deprecated\030\001 " + "\001(\0132\".bgs.protocol.account.v1.AccountIdB" + "\010\030\001\222\371+\002 \001\"\264\001\n\017GetStateRequest\022I\n\023agent_i" + "d_deprecated\030\001 \001(\0132\".bgs.protocol.accoun" + "t.v1.AccountIdB\010\030\001\222\371+\002 \001\022V\n\007options\030\002 \001(" + "\0132E.bgs.protocol.club_membership.v1.clie" + "nt.ClubMembershipGetStateOptions\"^\n\020GetS" + "tateResponse\022J\n\005state\030\001 \001(\0132;.bgs.protoc" + "ol.club_membership.v1.client.ClubMembers" + "hipState\"\300\001\n\037UpdateClubSharedSettingsReq" + "uest\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs." + "protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022" + "R\n\007options\030\002 \001(\0132A.bgs.protocol.club_mem" + "bership.v1.client.ClubSharedSettingsOpti" + "ons\"\255\001\n\030GetStreamMentionsRequest\022I\n\023agen" + "t_id_deprecated\030\001 \001(\0132\".bgs.protocol.acc" + "ount.v1.AccountIdB\010\030\001\222\371+\002 \001\022.\n\007options\030\002" + " \001(\0132\035.bgs.protocol.GetEventOptions\022\026\n\016f" + "etch_messages\030\003 \001(\010\"n\n\031GetStreamMentions" + "Response\022;\n\007mention\030\001 \003(\0132*.bgs.protocol" + ".club.v1.client.StreamMention\022\024\n\014continu" + "ation\030\002 \001(\004\"\230\001\n\033RemoveStreamMentionsRequ" + "est\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs.p" + "rotocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001\022." + "\n\nmention_id\030\002 \003(\0132\032.bgs.protocol.TimeSe" + "riesId\"p\n#AdvanceStreamMentionViewTimeRe" + "quest\022I\n\023agent_id_deprecated\030\001 \001(\0132\".bgs" + ".protocol.account.v1.AccountIdB\010\030\001\222\371+\002 \001" + "2\241\010\n\025ClubMembershipService\022\212\001\n\tSubscribe" + "\0228.bgs.protocol.club_membership.v1.clien" + "t.SubscribeRequest\0329.bgs.protocol.club_m" + "embership.v1.client.SubscribeResponse\"\010\202" + "\371+\004\010\001\020\001\022i\n\013Unsubscribe\022:.bgs.protocol.cl" + "ub_membership.v1.client.UnsubscribeReque" + "st\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\002\020\001\022\211\001\n\010G" + "etState\0227.bgs.protocol.club_membership.v" + "1.client.GetStateRequest\0328.bgs.protocol." + "club_membership.v1.client.GetStateRespon" + "se\"\n\202\371+\006\010\003\020\0010\001\022\203\001\n\030UpdateClubSharedSetti" + "ngs\022G.bgs.protocol.club_membership.v1.cl" + "ient.UpdateClubSharedSettingsRequest\032\024.b" + "gs.protocol.NoData\"\010\202\371+\004\010\004\020\001\022\244\001\n\021GetStre" + "amMentions\022@.bgs.protocol.club_membershi" + "p.v1.client.GetStreamMentionsRequest\032A.b" + "gs.protocol.club_membership.v1.client.Ge" + "tStreamMentionsResponse\"\n\202\371+\006\010\005\020\0010\001\022{\n\024R" + "emoveStreamMentions\022C.bgs.protocol.club_" + "membership.v1.client.RemoveStreamMention" + "sRequest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001" + "\022\213\001\n\034AdvanceStreamMentionViewTime\022K.bgs." + "protocol.club_membership.v1.client.Advan" + "ceStreamMentionViewTimeRequest\032\024.bgs.pro" + "tocol.NoData\"\010\202\371+\004\010\007\020\001\032L\202\371+@\n+bnet.proto" + "col.club.v1.ClubMembershipService*\017club_" + "membershipH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 2627); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetStateRequest::default_instance_ = new GetStateRequest(); + GetStateResponse::default_instance_ = new GetStateResponse(); + UpdateClubSharedSettingsRequest::default_instance_ = new UpdateClubSharedSettingsRequest(); + GetStreamMentionsRequest::default_instance_ = new GetStreamMentionsRequest(); + GetStreamMentionsResponse::default_instance_ = new GetStreamMentionsResponse(); + RemoveStreamMentionsRequest::default_instance_ = new RemoveStreamMentionsRequest(); + AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetStateRequest::default_instance_->InitAsDefaultInstance(); + GetStateResponse::default_instance_->InitAsDefaultInstance(); + UpdateClubSharedSettingsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMentionsResponse::default_instance_->InitAsDefaultInstance(); + RemoveStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeRequest::kAgentIdDeprecatedFieldNumber; +const int SubscribeRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions::default_instance()); +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kStateFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipState*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipState::default_instance()); +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeRequest::kAgentIdDeprecatedFieldNumber; +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateRequest::kAgentIdDeprecatedFieldNumber; +const int GetStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetStateRequest::GetStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStateRequest) +} + +void GetStateRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions::default_instance()); +} + +GetStateRequest::GetStateRequest(const GetStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateRequest) +} + +void GetStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateRequest::~GetStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateRequest) + SharedDtor(); +} + +void GetStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void GetStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateRequest_descriptor_; +} + +const GetStateRequest& GetStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStateRequest* GetStateRequest::default_instance_ = NULL; + +GetStateRequest* GetStateRequest::New() const { + return new GetStateRequest; +} + +void GetStateRequest::Swap(GetStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateRequest_descriptor_; + metadata.reflection = GetStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStateResponse::kStateFieldNumber; +#endif // !_MSC_VER + +GetStateResponse::GetStateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) +} + +void GetStateResponse::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubMembershipState*>(&::bgs::protocol::club_membership::v1::client::ClubMembershipState::default_instance()); +} + +GetStateResponse::GetStateResponse(const GetStateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStateResponse) +} + +void GetStateResponse::SharedCtor() { + _cached_size_ = 0; + state_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStateResponse::~GetStateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStateResponse) + SharedDtor(); +} + +void GetStateResponse::SharedDtor() { + if (this != default_instance_) { + delete state_; + } +} + +void GetStateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStateResponse_descriptor_; +} + +const GetStateResponse& GetStateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStateResponse* GetStateResponse::default_instance_ = NULL; + +GetStateResponse* GetStateResponse::New() const { + return new GetStateResponse; +} + +void GetStateResponse::Swap(GetStateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStateResponse_descriptor_; + metadata.reflection = GetStateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubSharedSettingsRequest::kAgentIdDeprecatedFieldNumber; +const int UpdateClubSharedSettingsRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) +} + +void UpdateClubSharedSettingsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions::default_instance()); +} + +UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) +} + +void UpdateClubSharedSettingsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubSharedSettingsRequest::~UpdateClubSharedSettingsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) + SharedDtor(); +} + +void UpdateClubSharedSettingsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void UpdateClubSharedSettingsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubSharedSettingsRequest_descriptor_; +} + +const UpdateClubSharedSettingsRequest& UpdateClubSharedSettingsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::default_instance_ = NULL; + +UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::New() const { + return new UpdateClubSharedSettingsRequest; +} + +void UpdateClubSharedSettingsRequest::Swap(UpdateClubSharedSettingsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubSharedSettingsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubSharedSettingsRequest_descriptor_; + metadata.reflection = UpdateClubSharedSettingsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; +const int GetStreamMentionsRequest::kOptionsFieldNumber; +const int GetStreamMentionsRequest::kFetchMessagesFieldNumber; +#endif // !_MSC_VER + +GetStreamMentionsRequest::GetStreamMentionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) +} + +void GetStreamMentionsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetStreamMentionsRequest::GetStreamMentionsRequest(const GetStreamMentionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) +} + +void GetStreamMentionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + options_ = NULL; + fetch_messages_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMentionsRequest::~GetStreamMentionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) + SharedDtor(); +} + +void GetStreamMentionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + delete options_; + } +} + +void GetStreamMentionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMentionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMentionsRequest_descriptor_; +} + +const GetStreamMentionsRequest& GetStreamMentionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStreamMentionsRequest* GetStreamMentionsRequest::default_instance_ = NULL; + +GetStreamMentionsRequest* GetStreamMentionsRequest::New() const { + return new GetStreamMentionsRequest; +} + +void GetStreamMentionsRequest::Swap(GetStreamMentionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMentionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMentionsRequest_descriptor_; + metadata.reflection = GetStreamMentionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMentionsResponse::kMentionFieldNumber; +const int GetStreamMentionsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamMentionsResponse::GetStreamMentionsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) +} + +void GetStreamMentionsResponse::InitAsDefaultInstance() { +} + +GetStreamMentionsResponse::GetStreamMentionsResponse(const GetStreamMentionsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) +} + +void GetStreamMentionsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMentionsResponse::~GetStreamMentionsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) + SharedDtor(); +} + +void GetStreamMentionsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamMentionsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMentionsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMentionsResponse_descriptor_; +} + +const GetStreamMentionsResponse& GetStreamMentionsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +GetStreamMentionsResponse* GetStreamMentionsResponse::default_instance_ = NULL; + +GetStreamMentionsResponse* GetStreamMentionsResponse::New() const { + return new GetStreamMentionsResponse; +} + +void GetStreamMentionsResponse::Swap(GetStreamMentionsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMentionsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMentionsResponse_descriptor_; + metadata.reflection = GetStreamMentionsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveStreamMentionsRequest::kAgentIdDeprecatedFieldNumber; +const int RemoveStreamMentionsRequest::kMentionIdFieldNumber; +#endif // !_MSC_VER + +RemoveStreamMentionsRequest::RemoveStreamMentionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) +} + +void RemoveStreamMentionsRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +RemoveStreamMentionsRequest::RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) +} + +void RemoveStreamMentionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveStreamMentionsRequest::~RemoveStreamMentionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) + SharedDtor(); +} + +void RemoveStreamMentionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void RemoveStreamMentionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveStreamMentionsRequest_descriptor_; +} + +const RemoveStreamMentionsRequest& RemoveStreamMentionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::default_instance_ = NULL; + +RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::New() const { + return new RemoveStreamMentionsRequest; +} + +void RemoveStreamMentionsRequest::Swap(RemoveStreamMentionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveStreamMentionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveStreamMentionsRequest_descriptor_; + metadata.reflection = RemoveStreamMentionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamMentionViewTimeRequest::kAgentIdDeprecatedFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { + agent_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_deprecated_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamMentionViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_deprecated_; + } +} + +void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamMentionViewTimeRequest_descriptor_; +} + +const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { + return new AdvanceStreamMentionViewTimeRequest; +} + +void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +ClubMembershipService::ClubMembershipService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubMembershipService::~ClubMembershipService() { +} + +google::protobuf::ServiceDescriptor const* ClubMembershipService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipService_descriptor_; +} + +void ClubMembershipService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetState(token, methodId, buffer); + break; + case 4: + ParseAndHandleUpdateClubSharedSettings(token, methodId, buffer); + break; + case 5: + ParseAndHandleGetStreamMentions(token, methodId, buffer); + break; + case 6: + ParseAndHandleRemoveStreamMentions(token, methodId, buffer); + break; + case 7: + ParseAndHandleAdvanceStreamMentionViewTime(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 ClubMembershipService::HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.GetState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.UpdateClubSharedSettings", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.GetStreamMentions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.RemoveStreamMentions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubMembershipService::HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void ClubMembershipService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.Subscribe", "bgs.protocol.club_membership.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Subscribe", ::bgs::protocol::club_membership::v1::client::SubscribeResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.Unsubscribe", "bgs.protocol.club_membership.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::GetStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.GetState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.GetState", "bgs.protocol.club_membership.v1.client.GetStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetState", ::bgs::protocol::club_membership::v1::client::GetStateResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::GetStateResponse response; + uint32 status = HandleGetState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.UpdateClubSharedSettings"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.UpdateClubSharedSettings", "bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.UpdateClubSharedSettings", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubSharedSettings(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.GetStreamMentions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.GetStreamMentions", "bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetStreamMentions", ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse::descriptor()); + ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse response; + uint32 status = HandleGetStreamMentions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.RemoveStreamMentions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.RemoveStreamMentions", "bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.RemoveStreamMentions", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRemoveStreamMentions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubMembershipService::ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubMembershipService.AdvanceStreamMentionViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", "bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.AdvanceStreamMentionViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceStreamMentionViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_service.pb.h b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h new file mode 100644 index 00000000000..211c2c01d30 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_service.pb.h @@ -0,0 +1,1559 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" +#include "api/client/v1/club_stream.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetStateRequest; +class GetStateResponse; +class UpdateClubSharedSettingsRequest; +class GetStreamMentionsRequest; +class GetStreamMentionsResponse; +class RemoveStreamMentionsRequest; +class AdvanceStreamMentionViewTimeRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& state() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* mutable_state(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* release_state(); + inline void set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.SubscribeResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UnsubscribeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { + public: + GetStateRequest(); + virtual ~GetStateRequest(); + + GetStateRequest(const GetStateRequest& from); + + inline GetStateRequest& operator=(const GetStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateRequest& default_instance(); + + void Swap(GetStateRequest* other); + + // implements Message ---------------------------------------------- + + GetStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { + public: + GetStateResponse(); + virtual ~GetStateResponse(); + + GetStateResponse(const GetStateResponse& from); + + inline GetStateResponse& operator=(const GetStateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStateResponse& default_instance(); + + void Swap(GetStateResponse* other); + + // implements Message ---------------------------------------------- + + GetStateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& state() const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* mutable_state(); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* release_state(); + inline void set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStateResponse) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* state_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf::Message { + public: + UpdateClubSharedSettingsRequest(); + virtual ~UpdateClubSharedSettingsRequest(); + + UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from); + + inline UpdateClubSharedSettingsRequest& operator=(const UpdateClubSharedSettingsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubSharedSettingsRequest& default_instance(); + + void Swap(UpdateClubSharedSettingsRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubSharedSettingsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions& options() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* mutable_options(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubSharedSettingsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message { + public: + GetStreamMentionsRequest(); + virtual ~GetStreamMentionsRequest(); + + GetStreamMentionsRequest(const GetStreamMentionsRequest& from); + + inline GetStreamMentionsRequest& operator=(const GetStreamMentionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMentionsRequest& default_instance(); + + void Swap(GetStreamMentionsRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamMentionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.GetEventOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // optional bool fetch_messages = 3; + inline bool has_fetch_messages() const; + inline void clear_fetch_messages(); + static const int kFetchMessagesFieldNumber = 3; + inline bool fetch_messages() const; + inline void set_fetch_messages(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + inline void set_has_options(); + inline void clear_has_options(); + inline void set_has_fetch_messages(); + inline void clear_has_fetch_messages(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::bgs::protocol::GetEventOptions* options_; + bool fetch_messages_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMentionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Message { + public: + GetStreamMentionsResponse(); + virtual ~GetStreamMentionsResponse(); + + GetStreamMentionsResponse(const GetStreamMentionsResponse& from); + + inline GetStreamMentionsResponse& operator=(const GetStreamMentionsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMentionsResponse& default_instance(); + + void Swap(GetStreamMentionsResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamMentionsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMention mention = 1; + inline int mention_size() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMention& mention(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMention* mutable_mention(int index); + inline ::bgs::protocol::club::v1::client::StreamMention* add_mention(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >& + mention() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* + mutable_mention(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention > mention_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMentionsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Message { + public: + RemoveStreamMentionsRequest(); + virtual ~RemoveStreamMentionsRequest(); + + RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from); + + inline RemoveStreamMentionsRequest& operator=(const RemoveStreamMentionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveStreamMentionsRequest& default_instance(); + + void Swap(RemoveStreamMentionsRequest* other); + + // implements Message ---------------------------------------------- + + RemoveStreamMentionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // repeated .bgs.protocol.TimeSeriesId mention_id = 2; + inline int mention_id_size() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 2; + inline const ::bgs::protocol::TimeSeriesId& mention_id(int index) const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(int index); + inline ::bgs::protocol::TimeSeriesId* add_mention_id(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& + mention_id() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* + mutable_mention_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > mention_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static RemoveStreamMentionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamMentionViewTimeRequest(); + virtual ~AdvanceStreamMentionViewTimeRequest(); + + AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); + + inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamMentionViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamMentionViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamMentionViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; + inline bool has_agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_agent_id_deprecated() PROTOBUF_DEPRECATED; + static const int kAgentIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& agent_id_deprecated() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::AccountId* release_agent_id_deprecated() PROTOBUF_DEPRECATED; + inline void set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest) + private: + inline void set_has_agent_id_deprecated(); + inline void clear_has_agent_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* agent_id_deprecated_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamMentionViewTimeRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API ClubMembershipService : public ServiceBase +{ + public: + + explicit ClubMembershipService(bool use_original_hash); + ClubMembershipService(ClubMembershipService const&) = delete; + ClubMembershipService(ClubMembershipService&&) = delete; + ClubMembershipService& operator=(ClubMembershipService const&) = delete; + ClubMembershipService& operator=(ClubMembershipService&&) = delete; + virtual ~ClubMembershipService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::club_membership::v1::client::SubscribeRequest const* request, ::bgs::protocol::club_membership::v1::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club_membership::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetState(::bgs::protocol::club_membership::v1::client::GetStateRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStateResponse* response, std::function& continuation); + virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club_membership::v1::client::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamMentions(::bgs::protocol::club_membership::v1::client::GetStreamMentionsRequest const* request, ::bgs::protocol::club_membership::v1::client::GetStreamMentionsResponse* response, std::function& continuation); + virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club_membership::v1::client::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club_membership::v1::client::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool SubscribeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& SubscribeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions options = 2; +inline bool SubscribeRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions& SubscribeRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* SubscribeRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipSubscribeOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeRequest.options) +} + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; +inline bool SubscribeResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::ClubMembershipState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& SubscribeResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* SubscribeResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) + return state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* SubscribeResponse::release_state() { + clear_has_state(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; + state_ = NULL; + return temp; +} +inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.SubscribeResponse.state) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool UnsubscribeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& UnsubscribeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void UnsubscribeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UnsubscribeRequest.agent_id_deprecated) +} + +// ------------------------------------------------------------------- + +// GetStateRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool GetStateRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& GetStateRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void GetStateRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions options = 2; +inline bool GetStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions& GetStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* GetStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* GetStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStateRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubMembershipGetStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStateResponse + +// optional .bgs.protocol.club_membership.v1.client.ClubMembershipState state = 1; +inline bool GetStateResponse::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStateResponse::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStateResponse::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStateResponse::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::club_membership::v1::client::ClubMembershipState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipState& GetStateResponse::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStateResponse.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* GetStateResponse::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::club_membership::v1::client::ClubMembershipState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStateResponse.state) + return state_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipState* GetStateResponse::release_state() { + clear_has_state(); + ::bgs::protocol::club_membership::v1::client::ClubMembershipState* temp = state_; + state_ = NULL; + return temp; +} +inline void GetStateResponse::set_allocated_state(::bgs::protocol::club_membership::v1::client::ClubMembershipState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStateResponse.state) +} + +// ------------------------------------------------------------------- + +// UpdateClubSharedSettingsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool UpdateClubSharedSettingsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubSharedSettingsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubSharedSettingsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubSharedSettingsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& UpdateClubSharedSettingsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void UpdateClubSharedSettingsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions options = 2; +inline bool UpdateClubSharedSettingsRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubSharedSettingsRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubSharedSettingsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubSharedSettingsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions& UpdateClubSharedSettingsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) + return options_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protocol::club_membership::v1::client::ClubSharedSettingsOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.UpdateClubSharedSettingsRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStreamMentionsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool GetStreamMentionsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMentionsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMentionsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMentionsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& GetStreamMentionsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void GetStreamMentionsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.agent_id_deprecated) +} + +// optional .bgs.protocol.GetEventOptions options = 2; +inline bool GetStreamMentionsRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMentionsRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMentionsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMentionsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetStreamMentionsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStreamMentionsRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.options) +} + +// optional bool fetch_messages = 3; +inline bool GetStreamMentionsRequest::has_fetch_messages() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamMentionsRequest::set_has_fetch_messages() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamMentionsRequest::clear_has_fetch_messages() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamMentionsRequest::clear_fetch_messages() { + fetch_messages_ = false; + clear_has_fetch_messages(); +} +inline bool GetStreamMentionsRequest::fetch_messages() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.fetch_messages) + return fetch_messages_; +} +inline void GetStreamMentionsRequest::set_fetch_messages(bool value) { + set_has_fetch_messages(); + fetch_messages_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsRequest.fetch_messages) +} + +// ------------------------------------------------------------------- + +// GetStreamMentionsResponse + +// repeated .bgs.protocol.club.v1.client.StreamMention mention = 1; +inline int GetStreamMentionsResponse::mention_size() const { + return mention_.size(); +} +inline void GetStreamMentionsResponse::clear_mention() { + mention_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMention& GetStreamMentionsResponse::mention(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMention* GetStreamMentionsResponse::mutable_mention(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMention* GetStreamMentionsResponse::add_mention() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >& +GetStreamMentionsResponse::mention() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return mention_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMention >* +GetStreamMentionsResponse::mutable_mention() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.mention) + return &mention_; +} + +// optional uint64 continuation = 2; +inline bool GetStreamMentionsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMentionsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMentionsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMentionsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamMentionsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.continuation) + return continuation_; +} +inline void GetStreamMentionsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.GetStreamMentionsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// RemoveStreamMentionsRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool RemoveStreamMentionsRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveStreamMentionsRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveStreamMentionsRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveStreamMentionsRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& RemoveStreamMentionsRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void RemoveStreamMentionsRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.agent_id_deprecated) +} + +// repeated .bgs.protocol.TimeSeriesId mention_id = 2; +inline int RemoveStreamMentionsRequest::mention_id_size() const { + return mention_id_.size(); +} +inline void RemoveStreamMentionsRequest::clear_mention_id() { + mention_id_.Clear(); +} +inline const ::bgs::protocol::TimeSeriesId& RemoveStreamMentionsRequest::mention_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Get(index); +} +inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::mutable_mention_id(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Mutable(index); +} +inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::add_mention_id() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& +RemoveStreamMentionsRequest::mention_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return mention_id_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* +RemoveStreamMentionsRequest::mutable_mention_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.RemoveStreamMentionsRequest.mention_id) + return &mention_id_; +} + +// ------------------------------------------------------------------- + +// AdvanceStreamMentionViewTimeRequest + +// optional .bgs.protocol.account.v1.AccountId agent_id_deprecated = 1 [deprecated = true]; +inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id_deprecated() { + if (agent_id_deprecated_ != NULL) agent_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_agent_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& AdvanceStreamMentionViewTimeRequest::agent_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) + return agent_id_deprecated_ != NULL ? *agent_id_deprecated_ : *default_instance_->agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id_deprecated() { + set_has_agent_id_deprecated(); + if (agent_id_deprecated_ == NULL) agent_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) + return agent_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::release_agent_id_deprecated() { + clear_has_agent_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = agent_id_deprecated_; + agent_id_deprecated_ = NULL; + return temp; +} +inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id_deprecated(::bgs::protocol::account::v1::AccountId* agent_id_deprecated) { + delete agent_id_deprecated_; + agent_id_deprecated_ = agent_id_deprecated; + if (agent_id_deprecated) { + set_has_agent_id_deprecated(); + } else { + clear_has_agent_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id_deprecated) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc new file mode 100644 index 00000000000..09177727ce4 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.cc @@ -0,0 +1,1015 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_membership_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubMembershipFilter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipFilter_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipSubscribeOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipGetStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMembershipState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMembershipState_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubPosition_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubPosition_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettings_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettings_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettingsOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettingsOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSharedSettingsAssignment_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_membership_types.proto"); + GOOGLE_CHECK(file != NULL); + ClubMembershipFilter_descriptor_ = file->message_type(0); + static const int ClubMembershipFilter_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, type_), + }; + ClubMembershipFilter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipFilter_descriptor_, + ClubMembershipFilter::default_instance_, + ClubMembershipFilter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipFilter)); + ClubMembershipSubscribeOptions_descriptor_ = file->message_type(1); + static const int ClubMembershipSubscribeOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, filter_), + }; + ClubMembershipSubscribeOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipSubscribeOptions_descriptor_, + ClubMembershipSubscribeOptions::default_instance_, + ClubMembershipSubscribeOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipSubscribeOptions)); + ClubMembershipGetStateOptions_descriptor_ = file->message_type(2); + static const int ClubMembershipGetStateOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, filter_), + }; + ClubMembershipGetStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipGetStateOptions_descriptor_, + ClubMembershipGetStateOptions::default_instance_, + ClubMembershipGetStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipGetStateOptions)); + ClubMembershipDescription_descriptor_ = file->message_type(3); + static const int ClubMembershipDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, club_), + }; + ClubMembershipDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipDescription_descriptor_, + ClubMembershipDescription::default_instance_, + ClubMembershipDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipDescription)); + ClubMembershipState_descriptor_ = file->message_type(4); + static const int ClubMembershipState_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, setting_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, mention_view_), + }; + ClubMembershipState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMembershipState_descriptor_, + ClubMembershipState::default_instance_, + ClubMembershipState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMembershipState)); + ClubPosition_descriptor_ = file->message_type(5); + static const int ClubPosition_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, club_id_), + }; + ClubPosition_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubPosition_descriptor_, + ClubPosition::default_instance_, + ClubPosition_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubPosition)); + ClubSharedSettings_descriptor_ = file->message_type(6); + static const int ClubSharedSettings_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, club_position_), + }; + ClubSharedSettings_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettings_descriptor_, + ClubSharedSettings::default_instance_, + ClubSharedSettings_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettings)); + ClubSharedSettingsOptions_descriptor_ = file->message_type(7); + static const int ClubSharedSettingsOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, club_position_), + }; + ClubSharedSettingsOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettingsOptions_descriptor_, + ClubSharedSettingsOptions::default_instance_, + ClubSharedSettingsOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettingsOptions)); + ClubSharedSettingsAssignment_descriptor_ = file->message_type(8); + static const int ClubSharedSettingsAssignment_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, club_position_), + }; + ClubSharedSettingsAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSharedSettingsAssignment_descriptor_, + ClubSharedSettingsAssignment::default_instance_, + ClubSharedSettingsAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSharedSettingsAssignment)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipFilter_descriptor_, &ClubMembershipFilter::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipSubscribeOptions_descriptor_, &ClubMembershipSubscribeOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipGetStateOptions_descriptor_, &ClubMembershipGetStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipDescription_descriptor_, &ClubMembershipDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMembershipState_descriptor_, &ClubMembershipState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubPosition_descriptor_, &ClubPosition::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettings_descriptor_, &ClubSharedSettings::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettingsOptions_descriptor_, &ClubSharedSettingsOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSharedSettingsAssignment_descriptor_, &ClubSharedSettingsAssignment::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + delete ClubMembershipFilter::default_instance_; + delete ClubMembershipFilter_reflection_; + delete ClubMembershipSubscribeOptions::default_instance_; + delete ClubMembershipSubscribeOptions_reflection_; + delete ClubMembershipGetStateOptions::default_instance_; + delete ClubMembershipGetStateOptions_reflection_; + delete ClubMembershipDescription::default_instance_; + delete ClubMembershipDescription_reflection_; + delete ClubMembershipState::default_instance_; + delete ClubMembershipState_reflection_; + delete ClubPosition::default_instance_; + delete ClubPosition_reflection_; + delete ClubSharedSettings::default_instance_; + delete ClubSharedSettings_reflection_; + delete ClubSharedSettingsOptions::default_instance_; + delete ClubSharedSettingsOptions_reflection_; + delete ClubSharedSettingsAssignment::default_instance_; + delete ClubSharedSettingsAssignment_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n)api/client/v1/club_membership_types.pr" + "oto\022&bgs.protocol.club_membership.v1.cli" + "ent\032\035api/common/v1/club_type.proto\032\037api/" + "client/v1/club_member.proto\032#api/client/" + "v1/club_invitation.proto\032\035api/common/v1/" + "club_core.proto\032\026event_view_types.proto\032" + "\017rpc_types.proto\"}\n\024ClubMembershipFilter" + "\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\0222\n\004type\030\002 \001(\0132$.bgs.protocol" + ".club.v1.UniqueClubType\"|\n\036ClubMembershi" + "pSubscribeOptions\022Z\n\006filter\030\001 \003(\0132<.bgs." + "protocol.club_membership.v1.client.ClubM" + "embershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"{\n\035ClubMem" + "bershipGetStateOptions\022Z\n\006filter\030\001 \003(\0132<" + ".bgs.protocol.club_membership.v1.client." + "ClubMembershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"\203\001\n\031C" + "lubMembershipDescription\0221\n\tmember_id\030\001 " + "\001(\0132\036.bgs.protocol.club.v1.MemberId\0223\n\004c" + "lub\030\002 \001(\0132%.bgs.protocol.club.v1.ClubDes" + "cription\"\253\002\n\023ClubMembershipState\022V\n\013desc" + "ription\030\001 \003(\0132A.bgs.protocol.club_member" + "ship.v1.client.ClubMembershipDescription" + "\022\?\n\ninvitation\030\002 \003(\0132+.bgs.protocol.club" + ".v1.client.ClubInvitation\022K\n\007setting\030\003 \001" + "(\0132:.bgs.protocol.club_membership.v1.cli" + "ent.ClubSharedSettings\022.\n\014mention_view\030\004" + " \001(\0132\030.bgs.protocol.ViewMarker\"#\n\014ClubPo" + "sition\022\023\n\007club_id\030\001 \003(\004B\002\020\001\"a\n\022ClubShare" + "dSettings\022K\n\rclub_position\030\001 \001(\01324.bgs.p" + "rotocol.club_membership.v1.client.ClubPo" + "sition\"h\n\031ClubSharedSettingsOptions\022K\n\rc" + "lub_position\030\001 \001(\01324.bgs.protocol.club_m" + "embership.v1.client.ClubPosition\"k\n\034Club" + "SharedSettingsAssignment\022K\n\rclub_positio" + "n\030\001 \001(\01324.bgs.protocol.club_membership.v" + "1.client.ClubPositionB\002H\002", 1425); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_membership_types.proto", &protobuf_RegisterTypes); + ClubMembershipFilter::default_instance_ = new ClubMembershipFilter(); + ClubMembershipSubscribeOptions::default_instance_ = new ClubMembershipSubscribeOptions(); + ClubMembershipGetStateOptions::default_instance_ = new ClubMembershipGetStateOptions(); + ClubMembershipDescription::default_instance_ = new ClubMembershipDescription(); + ClubMembershipState::default_instance_ = new ClubMembershipState(); + ClubPosition::default_instance_ = new ClubPosition(); + ClubSharedSettings::default_instance_ = new ClubSharedSettings(); + ClubSharedSettingsOptions::default_instance_ = new ClubSharedSettingsOptions(); + ClubSharedSettingsAssignment::default_instance_ = new ClubSharedSettingsAssignment(); + ClubMembershipFilter::default_instance_->InitAsDefaultInstance(); + ClubMembershipSubscribeOptions::default_instance_->InitAsDefaultInstance(); + ClubMembershipGetStateOptions::default_instance_->InitAsDefaultInstance(); + ClubMembershipDescription::default_instance_->InitAsDefaultInstance(); + ClubMembershipState::default_instance_->InitAsDefaultInstance(); + ClubPosition::default_instance_->InitAsDefaultInstance(); + ClubSharedSettings::default_instance_->InitAsDefaultInstance(); + ClubSharedSettingsOptions::default_instance_->InitAsDefaultInstance(); + ClubSharedSettingsAssignment::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipFilter::kMemberIdFieldNumber; +const int ClubMembershipFilter::kTypeFieldNumber; +#endif // !_MSC_VER + +ClubMembershipFilter::ClubMembershipFilter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) +} + +void ClubMembershipFilter::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +ClubMembershipFilter::ClubMembershipFilter(const ClubMembershipFilter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) +} + +void ClubMembershipFilter::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipFilter::~ClubMembershipFilter() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) + SharedDtor(); +} + +void ClubMembershipFilter::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete type_; + } +} + +void ClubMembershipFilter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipFilter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipFilter_descriptor_; +} + +const ClubMembershipFilter& ClubMembershipFilter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipFilter* ClubMembershipFilter::default_instance_ = NULL; + +ClubMembershipFilter* ClubMembershipFilter::New() const { + return new ClubMembershipFilter; +} + +void ClubMembershipFilter::Swap(ClubMembershipFilter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipFilter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipFilter_descriptor_; + metadata.reflection = ClubMembershipFilter_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipSubscribeOptions::kFilterFieldNumber; +#endif // !_MSC_VER + +ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) +} + +void ClubMembershipSubscribeOptions::InitAsDefaultInstance() { +} + +ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) +} + +void ClubMembershipSubscribeOptions::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipSubscribeOptions::~ClubMembershipSubscribeOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) + SharedDtor(); +} + +void ClubMembershipSubscribeOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubMembershipSubscribeOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipSubscribeOptions_descriptor_; +} + +const ClubMembershipSubscribeOptions& ClubMembershipSubscribeOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::default_instance_ = NULL; + +ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::New() const { + return new ClubMembershipSubscribeOptions; +} + +void ClubMembershipSubscribeOptions::Swap(ClubMembershipSubscribeOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipSubscribeOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipSubscribeOptions_descriptor_; + metadata.reflection = ClubMembershipSubscribeOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipGetStateOptions::kFilterFieldNumber; +#endif // !_MSC_VER + +ClubMembershipGetStateOptions::ClubMembershipGetStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) +} + +void ClubMembershipGetStateOptions::InitAsDefaultInstance() { +} + +ClubMembershipGetStateOptions::ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) +} + +void ClubMembershipGetStateOptions::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipGetStateOptions::~ClubMembershipGetStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) + SharedDtor(); +} + +void ClubMembershipGetStateOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubMembershipGetStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipGetStateOptions_descriptor_; +} + +const ClubMembershipGetStateOptions& ClubMembershipGetStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::default_instance_ = NULL; + +ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::New() const { + return new ClubMembershipGetStateOptions; +} + +void ClubMembershipGetStateOptions::Swap(ClubMembershipGetStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipGetStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipGetStateOptions_descriptor_; + metadata.reflection = ClubMembershipGetStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipDescription::kMemberIdFieldNumber; +const int ClubMembershipDescription::kClubFieldNumber; +#endif // !_MSC_VER + +ClubMembershipDescription::ClubMembershipDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) +} + +void ClubMembershipDescription::InitAsDefaultInstance() { + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); +} + +ClubMembershipDescription::ClubMembershipDescription(const ClubMembershipDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) +} + +void ClubMembershipDescription::SharedCtor() { + _cached_size_ = 0; + member_id_ = NULL; + club_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipDescription::~ClubMembershipDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) + SharedDtor(); +} + +void ClubMembershipDescription::SharedDtor() { + if (this != default_instance_) { + delete member_id_; + delete club_; + } +} + +void ClubMembershipDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipDescription_descriptor_; +} + +const ClubMembershipDescription& ClubMembershipDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipDescription* ClubMembershipDescription::default_instance_ = NULL; + +ClubMembershipDescription* ClubMembershipDescription::New() const { + return new ClubMembershipDescription; +} + +void ClubMembershipDescription::Swap(ClubMembershipDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipDescription_descriptor_; + metadata.reflection = ClubMembershipDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMembershipState::kDescriptionFieldNumber; +const int ClubMembershipState::kInvitationFieldNumber; +const int ClubMembershipState::kSettingFieldNumber; +const int ClubMembershipState::kMentionViewFieldNumber; +#endif // !_MSC_VER + +ClubMembershipState::ClubMembershipState() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) +} + +void ClubMembershipState::InitAsDefaultInstance() { + setting_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubSharedSettings*>(&::bgs::protocol::club_membership::v1::client::ClubSharedSettings::default_instance()); + mention_view_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +ClubMembershipState::ClubMembershipState(const ClubMembershipState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) +} + +void ClubMembershipState::SharedCtor() { + _cached_size_ = 0; + setting_ = NULL; + mention_view_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMembershipState::~ClubMembershipState() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubMembershipState) + SharedDtor(); +} + +void ClubMembershipState::SharedDtor() { + if (this != default_instance_) { + delete setting_; + delete mention_view_; + } +} + +void ClubMembershipState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMembershipState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMembershipState_descriptor_; +} + +const ClubMembershipState& ClubMembershipState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubMembershipState* ClubMembershipState::default_instance_ = NULL; + +ClubMembershipState* ClubMembershipState::New() const { + return new ClubMembershipState; +} + +void ClubMembershipState::Swap(ClubMembershipState* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMembershipState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMembershipState_descriptor_; + metadata.reflection = ClubMembershipState_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubPosition::kClubIdFieldNumber; +#endif // !_MSC_VER + +ClubPosition::ClubPosition() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubPosition) +} + +void ClubPosition::InitAsDefaultInstance() { +} + +ClubPosition::ClubPosition(const ClubPosition& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubPosition) +} + +void ClubPosition::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubPosition::~ClubPosition() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubPosition) + SharedDtor(); +} + +void ClubPosition::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubPosition::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubPosition::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubPosition_descriptor_; +} + +const ClubPosition& ClubPosition::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubPosition* ClubPosition::default_instance_ = NULL; + +ClubPosition* ClubPosition::New() const { + return new ClubPosition; +} + +void ClubPosition::Swap(ClubPosition* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubPosition::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubPosition_descriptor_; + metadata.reflection = ClubPosition_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettings::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettings::ClubSharedSettings() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) +} + +void ClubSharedSettings::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettings::ClubSharedSettings(const ClubSharedSettings& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) +} + +void ClubSharedSettings::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettings::~ClubSharedSettings() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettings) + SharedDtor(); +} + +void ClubSharedSettings::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettings::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettings::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettings_descriptor_; +} + +const ClubSharedSettings& ClubSharedSettings::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettings* ClubSharedSettings::default_instance_ = NULL; + +ClubSharedSettings* ClubSharedSettings::New() const { + return new ClubSharedSettings; +} + +void ClubSharedSettings::Swap(ClubSharedSettings* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettings::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettings_descriptor_; + metadata.reflection = ClubSharedSettings_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettingsOptions::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettingsOptions::ClubSharedSettingsOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) +} + +void ClubSharedSettingsOptions::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettingsOptions::ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) +} + +void ClubSharedSettingsOptions::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettingsOptions::~ClubSharedSettingsOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) + SharedDtor(); +} + +void ClubSharedSettingsOptions::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettingsOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettingsOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettingsOptions_descriptor_; +} + +const ClubSharedSettingsOptions& ClubSharedSettingsOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettingsOptions* ClubSharedSettingsOptions::default_instance_ = NULL; + +ClubSharedSettingsOptions* ClubSharedSettingsOptions::New() const { + return new ClubSharedSettingsOptions; +} + +void ClubSharedSettingsOptions::Swap(ClubSharedSettingsOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettingsOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettingsOptions_descriptor_; + metadata.reflection = ClubSharedSettingsOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSharedSettingsAssignment::kClubPositionFieldNumber; +#endif // !_MSC_VER + +ClubSharedSettingsAssignment::ClubSharedSettingsAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) +} + +void ClubSharedSettingsAssignment::InitAsDefaultInstance() { + club_position_ = const_cast< ::bgs::protocol::club_membership::v1::client::ClubPosition*>(&::bgs::protocol::club_membership::v1::client::ClubPosition::default_instance()); +} + +ClubSharedSettingsAssignment::ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) +} + +void ClubSharedSettingsAssignment::SharedCtor() { + _cached_size_ = 0; + club_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSharedSettingsAssignment::~ClubSharedSettingsAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) + SharedDtor(); +} + +void ClubSharedSettingsAssignment::SharedDtor() { + if (this != default_instance_) { + delete club_position_; + } +} + +void ClubSharedSettingsAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSharedSettingsAssignment_descriptor_; +} + +const ClubSharedSettingsAssignment& ClubSharedSettingsAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + return *default_instance_; +} + +ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::default_instance_ = NULL; + +ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::New() const { + return new ClubSharedSettingsAssignment; +} + +void ClubSharedSettingsAssignment::Swap(ClubSharedSettingsAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSharedSettingsAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSharedSettingsAssignment_descriptor_; + metadata.reflection = ClubSharedSettingsAssignment_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_membership_types.pb.h b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h new file mode 100644 index 00000000000..1f7dbfe50ce --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_membership_types.pb.h @@ -0,0 +1,1310 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_membership_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_type.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/client/v1/club_invitation.pb.h" +#include "api/common/v1/club_core.pb.h" +#include "event_view_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club_membership { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + +class ClubMembershipFilter; +class ClubMembershipSubscribeOptions; +class ClubMembershipGetStateOptions; +class ClubMembershipDescription; +class ClubMembershipState; +class ClubPosition; +class ClubSharedSettings; +class ClubSharedSettingsOptions; +class ClubSharedSettingsAssignment; + +// =================================================================== + +class TC_PROTO_API ClubMembershipFilter : public ::google::protobuf::Message { + public: + ClubMembershipFilter(); + virtual ~ClubMembershipFilter(); + + ClubMembershipFilter(const ClubMembershipFilter& from); + + inline ClubMembershipFilter& operator=(const ClubMembershipFilter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipFilter& default_instance(); + + void Swap(ClubMembershipFilter* other); + + // implements Message ---------------------------------------------- + + ClubMembershipFilter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipFilter) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipFilter* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipSubscribeOptions : public ::google::protobuf::Message { + public: + ClubMembershipSubscribeOptions(); + virtual ~ClubMembershipSubscribeOptions(); + + ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from); + + inline ClubMembershipSubscribeOptions& operator=(const ClubMembershipSubscribeOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipSubscribeOptions& default_instance(); + + void Swap(ClubMembershipSubscribeOptions* other); + + // implements Message ---------------------------------------------- + + ClubMembershipSubscribeOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; + inline int filter_size() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& filter(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* mutable_filter(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* add_filter(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& + filter() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* + mutable_filter(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter > filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipSubscribeOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipGetStateOptions : public ::google::protobuf::Message { + public: + ClubMembershipGetStateOptions(); + virtual ~ClubMembershipGetStateOptions(); + + ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from); + + inline ClubMembershipGetStateOptions& operator=(const ClubMembershipGetStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipGetStateOptions& default_instance(); + + void Swap(ClubMembershipGetStateOptions* other); + + // implements Message ---------------------------------------------- + + ClubMembershipGetStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; + inline int filter_size() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& filter(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* mutable_filter(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* add_filter(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& + filter() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* + mutable_filter(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter > filter_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipGetStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipDescription : public ::google::protobuf::Message { + public: + ClubMembershipDescription(); + virtual ~ClubMembershipDescription(); + + ClubMembershipDescription(const ClubMembershipDescription& from); + + inline ClubMembershipDescription& operator=(const ClubMembershipDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipDescription& default_instance(); + + void Swap(ClubMembershipDescription* other); + + // implements Message ---------------------------------------------- + + ClubMembershipDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId member_id = 1; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.ClubDescription club = 2; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 2; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipDescription) + private: + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_club(); + inline void clear_has_club(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::ClubDescription* club_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { + public: + ClubMembershipState(); + virtual ~ClubMembershipState(); + + ClubMembershipState(const ClubMembershipState& from); + + inline ClubMembershipState& operator=(const ClubMembershipState& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMembershipState& default_instance(); + + void Swap(ClubMembershipState* other); + + // implements Message ---------------------------------------------- + + ClubMembershipState* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club_membership.v1.client.ClubMembershipDescription description = 1; + inline int description_size() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& description(int index) const; + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* mutable_description(int index); + inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* add_description(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >& + description() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* + mutable_description(); + + // repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 2; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation(int index) const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(int index); + inline ::bgs::protocol::club::v1::client::ClubInvitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* + mutable_invitation(); + + // optional .bgs.protocol.club_membership.v1.client.ClubSharedSettings setting = 3; + inline bool has_setting() const; + inline void clear_setting(); + static const int kSettingFieldNumber = 3; + inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettings& setting() const; + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* mutable_setting(); + inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* release_setting(); + inline void set_allocated_setting(::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting); + + // optional .bgs.protocol.ViewMarker mention_view = 4; + inline bool has_mention_view() const; + inline void clear_mention_view(); + static const int kMentionViewFieldNumber = 4; + inline const ::bgs::protocol::ViewMarker& mention_view() const; + inline ::bgs::protocol::ViewMarker* mutable_mention_view(); + inline ::bgs::protocol::ViewMarker* release_mention_view(); + inline void set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubMembershipState) + private: + inline void set_has_setting(); + inline void clear_has_setting(); + inline void set_has_mention_view(); + inline void clear_has_mention_view(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription > description_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation > invitation_; + ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting_; + ::bgs::protocol::ViewMarker* mention_view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubMembershipState* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubPosition : public ::google::protobuf::Message { + public: + ClubPosition(); + virtual ~ClubPosition(); + + ClubPosition(const ClubPosition& from); + + inline ClubPosition& operator=(const ClubPosition& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubPosition& default_instance(); + + void Swap(ClubPosition* other); + + // implements Message ---------------------------------------------- + + ClubPosition* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint64 club_id = 1 [packed = true]; + inline int club_id_size() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id(int index) const; + inline void set_club_id(int index, ::google::protobuf::uint64 value); + inline void add_club_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + club_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_club_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubPosition) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubPosition* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettings : public ::google::protobuf::Message { + public: + ClubSharedSettings(); + virtual ~ClubSharedSettings(); + + ClubSharedSettings(const ClubSharedSettings& from); + + inline ClubSharedSettings& operator=(const ClubSharedSettings& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettings& default_instance(); + + void Swap(ClubSharedSettings* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettings* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettings) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettings* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettingsOptions : public ::google::protobuf::Message { + public: + ClubSharedSettingsOptions(); + virtual ~ClubSharedSettingsOptions(); + + ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from); + + inline ClubSharedSettingsOptions& operator=(const ClubSharedSettingsOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettingsOptions& default_instance(); + + void Swap(ClubSharedSettingsOptions* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettingsOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettingsOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSharedSettingsAssignment : public ::google::protobuf::Message { + public: + ClubSharedSettingsAssignment(); + virtual ~ClubSharedSettingsAssignment(); + + ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from); + + inline ClubSharedSettingsAssignment& operator=(const ClubSharedSettingsAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSharedSettingsAssignment& default_instance(); + + void Swap(ClubSharedSettingsAssignment* other); + + // implements Message ---------------------------------------------- + + ClubSharedSettingsAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; + inline bool has_club_position() const; + inline void clear_club_position(); + static const int kClubPositionFieldNumber = 1; + inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& club_position() const; + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* mutable_club_position(); + inline ::bgs::protocol::club_membership::v1::client::ClubPosition* release_club_position(); + inline void set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment) + private: + inline void set_has_club_position(); + inline void clear_has_club_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club_membership::v1::client::ClubPosition* club_position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ClubSharedSettingsAssignment* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubMembershipFilter + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool ClubMembershipFilter::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMembershipFilter::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMembershipFilter::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMembershipFilter::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipFilter::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubMembershipFilter::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.member_id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool ClubMembershipFilter::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMembershipFilter::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMembershipFilter::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMembershipFilter::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubMembershipFilter::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubMembershipFilter::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipFilter.type) +} + +// ------------------------------------------------------------------- + +// ClubMembershipSubscribeOptions + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; +inline int ClubMembershipSubscribeOptions::filter_size() const { + return filter_.size(); +} +inline void ClubMembershipSubscribeOptions::clear_filter() { + filter_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& ClubMembershipSubscribeOptions::filter(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipSubscribeOptions::mutable_filter(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipSubscribeOptions::add_filter() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& +ClubMembershipSubscribeOptions::filter() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return filter_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* +ClubMembershipSubscribeOptions::mutable_filter() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipSubscribeOptions.filter) + return &filter_; +} + +// ------------------------------------------------------------------- + +// ClubMembershipGetStateOptions + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipFilter filter = 1; +inline int ClubMembershipGetStateOptions::filter_size() const { + return filter_.size(); +} +inline void ClubMembershipGetStateOptions::clear_filter() { + filter_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter& ClubMembershipGetStateOptions::filter(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipGetStateOptions::mutable_filter(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter* ClubMembershipGetStateOptions::add_filter() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >& +ClubMembershipGetStateOptions::filter() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return filter_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipFilter >* +ClubMembershipGetStateOptions::mutable_filter() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipGetStateOptions.filter) + return &filter_; +} + +// ------------------------------------------------------------------- + +// ClubMembershipDescription + +// optional .bgs.protocol.club.v1.MemberId member_id = 1; +inline bool ClubMembershipDescription::has_member_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMembershipDescription::set_has_member_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMembershipDescription::clear_has_member_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMembershipDescription::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipDescription::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void ClubMembershipDescription::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.member_id) +} + +// optional .bgs.protocol.club.v1.ClubDescription club = 2; +inline bool ClubMembershipDescription::has_club() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMembershipDescription::set_has_club() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMembershipDescription::clear_has_club() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMembershipDescription::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& ClubMembershipDescription::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void ClubMembershipDescription::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipDescription.club) +} + +// ------------------------------------------------------------------- + +// ClubMembershipState + +// repeated .bgs.protocol.club_membership.v1.client.ClubMembershipDescription description = 1; +inline int ClubMembershipState::description_size() const { + return description_.size(); +} +inline void ClubMembershipState::clear_description() { + description_.Clear(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription& ClubMembershipState::description(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Get(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubMembershipState::mutable_description(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Mutable(index); +} +inline ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription* ClubMembershipState::add_description() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >& +ClubMembershipState::description() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return description_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club_membership::v1::client::ClubMembershipDescription >* +ClubMembershipState::mutable_description() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.description) + return &description_; +} + +// repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 2; +inline int ClubMembershipState::invitation_size() const { + return invitation_.size(); +} +inline void ClubMembershipState::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& ClubMembershipState::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ClubMembershipState::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* ClubMembershipState::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& +ClubMembershipState::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* +ClubMembershipState::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubMembershipState.invitation) + return &invitation_; +} + +// optional .bgs.protocol.club_membership.v1.client.ClubSharedSettings setting = 3; +inline bool ClubMembershipState::has_setting() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubMembershipState::set_has_setting() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubMembershipState::clear_has_setting() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubMembershipState::clear_setting() { + if (setting_ != NULL) setting_->::bgs::protocol::club_membership::v1::client::ClubSharedSettings::Clear(); + clear_has_setting(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubSharedSettings& ClubMembershipState::setting() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) + return setting_ != NULL ? *setting_ : *default_instance_->setting_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* ClubMembershipState::mutable_setting() { + set_has_setting(); + if (setting_ == NULL) setting_ = new ::bgs::protocol::club_membership::v1::client::ClubSharedSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) + return setting_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* ClubMembershipState::release_setting() { + clear_has_setting(); + ::bgs::protocol::club_membership::v1::client::ClubSharedSettings* temp = setting_; + setting_ = NULL; + return temp; +} +inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club_membership::v1::client::ClubSharedSettings* setting) { + delete setting_; + setting_ = setting; + if (setting) { + set_has_setting(); + } else { + clear_has_setting(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.setting) +} + +// optional .bgs.protocol.ViewMarker mention_view = 4; +inline bool ClubMembershipState::has_mention_view() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubMembershipState::set_has_mention_view() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubMembershipState::clear_has_mention_view() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubMembershipState::clear_mention_view() { + if (mention_view_ != NULL) mention_view_->::bgs::protocol::ViewMarker::Clear(); + clear_has_mention_view(); +} +inline const ::bgs::protocol::ViewMarker& ClubMembershipState::mention_view() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) + return mention_view_ != NULL ? *mention_view_ : *default_instance_->mention_view_; +} +inline ::bgs::protocol::ViewMarker* ClubMembershipState::mutable_mention_view() { + set_has_mention_view(); + if (mention_view_ == NULL) mention_view_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) + return mention_view_; +} +inline ::bgs::protocol::ViewMarker* ClubMembershipState::release_mention_view() { + clear_has_mention_view(); + ::bgs::protocol::ViewMarker* temp = mention_view_; + mention_view_ = NULL; + return temp; +} +inline void ClubMembershipState::set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view) { + delete mention_view_; + mention_view_ = mention_view; + if (mention_view) { + set_has_mention_view(); + } else { + clear_has_mention_view(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubMembershipState.mention_view) +} + +// ------------------------------------------------------------------- + +// ClubPosition + +// repeated uint64 club_id = 1 [packed = true]; +inline int ClubPosition::club_id_size() const { + return club_id_.size(); +} +inline void ClubPosition::clear_club_id() { + club_id_.Clear(); +} +inline ::google::protobuf::uint64 ClubPosition::club_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return club_id_.Get(index); +} +inline void ClubPosition::set_club_id(int index, ::google::protobuf::uint64 value) { + club_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) +} +inline void ClubPosition::add_club_id(::google::protobuf::uint64 value) { + club_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +ClubPosition::club_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return club_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +ClubPosition::mutable_club_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club_membership.v1.client.ClubPosition.club_id) + return &club_id_; +} + +// ------------------------------------------------------------------- + +// ClubSharedSettings + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettings::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettings::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettings::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettings::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettings::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettings::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettings::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettings::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettings.club_position) +} + +// ------------------------------------------------------------------- + +// ClubSharedSettingsOptions + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettingsOptions::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettingsOptions::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettingsOptions::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettingsOptions::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettingsOptions::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsOptions::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsOptions::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettingsOptions::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettingsOptions.club_position) +} + +// ------------------------------------------------------------------- + +// ClubSharedSettingsAssignment + +// optional .bgs.protocol.club_membership.v1.client.ClubPosition club_position = 1; +inline bool ClubSharedSettingsAssignment::has_club_position() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSharedSettingsAssignment::set_has_club_position() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSharedSettingsAssignment::clear_has_club_position() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSharedSettingsAssignment::clear_club_position() { + if (club_position_ != NULL) club_position_->::bgs::protocol::club_membership::v1::client::ClubPosition::Clear(); + clear_has_club_position(); +} +inline const ::bgs::protocol::club_membership::v1::client::ClubPosition& ClubSharedSettingsAssignment::club_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) + return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsAssignment::mutable_club_position() { + set_has_club_position(); + if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club_membership::v1::client::ClubPosition; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) + return club_position_; +} +inline ::bgs::protocol::club_membership::v1::client::ClubPosition* ClubSharedSettingsAssignment::release_club_position() { + clear_has_club_position(); + ::bgs::protocol::club_membership::v1::client::ClubPosition* temp = club_position_; + club_position_ = NULL; + return temp; +} +inline void ClubSharedSettingsAssignment::set_allocated_club_position(::bgs::protocol::club_membership::v1::client::ClubPosition* club_position) { + delete club_position_; + club_position_ = club_position; + if (club_position) { + set_has_club_position(); + } else { + clear_has_club_position(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club_membership.v1.client.ClubSharedSettingsAssignment.club_position) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club_membership +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc new file mode 100644 index 00000000000..d60390dc4cb --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.cc @@ -0,0 +1,518 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_name_generator.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_name_generator.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* NameGeneratorConfig_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorConfig_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGeneratorScorecard_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorScorecard_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGenerator_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGenerator_reflection_ = NULL; +const ::google::protobuf::Descriptor* NameGeneratorReplacement_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + NameGeneratorReplacement_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_name_generator.proto"); + GOOGLE_CHECK(file != NULL); + NameGeneratorConfig_descriptor_ = file->message_type(0); + static const int NameGeneratorConfig_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, name_generators_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, club_type_scorecard_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, locale_scorecard_), + }; + NameGeneratorConfig_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorConfig_descriptor_, + NameGeneratorConfig::default_instance_, + NameGeneratorConfig_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorConfig)); + NameGeneratorScorecard_descriptor_ = file->message_type(1); + static const int NameGeneratorScorecard_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, is_required_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_match_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_match_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_fallback_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_fallback_), + }; + NameGeneratorScorecard_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorScorecard_descriptor_, + NameGeneratorScorecard::default_instance_, + NameGeneratorScorecard_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorScorecard)); + NameGenerator_descriptor_ = file->message_type(2); + static const int NameGenerator_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, names_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, replacements_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, club_types_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, locales_), + }; + NameGenerator_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGenerator_descriptor_, + NameGenerator::default_instance_, + NameGenerator_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGenerator)); + NameGeneratorReplacement_descriptor_ = file->message_type(3); + static const int NameGeneratorReplacement_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, options_), + }; + NameGeneratorReplacement_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + NameGeneratorReplacement_descriptor_, + NameGeneratorReplacement::default_instance_, + NameGeneratorReplacement_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(NameGeneratorReplacement)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorConfig_descriptor_, &NameGeneratorConfig::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorScorecard_descriptor_, &NameGeneratorScorecard::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGenerator_descriptor_, &NameGenerator::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + NameGeneratorReplacement_descriptor_, &NameGeneratorReplacement::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + delete NameGeneratorConfig::default_instance_; + delete NameGeneratorConfig_reflection_; + delete NameGeneratorScorecard::default_instance_; + delete NameGeneratorScorecard_reflection_; + delete NameGenerator::default_instance_; + delete NameGenerator_reflection_; + delete NameGeneratorReplacement::default_instance_; + delete NameGeneratorReplacement_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/client/v1/club_name_generator.prot" + "o\022\033bgs.protocol.club.v1.client\032\035api/comm" + "on/v1/club_type.proto\"\373\001\n\023NameGeneratorC" + "onfig\022C\n\017name_generators\030\001 \003(\0132*.bgs.pro" + "tocol.club.v1.client.NameGenerator\022P\n\023cl" + "ub_type_scorecard\030\002 \001(\01323.bgs.protocol.c" + "lub.v1.client.NameGeneratorScorecard\022M\n\020" + "locale_scorecard\030\003 \001(\01323.bgs.protocol.cl" + "ub.v1.client.NameGeneratorScorecard\"\211\001\n\026" + "NameGeneratorScorecard\022\023\n\013is_required\030\001 " + "\001(\010\022\022\n\nfull_match\030\002 \001(\r\022\025\n\rpartial_match" + "\030\003 \001(\r\022\030\n\020partial_fallback\030\004 \001(\r\022\025\n\rfull" + "_fallback\030\005 \001(\r\"\266\001\n\rNameGenerator\022\r\n\005nam" + "es\030\001 \003(\t\022K\n\014replacements\030\002 \003(\01325.bgs.pro" + "tocol.club.v1.client.NameGeneratorReplac" + "ement\0228\n\nclub_types\030\003 \003(\0132$.bgs.protocol" + ".club.v1.UniqueClubType\022\017\n\007locales\030\004 \003(\t" + "\"7\n\030NameGeneratorReplacement\022\n\n\002id\030\001 \001(\t" + "\022\017\n\007options\030\002 \003(\tB\002H\002", 741); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_name_generator.proto", &protobuf_RegisterTypes); + NameGeneratorConfig::default_instance_ = new NameGeneratorConfig(); + NameGeneratorScorecard::default_instance_ = new NameGeneratorScorecard(); + NameGenerator::default_instance_ = new NameGenerator(); + NameGeneratorReplacement::default_instance_ = new NameGeneratorReplacement(); + NameGeneratorConfig::default_instance_->InitAsDefaultInstance(); + NameGeneratorScorecard::default_instance_->InitAsDefaultInstance(); + NameGenerator::default_instance_->InitAsDefaultInstance(); + NameGeneratorReplacement::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorConfig::kNameGeneratorsFieldNumber; +const int NameGeneratorConfig::kClubTypeScorecardFieldNumber; +const int NameGeneratorConfig::kLocaleScorecardFieldNumber; +#endif // !_MSC_VER + +NameGeneratorConfig::NameGeneratorConfig() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorConfig) +} + +void NameGeneratorConfig::InitAsDefaultInstance() { + club_type_scorecard_ = const_cast< ::bgs::protocol::club::v1::client::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::client::NameGeneratorScorecard::default_instance()); + locale_scorecard_ = const_cast< ::bgs::protocol::club::v1::client::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::client::NameGeneratorScorecard::default_instance()); +} + +NameGeneratorConfig::NameGeneratorConfig(const NameGeneratorConfig& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorConfig) +} + +void NameGeneratorConfig::SharedCtor() { + _cached_size_ = 0; + club_type_scorecard_ = NULL; + locale_scorecard_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorConfig::~NameGeneratorConfig() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorConfig) + SharedDtor(); +} + +void NameGeneratorConfig::SharedDtor() { + if (this != default_instance_) { + delete club_type_scorecard_; + delete locale_scorecard_; + } +} + +void NameGeneratorConfig::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorConfig::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorConfig_descriptor_; +} + +const NameGeneratorConfig& NameGeneratorConfig::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorConfig* NameGeneratorConfig::default_instance_ = NULL; + +NameGeneratorConfig* NameGeneratorConfig::New() const { + return new NameGeneratorConfig; +} + +void NameGeneratorConfig::Swap(NameGeneratorConfig* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorConfig::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorConfig_descriptor_; + metadata.reflection = NameGeneratorConfig_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorScorecard::kIsRequiredFieldNumber; +const int NameGeneratorScorecard::kFullMatchFieldNumber; +const int NameGeneratorScorecard::kPartialMatchFieldNumber; +const int NameGeneratorScorecard::kPartialFallbackFieldNumber; +const int NameGeneratorScorecard::kFullFallbackFieldNumber; +#endif // !_MSC_VER + +NameGeneratorScorecard::NameGeneratorScorecard() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) +} + +void NameGeneratorScorecard::InitAsDefaultInstance() { +} + +NameGeneratorScorecard::NameGeneratorScorecard(const NameGeneratorScorecard& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) +} + +void NameGeneratorScorecard::SharedCtor() { + _cached_size_ = 0; + is_required_ = false; + full_match_ = 0u; + partial_match_ = 0u; + partial_fallback_ = 0u; + full_fallback_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorScorecard::~NameGeneratorScorecard() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorScorecard) + SharedDtor(); +} + +void NameGeneratorScorecard::SharedDtor() { + if (this != default_instance_) { + } +} + +void NameGeneratorScorecard::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorScorecard::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorScorecard_descriptor_; +} + +const NameGeneratorScorecard& NameGeneratorScorecard::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorScorecard* NameGeneratorScorecard::default_instance_ = NULL; + +NameGeneratorScorecard* NameGeneratorScorecard::New() const { + return new NameGeneratorScorecard; +} + +void NameGeneratorScorecard::Swap(NameGeneratorScorecard* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorScorecard::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorScorecard_descriptor_; + metadata.reflection = NameGeneratorScorecard_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGenerator::kNamesFieldNumber; +const int NameGenerator::kReplacementsFieldNumber; +const int NameGenerator::kClubTypesFieldNumber; +const int NameGenerator::kLocalesFieldNumber; +#endif // !_MSC_VER + +NameGenerator::NameGenerator() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGenerator) +} + +void NameGenerator::InitAsDefaultInstance() { +} + +NameGenerator::NameGenerator(const NameGenerator& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGenerator) +} + +void NameGenerator::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGenerator::~NameGenerator() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGenerator) + SharedDtor(); +} + +void NameGenerator::SharedDtor() { + if (this != default_instance_) { + } +} + +void NameGenerator::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGenerator::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGenerator_descriptor_; +} + +const NameGenerator& NameGenerator::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGenerator* NameGenerator::default_instance_ = NULL; + +NameGenerator* NameGenerator::New() const { + return new NameGenerator; +} + +void NameGenerator::Swap(NameGenerator* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGenerator::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGenerator_descriptor_; + metadata.reflection = NameGenerator_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int NameGeneratorReplacement::kIdFieldNumber; +const int NameGeneratorReplacement::kOptionsFieldNumber; +#endif // !_MSC_VER + +NameGeneratorReplacement::NameGeneratorReplacement() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) +} + +void NameGeneratorReplacement::InitAsDefaultInstance() { +} + +NameGeneratorReplacement::NameGeneratorReplacement(const NameGeneratorReplacement& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) +} + +void NameGeneratorReplacement::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +NameGeneratorReplacement::~NameGeneratorReplacement() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.NameGeneratorReplacement) + SharedDtor(); +} + +void NameGeneratorReplacement::SharedDtor() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (this != default_instance_) { + } +} + +void NameGeneratorReplacement::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* NameGeneratorReplacement::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NameGeneratorReplacement_descriptor_; +} + +const NameGeneratorReplacement& NameGeneratorReplacement::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + return *default_instance_; +} + +NameGeneratorReplacement* NameGeneratorReplacement::default_instance_ = NULL; + +NameGeneratorReplacement* NameGeneratorReplacement::New() const { + return new NameGeneratorReplacement; +} + +void NameGeneratorReplacement::Swap(NameGeneratorReplacement* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata NameGeneratorReplacement::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = NameGeneratorReplacement_descriptor_; + metadata.reflection = NameGeneratorReplacement_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_name_generator.pb.h b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h new file mode 100644 index 00000000000..9c68e7fee1e --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_name_generator.pb.h @@ -0,0 +1,1017 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_name_generator.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_type.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + +class NameGeneratorConfig; +class NameGeneratorScorecard; +class NameGenerator; +class NameGeneratorReplacement; + +// =================================================================== + +class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message { + public: + NameGeneratorConfig(); + virtual ~NameGeneratorConfig(); + + NameGeneratorConfig(const NameGeneratorConfig& from); + + inline NameGeneratorConfig& operator=(const NameGeneratorConfig& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorConfig& default_instance(); + + void Swap(NameGeneratorConfig* other); + + // implements Message ---------------------------------------------- + + NameGeneratorConfig* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.NameGenerator name_generators = 1; + inline int name_generators_size() const; + inline void clear_name_generators(); + static const int kNameGeneratorsFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::NameGenerator& name_generators(int index) const; + inline ::bgs::protocol::club::v1::client::NameGenerator* mutable_name_generators(int index); + inline ::bgs::protocol::club::v1::client::NameGenerator* add_name_generators(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >& + name_generators() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* + mutable_name_generators(); + + // optional .bgs.protocol.club.v1.client.NameGeneratorScorecard club_type_scorecard = 2; + inline bool has_club_type_scorecard() const; + inline void clear_club_type_scorecard(); + static const int kClubTypeScorecardFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& club_type_scorecard() const; + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* mutable_club_type_scorecard(); + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* release_club_type_scorecard(); + inline void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard); + + // optional .bgs.protocol.club.v1.client.NameGeneratorScorecard locale_scorecard = 3; + inline bool has_locale_scorecard() const; + inline void clear_locale_scorecard(); + static const int kLocaleScorecardFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& locale_scorecard() const; + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* mutable_locale_scorecard(); + inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* release_locale_scorecard(); + inline void set_allocated_locale_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorConfig) + private: + inline void set_has_club_type_scorecard(); + inline void clear_has_club_type_scorecard(); + inline void set_has_locale_scorecard(); + inline void clear_has_locale_scorecard(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator > name_generators_; + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard_; + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorConfig* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message { + public: + NameGeneratorScorecard(); + virtual ~NameGeneratorScorecard(); + + NameGeneratorScorecard(const NameGeneratorScorecard& from); + + inline NameGeneratorScorecard& operator=(const NameGeneratorScorecard& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorScorecard& default_instance(); + + void Swap(NameGeneratorScorecard* other); + + // implements Message ---------------------------------------------- + + NameGeneratorScorecard* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool is_required = 1; + inline bool has_is_required() const; + inline void clear_is_required(); + static const int kIsRequiredFieldNumber = 1; + inline bool is_required() const; + inline void set_is_required(bool value); + + // optional uint32 full_match = 2; + inline bool has_full_match() const; + inline void clear_full_match(); + static const int kFullMatchFieldNumber = 2; + inline ::google::protobuf::uint32 full_match() const; + inline void set_full_match(::google::protobuf::uint32 value); + + // optional uint32 partial_match = 3; + inline bool has_partial_match() const; + inline void clear_partial_match(); + static const int kPartialMatchFieldNumber = 3; + inline ::google::protobuf::uint32 partial_match() const; + inline void set_partial_match(::google::protobuf::uint32 value); + + // optional uint32 partial_fallback = 4; + inline bool has_partial_fallback() const; + inline void clear_partial_fallback(); + static const int kPartialFallbackFieldNumber = 4; + inline ::google::protobuf::uint32 partial_fallback() const; + inline void set_partial_fallback(::google::protobuf::uint32 value); + + // optional uint32 full_fallback = 5; + inline bool has_full_fallback() const; + inline void clear_full_fallback(); + static const int kFullFallbackFieldNumber = 5; + inline ::google::protobuf::uint32 full_fallback() const; + inline void set_full_fallback(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorScorecard) + private: + inline void set_has_is_required(); + inline void clear_has_is_required(); + inline void set_has_full_match(); + inline void clear_has_full_match(); + inline void set_has_partial_match(); + inline void clear_has_partial_match(); + inline void set_has_partial_fallback(); + inline void clear_has_partial_fallback(); + inline void set_has_full_fallback(); + inline void clear_has_full_fallback(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool is_required_; + ::google::protobuf::uint32 full_match_; + ::google::protobuf::uint32 partial_match_; + ::google::protobuf::uint32 partial_fallback_; + ::google::protobuf::uint32 full_fallback_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorScorecard* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { + public: + NameGenerator(); + virtual ~NameGenerator(); + + NameGenerator(const NameGenerator& from); + + inline NameGenerator& operator=(const NameGenerator& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGenerator& default_instance(); + + void Swap(NameGenerator* other); + + // implements Message ---------------------------------------------- + + NameGenerator* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string names = 1; + inline int names_size() const; + inline void clear_names(); + static const int kNamesFieldNumber = 1; + inline const ::std::string& names(int index) const; + inline ::std::string* mutable_names(int index); + inline void set_names(int index, const ::std::string& value); + inline void set_names(int index, const char* value); + inline void set_names(int index, const char* value, size_t size); + inline ::std::string* add_names(); + inline void add_names(const ::std::string& value); + inline void add_names(const char* value); + inline void add_names(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names(); + + // repeated .bgs.protocol.club.v1.client.NameGeneratorReplacement replacements = 2; + inline int replacements_size() const; + inline void clear_replacements(); + static const int kReplacementsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::NameGeneratorReplacement& replacements(int index) const; + inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* mutable_replacements(int index); + inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* add_replacements(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >& + replacements() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* + mutable_replacements(); + + // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; + inline int club_types_size() const; + inline void clear_club_types(); + static const int kClubTypesFieldNumber = 3; + inline const ::bgs::protocol::club::v1::UniqueClubType& club_types(int index) const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_types(int index); + inline ::bgs::protocol::club::v1::UniqueClubType* add_club_types(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& + club_types() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* + mutable_club_types(); + + // repeated string locales = 4; + inline int locales_size() const; + inline void clear_locales(); + static const int kLocalesFieldNumber = 4; + inline const ::std::string& locales(int index) const; + inline ::std::string* mutable_locales(int index); + inline void set_locales(int index, const ::std::string& value); + inline void set_locales(int index, const char* value); + inline void set_locales(int index, const char* value, size_t size); + inline ::std::string* add_locales(); + inline void add_locales(const ::std::string& value); + inline void add_locales(const char* value); + inline void add_locales(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& locales() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_locales(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGenerator) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::std::string> names_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement > replacements_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_; + ::google::protobuf::RepeatedPtrField< ::std::string> locales_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGenerator* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message { + public: + NameGeneratorReplacement(); + virtual ~NameGeneratorReplacement(); + + NameGeneratorReplacement(const NameGeneratorReplacement& from); + + inline NameGeneratorReplacement& operator=(const NameGeneratorReplacement& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const NameGeneratorReplacement& default_instance(); + + void Swap(NameGeneratorReplacement* other); + + // implements Message ---------------------------------------------- + + NameGeneratorReplacement* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline const ::std::string& id() const; + inline void set_id(const ::std::string& value); + inline void set_id(const char* value); + inline void set_id(const char* value, size_t size); + inline ::std::string* mutable_id(); + inline ::std::string* release_id(); + inline void set_allocated_id(::std::string* id); + + // repeated string options = 2; + inline int options_size() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::std::string& options(int index) const; + inline ::std::string* mutable_options(int index); + inline void set_options(int index, const ::std::string& value); + inline void set_options(int index, const char* value); + inline void set_options(int index, const char* value, size_t size); + inline ::std::string* add_options(); + inline void add_options(const ::std::string& value); + inline void add_options(const char* value); + inline void add_options(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& options() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_options(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.NameGeneratorReplacement) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* id_; + ::google::protobuf::RepeatedPtrField< ::std::string> options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + + void InitAsDefaultInstance(); + static NameGeneratorReplacement* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// NameGeneratorConfig + +// repeated .bgs.protocol.club.v1.client.NameGenerator name_generators = 1; +inline int NameGeneratorConfig::name_generators_size() const { + return name_generators_.size(); +} +inline void NameGeneratorConfig::clear_name_generators() { + name_generators_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::NameGenerator& NameGeneratorConfig::name_generators(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Get(index); +} +inline ::bgs::protocol::club::v1::client::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::NameGenerator* NameGeneratorConfig::add_name_generators() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >& +NameGeneratorConfig::name_generators() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return name_generators_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGenerator >* +NameGeneratorConfig::mutable_name_generators() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGeneratorConfig.name_generators) + return &name_generators_; +} + +// optional .bgs.protocol.club.v1.client.NameGeneratorScorecard club_type_scorecard = 2; +inline bool NameGeneratorConfig::has_club_type_scorecard() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void NameGeneratorConfig::set_has_club_type_scorecard() { + _has_bits_[0] |= 0x00000002u; +} +inline void NameGeneratorConfig::clear_has_club_type_scorecard() { + _has_bits_[0] &= ~0x00000002u; +} +inline void NameGeneratorConfig::clear_club_type_scorecard() { + if (club_type_scorecard_ != NULL) club_type_scorecard_->::bgs::protocol::club::v1::client::NameGeneratorScorecard::Clear(); + clear_has_club_type_scorecard(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) + return club_type_scorecard_ != NULL ? *club_type_scorecard_ : *default_instance_->club_type_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::mutable_club_type_scorecard() { + set_has_club_type_scorecard(); + if (club_type_scorecard_ == NULL) club_type_scorecard_ = new ::bgs::protocol::club::v1::client::NameGeneratorScorecard; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) + return club_type_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() { + clear_has_club_type_scorecard(); + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* temp = club_type_scorecard_; + club_type_scorecard_ = NULL; + return temp; +} +inline void NameGeneratorConfig::set_allocated_club_type_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* club_type_scorecard) { + delete club_type_scorecard_; + club_type_scorecard_ = club_type_scorecard; + if (club_type_scorecard) { + set_has_club_type_scorecard(); + } else { + clear_has_club_type_scorecard(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.club_type_scorecard) +} + +// optional .bgs.protocol.club.v1.client.NameGeneratorScorecard locale_scorecard = 3; +inline bool NameGeneratorConfig::has_locale_scorecard() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void NameGeneratorConfig::set_has_locale_scorecard() { + _has_bits_[0] |= 0x00000004u; +} +inline void NameGeneratorConfig::clear_has_locale_scorecard() { + _has_bits_[0] &= ~0x00000004u; +} +inline void NameGeneratorConfig::clear_locale_scorecard() { + if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::client::NameGeneratorScorecard::Clear(); + clear_has_locale_scorecard(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorScorecard& NameGeneratorConfig::locale_scorecard() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) + return locale_scorecard_ != NULL ? *locale_scorecard_ : *default_instance_->locale_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::mutable_locale_scorecard() { + set_has_locale_scorecard(); + if (locale_scorecard_ == NULL) locale_scorecard_ = new ::bgs::protocol::club::v1::client::NameGeneratorScorecard; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) + return locale_scorecard_; +} +inline ::bgs::protocol::club::v1::client::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() { + clear_has_locale_scorecard(); + ::bgs::protocol::club::v1::client::NameGeneratorScorecard* temp = locale_scorecard_; + locale_scorecard_ = NULL; + return temp; +} +inline void NameGeneratorConfig::set_allocated_locale_scorecard(::bgs::protocol::club::v1::client::NameGeneratorScorecard* locale_scorecard) { + delete locale_scorecard_; + locale_scorecard_ = locale_scorecard; + if (locale_scorecard) { + set_has_locale_scorecard(); + } else { + clear_has_locale_scorecard(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorConfig.locale_scorecard) +} + +// ------------------------------------------------------------------- + +// NameGeneratorScorecard + +// optional bool is_required = 1; +inline bool NameGeneratorScorecard::has_is_required() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void NameGeneratorScorecard::set_has_is_required() { + _has_bits_[0] |= 0x00000001u; +} +inline void NameGeneratorScorecard::clear_has_is_required() { + _has_bits_[0] &= ~0x00000001u; +} +inline void NameGeneratorScorecard::clear_is_required() { + is_required_ = false; + clear_has_is_required(); +} +inline bool NameGeneratorScorecard::is_required() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.is_required) + return is_required_; +} +inline void NameGeneratorScorecard::set_is_required(bool value) { + set_has_is_required(); + is_required_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.is_required) +} + +// optional uint32 full_match = 2; +inline bool NameGeneratorScorecard::has_full_match() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void NameGeneratorScorecard::set_has_full_match() { + _has_bits_[0] |= 0x00000002u; +} +inline void NameGeneratorScorecard::clear_has_full_match() { + _has_bits_[0] &= ~0x00000002u; +} +inline void NameGeneratorScorecard::clear_full_match() { + full_match_ = 0u; + clear_has_full_match(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::full_match() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_match) + return full_match_; +} +inline void NameGeneratorScorecard::set_full_match(::google::protobuf::uint32 value) { + set_has_full_match(); + full_match_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_match) +} + +// optional uint32 partial_match = 3; +inline bool NameGeneratorScorecard::has_partial_match() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void NameGeneratorScorecard::set_has_partial_match() { + _has_bits_[0] |= 0x00000004u; +} +inline void NameGeneratorScorecard::clear_has_partial_match() { + _has_bits_[0] &= ~0x00000004u; +} +inline void NameGeneratorScorecard::clear_partial_match() { + partial_match_ = 0u; + clear_has_partial_match(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_match() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_match) + return partial_match_; +} +inline void NameGeneratorScorecard::set_partial_match(::google::protobuf::uint32 value) { + set_has_partial_match(); + partial_match_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_match) +} + +// optional uint32 partial_fallback = 4; +inline bool NameGeneratorScorecard::has_partial_fallback() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void NameGeneratorScorecard::set_has_partial_fallback() { + _has_bits_[0] |= 0x00000008u; +} +inline void NameGeneratorScorecard::clear_has_partial_fallback() { + _has_bits_[0] &= ~0x00000008u; +} +inline void NameGeneratorScorecard::clear_partial_fallback() { + partial_fallback_ = 0u; + clear_has_partial_fallback(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_fallback() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_fallback) + return partial_fallback_; +} +inline void NameGeneratorScorecard::set_partial_fallback(::google::protobuf::uint32 value) { + set_has_partial_fallback(); + partial_fallback_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.partial_fallback) +} + +// optional uint32 full_fallback = 5; +inline bool NameGeneratorScorecard::has_full_fallback() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void NameGeneratorScorecard::set_has_full_fallback() { + _has_bits_[0] |= 0x00000010u; +} +inline void NameGeneratorScorecard::clear_has_full_fallback() { + _has_bits_[0] &= ~0x00000010u; +} +inline void NameGeneratorScorecard::clear_full_fallback() { + full_fallback_ = 0u; + clear_has_full_fallback(); +} +inline ::google::protobuf::uint32 NameGeneratorScorecard::full_fallback() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_fallback) + return full_fallback_; +} +inline void NameGeneratorScorecard::set_full_fallback(::google::protobuf::uint32 value) { + set_has_full_fallback(); + full_fallback_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorScorecard.full_fallback) +} + +// ------------------------------------------------------------------- + +// NameGenerator + +// repeated string names = 1; +inline int NameGenerator::names_size() const { + return names_.size(); +} +inline void NameGenerator::clear_names() { + names_.Clear(); +} +inline const ::std::string& NameGenerator::names(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.names) + return names_.Get(index); +} +inline ::std::string* NameGenerator::mutable_names(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.names) + return names_.Mutable(index); +} +inline void NameGenerator::set_names(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGenerator.names) + names_.Mutable(index)->assign(value); +} +inline void NameGenerator::set_names(int index, const char* value) { + names_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::set_names(int index, const char* value, size_t size) { + names_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline ::std::string* NameGenerator::add_names() { + return names_.Add(); +} +inline void NameGenerator::add_names(const ::std::string& value) { + names_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::add_names(const char* value) { + names_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline void NameGenerator::add_names(const char* value, size_t size) { + names_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGenerator.names) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGenerator::names() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.names) + return names_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGenerator::mutable_names() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.names) + return &names_; +} + +// repeated .bgs.protocol.club.v1.client.NameGeneratorReplacement replacements = 2; +inline int NameGenerator::replacements_size() const { + return replacements_.size(); +} +inline void NameGenerator::clear_replacements() { + replacements_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::NameGeneratorReplacement& NameGenerator::replacements(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Get(index); +} +inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::NameGeneratorReplacement* NameGenerator::add_replacements() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >& +NameGenerator::replacements() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.replacements) + return replacements_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::NameGeneratorReplacement >* +NameGenerator::mutable_replacements() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.replacements) + return &replacements_; +} + +// repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; +inline int NameGenerator::club_types_size() const { + return club_types_.size(); +} +inline void NameGenerator::clear_club_types() { + club_types_.Clear(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& NameGenerator::club_types(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Get(index); +} +inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::mutable_club_types(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Mutable(index); +} +inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::add_club_types() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& +NameGenerator::club_types() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.club_types) + return club_types_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* +NameGenerator::mutable_club_types() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.club_types) + return &club_types_; +} + +// repeated string locales = 4; +inline int NameGenerator::locales_size() const { + return locales_.size(); +} +inline void NameGenerator::clear_locales() { + locales_.Clear(); +} +inline const ::std::string& NameGenerator::locales(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_.Get(index); +} +inline ::std::string* NameGenerator::mutable_locales(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_.Mutable(index); +} +inline void NameGenerator::set_locales(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGenerator.locales) + locales_.Mutable(index)->assign(value); +} +inline void NameGenerator::set_locales(int index, const char* value) { + locales_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::set_locales(int index, const char* value, size_t size) { + locales_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline ::std::string* NameGenerator::add_locales() { + return locales_.Add(); +} +inline void NameGenerator::add_locales(const ::std::string& value) { + locales_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::add_locales(const char* value) { + locales_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline void NameGenerator::add_locales(const char* value, size_t size) { + locales_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGenerator.locales) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGenerator::locales() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGenerator.locales) + return locales_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGenerator::mutable_locales() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGenerator.locales) + return &locales_; +} + +// ------------------------------------------------------------------- + +// NameGeneratorReplacement + +// optional string id = 1; +inline bool NameGeneratorReplacement::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void NameGeneratorReplacement::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void NameGeneratorReplacement::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void NameGeneratorReplacement::clear_id() { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_->clear(); + } + clear_has_id(); +} +inline const ::std::string& NameGeneratorReplacement::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) + return *id_; +} +inline void NameGeneratorReplacement::set_id(const ::std::string& value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline void NameGeneratorReplacement::set_id(const char* value) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline void NameGeneratorReplacement::set_id(const char* value, size_t size) { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} +inline ::std::string* NameGeneratorReplacement::mutable_id() { + set_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) + return id_; +} +inline ::std::string* NameGeneratorReplacement::release_id() { + clear_has_id(); + if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = id_; + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) { + if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete id_; + } + if (id) { + set_has_id(); + id_ = id; + } else { + clear_has_id(); + id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.NameGeneratorReplacement.id) +} + +// repeated string options = 2; +inline int NameGeneratorReplacement::options_size() const { + return options_.size(); +} +inline void NameGeneratorReplacement::clear_options() { + options_.Clear(); +} +inline const ::std::string& NameGeneratorReplacement::options(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_.Get(index); +} +inline ::std::string* NameGeneratorReplacement::mutable_options(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_.Mutable(index); +} +inline void NameGeneratorReplacement::set_options(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + options_.Mutable(index)->assign(value); +} +inline void NameGeneratorReplacement::set_options(int index, const char* value) { + options_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::set_options(int index, const char* value, size_t size) { + options_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline ::std::string* NameGeneratorReplacement::add_options() { + return options_.Add(); +} +inline void NameGeneratorReplacement::add_options(const ::std::string& value) { + options_.Add()->assign(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::add_options(const char* value) { + options_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline void NameGeneratorReplacement::add_options(const char* value, size_t size) { + options_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +NameGeneratorReplacement::options() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return options_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +NameGeneratorReplacement::mutable_options() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.NameGeneratorReplacement.options) + return &options_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_notification.pb.cc b/src/server/proto/Client/api/client/v1/club_notification.pb.cc new file mode 100644 index 00000000000..48cb2fb8d3d --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.cc @@ -0,0 +1,2417 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_notification.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_notification.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SettingsChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SettingsChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscriberStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscriberStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* MemberRoleChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberRoleChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SuggestionAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SuggestionAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* SuggestionRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SuggestionRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamRemovedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamRemovedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateChangedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateChangedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessageAddedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessageAddedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessageUpdatedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamTypingIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamUnreadIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAdvanceViewTimeNotification_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_notification.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeNotification_descriptor_ = file->message_type(0); + static const int SubscribeNotification_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, view_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, settings_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, member_), + }; + SubscribeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeNotification_descriptor_, + SubscribeNotification::default_instance_, + SubscribeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeNotification)); + UnsubscribeNotification_descriptor_ = file->message_type(1); + static const int UnsubscribeNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, club_id_), + }; + UnsubscribeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeNotification_descriptor_, + UnsubscribeNotification::default_instance_, + UnsubscribeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeNotification)); + StateChangedNotification_descriptor_ = file->message_type(2); + static const int StateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, assignment_), + }; + StateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StateChangedNotification_descriptor_, + StateChangedNotification::default_instance_, + StateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StateChangedNotification)); + SettingsChangedNotification_descriptor_ = file->message_type(3); + static const int SettingsChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, assignment_), + }; + SettingsChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SettingsChangedNotification_descriptor_, + SettingsChangedNotification::default_instance_, + SettingsChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SettingsChangedNotification)); + MemberAddedNotification_descriptor_ = file->message_type(4); + static const int MemberAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, member_), + }; + MemberAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberAddedNotification_descriptor_, + MemberAddedNotification::default_instance_, + MemberAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberAddedNotification)); + MemberRemovedNotification_descriptor_ = file->message_type(5); + static const int MemberRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, member_), + }; + MemberRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRemovedNotification_descriptor_, + MemberRemovedNotification::default_instance_, + MemberRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRemovedNotification)); + MemberStateChangedNotification_descriptor_ = file->message_type(6); + static const int MemberStateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, assignment_), + }; + MemberStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberStateChangedNotification_descriptor_, + MemberStateChangedNotification::default_instance_, + MemberStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberStateChangedNotification)); + SubscriberStateChangedNotification_descriptor_ = file->message_type(7); + static const int SubscriberStateChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, assignment_), + }; + SubscriberStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscriberStateChangedNotification_descriptor_, + SubscriberStateChangedNotification::default_instance_, + SubscriberStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscriberStateChangedNotification)); + MemberRoleChangedNotification_descriptor_ = file->message_type(8); + static const int MemberRoleChangedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, assignment_), + }; + MemberRoleChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberRoleChangedNotification_descriptor_, + MemberRoleChangedNotification::default_instance_, + MemberRoleChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberRoleChangedNotification)); + InvitationAddedNotification_descriptor_ = file->message_type(9); + static const int InvitationAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, invitation_), + }; + InvitationAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationAddedNotification_descriptor_, + InvitationAddedNotification::default_instance_, + InvitationAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationAddedNotification)); + InvitationRemovedNotification_descriptor_ = file->message_type(10); + static const int InvitationRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, invitation_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, reason_), + }; + InvitationRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationRemovedNotification_descriptor_, + InvitationRemovedNotification::default_instance_, + InvitationRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationRemovedNotification)); + SuggestionAddedNotification_descriptor_ = file->message_type(11); + static const int SuggestionAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, suggestion_), + }; + SuggestionAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SuggestionAddedNotification_descriptor_, + SuggestionAddedNotification::default_instance_, + SuggestionAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SuggestionAddedNotification)); + SuggestionRemovedNotification_descriptor_ = file->message_type(12); + static const int SuggestionRemovedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, suggestion_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, reason_), + }; + SuggestionRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SuggestionRemovedNotification_descriptor_, + SuggestionRemovedNotification::default_instance_, + SuggestionRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SuggestionRemovedNotification)); + StreamAddedNotification_descriptor_ = file->message_type(13); + static const int StreamAddedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, stream_), + }; + StreamAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAddedNotification_descriptor_, + StreamAddedNotification::default_instance_, + StreamAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAddedNotification)); + StreamRemovedNotification_descriptor_ = file->message_type(14); + static const int StreamRemovedNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, stream_id_), + }; + StreamRemovedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamRemovedNotification_descriptor_, + StreamRemovedNotification::default_instance_, + StreamRemovedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamRemovedNotification)); + StreamStateChangedNotification_descriptor_ = file->message_type(15); + static const int StreamStateChangedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, assignment_), + }; + StreamStateChangedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateChangedNotification_descriptor_, + StreamStateChangedNotification::default_instance_, + StreamStateChangedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateChangedNotification)); + StreamMessageAddedNotification_descriptor_ = file->message_type(16); + static const int StreamMessageAddedNotification_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, message_origin_), + }; + StreamMessageAddedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessageAddedNotification_descriptor_, + StreamMessageAddedNotification::default_instance_, + StreamMessageAddedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessageAddedNotification)); + StreamMessageUpdatedNotification_descriptor_ = file->message_type(17); + static const int StreamMessageUpdatedNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, message_), + }; + StreamMessageUpdatedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessageUpdatedNotification_descriptor_, + StreamMessageUpdatedNotification::default_instance_, + StreamMessageUpdatedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessageUpdatedNotification)); + StreamTypingIndicatorNotification_descriptor_ = file->message_type(18); + static const int StreamTypingIndicatorNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, indicator_), + }; + StreamTypingIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamTypingIndicatorNotification_descriptor_, + StreamTypingIndicatorNotification::default_instance_, + StreamTypingIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamTypingIndicatorNotification)); + StreamUnreadIndicatorNotification_descriptor_ = file->message_type(19); + static const int StreamUnreadIndicatorNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, event_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, message_), + }; + StreamUnreadIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamUnreadIndicatorNotification_descriptor_, + StreamUnreadIndicatorNotification::default_instance_, + StreamUnreadIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamUnreadIndicatorNotification)); + StreamAdvanceViewTimeNotification_descriptor_ = file->message_type(20); + static const int StreamAdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, view_), + }; + StreamAdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAdvanceViewTimeNotification_descriptor_, + StreamAdvanceViewTimeNotification::default_instance_, + StreamAdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAdvanceViewTimeNotification)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeNotification_descriptor_, &SubscribeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeNotification_descriptor_, &UnsubscribeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StateChangedNotification_descriptor_, &StateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SettingsChangedNotification_descriptor_, &SettingsChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberAddedNotification_descriptor_, &MemberAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRemovedNotification_descriptor_, &MemberRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberStateChangedNotification_descriptor_, &MemberStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscriberStateChangedNotification_descriptor_, &SubscriberStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberRoleChangedNotification_descriptor_, &MemberRoleChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationAddedNotification_descriptor_, &InvitationAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationRemovedNotification_descriptor_, &InvitationRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SuggestionAddedNotification_descriptor_, &SuggestionAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SuggestionRemovedNotification_descriptor_, &SuggestionRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAddedNotification_descriptor_, &StreamAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamRemovedNotification_descriptor_, &StreamRemovedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateChangedNotification_descriptor_, &StreamStateChangedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessageAddedNotification_descriptor_, &StreamMessageAddedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessageUpdatedNotification_descriptor_, &StreamMessageUpdatedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamTypingIndicatorNotification_descriptor_, &StreamTypingIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamUnreadIndicatorNotification_descriptor_, &StreamUnreadIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAdvanceViewTimeNotification_descriptor_, &StreamAdvanceViewTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + delete SubscribeNotification::default_instance_; + delete SubscribeNotification_reflection_; + delete UnsubscribeNotification::default_instance_; + delete UnsubscribeNotification_reflection_; + delete StateChangedNotification::default_instance_; + delete StateChangedNotification_reflection_; + delete SettingsChangedNotification::default_instance_; + delete SettingsChangedNotification_reflection_; + delete MemberAddedNotification::default_instance_; + delete MemberAddedNotification_reflection_; + delete MemberRemovedNotification::default_instance_; + delete MemberRemovedNotification_reflection_; + delete MemberStateChangedNotification::default_instance_; + delete MemberStateChangedNotification_reflection_; + delete SubscriberStateChangedNotification::default_instance_; + delete SubscriberStateChangedNotification_reflection_; + delete MemberRoleChangedNotification::default_instance_; + delete MemberRoleChangedNotification_reflection_; + delete InvitationAddedNotification::default_instance_; + delete InvitationAddedNotification_reflection_; + delete InvitationRemovedNotification::default_instance_; + delete InvitationRemovedNotification_reflection_; + delete SuggestionAddedNotification::default_instance_; + delete SuggestionAddedNotification_reflection_; + delete SuggestionRemovedNotification::default_instance_; + delete SuggestionRemovedNotification_reflection_; + delete StreamAddedNotification::default_instance_; + delete StreamAddedNotification_reflection_; + delete StreamRemovedNotification::default_instance_; + delete StreamRemovedNotification_reflection_; + delete StreamStateChangedNotification::default_instance_; + delete StreamStateChangedNotification_reflection_; + delete StreamMessageAddedNotification::default_instance_; + delete StreamMessageAddedNotification_reflection_; + delete StreamMessageUpdatedNotification::default_instance_; + delete StreamMessageUpdatedNotification_reflection_; + delete StreamTypingIndicatorNotification::default_instance_; + delete StreamTypingIndicatorNotification_reflection_; + delete StreamUnreadIndicatorNotification::default_instance_; + delete StreamUnreadIndicatorNotification_reflection_; + delete StreamAdvanceViewTimeNotification::default_instance_; + delete StreamAdvanceViewTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n%api/client/v1/club_notification.proto\022" + "\033bgs.protocol.club.v1.client\032\036api/client" + "/v1/club_types.proto\032$api/common/v1/invi" + "tation_types.proto\032\017rpc_types.proto\"\262\002\n\025" + "SubscribeNotification\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\017\n\007club_" + "id\030\003 \001(\004\022/\n\004club\030\004 \001(\0132!.bgs.protocol.cl" + "ub.v1.client.Club\0223\n\004view\030\005 \001(\0132%.bgs.pr" + "otocol.club.v1.client.ClubView\022;\n\010settin" + "gs\030\n \001(\0132).bgs.protocol.club.v1.client.C" + "lubSettings\0223\n\006member\030\013 \001(\0132#.bgs.protoc" + "ol.club.v1.client.Member\"\\\n\027UnsubscribeN" + "otification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\"\243" + "\001\n\030StateChangedNotification\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n" + "\007club_id\030\003 \001(\004\022D\n\nassignment\030\005 \001(\01320.bgs" + ".protocol.club.v1.client.ClubStateAssign" + "ment\"\251\001\n\033SettingsChangedNotification\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\017\n\007club_id\030\003 \001(\004\022G\n\nassignment\030\004 " + "\001(\01323.bgs.protocol.club.v1.client.ClubSe" + "ttingsAssignment\"\221\001\n\027MemberAddedNotifica" + "tion\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\0223\n\006membe" + "r\030\004 \003(\0132#.bgs.protocol.club.v1.client.Me" + "mber\"\244\001\n\031MemberRemovedNotification\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\017\n\007club_id\030\003 \001(\004\022D\n\006member\030\004 \003(\01324." + "bgs.protocol.club.v1.client.MemberRemove" + "dAssignment\"\253\001\n\036MemberStateChangedNotifi" + "cation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022F\n\nass" + "ignment\030\004 \003(\01322.bgs.protocol.club.v1.cli" + "ent.MemberStateAssignment\"\263\001\n\"Subscriber" + "StateChangedNotification\0220\n\010agent_id\030\001 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007cl" + "ub_id\030\003 \001(\004\022J\n\nassignment\030\004 \003(\01326.bgs.pr" + "otocol.club.v1.client.SubscriberStateAss" + "ignment\"\243\001\n\035MemberRoleChangedNotificatio" + "n\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\?\n\nassignme" + "nt\030\004 \003(\0132+.bgs.protocol.club.v1.client.R" + "oleAssignment\"\241\001\n\033InvitationAddedNotific" + "ation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" + "lub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\?\n\ninvi" + "tation\030\004 \001(\0132+.bgs.protocol.club.v1.clie" + "nt.ClubInvitation\"\260\001\n\035InvitationRemovedN" + "otification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\025" + "\n\rinvitation_id\030\004 \001(\006\0225\n\006reason\030\005 \001(\0162%." + "bgs.protocol.InvitationRemovedReason\"\241\001\n" + "\033SuggestionAddedNotification\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017" + "\n\007club_id\030\003 \001(\004\022\?\n\nsuggestion\030\004 \001(\0132+.bg" + "s.protocol.club.v1.client.ClubSuggestion" + "\"\260\001\n\035SuggestionRemovedNotification\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\017\n\007club_id\030\003 \001(\004\022\025\n\rsuggestion_id\030\004" + " \001(\006\0225\n\006reason\030\005 \001(\0162%.bgs.protocol.Sugg" + "estionRemovedReason\"\221\001\n\027StreamAddedNotif" + "ication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" + ".club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\0223\n\006st" + "ream\030\004 \001(\0132#.bgs.protocol.club.v1.client" + ".Stream\"q\n\031StreamRemovedNotification\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001" + "(\004\"\276\001\n\036StreamStateChangedNotification\0220\n" + "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" + "emberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 " + "\001(\004\022F\n\nassignment\030\005 \001(\01322.bgs.protocol.c" + "lub.v1.client.StreamStateAssignment\"\340\001\n\036" + "StreamMessageAddedNotification\0220\n\010agent_" + "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" + "\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\022;\n\007" + "message\030\005 \001(\0132*.bgs.protocol.club.v1.cli" + "ent.StreamMessage\022+\n\016message_origin\030\006 \001(" + "\rB\023\202\371+\017*\rMessageOrigin\"\265\001\n StreamMessage" + "UpdatedNotification\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\017\n\007club_id" + "\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\022;\n\007message\030\005 \001" + "(\0132*.bgs.protocol.club.v1.client.StreamM" + "essage\"\300\001\n!StreamTypingIndicatorNotifica" + "tion\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tstrea" + "m_id\030\004 \001(\004\022E\n\tindicator\030\005 \003(\01322.bgs.prot" + "ocol.club.v1.client.StreamTypingIndicato" + "r\"\340\001\n!StreamUnreadIndicatorNotification\022" + "0\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1" + ".MemberId\022\017\n\007club_id\030\003 \001(\004\022;\n\005event\030\004 \001(" + "\0132,.bgs.protocol.club.v1.client.StreamEv" + "entTime\022;\n\007message\030\005 \001(\0132*.bgs.protocol." + "club.v1.client.StreamMessage\"\250\001\n!StreamA" + "dvanceViewTimeNotification\0220\n\010agent_id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007" + "club_id\030\003 \001(\004\022@\n\004view\030\004 \003(\01322.bgs.protoc" + "ol.club.v1.client.StreamAdvanceViewTimeB" + "\002H\002P\000P\001P\002", 3889); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_notification.proto", &protobuf_RegisterTypes); + SubscribeNotification::default_instance_ = new SubscribeNotification(); + UnsubscribeNotification::default_instance_ = new UnsubscribeNotification(); + StateChangedNotification::default_instance_ = new StateChangedNotification(); + SettingsChangedNotification::default_instance_ = new SettingsChangedNotification(); + MemberAddedNotification::default_instance_ = new MemberAddedNotification(); + MemberRemovedNotification::default_instance_ = new MemberRemovedNotification(); + MemberStateChangedNotification::default_instance_ = new MemberStateChangedNotification(); + SubscriberStateChangedNotification::default_instance_ = new SubscriberStateChangedNotification(); + MemberRoleChangedNotification::default_instance_ = new MemberRoleChangedNotification(); + InvitationAddedNotification::default_instance_ = new InvitationAddedNotification(); + InvitationRemovedNotification::default_instance_ = new InvitationRemovedNotification(); + SuggestionAddedNotification::default_instance_ = new SuggestionAddedNotification(); + SuggestionRemovedNotification::default_instance_ = new SuggestionRemovedNotification(); + StreamAddedNotification::default_instance_ = new StreamAddedNotification(); + StreamRemovedNotification::default_instance_ = new StreamRemovedNotification(); + StreamStateChangedNotification::default_instance_ = new StreamStateChangedNotification(); + StreamMessageAddedNotification::default_instance_ = new StreamMessageAddedNotification(); + StreamMessageUpdatedNotification::default_instance_ = new StreamMessageUpdatedNotification(); + StreamTypingIndicatorNotification::default_instance_ = new StreamTypingIndicatorNotification(); + StreamUnreadIndicatorNotification::default_instance_ = new StreamUnreadIndicatorNotification(); + StreamAdvanceViewTimeNotification::default_instance_ = new StreamAdvanceViewTimeNotification(); + SubscribeNotification::default_instance_->InitAsDefaultInstance(); + UnsubscribeNotification::default_instance_->InitAsDefaultInstance(); + StateChangedNotification::default_instance_->InitAsDefaultInstance(); + SettingsChangedNotification::default_instance_->InitAsDefaultInstance(); + MemberAddedNotification::default_instance_->InitAsDefaultInstance(); + MemberRemovedNotification::default_instance_->InitAsDefaultInstance(); + MemberStateChangedNotification::default_instance_->InitAsDefaultInstance(); + SubscriberStateChangedNotification::default_instance_->InitAsDefaultInstance(); + MemberRoleChangedNotification::default_instance_->InitAsDefaultInstance(); + InvitationAddedNotification::default_instance_->InitAsDefaultInstance(); + InvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); + SuggestionAddedNotification::default_instance_->InitAsDefaultInstance(); + SuggestionRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamRemovedNotification::default_instance_->InitAsDefaultInstance(); + StreamStateChangedNotification::default_instance_->InitAsDefaultInstance(); + StreamMessageAddedNotification::default_instance_->InitAsDefaultInstance(); + StreamMessageUpdatedNotification::default_instance_->InitAsDefaultInstance(); + StreamTypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); + StreamUnreadIndicatorNotification::default_instance_->InitAsDefaultInstance(); + StreamAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fnotification_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeNotification::kAgentIdFieldNumber; +const int SubscribeNotification::kClubIdFieldNumber; +const int SubscribeNotification::kClubFieldNumber; +const int SubscribeNotification::kViewFieldNumber; +const int SubscribeNotification::kSettingsFieldNumber; +const int SubscribeNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +SubscribeNotification::SubscribeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeNotification) +} + +void SubscribeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + club_ = const_cast< ::bgs::protocol::club::v1::client::Club*>(&::bgs::protocol::club::v1::client::Club::default_instance()); + view_ = const_cast< ::bgs::protocol::club::v1::client::ClubView*>(&::bgs::protocol::club::v1::client::ClubView::default_instance()); + settings_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettings*>(&::bgs::protocol::club::v1::client::ClubSettings::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::Member*>(&::bgs::protocol::club::v1::client::Member::default_instance()); +} + +SubscribeNotification::SubscribeNotification(const SubscribeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeNotification) +} + +void SubscribeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + club_ = NULL; + view_ = NULL; + settings_ = NULL; + member_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeNotification::~SubscribeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeNotification) + SharedDtor(); +} + +void SubscribeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete club_; + delete view_; + delete settings_; + delete member_; + } +} + +void SubscribeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeNotification_descriptor_; +} + +const SubscribeNotification& SubscribeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SubscribeNotification* SubscribeNotification::default_instance_ = NULL; + +SubscribeNotification* SubscribeNotification::New() const { + return new SubscribeNotification; +} + +void SubscribeNotification::Swap(SubscribeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeNotification_descriptor_; + metadata.reflection = SubscribeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeNotification::kAgentIdFieldNumber; +const int UnsubscribeNotification::kClubIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeNotification::UnsubscribeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) +} + +void UnsubscribeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeNotification::UnsubscribeNotification(const UnsubscribeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeNotification) +} + +void UnsubscribeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeNotification::~UnsubscribeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeNotification) + SharedDtor(); +} + +void UnsubscribeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeNotification_descriptor_; +} + +const UnsubscribeNotification& UnsubscribeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +UnsubscribeNotification* UnsubscribeNotification::default_instance_ = NULL; + +UnsubscribeNotification* UnsubscribeNotification::New() const { + return new UnsubscribeNotification; +} + +void UnsubscribeNotification::Swap(UnsubscribeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeNotification_descriptor_; + metadata.reflection = UnsubscribeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StateChangedNotification::kAgentIdFieldNumber; +const int StateChangedNotification::kClubIdFieldNumber; +const int StateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +StateChangedNotification::StateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StateChangedNotification) +} + +void StateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::ClubStateAssignment*>(&::bgs::protocol::club::v1::client::ClubStateAssignment::default_instance()); +} + +StateChangedNotification::StateChangedNotification(const StateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StateChangedNotification) +} + +void StateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StateChangedNotification::~StateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StateChangedNotification) + SharedDtor(); +} + +void StateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void StateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StateChangedNotification_descriptor_; +} + +const StateChangedNotification& StateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StateChangedNotification* StateChangedNotification::default_instance_ = NULL; + +StateChangedNotification* StateChangedNotification::New() const { + return new StateChangedNotification; +} + +void StateChangedNotification::Swap(StateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StateChangedNotification_descriptor_; + metadata.reflection = StateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SettingsChangedNotification::kAgentIdFieldNumber; +const int SettingsChangedNotification::kClubIdFieldNumber; +const int SettingsChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SettingsChangedNotification::SettingsChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SettingsChangedNotification) +} + +void SettingsChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettingsAssignment*>(&::bgs::protocol::club::v1::client::ClubSettingsAssignment::default_instance()); +} + +SettingsChangedNotification::SettingsChangedNotification(const SettingsChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SettingsChangedNotification) +} + +void SettingsChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SettingsChangedNotification::~SettingsChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SettingsChangedNotification) + SharedDtor(); +} + +void SettingsChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void SettingsChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SettingsChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SettingsChangedNotification_descriptor_; +} + +const SettingsChangedNotification& SettingsChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SettingsChangedNotification* SettingsChangedNotification::default_instance_ = NULL; + +SettingsChangedNotification* SettingsChangedNotification::New() const { + return new SettingsChangedNotification; +} + +void SettingsChangedNotification::Swap(SettingsChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SettingsChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SettingsChangedNotification_descriptor_; + metadata.reflection = SettingsChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberAddedNotification::kAgentIdFieldNumber; +const int MemberAddedNotification::kClubIdFieldNumber; +const int MemberAddedNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +MemberAddedNotification::MemberAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberAddedNotification) +} + +void MemberAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberAddedNotification::MemberAddedNotification(const MemberAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberAddedNotification) +} + +void MemberAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberAddedNotification::~MemberAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberAddedNotification) + SharedDtor(); +} + +void MemberAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberAddedNotification_descriptor_; +} + +const MemberAddedNotification& MemberAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberAddedNotification* MemberAddedNotification::default_instance_ = NULL; + +MemberAddedNotification* MemberAddedNotification::New() const { + return new MemberAddedNotification; +} + +void MemberAddedNotification::Swap(MemberAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberAddedNotification_descriptor_; + metadata.reflection = MemberAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRemovedNotification::kAgentIdFieldNumber; +const int MemberRemovedNotification::kClubIdFieldNumber; +const int MemberRemovedNotification::kMemberFieldNumber; +#endif // !_MSC_VER + +MemberRemovedNotification::MemberRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) +} + +void MemberRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRemovedNotification::MemberRemovedNotification(const MemberRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRemovedNotification) +} + +void MemberRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRemovedNotification::~MemberRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRemovedNotification) + SharedDtor(); +} + +void MemberRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRemovedNotification_descriptor_; +} + +const MemberRemovedNotification& MemberRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberRemovedNotification* MemberRemovedNotification::default_instance_ = NULL; + +MemberRemovedNotification* MemberRemovedNotification::New() const { + return new MemberRemovedNotification; +} + +void MemberRemovedNotification::Swap(MemberRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRemovedNotification_descriptor_; + metadata.reflection = MemberRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberStateChangedNotification::kAgentIdFieldNumber; +const int MemberStateChangedNotification::kClubIdFieldNumber; +const int MemberStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +MemberStateChangedNotification::MemberStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) +} + +void MemberStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberStateChangedNotification::MemberStateChangedNotification(const MemberStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) +} + +void MemberStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberStateChangedNotification::~MemberStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberStateChangedNotification) + SharedDtor(); +} + +void MemberStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberStateChangedNotification_descriptor_; +} + +const MemberStateChangedNotification& MemberStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberStateChangedNotification* MemberStateChangedNotification::default_instance_ = NULL; + +MemberStateChangedNotification* MemberStateChangedNotification::New() const { + return new MemberStateChangedNotification; +} + +void MemberStateChangedNotification::Swap(MemberStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberStateChangedNotification_descriptor_; + metadata.reflection = MemberStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscriberStateChangedNotification::kAgentIdFieldNumber; +const int SubscriberStateChangedNotification::kClubIdFieldNumber; +const int SubscriberStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +SubscriberStateChangedNotification::SubscriberStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) +} + +void SubscriberStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscriberStateChangedNotification::SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) +} + +void SubscriberStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscriberStateChangedNotification::~SubscriberStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) + SharedDtor(); +} + +void SubscriberStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscriberStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscriberStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscriberStateChangedNotification_descriptor_; +} + +const SubscriberStateChangedNotification& SubscriberStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SubscriberStateChangedNotification* SubscriberStateChangedNotification::default_instance_ = NULL; + +SubscriberStateChangedNotification* SubscriberStateChangedNotification::New() const { + return new SubscriberStateChangedNotification; +} + +void SubscriberStateChangedNotification::Swap(SubscriberStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscriberStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscriberStateChangedNotification_descriptor_; + metadata.reflection = SubscriberStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MemberRoleChangedNotification::kAgentIdFieldNumber; +const int MemberRoleChangedNotification::kClubIdFieldNumber; +const int MemberRoleChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +MemberRoleChangedNotification::MemberRoleChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) +} + +void MemberRoleChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +MemberRoleChangedNotification::MemberRoleChangedNotification(const MemberRoleChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) +} + +void MemberRoleChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberRoleChangedNotification::~MemberRoleChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MemberRoleChangedNotification) + SharedDtor(); +} + +void MemberRoleChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void MemberRoleChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberRoleChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberRoleChangedNotification_descriptor_; +} + +const MemberRoleChangedNotification& MemberRoleChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +MemberRoleChangedNotification* MemberRoleChangedNotification::default_instance_ = NULL; + +MemberRoleChangedNotification* MemberRoleChangedNotification::New() const { + return new MemberRoleChangedNotification; +} + +void MemberRoleChangedNotification::Swap(MemberRoleChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberRoleChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberRoleChangedNotification_descriptor_; + metadata.reflection = MemberRoleChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationAddedNotification::kAgentIdFieldNumber; +const int InvitationAddedNotification::kClubIdFieldNumber; +const int InvitationAddedNotification::kInvitationFieldNumber; +#endif // !_MSC_VER + +InvitationAddedNotification::InvitationAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.InvitationAddedNotification) +} + +void InvitationAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +InvitationAddedNotification::InvitationAddedNotification(const InvitationAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationAddedNotification) +} + +void InvitationAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationAddedNotification::~InvitationAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationAddedNotification) + SharedDtor(); +} + +void InvitationAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete invitation_; + } +} + +void InvitationAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationAddedNotification_descriptor_; +} + +const InvitationAddedNotification& InvitationAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +InvitationAddedNotification* InvitationAddedNotification::default_instance_ = NULL; + +InvitationAddedNotification* InvitationAddedNotification::New() const { + return new InvitationAddedNotification; +} + +void InvitationAddedNotification::Swap(InvitationAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationAddedNotification_descriptor_; + metadata.reflection = InvitationAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationRemovedNotification::kAgentIdFieldNumber; +const int InvitationRemovedNotification::kClubIdFieldNumber; +const int InvitationRemovedNotification::kInvitationIdFieldNumber; +const int InvitationRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +InvitationRemovedNotification::InvitationRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) +} + +void InvitationRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +InvitationRemovedNotification::InvitationRemovedNotification(const InvitationRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) +} + +void InvitationRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationRemovedNotification::~InvitationRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.InvitationRemovedNotification) + SharedDtor(); +} + +void InvitationRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void InvitationRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationRemovedNotification_descriptor_; +} + +const InvitationRemovedNotification& InvitationRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +InvitationRemovedNotification* InvitationRemovedNotification::default_instance_ = NULL; + +InvitationRemovedNotification* InvitationRemovedNotification::New() const { + return new InvitationRemovedNotification; +} + +void InvitationRemovedNotification::Swap(InvitationRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationRemovedNotification_descriptor_; + metadata.reflection = InvitationRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SuggestionAddedNotification::kAgentIdFieldNumber; +const int SuggestionAddedNotification::kClubIdFieldNumber; +const int SuggestionAddedNotification::kSuggestionFieldNumber; +#endif // !_MSC_VER + +SuggestionAddedNotification::SuggestionAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) +} + +void SuggestionAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestion*>(&::bgs::protocol::club::v1::client::ClubSuggestion::default_instance()); +} + +SuggestionAddedNotification::SuggestionAddedNotification(const SuggestionAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) +} + +void SuggestionAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SuggestionAddedNotification::~SuggestionAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionAddedNotification) + SharedDtor(); +} + +void SuggestionAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete suggestion_; + } +} + +void SuggestionAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SuggestionAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionAddedNotification_descriptor_; +} + +const SuggestionAddedNotification& SuggestionAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SuggestionAddedNotification* SuggestionAddedNotification::default_instance_ = NULL; + +SuggestionAddedNotification* SuggestionAddedNotification::New() const { + return new SuggestionAddedNotification; +} + +void SuggestionAddedNotification::Swap(SuggestionAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SuggestionAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SuggestionAddedNotification_descriptor_; + metadata.reflection = SuggestionAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SuggestionRemovedNotification::kAgentIdFieldNumber; +const int SuggestionRemovedNotification::kClubIdFieldNumber; +const int SuggestionRemovedNotification::kSuggestionIdFieldNumber; +const int SuggestionRemovedNotification::kReasonFieldNumber; +#endif // !_MSC_VER + +SuggestionRemovedNotification::SuggestionRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) +} + +void SuggestionRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SuggestionRemovedNotification::SuggestionRemovedNotification(const SuggestionRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) +} + +void SuggestionRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + reason_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SuggestionRemovedNotification::~SuggestionRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SuggestionRemovedNotification) + SharedDtor(); +} + +void SuggestionRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SuggestionRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SuggestionRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionRemovedNotification_descriptor_; +} + +const SuggestionRemovedNotification& SuggestionRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +SuggestionRemovedNotification* SuggestionRemovedNotification::default_instance_ = NULL; + +SuggestionRemovedNotification* SuggestionRemovedNotification::New() const { + return new SuggestionRemovedNotification; +} + +void SuggestionRemovedNotification::Swap(SuggestionRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SuggestionRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SuggestionRemovedNotification_descriptor_; + metadata.reflection = SuggestionRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAddedNotification::kAgentIdFieldNumber; +const int StreamAddedNotification::kClubIdFieldNumber; +const int StreamAddedNotification::kStreamFieldNumber; +#endif // !_MSC_VER + +StreamAddedNotification::StreamAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAddedNotification) +} + +void StreamAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::Stream*>(&::bgs::protocol::club::v1::client::Stream::default_instance()); +} + +StreamAddedNotification::StreamAddedNotification(const StreamAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAddedNotification) +} + +void StreamAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAddedNotification::~StreamAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAddedNotification) + SharedDtor(); +} + +void StreamAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete stream_; + } +} + +void StreamAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAddedNotification_descriptor_; +} + +const StreamAddedNotification& StreamAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamAddedNotification* StreamAddedNotification::default_instance_ = NULL; + +StreamAddedNotification* StreamAddedNotification::New() const { + return new StreamAddedNotification; +} + +void StreamAddedNotification::Swap(StreamAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAddedNotification_descriptor_; + metadata.reflection = StreamAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamRemovedNotification::kAgentIdFieldNumber; +const int StreamRemovedNotification::kClubIdFieldNumber; +const int StreamRemovedNotification::kStreamIdFieldNumber; +#endif // !_MSC_VER + +StreamRemovedNotification::StreamRemovedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) +} + +void StreamRemovedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamRemovedNotification::StreamRemovedNotification(const StreamRemovedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamRemovedNotification) +} + +void StreamRemovedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamRemovedNotification::~StreamRemovedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamRemovedNotification) + SharedDtor(); +} + +void StreamRemovedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamRemovedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamRemovedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamRemovedNotification_descriptor_; +} + +const StreamRemovedNotification& StreamRemovedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamRemovedNotification* StreamRemovedNotification::default_instance_ = NULL; + +StreamRemovedNotification* StreamRemovedNotification::New() const { + return new StreamRemovedNotification; +} + +void StreamRemovedNotification::Swap(StreamRemovedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamRemovedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamRemovedNotification_descriptor_; + metadata.reflection = StreamRemovedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateChangedNotification::kAgentIdFieldNumber; +const int StreamStateChangedNotification::kClubIdFieldNumber; +const int StreamStateChangedNotification::kStreamIdFieldNumber; +const int StreamStateChangedNotification::kAssignmentFieldNumber; +#endif // !_MSC_VER + +StreamStateChangedNotification::StreamStateChangedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) +} + +void StreamStateChangedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + assignment_ = const_cast< ::bgs::protocol::club::v1::client::StreamStateAssignment*>(&::bgs::protocol::club::v1::client::StreamStateAssignment::default_instance()); +} + +StreamStateChangedNotification::StreamStateChangedNotification(const StreamStateChangedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) +} + +void StreamStateChangedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + assignment_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateChangedNotification::~StreamStateChangedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateChangedNotification) + SharedDtor(); +} + +void StreamStateChangedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete assignment_; + } +} + +void StreamStateChangedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateChangedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateChangedNotification_descriptor_; +} + +const StreamStateChangedNotification& StreamStateChangedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamStateChangedNotification* StreamStateChangedNotification::default_instance_ = NULL; + +StreamStateChangedNotification* StreamStateChangedNotification::New() const { + return new StreamStateChangedNotification; +} + +void StreamStateChangedNotification::Swap(StreamStateChangedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateChangedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateChangedNotification_descriptor_; + metadata.reflection = StreamStateChangedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessageAddedNotification::kAgentIdFieldNumber; +const int StreamMessageAddedNotification::kClubIdFieldNumber; +const int StreamMessageAddedNotification::kStreamIdFieldNumber; +const int StreamMessageAddedNotification::kMessageFieldNumber; +const int StreamMessageAddedNotification::kMessageOriginFieldNumber; +#endif // !_MSC_VER + +StreamMessageAddedNotification::StreamMessageAddedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) +} + +void StreamMessageAddedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamMessageAddedNotification::StreamMessageAddedNotification(const StreamMessageAddedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) +} + +void StreamMessageAddedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_ = NULL; + message_origin_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessageAddedNotification::~StreamMessageAddedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageAddedNotification) + SharedDtor(); +} + +void StreamMessageAddedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_; + } +} + +void StreamMessageAddedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessageAddedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessageAddedNotification_descriptor_; +} + +const StreamMessageAddedNotification& StreamMessageAddedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamMessageAddedNotification* StreamMessageAddedNotification::default_instance_ = NULL; + +StreamMessageAddedNotification* StreamMessageAddedNotification::New() const { + return new StreamMessageAddedNotification; +} + +void StreamMessageAddedNotification::Swap(StreamMessageAddedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessageAddedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessageAddedNotification_descriptor_; + metadata.reflection = StreamMessageAddedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessageUpdatedNotification::kAgentIdFieldNumber; +const int StreamMessageUpdatedNotification::kClubIdFieldNumber; +const int StreamMessageUpdatedNotification::kStreamIdFieldNumber; +const int StreamMessageUpdatedNotification::kMessageFieldNumber; +#endif // !_MSC_VER + +StreamMessageUpdatedNotification::StreamMessageUpdatedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) +} + +void StreamMessageUpdatedNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamMessageUpdatedNotification::StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) +} + +void StreamMessageUpdatedNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessageUpdatedNotification::~StreamMessageUpdatedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) + SharedDtor(); +} + +void StreamMessageUpdatedNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_; + } +} + +void StreamMessageUpdatedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessageUpdatedNotification_descriptor_; +} + +const StreamMessageUpdatedNotification& StreamMessageUpdatedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::default_instance_ = NULL; + +StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::New() const { + return new StreamMessageUpdatedNotification; +} + +void StreamMessageUpdatedNotification::Swap(StreamMessageUpdatedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessageUpdatedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessageUpdatedNotification_descriptor_; + metadata.reflection = StreamMessageUpdatedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamTypingIndicatorNotification::kAgentIdFieldNumber; +const int StreamTypingIndicatorNotification::kClubIdFieldNumber; +const int StreamTypingIndicatorNotification::kStreamIdFieldNumber; +const int StreamTypingIndicatorNotification::kIndicatorFieldNumber; +#endif // !_MSC_VER + +StreamTypingIndicatorNotification::StreamTypingIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) +} + +void StreamTypingIndicatorNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamTypingIndicatorNotification::StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) +} + +void StreamTypingIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamTypingIndicatorNotification::~StreamTypingIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) + SharedDtor(); +} + +void StreamTypingIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamTypingIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamTypingIndicatorNotification_descriptor_; +} + +const StreamTypingIndicatorNotification& StreamTypingIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::default_instance_ = NULL; + +StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::New() const { + return new StreamTypingIndicatorNotification; +} + +void StreamTypingIndicatorNotification::Swap(StreamTypingIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamTypingIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamTypingIndicatorNotification_descriptor_; + metadata.reflection = StreamTypingIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamUnreadIndicatorNotification::kAgentIdFieldNumber; +const int StreamUnreadIndicatorNotification::kClubIdFieldNumber; +const int StreamUnreadIndicatorNotification::kEventFieldNumber; +const int StreamUnreadIndicatorNotification::kMessageFieldNumber; +#endif // !_MSC_VER + +StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) +} + +void StreamUnreadIndicatorNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + event_ = const_cast< ::bgs::protocol::club::v1::client::StreamEventTime*>(&::bgs::protocol::club::v1::client::StreamEventTime::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) +} + +void StreamUnreadIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + event_ = NULL; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamUnreadIndicatorNotification::~StreamUnreadIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) + SharedDtor(); +} + +void StreamUnreadIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete event_; + delete message_; + } +} + +void StreamUnreadIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamUnreadIndicatorNotification_descriptor_; +} + +const StreamUnreadIndicatorNotification& StreamUnreadIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::default_instance_ = NULL; + +StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::New() const { + return new StreamUnreadIndicatorNotification; +} + +void StreamUnreadIndicatorNotification::Swap(StreamUnreadIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamUnreadIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamUnreadIndicatorNotification_descriptor_; + metadata.reflection = StreamUnreadIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAdvanceViewTimeNotification::kAgentIdFieldNumber; +const int StreamAdvanceViewTimeNotification::kClubIdFieldNumber; +const int StreamAdvanceViewTimeNotification::kViewFieldNumber; +#endif // !_MSC_VER + +StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) +} + +void StreamAdvanceViewTimeNotification::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) +} + +void StreamAdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAdvanceViewTimeNotification::~StreamAdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) + SharedDtor(); +} + +void StreamAdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void StreamAdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAdvanceViewTimeNotification_descriptor_; +} + +const StreamAdvanceViewTimeNotification& StreamAdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + return *default_instance_; +} + +StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::default_instance_ = NULL; + +StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::New() const { + return new StreamAdvanceViewTimeNotification; +} + +void StreamAdvanceViewTimeNotification::Swap(StreamAdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAdvanceViewTimeNotification_descriptor_; + metadata.reflection = StreamAdvanceViewTimeNotification_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_notification.pb.h b/src/server/proto/Client/api/client/v1/club_notification.pb.h new file mode 100644 index 00000000000..a53dc6192fa --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_notification.pb.h @@ -0,0 +1,4559 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_notification.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" // IWYU pragma: export +#include "api/common/v1/invitation_types.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" // IWYU pragma: export +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + +class SubscribeNotification; +class UnsubscribeNotification; +class StateChangedNotification; +class SettingsChangedNotification; +class MemberAddedNotification; +class MemberRemovedNotification; +class MemberStateChangedNotification; +class SubscriberStateChangedNotification; +class MemberRoleChangedNotification; +class InvitationAddedNotification; +class InvitationRemovedNotification; +class SuggestionAddedNotification; +class SuggestionRemovedNotification; +class StreamAddedNotification; +class StreamRemovedNotification; +class StreamStateChangedNotification; +class StreamMessageAddedNotification; +class StreamMessageUpdatedNotification; +class StreamTypingIndicatorNotification; +class StreamUnreadIndicatorNotification; +class StreamAdvanceViewTimeNotification; + +// =================================================================== + +class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message { + public: + SubscribeNotification(); + virtual ~SubscribeNotification(); + + SubscribeNotification(const SubscribeNotification& from); + + inline SubscribeNotification& operator=(const SubscribeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeNotification& default_instance(); + + void Swap(SubscribeNotification* other); + + // implements Message ---------------------------------------------- + + SubscribeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.Club club = 4; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Club& club() const; + inline ::bgs::protocol::club::v1::client::Club* mutable_club(); + inline ::bgs::protocol::club::v1::client::Club* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::client::Club* club); + + // optional .bgs.protocol.club.v1.client.ClubView view = 5; + inline bool has_view() const; + inline void clear_view(); + static const int kViewFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubView& view() const; + inline ::bgs::protocol::club::v1::client::ClubView* mutable_view(); + inline ::bgs::protocol::club::v1::client::ClubView* release_view(); + inline void set_allocated_view(::bgs::protocol::club::v1::client::ClubView* view); + + // optional .bgs.protocol.club.v1.client.ClubSettings settings = 10; + inline bool has_settings() const; + inline void clear_settings(); + static const int kSettingsFieldNumber = 10; + inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const; + inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings(); + inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings(); + inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings); + + // optional .bgs.protocol.club.v1.client.Member member = 11; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 11; + inline const ::bgs::protocol::club::v1::client::Member& member() const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(); + inline ::bgs::protocol::club::v1::client::Member* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::Member* member); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_club(); + inline void clear_has_club(); + inline void set_has_view(); + inline void clear_has_view(); + inline void set_has_settings(); + inline void clear_has_settings(); + inline void set_has_member(); + inline void clear_has_member(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::Club* club_; + ::bgs::protocol::club::v1::client::ClubView* view_; + ::bgs::protocol::club::v1::client::ClubSettings* settings_; + ::bgs::protocol::club::v1::client::Member* member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeNotification : public ::google::protobuf::Message { + public: + UnsubscribeNotification(); + virtual ~UnsubscribeNotification(); + + UnsubscribeNotification(const UnsubscribeNotification& from); + + inline UnsubscribeNotification& operator=(const UnsubscribeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeNotification& default_instance(); + + void Swap(UnsubscribeNotification* other); + + // implements Message ---------------------------------------------- + + UnsubscribeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message { + public: + StateChangedNotification(); + virtual ~StateChangedNotification(); + + StateChangedNotification(const StateChangedNotification& from); + + inline StateChangedNotification& operator=(const StateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StateChangedNotification& default_instance(); + + void Swap(StateChangedNotification* other); + + // implements Message ---------------------------------------------- + + StateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubStateAssignment assignment = 5; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::ClubStateAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::ClubStateAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::ClubStateAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::ClubStateAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubStateAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SettingsChangedNotification : public ::google::protobuf::Message { + public: + SettingsChangedNotification(); + virtual ~SettingsChangedNotification(); + + SettingsChangedNotification(const SettingsChangedNotification& from); + + inline SettingsChangedNotification& operator=(const SettingsChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SettingsChangedNotification& default_instance(); + + void Swap(SettingsChangedNotification* other); + + // implements Message ---------------------------------------------- + + SettingsChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSettingsAssignment assignment = 4; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSettingsAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SettingsChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SettingsChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberAddedNotification : public ::google::protobuf::Message { + public: + MemberAddedNotification(); + virtual ~MemberAddedNotification(); + + MemberAddedNotification(const MemberAddedNotification& from); + + inline MemberAddedNotification& operator=(const MemberAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberAddedNotification& default_instance(); + + void Swap(MemberAddedNotification* other); + + // implements Message ---------------------------------------------- + + MemberAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.Member member = 4; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Member& member(int index) const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRemovedNotification : public ::google::protobuf::Message { + public: + MemberRemovedNotification(); + virtual ~MemberRemovedNotification(); + + MemberRemovedNotification(const MemberRemovedNotification& from); + + inline MemberRemovedNotification& operator=(const MemberRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRemovedNotification& default_instance(); + + void Swap(MemberRemovedNotification* other); + + // implements Message ---------------------------------------------- + + MemberRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.MemberRemovedAssignment member = 4; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberRemovedAssignment& member(int index) const; + inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* + mutable_member(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment > member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberStateChangedNotification : public ::google::protobuf::Message { + public: + MemberStateChangedNotification(); + virtual ~MemberStateChangedNotification(); + + MemberStateChangedNotification(const MemberStateChangedNotification& from); + + inline MemberStateChangedNotification& operator=(const MemberStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberStateChangedNotification& default_instance(); + + void Swap(MemberStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + MemberStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.MemberStateAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberStateAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::MemberStateAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::MemberStateAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscriberStateChangedNotification : public ::google::protobuf::Message { + public: + SubscriberStateChangedNotification(); + virtual ~SubscriberStateChangedNotification(); + + SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from); + + inline SubscriberStateChangedNotification& operator=(const SubscriberStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscriberStateChangedNotification& default_instance(); + + void Swap(SubscriberStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + SubscriberStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.SubscriberStateAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::SubscriberStateAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscriberStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SubscriberStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MemberRoleChangedNotification : public ::google::protobuf::Message { + public: + MemberRoleChangedNotification(); + virtual ~MemberRoleChangedNotification(); + + MemberRoleChangedNotification(const MemberRoleChangedNotification& from); + + inline MemberRoleChangedNotification& operator=(const MemberRoleChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberRoleChangedNotification& default_instance(); + + void Swap(MemberRoleChangedNotification* other); + + // implements Message ---------------------------------------------- + + MemberRoleChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.RoleAssignment assignment = 4; + inline int assignment_size() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::RoleAssignment& assignment(int index) const; + inline ::bgs::protocol::club::v1::client::RoleAssignment* mutable_assignment(int index); + inline ::bgs::protocol::club::v1::client::RoleAssignment* add_assignment(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >& + assignment() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* + mutable_assignment(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MemberRoleChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment > assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static MemberRoleChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationAddedNotification : public ::google::protobuf::Message { + public: + InvitationAddedNotification(); + virtual ~InvitationAddedNotification(); + + InvitationAddedNotification(const InvitationAddedNotification& from); + + inline InvitationAddedNotification& operator=(const InvitationAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationAddedNotification& default_instance(); + + void Swap(InvitationAddedNotification* other); + + // implements Message ---------------------------------------------- + + InvitationAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 4; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static InvitationAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationRemovedNotification : public ::google::protobuf::Message { + public: + InvitationRemovedNotification(); + virtual ~InvitationRemovedNotification(); + + InvitationRemovedNotification(const InvitationRemovedNotification& from); + + inline InvitationRemovedNotification& operator=(const InvitationRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationRemovedNotification& default_instance(); + + void Swap(InvitationRemovedNotification* other); + + // implements Message ---------------------------------------------- + + InvitationRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 4; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 4; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.InvitationRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::InvitationRemovedReason reason() const; + inline void set_reason(::bgs::protocol::InvitationRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.InvitationRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static InvitationRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SuggestionAddedNotification : public ::google::protobuf::Message { + public: + SuggestionAddedNotification(); + virtual ~SuggestionAddedNotification(); + + SuggestionAddedNotification(const SuggestionAddedNotification& from); + + inline SuggestionAddedNotification& operator=(const SuggestionAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SuggestionAddedNotification& default_instance(); + + void Swap(SuggestionAddedNotification* other); + + // implements Message ---------------------------------------------- + + SuggestionAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 4; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSuggestion* suggestion_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SuggestionAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SuggestionRemovedNotification : public ::google::protobuf::Message { + public: + SuggestionRemovedNotification(); + virtual ~SuggestionRemovedNotification(); + + SuggestionRemovedNotification(const SuggestionRemovedNotification& from); + + inline SuggestionRemovedNotification& operator=(const SuggestionRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SuggestionRemovedNotification& default_instance(); + + void Swap(SuggestionRemovedNotification* other); + + // implements Message ---------------------------------------------- + + SuggestionRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 4; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 4; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.SuggestionRemovedReason reason = 5; + inline bool has_reason() const; + inline void clear_reason(); + static const int kReasonFieldNumber = 5; + inline ::bgs::protocol::SuggestionRemovedReason reason() const; + inline void set_reason(::bgs::protocol::SuggestionRemovedReason value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SuggestionRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + inline void set_has_reason(); + inline void clear_has_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + int reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static SuggestionRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAddedNotification : public ::google::protobuf::Message { + public: + StreamAddedNotification(); + virtual ~StreamAddedNotification(); + + StreamAddedNotification(const StreamAddedNotification& from); + + inline StreamAddedNotification& operator=(const StreamAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAddedNotification& default_instance(); + + void Swap(StreamAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.Stream stream = 4; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::Stream& stream() const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(); + inline ::bgs::protocol::club::v1::client::Stream* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream(); + inline void clear_has_stream(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::Stream* stream_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamRemovedNotification : public ::google::protobuf::Message { + public: + StreamRemovedNotification(); + virtual ~StreamRemovedNotification(); + + StreamRemovedNotification(const StreamRemovedNotification& from); + + inline StreamRemovedNotification& operator=(const StreamRemovedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamRemovedNotification& default_instance(); + + void Swap(StreamRemovedNotification* other); + + // implements Message ---------------------------------------------- + + StreamRemovedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamRemovedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamRemovedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateChangedNotification : public ::google::protobuf::Message { + public: + StreamStateChangedNotification(); + virtual ~StreamStateChangedNotification(); + + StreamStateChangedNotification(const StreamStateChangedNotification& from); + + inline StreamStateChangedNotification& operator=(const StreamStateChangedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateChangedNotification& default_instance(); + + void Swap(StreamStateChangedNotification* other); + + // implements Message ---------------------------------------------- + + StreamStateChangedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamStateAssignment assignment = 5; + inline bool has_assignment() const; + inline void clear_assignment(); + static const int kAssignmentFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamStateAssignment& assignment() const; + inline ::bgs::protocol::club::v1::client::StreamStateAssignment* mutable_assignment(); + inline ::bgs::protocol::club::v1::client::StreamStateAssignment* release_assignment(); + inline void set_allocated_assignment(::bgs::protocol::club::v1::client::StreamStateAssignment* assignment); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateChangedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_assignment(); + inline void clear_has_assignment(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamStateAssignment* assignment_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateChangedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::Message { + public: + StreamMessageAddedNotification(); + virtual ~StreamMessageAddedNotification(); + + StreamMessageAddedNotification(const StreamMessageAddedNotification& from); + + inline StreamMessageAddedNotification& operator=(const StreamMessageAddedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessageAddedNotification& default_instance(); + + void Swap(StreamMessageAddedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMessageAddedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // optional uint32 message_origin = 6; + inline bool has_message_origin() const; + inline void clear_message_origin(); + static const int kMessageOriginFieldNumber = 6; + inline ::google::protobuf::uint32 message_origin() const; + inline void set_message_origin(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessageAddedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message(); + inline void clear_has_message(); + inline void set_has_message_origin(); + inline void clear_has_message_origin(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + ::google::protobuf::uint32 message_origin_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessageAddedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessageUpdatedNotification : public ::google::protobuf::Message { + public: + StreamMessageUpdatedNotification(); + virtual ~StreamMessageUpdatedNotification(); + + StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from); + + inline StreamMessageUpdatedNotification& operator=(const StreamMessageUpdatedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessageUpdatedNotification& default_instance(); + + void Swap(StreamMessageUpdatedNotification* other); + + // implements Message ---------------------------------------------- + + StreamMessageUpdatedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessageUpdatedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamTypingIndicatorNotification : public ::google::protobuf::Message { + public: + StreamTypingIndicatorNotification(); + virtual ~StreamTypingIndicatorNotification(); + + StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from); + + inline StreamTypingIndicatorNotification& operator=(const StreamTypingIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamTypingIndicatorNotification& default_instance(); + + void Swap(StreamTypingIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + StreamTypingIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 4; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.StreamTypingIndicator indicator = 5; + inline int indicator_size() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamTypingIndicator& indicator(int index) const; + inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* mutable_indicator(int index); + inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* add_indicator(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >& + indicator() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* + mutable_indicator(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator > indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamTypingIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamUnreadIndicatorNotification : public ::google::protobuf::Message { + public: + StreamUnreadIndicatorNotification(); + virtual ~StreamUnreadIndicatorNotification(); + + StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from); + + inline StreamUnreadIndicatorNotification& operator=(const StreamUnreadIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamUnreadIndicatorNotification& default_instance(); + + void Swap(StreamUnreadIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + StreamUnreadIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamEventTime event = 4; + inline bool has_event() const; + inline void clear_event(); + static const int kEventFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamEventTime& event() const; + inline ::bgs::protocol::club::v1::client::StreamEventTime* mutable_event(); + inline ::bgs::protocol::club::v1::client::StreamEventTime* release_event(); + inline void set_allocated_event(::bgs::protocol::club::v1::client::StreamEventTime* event); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 5; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_event(); + inline void clear_has_event(); + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::StreamEventTime* event_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamUnreadIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + StreamAdvanceViewTimeNotification(); + virtual ~StreamAdvanceViewTimeNotification(); + + StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from); + + inline StreamAdvanceViewTimeNotification& operator=(const StreamAdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAdvanceViewTimeNotification& default_instance(); + + void Swap(StreamAdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + StreamAdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 3; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 3; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.club.v1.client.StreamAdvanceViewTime view = 4; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAdvanceViewTime& view(int index) const; + inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* mutable_view(int index); + inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* + mutable_view(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime > view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fnotification_2eproto(); + + void InitAsDefaultInstance(); + static StreamAdvanceViewTimeNotification* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SubscribeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SubscribeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.club_id) + return club_id_; +} +inline void SubscribeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.Club club = 4; +inline bool SubscribeNotification::has_club() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SubscribeNotification::set_has_club() { + _has_bits_[0] |= 0x00000004u; +} +inline void SubscribeNotification::clear_has_club() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SubscribeNotification::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::client::Club::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::client::Club& SubscribeNotification::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::client::Club* SubscribeNotification::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::client::Club; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.club) + return club_; +} +inline ::bgs::protocol::club::v1::client::Club* SubscribeNotification::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::client::Club* temp = club_; + club_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1::client::Club* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.club) +} + +// optional .bgs.protocol.club.v1.client.ClubView view = 5; +inline bool SubscribeNotification::has_view() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SubscribeNotification::set_has_view() { + _has_bits_[0] |= 0x00000008u; +} +inline void SubscribeNotification::clear_has_view() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SubscribeNotification::clear_view() { + if (view_ != NULL) view_->::bgs::protocol::club::v1::client::ClubView::Clear(); + clear_has_view(); +} +inline const ::bgs::protocol::club::v1::client::ClubView& SubscribeNotification::view() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.view) + return view_ != NULL ? *view_ : *default_instance_->view_; +} +inline ::bgs::protocol::club::v1::client::ClubView* SubscribeNotification::mutable_view() { + set_has_view(); + if (view_ == NULL) view_ = new ::bgs::protocol::club::v1::client::ClubView; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.view) + return view_; +} +inline ::bgs::protocol::club::v1::client::ClubView* SubscribeNotification::release_view() { + clear_has_view(); + ::bgs::protocol::club::v1::client::ClubView* temp = view_; + view_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1::client::ClubView* view) { + delete view_; + view_ = view; + if (view) { + set_has_view(); + } else { + clear_has_view(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.view) +} + +// optional .bgs.protocol.club.v1.client.ClubSettings settings = 10; +inline bool SubscribeNotification::has_settings() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void SubscribeNotification::set_has_settings() { + _has_bits_[0] |= 0x00000010u; +} +inline void SubscribeNotification::clear_has_settings() { + _has_bits_[0] &= ~0x00000010u; +} +inline void SubscribeNotification::clear_settings() { + if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear(); + clear_has_settings(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettings& SubscribeNotification::settings() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.settings) + return settings_ != NULL ? *settings_ : *default_instance_->settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* SubscribeNotification::mutable_settings() { + set_has_settings(); + if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.settings) + return settings_; +} +inline ::bgs::protocol::club::v1::client::ClubSettings* SubscribeNotification::release_settings() { + clear_has_settings(); + ::bgs::protocol::club::v1::client::ClubSettings* temp = settings_; + settings_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) { + delete settings_; + settings_ = settings; + if (settings) { + set_has_settings(); + } else { + clear_has_settings(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.settings) +} + +// optional .bgs.protocol.club.v1.client.Member member = 11; +inline bool SubscribeNotification::has_member() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void SubscribeNotification::set_has_member() { + _has_bits_[0] |= 0x00000020u; +} +inline void SubscribeNotification::clear_has_member() { + _has_bits_[0] &= ~0x00000020u; +} +inline void SubscribeNotification::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::Member::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::Member& SubscribeNotification::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeNotification.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::Member* SubscribeNotification::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::Member; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeNotification.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::Member* SubscribeNotification::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::Member* temp = member_; + member_ = NULL; + return temp; +} +inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeNotification.member) +} + +// ------------------------------------------------------------------- + +// UnsubscribeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool UnsubscribeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeNotification.club_id) + return club_id_; +} +inline void UnsubscribeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeNotification.club_id) +} + +// ------------------------------------------------------------------- + +// StateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.club_id) + return club_id_; +} +inline void StateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StateChangedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubStateAssignment assignment = 5; +inline bool StateChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StateChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void StateChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StateChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::ClubStateAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::ClubStateAssignment& StateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StateChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubStateAssignment* StateChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::ClubStateAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StateChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubStateAssignment* StateChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::ClubStateAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubStateAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StateChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// SettingsChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SettingsChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SettingsChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SettingsChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SettingsChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SettingsChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SettingsChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SettingsChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SettingsChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SettingsChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SettingsChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SettingsChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.club_id) + return club_id_; +} +inline void SettingsChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SettingsChangedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSettingsAssignment assignment = 4; +inline bool SettingsChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SettingsChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000004u; +} +inline void SettingsChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SettingsChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::ClubSettingsAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettingsAssignment& SettingsChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* SettingsChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::ClubSettingsAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsAssignment* SettingsChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::ClubSettingsAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::ClubSettingsAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SettingsChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// MemberAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.club_id) + return club_id_; +} +inline void MemberAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberAddedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.Member member = 4; +inline int MemberAddedNotification::member_size() const { + return member_.size(); +} +inline void MemberAddedNotification::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Member& MemberAddedNotification::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Member* MemberAddedNotification::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Member* MemberAddedNotification::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& +MemberAddedNotification::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* +MemberAddedNotification::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberAddedNotification.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// MemberRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.club_id) + return club_id_; +} +inline void MemberRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRemovedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.MemberRemovedAssignment member = 4; +inline int MemberRemovedNotification::member_size() const { + return member_.size(); +} +inline void MemberRemovedNotification::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberRemovedAssignment& MemberRemovedNotification::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* MemberRemovedNotification::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberRemovedAssignment* MemberRemovedNotification::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >& +MemberRemovedNotification::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberRemovedAssignment >* +MemberRemovedNotification::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRemovedNotification.member) + return &member_; +} + +// ------------------------------------------------------------------- + +// MemberStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.club_id) + return club_id_; +} +inline void MemberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberStateChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.MemberStateAssignment assignment = 4; +inline int MemberStateChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void MemberStateChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberStateAssignment& MemberStateChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberStateAssignment* MemberStateChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberStateAssignment* MemberStateChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >& +MemberStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberStateAssignment >* +MemberStateChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberStateChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// SubscriberStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscriberStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscriberStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscriberStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscriberStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscriberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SubscriberStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscriberStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscriberStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscriberStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscriberStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.club_id) + return club_id_; +} +inline void SubscriberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.SubscriberStateAssignment assignment = 4; +inline int SubscriberStateChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void SubscriberStateChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::SubscriberStateAssignment& SubscriberStateChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* SubscriberStateChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::SubscriberStateAssignment* SubscriberStateChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >& +SubscriberStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::SubscriberStateAssignment >* +SubscriberStateChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscriberStateChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// MemberRoleChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool MemberRoleChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberRoleChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberRoleChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberRoleChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& MemberRoleChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void MemberRoleChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.MemberRoleChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool MemberRoleChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberRoleChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberRoleChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberRoleChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 MemberRoleChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.club_id) + return club_id_; +} +inline void MemberRoleChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MemberRoleChangedNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.RoleAssignment assignment = 4; +inline int MemberRoleChangedNotification::assignment_size() const { + return assignment_.size(); +} +inline void MemberRoleChangedNotification::clear_assignment() { + assignment_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::RoleAssignment& MemberRoleChangedNotification::assignment(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Get(index); +} +inline ::bgs::protocol::club::v1::client::RoleAssignment* MemberRoleChangedNotification::mutable_assignment(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::RoleAssignment* MemberRoleChangedNotification::add_assignment() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >& +MemberRoleChangedNotification::assignment() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return assignment_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::RoleAssignment >* +MemberRoleChangedNotification::mutable_assignment() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MemberRoleChangedNotification.assignment) + return &assignment_; +} + +// ------------------------------------------------------------------- + +// InvitationAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool InvitationAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& InvitationAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void InvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool InvitationAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 InvitationAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.club_id) + return club_id_; +} +inline void InvitationAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 4; +inline bool InvitationAddedNotification::has_invitation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void InvitationAddedNotification::set_has_invitation() { + _has_bits_[0] |= 0x00000004u; +} +inline void InvitationAddedNotification::clear_has_invitation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void InvitationAddedNotification::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& InvitationAddedNotification::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* InvitationAddedNotification::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* InvitationAddedNotification::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationAddedNotification.invitation) +} + +// ------------------------------------------------------------------- + +// InvitationRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool InvitationRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& InvitationRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void InvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.InvitationRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool InvitationRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 InvitationRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.club_id) + return club_id_; +} +inline void InvitationRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.club_id) +} + +// optional fixed64 invitation_id = 4; +inline bool InvitationRemovedNotification::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void InvitationRemovedNotification::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void InvitationRemovedNotification::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void InvitationRemovedNotification::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 InvitationRemovedNotification::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.invitation_id) + return invitation_id_; +} +inline void InvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.invitation_id) +} + +// optional .bgs.protocol.InvitationRemovedReason reason = 5; +inline bool InvitationRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void InvitationRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void InvitationRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void InvitationRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::InvitationRemovedReason InvitationRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.InvitationRemovedNotification.reason) + return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); +} +inline void InvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { + assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.InvitationRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// SuggestionAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SuggestionAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SuggestionAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SuggestionAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SuggestionAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SuggestionAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SuggestionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SuggestionAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SuggestionAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SuggestionAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SuggestionAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SuggestionAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.club_id) + return club_id_; +} +inline void SuggestionAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 4; +inline bool SuggestionAddedNotification::has_suggestion() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SuggestionAddedNotification::set_has_suggestion() { + _has_bits_[0] |= 0x00000004u; +} +inline void SuggestionAddedNotification::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SuggestionAddedNotification::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestion::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& SuggestionAddedNotification::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* SuggestionAddedNotification::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestion; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* SuggestionAddedNotification::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionAddedNotification.suggestion) +} + +// ------------------------------------------------------------------- + +// SuggestionRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SuggestionRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SuggestionRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SuggestionRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SuggestionRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SuggestionRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SuggestionRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SuggestionRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool SuggestionRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SuggestionRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SuggestionRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SuggestionRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SuggestionRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.club_id) + return club_id_; +} +inline void SuggestionRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.club_id) +} + +// optional fixed64 suggestion_id = 4; +inline bool SuggestionRemovedNotification::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SuggestionRemovedNotification::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SuggestionRemovedNotification::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SuggestionRemovedNotification::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 SuggestionRemovedNotification::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.suggestion_id) + return suggestion_id_; +} +inline void SuggestionRemovedNotification::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.suggestion_id) +} + +// optional .bgs.protocol.SuggestionRemovedReason reason = 5; +inline bool SuggestionRemovedNotification::has_reason() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SuggestionRemovedNotification::set_has_reason() { + _has_bits_[0] |= 0x00000008u; +} +inline void SuggestionRemovedNotification::clear_has_reason() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SuggestionRemovedNotification::clear_reason() { + reason_ = 0; + clear_has_reason(); +} +inline ::bgs::protocol::SuggestionRemovedReason SuggestionRemovedNotification::reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SuggestionRemovedNotification.reason) + return static_cast< ::bgs::protocol::SuggestionRemovedReason >(reason_); +} +inline void SuggestionRemovedNotification::set_reason(::bgs::protocol::SuggestionRemovedReason value) { + assert(::bgs::protocol::SuggestionRemovedReason_IsValid(value)); + set_has_reason(); + reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SuggestionRemovedNotification.reason) +} + +// ------------------------------------------------------------------- + +// StreamAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.club_id) + return club_id_; +} +inline void StreamAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAddedNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.Stream stream = 4; +inline bool StreamAddedNotification::has_stream() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamAddedNotification::set_has_stream() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamAddedNotification::clear_has_stream() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamAddedNotification::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::Stream::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::Stream& StreamAddedNotification::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAddedNotification.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* StreamAddedNotification::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::Stream; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAddedNotification.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* StreamAddedNotification::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::Stream* temp = stream_; + stream_ = NULL; + return temp; +} +inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAddedNotification.stream) +} + +// ------------------------------------------------------------------- + +// StreamRemovedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamRemovedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamRemovedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamRemovedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamRemovedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamRemovedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamRemovedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamRemovedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamRemovedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamRemovedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamRemovedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamRemovedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.club_id) + return club_id_; +} +inline void StreamRemovedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamRemovedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamRemovedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamRemovedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamRemovedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamRemovedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamRemovedNotification.stream_id) + return stream_id_; +} +inline void StreamRemovedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamRemovedNotification.stream_id) +} + +// ------------------------------------------------------------------- + +// StreamStateChangedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamStateChangedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamStateChangedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamStateChangedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamStateChangedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamStateChangedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamStateChangedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamStateChangedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamStateChangedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamStateChangedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamStateChangedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.club_id) + return club_id_; +} +inline void StreamStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamStateChangedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateChangedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateChangedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateChangedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamStateChangedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.stream_id) + return stream_id_; +} +inline void StreamStateChangedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateChangedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamStateAssignment assignment = 5; +inline bool StreamStateChangedNotification::has_assignment() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateChangedNotification::set_has_assignment() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateChangedNotification::clear_has_assignment() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateChangedNotification::clear_assignment() { + if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::client::StreamStateAssignment::Clear(); + clear_has_assignment(); +} +inline const ::bgs::protocol::club::v1::client::StreamStateAssignment& StreamStateChangedNotification::assignment() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) + return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; +} +inline ::bgs::protocol::club::v1::client::StreamStateAssignment* StreamStateChangedNotification::mutable_assignment() { + set_has_assignment(); + if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::client::StreamStateAssignment; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) + return assignment_; +} +inline ::bgs::protocol::club::v1::client::StreamStateAssignment* StreamStateChangedNotification::release_assignment() { + clear_has_assignment(); + ::bgs::protocol::club::v1::client::StreamStateAssignment* temp = assignment_; + assignment_ = NULL; + return temp; +} +inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::client::StreamStateAssignment* assignment) { + delete assignment_; + assignment_ = assignment; + if (assignment) { + set_has_assignment(); + } else { + clear_has_assignment(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateChangedNotification.assignment) +} + +// ------------------------------------------------------------------- + +// StreamMessageAddedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMessageAddedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessageAddedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessageAddedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessageAddedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMessageAddedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMessageAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageAddedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamMessageAddedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessageAddedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessageAddedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessageAddedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMessageAddedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.club_id) + return club_id_; +} +inline void StreamMessageAddedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamMessageAddedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMessageAddedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMessageAddedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMessageAddedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMessageAddedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.stream_id) + return stream_id_; +} +inline void StreamMessageAddedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamMessageAddedNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessageAddedNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessageAddedNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessageAddedNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMessageAddedNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageAddedNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageAddedNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message) +} + +// optional uint32 message_origin = 6; +inline bool StreamMessageAddedNotification::has_message_origin() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMessageAddedNotification::set_has_message_origin() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMessageAddedNotification::clear_has_message_origin() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMessageAddedNotification::clear_message_origin() { + message_origin_ = 0u; + clear_has_message_origin(); +} +inline ::google::protobuf::uint32 StreamMessageAddedNotification::message_origin() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message_origin) + return message_origin_; +} +inline void StreamMessageAddedNotification::set_message_origin(::google::protobuf::uint32 value) { + set_has_message_origin(); + message_origin_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageAddedNotification.message_origin) +} + +// ------------------------------------------------------------------- + +// StreamMessageUpdatedNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamMessageUpdatedNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessageUpdatedNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessageUpdatedNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMessageUpdatedNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamMessageUpdatedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamMessageUpdatedNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessageUpdatedNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessageUpdatedNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.club_id) + return club_id_; +} +inline void StreamMessageUpdatedNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamMessageUpdatedNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMessageUpdatedNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMessageUpdatedNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.stream_id) + return stream_id_; +} +inline void StreamMessageUpdatedNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamMessageUpdatedNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessageUpdatedNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessageUpdatedNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessageUpdatedNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMessageUpdatedNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageUpdatedNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMessageUpdatedNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessageUpdatedNotification.message) +} + +// ------------------------------------------------------------------- + +// StreamTypingIndicatorNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamTypingIndicatorNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamTypingIndicatorNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamTypingIndicatorNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicatorNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamTypingIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamTypingIndicatorNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamTypingIndicatorNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamTypingIndicatorNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.club_id) + return club_id_; +} +inline void StreamTypingIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.club_id) +} + +// optional uint64 stream_id = 4; +inline bool StreamTypingIndicatorNotification::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamTypingIndicatorNotification::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamTypingIndicatorNotification::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamTypingIndicatorNotification::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.stream_id) + return stream_id_; +} +inline void StreamTypingIndicatorNotification::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.stream_id) +} + +// repeated .bgs.protocol.club.v1.client.StreamTypingIndicator indicator = 5; +inline int StreamTypingIndicatorNotification::indicator_size() const { + return indicator_.size(); +} +inline void StreamTypingIndicatorNotification::clear_indicator() { + indicator_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamTypingIndicator& StreamTypingIndicatorNotification::indicator(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* StreamTypingIndicatorNotification::mutable_indicator(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamTypingIndicator* StreamTypingIndicatorNotification::add_indicator() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >& +StreamTypingIndicatorNotification::indicator() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return indicator_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamTypingIndicator >* +StreamTypingIndicatorNotification::mutable_indicator() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamTypingIndicatorNotification.indicator) + return &indicator_; +} + +// ------------------------------------------------------------------- + +// StreamUnreadIndicatorNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamUnreadIndicatorNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamUnreadIndicatorNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamUnreadIndicatorNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamUnreadIndicatorNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamUnreadIndicatorNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamUnreadIndicatorNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamUnreadIndicatorNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamUnreadIndicatorNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.club_id) + return club_id_; +} +inline void StreamUnreadIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.club_id) +} + +// optional .bgs.protocol.club.v1.client.StreamEventTime event = 4; +inline bool StreamUnreadIndicatorNotification::has_event() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_event() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamUnreadIndicatorNotification::clear_has_event() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamUnreadIndicatorNotification::clear_event() { + if (event_ != NULL) event_->::bgs::protocol::club::v1::client::StreamEventTime::Clear(); + clear_has_event(); +} +inline const ::bgs::protocol::club::v1::client::StreamEventTime& StreamUnreadIndicatorNotification::event() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) + return event_ != NULL ? *event_ : *default_instance_->event_; +} +inline ::bgs::protocol::club::v1::client::StreamEventTime* StreamUnreadIndicatorNotification::mutable_event() { + set_has_event(); + if (event_ == NULL) event_ = new ::bgs::protocol::club::v1::client::StreamEventTime; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) + return event_; +} +inline ::bgs::protocol::club::v1::client::StreamEventTime* StreamUnreadIndicatorNotification::release_event() { + clear_has_event(); + ::bgs::protocol::club::v1::client::StreamEventTime* temp = event_; + event_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protocol::club::v1::client::StreamEventTime* event) { + delete event_; + event_ = event; + if (event) { + set_has_event(); + } else { + clear_has_event(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.event) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 5; +inline bool StreamUnreadIndicatorNotification::has_message() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamUnreadIndicatorNotification::set_has_message() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamUnreadIndicatorNotification::clear_has_message() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamUnreadIndicatorNotification::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamUnreadIndicatorNotification::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamUnreadIndicatorNotification::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamUnreadIndicatorNotification::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamUnreadIndicatorNotification.message) +} + +// ------------------------------------------------------------------- + +// StreamAdvanceViewTimeNotification + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool StreamAdvanceViewTimeNotification::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAdvanceViewTimeNotification::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAdvanceViewTimeNotification::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAdvanceViewTimeNotification::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamAdvanceViewTimeNotification::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void StreamAdvanceViewTimeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.agent_id) +} + +// optional uint64 club_id = 3; +inline bool StreamAdvanceViewTimeNotification::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAdvanceViewTimeNotification::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAdvanceViewTimeNotification::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAdvanceViewTimeNotification::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTimeNotification::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.club_id) + return club_id_; +} +inline void StreamAdvanceViewTimeNotification::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.club_id) +} + +// repeated .bgs.protocol.club.v1.client.StreamAdvanceViewTime view = 4; +inline int StreamAdvanceViewTimeNotification::view_size() const { + return view_.size(); +} +inline void StreamAdvanceViewTimeNotification::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamAdvanceViewTime& StreamAdvanceViewTimeNotification::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >& +StreamAdvanceViewTimeNotification::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamAdvanceViewTime >* +StreamAdvanceViewTimeNotification::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAdvanceViewTimeNotification.view) + return &view_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fnotification_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_range_set.pb.cc b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc new file mode 100644 index 00000000000..a823e292a02 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.cc @@ -0,0 +1,887 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_range_set.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_range_set.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubTypeRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTypeRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubMemberRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubMemberRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStreamRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStreamRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubInvitationRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubInvitationRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubSuggestionRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubSuggestionRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubTicketRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubTicketRangeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubBanRangeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubBanRangeSet_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_range_set.proto"); + GOOGLE_CHECK(file != NULL); + ClubTypeRangeSet_descriptor_ = file->message_type(0); + static const int ClubTypeRangeSet_offsets_[10] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, description_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, broadcast_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, short_name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ban_), + }; + ClubTypeRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTypeRangeSet_descriptor_, + ClubTypeRangeSet::default_instance_, + ClubTypeRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTypeRangeSet)); + ClubMemberRangeSet_descriptor_ = file->message_type(1); + static const int ClubMemberRangeSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, voice_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, stream_subscriptions_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, note_range_), + }; + ClubMemberRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubMemberRangeSet_descriptor_, + ClubMemberRangeSet::default_instance_, + ClubMemberRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubMemberRangeSet)); + ClubStreamRangeSet_descriptor_ = file->message_type(2); + static const int ClubStreamRangeSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, name_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, subject_range_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, message_range_), + }; + ClubStreamRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStreamRangeSet_descriptor_, + ClubStreamRangeSet::default_instance_, + ClubStreamRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStreamRangeSet)); + ClubInvitationRangeSet_descriptor_ = file->message_type(3); + static const int ClubInvitationRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, count_), + }; + ClubInvitationRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubInvitationRangeSet_descriptor_, + ClubInvitationRangeSet::default_instance_, + ClubInvitationRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubInvitationRangeSet)); + ClubSuggestionRangeSet_descriptor_ = file->message_type(4); + static const int ClubSuggestionRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, count_), + }; + ClubSuggestionRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubSuggestionRangeSet_descriptor_, + ClubSuggestionRangeSet::default_instance_, + ClubSuggestionRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubSuggestionRangeSet)); + ClubTicketRangeSet_descriptor_ = file->message_type(5); + static const int ClubTicketRangeSet_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, count_), + }; + ClubTicketRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubTicketRangeSet_descriptor_, + ClubTicketRangeSet::default_instance_, + ClubTicketRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubTicketRangeSet)); + ClubBanRangeSet_descriptor_ = file->message_type(6); + static const int ClubBanRangeSet_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, reason_range_), + }; + ClubBanRangeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubBanRangeSet_descriptor_, + ClubBanRangeSet::default_instance_, + ClubBanRangeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubBanRangeSet)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTypeRangeSet_descriptor_, &ClubTypeRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubMemberRangeSet_descriptor_, &ClubMemberRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStreamRangeSet_descriptor_, &ClubStreamRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubInvitationRangeSet_descriptor_, &ClubInvitationRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubSuggestionRangeSet_descriptor_, &ClubSuggestionRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubTicketRangeSet_descriptor_, &ClubTicketRangeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubBanRangeSet_descriptor_, &ClubBanRangeSet::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + delete ClubTypeRangeSet::default_instance_; + delete ClubTypeRangeSet_reflection_; + delete ClubMemberRangeSet::default_instance_; + delete ClubMemberRangeSet_reflection_; + delete ClubStreamRangeSet::default_instance_; + delete ClubStreamRangeSet_reflection_; + delete ClubInvitationRangeSet::default_instance_; + delete ClubInvitationRangeSet_reflection_; + delete ClubSuggestionRangeSet::default_instance_; + delete ClubSuggestionRangeSet_reflection_; + delete ClubTicketRangeSet::default_instance_; + delete ClubTicketRangeSet_reflection_; + delete ClubBanRangeSet::default_instance_; + delete ClubBanRangeSet_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2frange_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\"api/client/v1/club_range_set.proto\022\033bg" + "s.protocol.club.v1.client\032\035global_extens" + "ions/range.proto\"\204\005\n\020ClubTypeRangeSet\0222\n" + "\nname_range\030\002 \001(\0132\036.bgs.protocol.Unsigne" + "dIntRange\0229\n\021description_range\030\003 \001(\0132\036.b" + "gs.protocol.UnsignedIntRange\0227\n\017broadcas" + "t_range\030\004 \001(\0132\036.bgs.protocol.UnsignedInt" + "Range\0228\n\020short_name_range\030\007 \001(\0132\036.bgs.pr" + "otocol.UnsignedIntRange\022\?\n\006member\030\031 \001(\0132" + "/.bgs.protocol.club.v1.client.ClubMember" + "RangeSet\022\?\n\006stream\030\032 \001(\0132/.bgs.protocol." + "club.v1.client.ClubStreamRangeSet\022G\n\ninv" + "itation\030\033 \001(\01323.bgs.protocol.club.v1.cli" + "ent.ClubInvitationRangeSet\022G\n\nsuggestion" + "\030\034 \001(\01323.bgs.protocol.club.v1.client.Clu" + "bSuggestionRangeSet\022\?\n\006ticket\030\035 \001(\0132/.bg" + "s.protocol.club.v1.client.ClubTicketRang" + "eSet\0229\n\003ban\030\036 \001(\0132,.bgs.protocol.club.v1" + ".client.ClubBanRangeSet\"\344\001\n\022ClubMemberRa" + "ngeSet\022-\n\005count\030\001 \001(\0132\036.bgs.protocol.Uns" + "ignedIntRange\022-\n\005voice\030\003 \001(\0132\036.bgs.proto" + "col.UnsignedIntRange\022<\n\024stream_subscript" + "ions\030\005 \001(\0132\036.bgs.protocol.UnsignedIntRan" + "ge\0222\n\nnote_range\030\007 \001(\0132\036.bgs.protocol.Un" + "signedIntRange\"\345\001\n\022ClubStreamRangeSet\022-\n" + "\005count\030\001 \001(\0132\036.bgs.protocol.UnsignedIntR" + "ange\0222\n\nname_range\030\003 \001(\0132\036.bgs.protocol." + "UnsignedIntRange\0225\n\rsubject_range\030\004 \001(\0132" + "\036.bgs.protocol.UnsignedIntRange\0225\n\rmessa" + "ge_range\030\005 \001(\0132\036.bgs.protocol.UnsignedIn" + "tRange\"G\n\026ClubInvitationRangeSet\022-\n\005coun" + "t\030\001 \001(\0132\036.bgs.protocol.UnsignedIntRange\"" + "G\n\026ClubSuggestionRangeSet\022-\n\005count\030\001 \001(\013" + "2\036.bgs.protocol.UnsignedIntRange\"C\n\022Club" + "TicketRangeSet\022-\n\005count\030\001 \001(\0132\036.bgs.prot" + "ocol.UnsignedIntRange\"v\n\017ClubBanRangeSet" + "\022-\n\005count\030\001 \001(\0132\036.bgs.protocol.UnsignedI" + "ntRange\0224\n\014reason_range\030\003 \001(\0132\036.bgs.prot" + "ocol.UnsignedIntRangeB\002H\002", 1545); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_range_set.proto", &protobuf_RegisterTypes); + ClubTypeRangeSet::default_instance_ = new ClubTypeRangeSet(); + ClubMemberRangeSet::default_instance_ = new ClubMemberRangeSet(); + ClubStreamRangeSet::default_instance_ = new ClubStreamRangeSet(); + ClubInvitationRangeSet::default_instance_ = new ClubInvitationRangeSet(); + ClubSuggestionRangeSet::default_instance_ = new ClubSuggestionRangeSet(); + ClubTicketRangeSet::default_instance_ = new ClubTicketRangeSet(); + ClubBanRangeSet::default_instance_ = new ClubBanRangeSet(); + ClubTypeRangeSet::default_instance_->InitAsDefaultInstance(); + ClubMemberRangeSet::default_instance_->InitAsDefaultInstance(); + ClubStreamRangeSet::default_instance_->InitAsDefaultInstance(); + ClubInvitationRangeSet::default_instance_->InitAsDefaultInstance(); + ClubSuggestionRangeSet::default_instance_->InitAsDefaultInstance(); + ClubTicketRangeSet::default_instance_->InitAsDefaultInstance(); + ClubBanRangeSet::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubTypeRangeSet::kNameRangeFieldNumber; +const int ClubTypeRangeSet::kDescriptionRangeFieldNumber; +const int ClubTypeRangeSet::kBroadcastRangeFieldNumber; +const int ClubTypeRangeSet::kShortNameRangeFieldNumber; +const int ClubTypeRangeSet::kMemberFieldNumber; +const int ClubTypeRangeSet::kStreamFieldNumber; +const int ClubTypeRangeSet::kInvitationFieldNumber; +const int ClubTypeRangeSet::kSuggestionFieldNumber; +const int ClubTypeRangeSet::kTicketFieldNumber; +const int ClubTypeRangeSet::kBanFieldNumber; +#endif // !_MSC_VER + +ClubTypeRangeSet::ClubTypeRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) +} + +void ClubTypeRangeSet::InitAsDefaultInstance() { + name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + description_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + broadcast_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + short_name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + member_ = const_cast< ::bgs::protocol::club::v1::client::ClubMemberRangeSet*>(&::bgs::protocol::club::v1::client::ClubMemberRangeSet::default_instance()); + stream_ = const_cast< ::bgs::protocol::club::v1::client::ClubStreamRangeSet*>(&::bgs::protocol::club::v1::client::ClubStreamRangeSet::default_instance()); + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitationRangeSet*>(&::bgs::protocol::club::v1::client::ClubInvitationRangeSet::default_instance()); + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet*>(&::bgs::protocol::club::v1::client::ClubSuggestionRangeSet::default_instance()); + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicketRangeSet*>(&::bgs::protocol::club::v1::client::ClubTicketRangeSet::default_instance()); + ban_ = const_cast< ::bgs::protocol::club::v1::client::ClubBanRangeSet*>(&::bgs::protocol::club::v1::client::ClubBanRangeSet::default_instance()); +} + +ClubTypeRangeSet::ClubTypeRangeSet(const ClubTypeRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) +} + +void ClubTypeRangeSet::SharedCtor() { + _cached_size_ = 0; + name_range_ = NULL; + description_range_ = NULL; + broadcast_range_ = NULL; + short_name_range_ = NULL; + member_ = NULL; + stream_ = NULL; + invitation_ = NULL; + suggestion_ = NULL; + ticket_ = NULL; + ban_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTypeRangeSet::~ClubTypeRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTypeRangeSet) + SharedDtor(); +} + +void ClubTypeRangeSet::SharedDtor() { + if (this != default_instance_) { + delete name_range_; + delete description_range_; + delete broadcast_range_; + delete short_name_range_; + delete member_; + delete stream_; + delete invitation_; + delete suggestion_; + delete ticket_; + delete ban_; + } +} + +void ClubTypeRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTypeRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTypeRangeSet_descriptor_; +} + +const ClubTypeRangeSet& ClubTypeRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubTypeRangeSet* ClubTypeRangeSet::default_instance_ = NULL; + +ClubTypeRangeSet* ClubTypeRangeSet::New() const { + return new ClubTypeRangeSet; +} + +void ClubTypeRangeSet::Swap(ClubTypeRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTypeRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTypeRangeSet_descriptor_; + metadata.reflection = ClubTypeRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubMemberRangeSet::kCountFieldNumber; +const int ClubMemberRangeSet::kVoiceFieldNumber; +const int ClubMemberRangeSet::kStreamSubscriptionsFieldNumber; +const int ClubMemberRangeSet::kNoteRangeFieldNumber; +#endif // !_MSC_VER + +ClubMemberRangeSet::ClubMemberRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) +} + +void ClubMemberRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + voice_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + stream_subscriptions_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + note_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubMemberRangeSet::ClubMemberRangeSet(const ClubMemberRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) +} + +void ClubMemberRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + voice_ = NULL; + stream_subscriptions_ = NULL; + note_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubMemberRangeSet::~ClubMemberRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubMemberRangeSet) + SharedDtor(); +} + +void ClubMemberRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete voice_; + delete stream_subscriptions_; + delete note_range_; + } +} + +void ClubMemberRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubMemberRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubMemberRangeSet_descriptor_; +} + +const ClubMemberRangeSet& ClubMemberRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubMemberRangeSet* ClubMemberRangeSet::default_instance_ = NULL; + +ClubMemberRangeSet* ClubMemberRangeSet::New() const { + return new ClubMemberRangeSet; +} + +void ClubMemberRangeSet::Swap(ClubMemberRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubMemberRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubMemberRangeSet_descriptor_; + metadata.reflection = ClubMemberRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStreamRangeSet::kCountFieldNumber; +const int ClubStreamRangeSet::kNameRangeFieldNumber; +const int ClubStreamRangeSet::kSubjectRangeFieldNumber; +const int ClubStreamRangeSet::kMessageRangeFieldNumber; +#endif // !_MSC_VER + +ClubStreamRangeSet::ClubStreamRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) +} + +void ClubStreamRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + subject_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + message_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubStreamRangeSet::ClubStreamRangeSet(const ClubStreamRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) +} + +void ClubStreamRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + name_range_ = NULL; + subject_range_ = NULL; + message_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStreamRangeSet::~ClubStreamRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamRangeSet) + SharedDtor(); +} + +void ClubStreamRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete name_range_; + delete subject_range_; + delete message_range_; + } +} + +void ClubStreamRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStreamRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStreamRangeSet_descriptor_; +} + +const ClubStreamRangeSet& ClubStreamRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubStreamRangeSet* ClubStreamRangeSet::default_instance_ = NULL; + +ClubStreamRangeSet* ClubStreamRangeSet::New() const { + return new ClubStreamRangeSet; +} + +void ClubStreamRangeSet::Swap(ClubStreamRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStreamRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStreamRangeSet_descriptor_; + metadata.reflection = ClubStreamRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubInvitationRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubInvitationRangeSet::ClubInvitationRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) +} + +void ClubInvitationRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubInvitationRangeSet::ClubInvitationRangeSet(const ClubInvitationRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) +} + +void ClubInvitationRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubInvitationRangeSet::~ClubInvitationRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubInvitationRangeSet) + SharedDtor(); +} + +void ClubInvitationRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubInvitationRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubInvitationRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubInvitationRangeSet_descriptor_; +} + +const ClubInvitationRangeSet& ClubInvitationRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubInvitationRangeSet* ClubInvitationRangeSet::default_instance_ = NULL; + +ClubInvitationRangeSet* ClubInvitationRangeSet::New() const { + return new ClubInvitationRangeSet; +} + +void ClubInvitationRangeSet::Swap(ClubInvitationRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubInvitationRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubInvitationRangeSet_descriptor_; + metadata.reflection = ClubInvitationRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubSuggestionRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubSuggestionRangeSet::ClubSuggestionRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) +} + +void ClubSuggestionRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubSuggestionRangeSet::ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) +} + +void ClubSuggestionRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubSuggestionRangeSet::~ClubSuggestionRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) + SharedDtor(); +} + +void ClubSuggestionRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubSuggestionRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubSuggestionRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubSuggestionRangeSet_descriptor_; +} + +const ClubSuggestionRangeSet& ClubSuggestionRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubSuggestionRangeSet* ClubSuggestionRangeSet::default_instance_ = NULL; + +ClubSuggestionRangeSet* ClubSuggestionRangeSet::New() const { + return new ClubSuggestionRangeSet; +} + +void ClubSuggestionRangeSet::Swap(ClubSuggestionRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubSuggestionRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubSuggestionRangeSet_descriptor_; + metadata.reflection = ClubSuggestionRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubTicketRangeSet::kCountFieldNumber; +#endif // !_MSC_VER + +ClubTicketRangeSet::ClubTicketRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) +} + +void ClubTicketRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubTicketRangeSet::ClubTicketRangeSet(const ClubTicketRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) +} + +void ClubTicketRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubTicketRangeSet::~ClubTicketRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubTicketRangeSet) + SharedDtor(); +} + +void ClubTicketRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + } +} + +void ClubTicketRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubTicketRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubTicketRangeSet_descriptor_; +} + +const ClubTicketRangeSet& ClubTicketRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubTicketRangeSet* ClubTicketRangeSet::default_instance_ = NULL; + +ClubTicketRangeSet* ClubTicketRangeSet::New() const { + return new ClubTicketRangeSet; +} + +void ClubTicketRangeSet::Swap(ClubTicketRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubTicketRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubTicketRangeSet_descriptor_; + metadata.reflection = ClubTicketRangeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubBanRangeSet::kCountFieldNumber; +const int ClubBanRangeSet::kReasonRangeFieldNumber; +#endif // !_MSC_VER + +ClubBanRangeSet::ClubBanRangeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) +} + +void ClubBanRangeSet::InitAsDefaultInstance() { + count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); + reason_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); +} + +ClubBanRangeSet::ClubBanRangeSet(const ClubBanRangeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubBanRangeSet) +} + +void ClubBanRangeSet::SharedCtor() { + _cached_size_ = 0; + count_ = NULL; + reason_range_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubBanRangeSet::~ClubBanRangeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubBanRangeSet) + SharedDtor(); +} + +void ClubBanRangeSet::SharedDtor() { + if (this != default_instance_) { + delete count_; + delete reason_range_; + } +} + +void ClubBanRangeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubBanRangeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubBanRangeSet_descriptor_; +} + +const ClubBanRangeSet& ClubBanRangeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + return *default_instance_; +} + +ClubBanRangeSet* ClubBanRangeSet::default_instance_ = NULL; + +ClubBanRangeSet* ClubBanRangeSet::New() const { + return new ClubBanRangeSet; +} + +void ClubBanRangeSet::Swap(ClubBanRangeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubBanRangeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubBanRangeSet_descriptor_; + metadata.reflection = ClubBanRangeSet_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_range_set.pb.h b/src/server/proto/Client/api/client/v1/club_range_set.pb.h new file mode 100644 index 00000000000..4c7b52758e7 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_range_set.pb.h @@ -0,0 +1,1710 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_range_set.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/range.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + +class ClubTypeRangeSet; +class ClubMemberRangeSet; +class ClubStreamRangeSet; +class ClubInvitationRangeSet; +class ClubSuggestionRangeSet; +class ClubTicketRangeSet; +class ClubBanRangeSet; + +// =================================================================== + +class TC_PROTO_API ClubTypeRangeSet : public ::google::protobuf::Message { + public: + ClubTypeRangeSet(); + virtual ~ClubTypeRangeSet(); + + ClubTypeRangeSet(const ClubTypeRangeSet& from); + + inline ClubTypeRangeSet& operator=(const ClubTypeRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTypeRangeSet& default_instance(); + + void Swap(ClubTypeRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubTypeRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange name_range = 2; + inline bool has_name_range() const; + inline void clear_name_range(); + static const int kNameRangeFieldNumber = 2; + inline const ::bgs::protocol::UnsignedIntRange& name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_name_range(); + inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); + + // optional .bgs.protocol.UnsignedIntRange description_range = 3; + inline bool has_description_range() const; + inline void clear_description_range(); + static const int kDescriptionRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& description_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_description_range(); + inline ::bgs::protocol::UnsignedIntRange* release_description_range(); + inline void set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range); + + // optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; + inline bool has_broadcast_range() const; + inline void clear_broadcast_range(); + static const int kBroadcastRangeFieldNumber = 4; + inline const ::bgs::protocol::UnsignedIntRange& broadcast_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_broadcast_range(); + inline ::bgs::protocol::UnsignedIntRange* release_broadcast_range(); + inline void set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range); + + // optional .bgs.protocol.UnsignedIntRange short_name_range = 7; + inline bool has_short_name_range() const; + inline void clear_short_name_range(); + static const int kShortNameRangeFieldNumber = 7; + inline const ::bgs::protocol::UnsignedIntRange& short_name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_short_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_short_name_range(); + inline void set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range); + + // optional .bgs.protocol.club.v1.client.ClubMemberRangeSet member = 25; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 25; + inline const ::bgs::protocol::club::v1::client::ClubMemberRangeSet& member() const; + inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* mutable_member(); + inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::ClubMemberRangeSet* member); + + // optional .bgs.protocol.club.v1.client.ClubStreamRangeSet stream = 26; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 26; + inline const ::bgs::protocol::club::v1::client::ClubStreamRangeSet& stream() const; + inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* mutable_stream(); + inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream); + + // optional .bgs.protocol.club.v1.client.ClubInvitationRangeSet invitation = 27; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 27; + inline const ::bgs::protocol::club::v1::client::ClubInvitationRangeSet& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation); + + // optional .bgs.protocol.club.v1.client.ClubSuggestionRangeSet suggestion = 28; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 28; + inline const ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion); + + // optional .bgs.protocol.club.v1.client.ClubTicketRangeSet ticket = 29; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 29; + inline const ::bgs::protocol::club::v1::client::ClubTicketRangeSet& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket); + + // optional .bgs.protocol.club.v1.client.ClubBanRangeSet ban = 30; + inline bool has_ban() const; + inline void clear_ban(); + static const int kBanFieldNumber = 30; + inline const ::bgs::protocol::club::v1::client::ClubBanRangeSet& ban() const; + inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* mutable_ban(); + inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* release_ban(); + inline void set_allocated_ban(::bgs::protocol::club::v1::client::ClubBanRangeSet* ban); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTypeRangeSet) + private: + inline void set_has_name_range(); + inline void clear_has_name_range(); + inline void set_has_description_range(); + inline void clear_has_description_range(); + inline void set_has_broadcast_range(); + inline void clear_has_broadcast_range(); + inline void set_has_short_name_range(); + inline void clear_has_short_name_range(); + inline void set_has_member(); + inline void clear_has_member(); + inline void set_has_stream(); + inline void clear_has_stream(); + inline void set_has_invitation(); + inline void clear_has_invitation(); + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + inline void set_has_ticket(); + inline void clear_has_ticket(); + inline void set_has_ban(); + inline void clear_has_ban(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* name_range_; + ::bgs::protocol::UnsignedIntRange* description_range_; + ::bgs::protocol::UnsignedIntRange* broadcast_range_; + ::bgs::protocol::UnsignedIntRange* short_name_range_; + ::bgs::protocol::club::v1::client::ClubMemberRangeSet* member_; + ::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream_; + ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation_; + ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion_; + ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket_; + ::bgs::protocol::club::v1::client::ClubBanRangeSet* ban_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubTypeRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubMemberRangeSet : public ::google::protobuf::Message { + public: + ClubMemberRangeSet(); + virtual ~ClubMemberRangeSet(); + + ClubMemberRangeSet(const ClubMemberRangeSet& from); + + inline ClubMemberRangeSet& operator=(const ClubMemberRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubMemberRangeSet& default_instance(); + + void Swap(ClubMemberRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubMemberRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange voice = 3; + inline bool has_voice() const; + inline void clear_voice(); + static const int kVoiceFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& voice() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_voice(); + inline ::bgs::protocol::UnsignedIntRange* release_voice(); + inline void set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice); + + // optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; + inline bool has_stream_subscriptions() const; + inline void clear_stream_subscriptions(); + static const int kStreamSubscriptionsFieldNumber = 5; + inline const ::bgs::protocol::UnsignedIntRange& stream_subscriptions() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_stream_subscriptions(); + inline ::bgs::protocol::UnsignedIntRange* release_stream_subscriptions(); + inline void set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions); + + // optional .bgs.protocol.UnsignedIntRange note_range = 7; + inline bool has_note_range() const; + inline void clear_note_range(); + static const int kNoteRangeFieldNumber = 7; + inline const ::bgs::protocol::UnsignedIntRange& note_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_note_range(); + inline ::bgs::protocol::UnsignedIntRange* release_note_range(); + inline void set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubMemberRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_voice(); + inline void clear_has_voice(); + inline void set_has_stream_subscriptions(); + inline void clear_has_stream_subscriptions(); + inline void set_has_note_range(); + inline void clear_has_note_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* voice_; + ::bgs::protocol::UnsignedIntRange* stream_subscriptions_; + ::bgs::protocol::UnsignedIntRange* note_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubMemberRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStreamRangeSet : public ::google::protobuf::Message { + public: + ClubStreamRangeSet(); + virtual ~ClubStreamRangeSet(); + + ClubStreamRangeSet(const ClubStreamRangeSet& from); + + inline ClubStreamRangeSet& operator=(const ClubStreamRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStreamRangeSet& default_instance(); + + void Swap(ClubStreamRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubStreamRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange name_range = 3; + inline bool has_name_range() const; + inline void clear_name_range(); + static const int kNameRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& name_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); + inline ::bgs::protocol::UnsignedIntRange* release_name_range(); + inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); + + // optional .bgs.protocol.UnsignedIntRange subject_range = 4; + inline bool has_subject_range() const; + inline void clear_subject_range(); + static const int kSubjectRangeFieldNumber = 4; + inline const ::bgs::protocol::UnsignedIntRange& subject_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_subject_range(); + inline ::bgs::protocol::UnsignedIntRange* release_subject_range(); + inline void set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range); + + // optional .bgs.protocol.UnsignedIntRange message_range = 5; + inline bool has_message_range() const; + inline void clear_message_range(); + static const int kMessageRangeFieldNumber = 5; + inline const ::bgs::protocol::UnsignedIntRange& message_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_message_range(); + inline ::bgs::protocol::UnsignedIntRange* release_message_range(); + inline void set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_name_range(); + inline void clear_has_name_range(); + inline void set_has_subject_range(); + inline void clear_has_subject_range(); + inline void set_has_message_range(); + inline void clear_has_message_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* name_range_; + ::bgs::protocol::UnsignedIntRange* subject_range_; + ::bgs::protocol::UnsignedIntRange* message_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubStreamRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubInvitationRangeSet : public ::google::protobuf::Message { + public: + ClubInvitationRangeSet(); + virtual ~ClubInvitationRangeSet(); + + ClubInvitationRangeSet(const ClubInvitationRangeSet& from); + + inline ClubInvitationRangeSet& operator=(const ClubInvitationRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubInvitationRangeSet& default_instance(); + + void Swap(ClubInvitationRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubInvitationRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubInvitationRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubInvitationRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubSuggestionRangeSet : public ::google::protobuf::Message { + public: + ClubSuggestionRangeSet(); + virtual ~ClubSuggestionRangeSet(); + + ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from); + + inline ClubSuggestionRangeSet& operator=(const ClubSuggestionRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubSuggestionRangeSet& default_instance(); + + void Swap(ClubSuggestionRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubSuggestionRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSuggestionRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubSuggestionRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubTicketRangeSet : public ::google::protobuf::Message { + public: + ClubTicketRangeSet(); + virtual ~ClubTicketRangeSet(); + + ClubTicketRangeSet(const ClubTicketRangeSet& from); + + inline ClubTicketRangeSet& operator=(const ClubTicketRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubTicketRangeSet& default_instance(); + + void Swap(ClubTicketRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubTicketRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubTicketRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubTicketRangeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubBanRangeSet : public ::google::protobuf::Message { + public: + ClubBanRangeSet(); + virtual ~ClubBanRangeSet(); + + ClubBanRangeSet(const ClubBanRangeSet& from); + + inline ClubBanRangeSet& operator=(const ClubBanRangeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubBanRangeSet& default_instance(); + + void Swap(ClubBanRangeSet* other); + + // implements Message ---------------------------------------------- + + ClubBanRangeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.UnsignedIntRange count = 1; + inline bool has_count() const; + inline void clear_count(); + static const int kCountFieldNumber = 1; + inline const ::bgs::protocol::UnsignedIntRange& count() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_count(); + inline ::bgs::protocol::UnsignedIntRange* release_count(); + inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); + + // optional .bgs.protocol.UnsignedIntRange reason_range = 3; + inline bool has_reason_range() const; + inline void clear_reason_range(); + static const int kReasonRangeFieldNumber = 3; + inline const ::bgs::protocol::UnsignedIntRange& reason_range() const; + inline ::bgs::protocol::UnsignedIntRange* mutable_reason_range(); + inline ::bgs::protocol::UnsignedIntRange* release_reason_range(); + inline void set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubBanRangeSet) + private: + inline void set_has_count(); + inline void clear_has_count(); + inline void set_has_reason_range(); + inline void clear_has_reason_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::UnsignedIntRange* count_; + ::bgs::protocol::UnsignedIntRange* reason_range_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + + void InitAsDefaultInstance(); + static ClubBanRangeSet* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubTypeRangeSet + +// optional .bgs.protocol.UnsignedIntRange name_range = 2; +inline bool ClubTypeRangeSet::has_name_range() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTypeRangeSet::set_has_name_range() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTypeRangeSet::clear_has_name_range() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTypeRangeSet::clear_name_range() { + if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) + return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_name_range() { + set_has_name_range(); + if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) + return name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_name_range() { + clear_has_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = name_range_; + name_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { + delete name_range_; + name_range_ = name_range; + if (name_range) { + set_has_name_range(); + } else { + clear_has_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.name_range) +} + +// optional .bgs.protocol.UnsignedIntRange description_range = 3; +inline bool ClubTypeRangeSet::has_description_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubTypeRangeSet::set_has_description_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubTypeRangeSet::clear_has_description_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubTypeRangeSet::clear_description_range() { + if (description_range_ != NULL) description_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_description_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::description_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) + return description_range_ != NULL ? *description_range_ : *default_instance_->description_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_description_range() { + set_has_description_range(); + if (description_range_ == NULL) description_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) + return description_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_description_range() { + clear_has_description_range(); + ::bgs::protocol::UnsignedIntRange* temp = description_range_; + description_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range) { + delete description_range_; + description_range_ = description_range; + if (description_range) { + set_has_description_range(); + } else { + clear_has_description_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.description_range) +} + +// optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; +inline bool ClubTypeRangeSet::has_broadcast_range() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubTypeRangeSet::set_has_broadcast_range() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubTypeRangeSet::clear_has_broadcast_range() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubTypeRangeSet::clear_broadcast_range() { + if (broadcast_range_ != NULL) broadcast_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_broadcast_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::broadcast_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) + return broadcast_range_ != NULL ? *broadcast_range_ : *default_instance_->broadcast_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_broadcast_range() { + set_has_broadcast_range(); + if (broadcast_range_ == NULL) broadcast_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) + return broadcast_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_broadcast_range() { + clear_has_broadcast_range(); + ::bgs::protocol::UnsignedIntRange* temp = broadcast_range_; + broadcast_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range) { + delete broadcast_range_; + broadcast_range_ = broadcast_range; + if (broadcast_range) { + set_has_broadcast_range(); + } else { + clear_has_broadcast_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.broadcast_range) +} + +// optional .bgs.protocol.UnsignedIntRange short_name_range = 7; +inline bool ClubTypeRangeSet::has_short_name_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubTypeRangeSet::set_has_short_name_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubTypeRangeSet::clear_has_short_name_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubTypeRangeSet::clear_short_name_range() { + if (short_name_range_ != NULL) short_name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_short_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::short_name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) + return short_name_range_ != NULL ? *short_name_range_ : *default_instance_->short_name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_short_name_range() { + set_has_short_name_range(); + if (short_name_range_ == NULL) short_name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) + return short_name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_short_name_range() { + clear_has_short_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = short_name_range_; + short_name_range_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range) { + delete short_name_range_; + short_name_range_ = short_name_range; + if (short_name_range) { + set_has_short_name_range(); + } else { + clear_has_short_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.short_name_range) +} + +// optional .bgs.protocol.club.v1.client.ClubMemberRangeSet member = 25; +inline bool ClubTypeRangeSet::has_member() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubTypeRangeSet::set_has_member() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubTypeRangeSet::clear_has_member() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubTypeRangeSet::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::ClubMemberRangeSet::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::ClubMemberRangeSet& ClubTypeRangeSet::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* ClubTypeRangeSet::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::ClubMemberRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::ClubMemberRangeSet* ClubTypeRangeSet::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::ClubMemberRangeSet* temp = member_; + member_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::client::ClubMemberRangeSet* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.member) +} + +// optional .bgs.protocol.club.v1.client.ClubStreamRangeSet stream = 26; +inline bool ClubTypeRangeSet::has_stream() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubTypeRangeSet::set_has_stream() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubTypeRangeSet::clear_has_stream() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubTypeRangeSet::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::ClubStreamRangeSet::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::ClubStreamRangeSet& ClubTypeRangeSet::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* ClubTypeRangeSet::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::ClubStreamRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::ClubStreamRangeSet* ClubTypeRangeSet::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::ClubStreamRangeSet* temp = stream_; + stream_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::client::ClubStreamRangeSet* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.stream) +} + +// optional .bgs.protocol.club.v1.client.ClubInvitationRangeSet invitation = 27; +inline bool ClubTypeRangeSet::has_invitation() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubTypeRangeSet::set_has_invitation() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubTypeRangeSet::clear_has_invitation() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubTypeRangeSet::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitationRangeSet::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitationRangeSet& ClubTypeRangeSet::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* ClubTypeRangeSet::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitationRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* ClubTypeRangeSet::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitationRangeSet* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitationRangeSet* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.invitation) +} + +// optional .bgs.protocol.club.v1.client.ClubSuggestionRangeSet suggestion = 28; +inline bool ClubTypeRangeSet::has_suggestion() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubTypeRangeSet::set_has_suggestion() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubTypeRangeSet::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubTypeRangeSet::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestionRangeSet::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet& ClubTypeRangeSet::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* ClubTypeRangeSet::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* ClubTypeRangeSet::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestionRangeSet* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.suggestion) +} + +// optional .bgs.protocol.club.v1.client.ClubTicketRangeSet ticket = 29; +inline bool ClubTypeRangeSet::has_ticket() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubTypeRangeSet::set_has_ticket() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubTypeRangeSet::clear_has_ticket() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubTypeRangeSet::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicketRangeSet::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicketRangeSet& ClubTypeRangeSet::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ClubTypeRangeSet::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicketRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicketRangeSet* ClubTypeRangeSet::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicketRangeSet* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicketRangeSet* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ticket) +} + +// optional .bgs.protocol.club.v1.client.ClubBanRangeSet ban = 30; +inline bool ClubTypeRangeSet::has_ban() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubTypeRangeSet::set_has_ban() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubTypeRangeSet::clear_has_ban() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubTypeRangeSet::clear_ban() { + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::ClubBanRangeSet::Clear(); + clear_has_ban(); +} +inline const ::bgs::protocol::club::v1::client::ClubBanRangeSet& ClubTypeRangeSet::ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) + return ban_ != NULL ? *ban_ : *default_instance_->ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* ClubTypeRangeSet::mutable_ban() { + set_has_ban(); + if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::client::ClubBanRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) + return ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBanRangeSet* ClubTypeRangeSet::release_ban() { + clear_has_ban(); + ::bgs::protocol::club::v1::client::ClubBanRangeSet* temp = ban_; + ban_ = NULL; + return temp; +} +inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBanRangeSet* ban) { + delete ban_; + ban_ = ban; + if (ban) { + set_has_ban(); + } else { + clear_has_ban(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTypeRangeSet.ban) +} + +// ------------------------------------------------------------------- + +// ClubMemberRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubMemberRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubMemberRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubMemberRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubMemberRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange voice = 3; +inline bool ClubMemberRangeSet::has_voice() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubMemberRangeSet::set_has_voice() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubMemberRangeSet::clear_has_voice() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubMemberRangeSet::clear_voice() { + if (voice_ != NULL) voice_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_voice(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) + return voice_ != NULL ? *voice_ : *default_instance_->voice_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_voice() { + set_has_voice(); + if (voice_ == NULL) voice_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) + return voice_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_voice() { + clear_has_voice(); + ::bgs::protocol::UnsignedIntRange* temp = voice_; + voice_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice) { + delete voice_; + voice_ = voice; + if (voice) { + set_has_voice(); + } else { + clear_has_voice(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.voice) +} + +// optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; +inline bool ClubMemberRangeSet::has_stream_subscriptions() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubMemberRangeSet::set_has_stream_subscriptions() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubMemberRangeSet::clear_has_stream_subscriptions() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubMemberRangeSet::clear_stream_subscriptions() { + if (stream_subscriptions_ != NULL) stream_subscriptions_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_stream_subscriptions(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::stream_subscriptions() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) + return stream_subscriptions_ != NULL ? *stream_subscriptions_ : *default_instance_->stream_subscriptions_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_stream_subscriptions() { + set_has_stream_subscriptions(); + if (stream_subscriptions_ == NULL) stream_subscriptions_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) + return stream_subscriptions_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_stream_subscriptions() { + clear_has_stream_subscriptions(); + ::bgs::protocol::UnsignedIntRange* temp = stream_subscriptions_; + stream_subscriptions_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions) { + delete stream_subscriptions_; + stream_subscriptions_ = stream_subscriptions; + if (stream_subscriptions) { + set_has_stream_subscriptions(); + } else { + clear_has_stream_subscriptions(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.stream_subscriptions) +} + +// optional .bgs.protocol.UnsignedIntRange note_range = 7; +inline bool ClubMemberRangeSet::has_note_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubMemberRangeSet::set_has_note_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubMemberRangeSet::clear_has_note_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubMemberRangeSet::clear_note_range() { + if (note_range_ != NULL) note_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_note_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::note_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) + return note_range_ != NULL ? *note_range_ : *default_instance_->note_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_note_range() { + set_has_note_range(); + if (note_range_ == NULL) note_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) + return note_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_note_range() { + clear_has_note_range(); + ::bgs::protocol::UnsignedIntRange* temp = note_range_; + note_range_ = NULL; + return temp; +} +inline void ClubMemberRangeSet::set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range) { + delete note_range_; + note_range_ = note_range; + if (note_range) { + set_has_note_range(); + } else { + clear_has_note_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubMemberRangeSet.note_range) +} + +// ------------------------------------------------------------------- + +// ClubStreamRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubStreamRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubStreamRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubStreamRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubStreamRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange name_range = 3; +inline bool ClubStreamRangeSet::has_name_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubStreamRangeSet::set_has_name_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubStreamRangeSet::clear_has_name_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubStreamRangeSet::clear_name_range() { + if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_name_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::name_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) + return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_name_range() { + set_has_name_range(); + if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) + return name_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_name_range() { + clear_has_name_range(); + ::bgs::protocol::UnsignedIntRange* temp = name_range_; + name_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { + delete name_range_; + name_range_ = name_range; + if (name_range) { + set_has_name_range(); + } else { + clear_has_name_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.name_range) +} + +// optional .bgs.protocol.UnsignedIntRange subject_range = 4; +inline bool ClubStreamRangeSet::has_subject_range() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubStreamRangeSet::set_has_subject_range() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubStreamRangeSet::clear_has_subject_range() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubStreamRangeSet::clear_subject_range() { + if (subject_range_ != NULL) subject_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_subject_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::subject_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) + return subject_range_ != NULL ? *subject_range_ : *default_instance_->subject_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_subject_range() { + set_has_subject_range(); + if (subject_range_ == NULL) subject_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) + return subject_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_subject_range() { + clear_has_subject_range(); + ::bgs::protocol::UnsignedIntRange* temp = subject_range_; + subject_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range) { + delete subject_range_; + subject_range_ = subject_range; + if (subject_range) { + set_has_subject_range(); + } else { + clear_has_subject_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.subject_range) +} + +// optional .bgs.protocol.UnsignedIntRange message_range = 5; +inline bool ClubStreamRangeSet::has_message_range() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubStreamRangeSet::set_has_message_range() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubStreamRangeSet::clear_has_message_range() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubStreamRangeSet::clear_message_range() { + if (message_range_ != NULL) message_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_message_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::message_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) + return message_range_ != NULL ? *message_range_ : *default_instance_->message_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_message_range() { + set_has_message_range(); + if (message_range_ == NULL) message_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) + return message_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_message_range() { + clear_has_message_range(); + ::bgs::protocol::UnsignedIntRange* temp = message_range_; + message_range_ = NULL; + return temp; +} +inline void ClubStreamRangeSet::set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range) { + delete message_range_; + message_range_ = message_range; + if (message_range) { + set_has_message_range(); + } else { + clear_has_message_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStreamRangeSet.message_range) +} + +// ------------------------------------------------------------------- + +// ClubInvitationRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubInvitationRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubInvitationRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubInvitationRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubInvitationRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubInvitationRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubInvitationRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubInvitationRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubSuggestionRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubSuggestionRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubSuggestionRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubSuggestionRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubSuggestionRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubSuggestionRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubSuggestionRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSuggestionRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubTicketRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubTicketRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubTicketRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubTicketRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubTicketRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubTicketRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubTicketRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubTicketRangeSet.count) +} + +// ------------------------------------------------------------------- + +// ClubBanRangeSet + +// optional .bgs.protocol.UnsignedIntRange count = 1; +inline bool ClubBanRangeSet::has_count() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubBanRangeSet::set_has_count() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubBanRangeSet::clear_has_count() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubBanRangeSet::clear_count() { + if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_count(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBanRangeSet.count) + return count_ != NULL ? *count_ : *default_instance_->count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_count() { + set_has_count(); + if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.count) + return count_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_count() { + clear_has_count(); + ::bgs::protocol::UnsignedIntRange* temp = count_; + count_ = NULL; + return temp; +} +inline void ClubBanRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { + delete count_; + count_ = count; + if (count) { + set_has_count(); + } else { + clear_has_count(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBanRangeSet.count) +} + +// optional .bgs.protocol.UnsignedIntRange reason_range = 3; +inline bool ClubBanRangeSet::has_reason_range() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubBanRangeSet::set_has_reason_range() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubBanRangeSet::clear_has_reason_range() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubBanRangeSet::clear_reason_range() { + if (reason_range_ != NULL) reason_range_->::bgs::protocol::UnsignedIntRange::Clear(); + clear_has_reason_range(); +} +inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::reason_range() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) + return reason_range_ != NULL ? *reason_range_ : *default_instance_->reason_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_reason_range() { + set_has_reason_range(); + if (reason_range_ == NULL) reason_range_ = new ::bgs::protocol::UnsignedIntRange; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) + return reason_range_; +} +inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_reason_range() { + clear_has_reason_range(); + ::bgs::protocol::UnsignedIntRange* temp = reason_range_; + reason_range_ = NULL; + return temp; +} +inline void ClubBanRangeSet::set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range) { + delete reason_range_; + reason_range_ = reason_range; + if (reason_range) { + set_has_reason_range(); + } else { + clear_has_reason_range(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubBanRangeSet.reason_range) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_request.pb.cc b/src/server/proto/Client/api/client/v1/club_request.pb.cc new file mode 100644 index 00000000000..952a730cdd8 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_request.pb.cc @@ -0,0 +1,8939 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_request.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_request.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetDescriptionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetDescriptionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetDescriptionResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetDescriptionResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubTypeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubTypeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubTypeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubTypeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateClubSettingsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateClubSettingsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AddMemberRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddMemberRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* JoinRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + JoinRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* LeaveRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + LeaveRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* KickRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + KickRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMemberRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMemberRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMemberResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMemberResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMembersRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMembersRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetMembersResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetMembersResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateMemberStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateMemberStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateSubscriberStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AssignRoleRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AssignRoleRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnassignRoleRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnassignRoleRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AcceptInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AcceptInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DeclineInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DeclineInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RevokeInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RevokeInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetInvitationsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetInvitationsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AcceptSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AcceptSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DeclineSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DeclineSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetSuggestionsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetSuggestionsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateTicketResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateTicketResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RedeemTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RedeemTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetTicketsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetTicketsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* AddBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AddBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* RemoveBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + RemoveBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBanRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBanRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBanResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBanResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBansRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBansRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetBansResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetBansResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamsRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamsRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamsResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamsResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UpdateStreamStateRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UpdateStreamStateRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetStreamFocusRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetStreamFocusRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* DestroyMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + DestroyMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* EditMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EditMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* EditMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EditMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetMessagePinnedRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetMessagePinnedRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetTypingIndicatorRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceActivityViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamHistoryRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamHistoryRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamHistoryResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamHistoryResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMessageRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMessageRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamMessageResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamMessageResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubActivityRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubActivityRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetClubActivityResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetClubActivityResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamVoiceTokenRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetStreamVoiceTokenResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + KickFromStreamVoiceRequest_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_request.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, club_id_), + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + UnsubscribeRequest_descriptor_ = file->message_type(1); + static const int UnsubscribeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, club_id_), + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + CreateRequest_descriptor_ = file->message_type(2); + static const int CreateRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, options_), + }; + CreateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateRequest_descriptor_, + CreateRequest::default_instance_, + CreateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateRequest)); + CreateResponse_descriptor_ = file->message_type(3); + static const int CreateResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, club_id_), + }; + CreateResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateResponse_descriptor_, + CreateResponse::default_instance_, + CreateResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateResponse)); + DestroyRequest_descriptor_ = file->message_type(4); + static const int DestroyRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, club_id_), + }; + DestroyRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyRequest_descriptor_, + DestroyRequest::default_instance_, + DestroyRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyRequest)); + GetDescriptionRequest_descriptor_ = file->message_type(5); + static const int GetDescriptionRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, club_id_), + }; + GetDescriptionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetDescriptionRequest_descriptor_, + GetDescriptionRequest::default_instance_, + GetDescriptionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetDescriptionRequest)); + GetDescriptionResponse_descriptor_ = file->message_type(6); + static const int GetDescriptionResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, club_), + }; + GetDescriptionResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetDescriptionResponse_descriptor_, + GetDescriptionResponse::default_instance_, + GetDescriptionResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetDescriptionResponse)); + GetClubTypeRequest_descriptor_ = file->message_type(7); + static const int GetClubTypeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, type_), + }; + GetClubTypeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubTypeRequest_descriptor_, + GetClubTypeRequest::default_instance_, + GetClubTypeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubTypeRequest)); + GetClubTypeResponse_descriptor_ = file->message_type(8); + static const int GetClubTypeResponse_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, role_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, range_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, platform_tag_set_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, custom_tag_set_), + }; + GetClubTypeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubTypeResponse_descriptor_, + GetClubTypeResponse::default_instance_, + GetClubTypeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubTypeResponse)); + UpdateClubStateRequest_descriptor_ = file->message_type(9); + static const int UpdateClubStateRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, options_), + }; + UpdateClubStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubStateRequest_descriptor_, + UpdateClubStateRequest::default_instance_, + UpdateClubStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubStateRequest)); + UpdateClubSettingsRequest_descriptor_ = file->message_type(10); + static const int UpdateClubSettingsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, options_), + }; + UpdateClubSettingsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateClubSettingsRequest_descriptor_, + UpdateClubSettingsRequest::default_instance_, + UpdateClubSettingsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateClubSettingsRequest)); + AddMemberRequest_descriptor_ = file->message_type(11); + static const int AddMemberRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, options_), + }; + AddMemberRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddMemberRequest_descriptor_, + AddMemberRequest::default_instance_, + AddMemberRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddMemberRequest)); + JoinRequest_descriptor_ = file->message_type(12); + static const int JoinRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, options_), + }; + JoinRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + JoinRequest_descriptor_, + JoinRequest::default_instance_, + JoinRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(JoinRequest)); + LeaveRequest_descriptor_ = file->message_type(13); + static const int LeaveRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, club_id_), + }; + LeaveRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + LeaveRequest_descriptor_, + LeaveRequest::default_instance_, + LeaveRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(LeaveRequest)); + KickRequest_descriptor_ = file->message_type(14); + static const int KickRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, target_id_), + }; + KickRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + KickRequest_descriptor_, + KickRequest::default_instance_, + KickRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(KickRequest)); + GetMemberRequest_descriptor_ = file->message_type(15); + static const int GetMemberRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, member_id_), + }; + GetMemberRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMemberRequest_descriptor_, + GetMemberRequest::default_instance_, + GetMemberRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMemberRequest)); + GetMemberResponse_descriptor_ = file->message_type(16); + static const int GetMemberResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, member_), + }; + GetMemberResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMemberResponse_descriptor_, + GetMemberResponse::default_instance_, + GetMemberResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMemberResponse)); + GetMembersRequest_descriptor_ = file->message_type(17); + static const int GetMembersRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, continuation_), + }; + GetMembersRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMembersRequest_descriptor_, + GetMembersRequest::default_instance_, + GetMembersRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMembersRequest)); + GetMembersResponse_descriptor_ = file->message_type(18); + static const int GetMembersResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, continuation_), + }; + GetMembersResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetMembersResponse_descriptor_, + GetMembersResponse::default_instance_, + GetMembersResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetMembersResponse)); + UpdateMemberStateRequest_descriptor_ = file->message_type(19); + static const int UpdateMemberStateRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, options_), + }; + UpdateMemberStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateMemberStateRequest_descriptor_, + UpdateMemberStateRequest::default_instance_, + UpdateMemberStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateMemberStateRequest)); + UpdateSubscriberStateRequest_descriptor_ = file->message_type(20); + static const int UpdateSubscriberStateRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, options_), + }; + UpdateSubscriberStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateSubscriberStateRequest_descriptor_, + UpdateSubscriberStateRequest::default_instance_, + UpdateSubscriberStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateSubscriberStateRequest)); + AssignRoleRequest_descriptor_ = file->message_type(21); + static const int AssignRoleRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, options_), + }; + AssignRoleRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AssignRoleRequest_descriptor_, + AssignRoleRequest::default_instance_, + AssignRoleRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AssignRoleRequest)); + UnassignRoleRequest_descriptor_ = file->message_type(22); + static const int UnassignRoleRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, options_), + }; + UnassignRoleRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnassignRoleRequest_descriptor_, + UnassignRoleRequest::default_instance_, + UnassignRoleRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnassignRoleRequest)); + SendInvitationRequest_descriptor_ = file->message_type(23); + static const int SendInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, options_), + }; + SendInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendInvitationRequest_descriptor_, + SendInvitationRequest::default_instance_, + SendInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendInvitationRequest)); + AcceptInvitationRequest_descriptor_ = file->message_type(24); + static const int AcceptInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, invitation_id_), + }; + AcceptInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AcceptInvitationRequest_descriptor_, + AcceptInvitationRequest::default_instance_, + AcceptInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AcceptInvitationRequest)); + DeclineInvitationRequest_descriptor_ = file->message_type(25); + static const int DeclineInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, invitation_id_), + }; + DeclineInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DeclineInvitationRequest_descriptor_, + DeclineInvitationRequest::default_instance_, + DeclineInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DeclineInvitationRequest)); + RevokeInvitationRequest_descriptor_ = file->message_type(26); + static const int RevokeInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, invitation_id_), + }; + RevokeInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RevokeInvitationRequest_descriptor_, + RevokeInvitationRequest::default_instance_, + RevokeInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RevokeInvitationRequest)); + GetInvitationRequest_descriptor_ = file->message_type(27); + static const int GetInvitationRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, invitation_id_), + }; + GetInvitationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationRequest_descriptor_, + GetInvitationRequest::default_instance_, + GetInvitationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationRequest)); + GetInvitationResponse_descriptor_ = file->message_type(28); + static const int GetInvitationResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, invitation_), + }; + GetInvitationResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationResponse_descriptor_, + GetInvitationResponse::default_instance_, + GetInvitationResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationResponse)); + GetInvitationsRequest_descriptor_ = file->message_type(29); + static const int GetInvitationsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, continuation_), + }; + GetInvitationsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationsRequest_descriptor_, + GetInvitationsRequest::default_instance_, + GetInvitationsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationsRequest)); + GetInvitationsResponse_descriptor_ = file->message_type(30); + static const int GetInvitationsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, continuation_), + }; + GetInvitationsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetInvitationsResponse_descriptor_, + GetInvitationsResponse::default_instance_, + GetInvitationsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetInvitationsResponse)); + SendSuggestionRequest_descriptor_ = file->message_type(31); + static const int SendSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, options_), + }; + SendSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendSuggestionRequest_descriptor_, + SendSuggestionRequest::default_instance_, + SendSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendSuggestionRequest)); + AcceptSuggestionRequest_descriptor_ = file->message_type(32); + static const int AcceptSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, suggestion_id_), + }; + AcceptSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AcceptSuggestionRequest_descriptor_, + AcceptSuggestionRequest::default_instance_, + AcceptSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AcceptSuggestionRequest)); + DeclineSuggestionRequest_descriptor_ = file->message_type(33); + static const int DeclineSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, suggestion_id_), + }; + DeclineSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DeclineSuggestionRequest_descriptor_, + DeclineSuggestionRequest::default_instance_, + DeclineSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DeclineSuggestionRequest)); + GetSuggestionRequest_descriptor_ = file->message_type(34); + static const int GetSuggestionRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, suggestion_id_), + }; + GetSuggestionRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionRequest_descriptor_, + GetSuggestionRequest::default_instance_, + GetSuggestionRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionRequest)); + GetSuggestionResponse_descriptor_ = file->message_type(35); + static const int GetSuggestionResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, suggestion_), + }; + GetSuggestionResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionResponse_descriptor_, + GetSuggestionResponse::default_instance_, + GetSuggestionResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionResponse)); + GetSuggestionsRequest_descriptor_ = file->message_type(36); + static const int GetSuggestionsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, continuation_), + }; + GetSuggestionsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionsRequest_descriptor_, + GetSuggestionsRequest::default_instance_, + GetSuggestionsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionsRequest)); + GetSuggestionsResponse_descriptor_ = file->message_type(37); + static const int GetSuggestionsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, continuation_), + }; + GetSuggestionsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetSuggestionsResponse_descriptor_, + GetSuggestionsResponse::default_instance_, + GetSuggestionsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetSuggestionsResponse)); + CreateTicketRequest_descriptor_ = file->message_type(38); + static const int CreateTicketRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, options_), + }; + CreateTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketRequest_descriptor_, + CreateTicketRequest::default_instance_, + CreateTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketRequest)); + CreateTicketResponse_descriptor_ = file->message_type(39); + static const int CreateTicketResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, ticket_), + }; + CreateTicketResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateTicketResponse_descriptor_, + CreateTicketResponse::default_instance_, + CreateTicketResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateTicketResponse)); + DestroyTicketRequest_descriptor_ = file->message_type(40); + static const int DestroyTicketRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, ticket_id_), + }; + DestroyTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyTicketRequest_descriptor_, + DestroyTicketRequest::default_instance_, + DestroyTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyTicketRequest)); + RedeemTicketRequest_descriptor_ = file->message_type(41); + static const int RedeemTicketRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, ticket_id_), + }; + RedeemTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RedeemTicketRequest_descriptor_, + RedeemTicketRequest::default_instance_, + RedeemTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RedeemTicketRequest)); + GetTicketRequest_descriptor_ = file->message_type(42); + static const int GetTicketRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, ticket_id_), + }; + GetTicketRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketRequest_descriptor_, + GetTicketRequest::default_instance_, + GetTicketRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketRequest)); + GetTicketResponse_descriptor_ = file->message_type(43); + static const int GetTicketResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, ticket_), + }; + GetTicketResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketResponse_descriptor_, + GetTicketResponse::default_instance_, + GetTicketResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketResponse)); + GetTicketsRequest_descriptor_ = file->message_type(44); + static const int GetTicketsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, continuation_), + }; + GetTicketsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketsRequest_descriptor_, + GetTicketsRequest::default_instance_, + GetTicketsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketsRequest)); + GetTicketsResponse_descriptor_ = file->message_type(45); + static const int GetTicketsResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, continuation_), + }; + GetTicketsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetTicketsResponse_descriptor_, + GetTicketsResponse::default_instance_, + GetTicketsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetTicketsResponse)); + AddBanRequest_descriptor_ = file->message_type(46); + static const int AddBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, options_), + }; + AddBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AddBanRequest_descriptor_, + AddBanRequest::default_instance_, + AddBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AddBanRequest)); + RemoveBanRequest_descriptor_ = file->message_type(47); + static const int RemoveBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, target_id_), + }; + RemoveBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + RemoveBanRequest_descriptor_, + RemoveBanRequest::default_instance_, + RemoveBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(RemoveBanRequest)); + GetBanRequest_descriptor_ = file->message_type(48); + static const int GetBanRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, target_id_), + }; + GetBanRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBanRequest_descriptor_, + GetBanRequest::default_instance_, + GetBanRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBanRequest)); + GetBanResponse_descriptor_ = file->message_type(49); + static const int GetBanResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, ban_), + }; + GetBanResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBanResponse_descriptor_, + GetBanResponse::default_instance_, + GetBanResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBanResponse)); + GetBansRequest_descriptor_ = file->message_type(50); + static const int GetBansRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, continuation_), + }; + GetBansRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBansRequest_descriptor_, + GetBansRequest::default_instance_, + GetBansRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBansRequest)); + GetBansResponse_descriptor_ = file->message_type(51); + static const int GetBansResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, continuation_), + }; + GetBansResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetBansResponse_descriptor_, + GetBansResponse::default_instance_, + GetBansResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetBansResponse)); + SubscribeStreamRequest_descriptor_ = file->message_type(52); + static const int SubscribeStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, stream_id_), + }; + SubscribeStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeStreamRequest_descriptor_, + SubscribeStreamRequest::default_instance_, + SubscribeStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeStreamRequest)); + UnsubscribeStreamRequest_descriptor_ = file->message_type(53); + static const int UnsubscribeStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, stream_id_), + }; + UnsubscribeStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeStreamRequest_descriptor_, + UnsubscribeStreamRequest::default_instance_, + UnsubscribeStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeStreamRequest)); + CreateStreamRequest_descriptor_ = file->message_type(54); + static const int CreateStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, options_), + }; + CreateStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamRequest_descriptor_, + CreateStreamRequest::default_instance_, + CreateStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamRequest)); + CreateStreamResponse_descriptor_ = file->message_type(55); + static const int CreateStreamResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, stream_id_), + }; + CreateStreamResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamResponse_descriptor_, + CreateStreamResponse::default_instance_, + CreateStreamResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamResponse)); + DestroyStreamRequest_descriptor_ = file->message_type(56); + static const int DestroyStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, stream_id_), + }; + DestroyStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyStreamRequest_descriptor_, + DestroyStreamRequest::default_instance_, + DestroyStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyStreamRequest)); + GetStreamRequest_descriptor_ = file->message_type(57); + static const int GetStreamRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, stream_id_), + }; + GetStreamRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamRequest_descriptor_, + GetStreamRequest::default_instance_, + GetStreamRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamRequest)); + GetStreamResponse_descriptor_ = file->message_type(58); + static const int GetStreamResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, stream_), + }; + GetStreamResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamResponse_descriptor_, + GetStreamResponse::default_instance_, + GetStreamResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamResponse)); + GetStreamsRequest_descriptor_ = file->message_type(59); + static const int GetStreamsRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, continuation_), + }; + GetStreamsRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamsRequest_descriptor_, + GetStreamsRequest::default_instance_, + GetStreamsRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamsRequest)); + GetStreamsResponse_descriptor_ = file->message_type(60); + static const int GetStreamsResponse_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, view_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, continuation_), + }; + GetStreamsResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamsResponse_descriptor_, + GetStreamsResponse::default_instance_, + GetStreamsResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamsResponse)); + UpdateStreamStateRequest_descriptor_ = file->message_type(61); + static const int UpdateStreamStateRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, options_), + }; + UpdateStreamStateRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UpdateStreamStateRequest_descriptor_, + UpdateStreamStateRequest::default_instance_, + UpdateStreamStateRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UpdateStreamStateRequest)); + SetStreamFocusRequest_descriptor_ = file->message_type(62); + static const int SetStreamFocusRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, focus_), + }; + SetStreamFocusRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetStreamFocusRequest_descriptor_, + SetStreamFocusRequest::default_instance_, + SetStreamFocusRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetStreamFocusRequest)); + CreateMessageRequest_descriptor_ = file->message_type(63); + static const int CreateMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, options_), + }; + CreateMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageRequest_descriptor_, + CreateMessageRequest::default_instance_, + CreateMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageRequest)); + CreateMessageResponse_descriptor_ = file->message_type(64); + static const int CreateMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, message_), + }; + CreateMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageResponse_descriptor_, + CreateMessageResponse::default_instance_, + CreateMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageResponse)); + DestroyMessageRequest_descriptor_ = file->message_type(65); + static const int DestroyMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, message_id_), + }; + DestroyMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyMessageRequest_descriptor_, + DestroyMessageRequest::default_instance_, + DestroyMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyMessageRequest)); + DestroyMessageResponse_descriptor_ = file->message_type(66); + static const int DestroyMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, message_), + }; + DestroyMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + DestroyMessageResponse_descriptor_, + DestroyMessageResponse::default_instance_, + DestroyMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(DestroyMessageResponse)); + EditMessageRequest_descriptor_ = file->message_type(67); + static const int EditMessageRequest_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, message_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, options_), + }; + EditMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EditMessageRequest_descriptor_, + EditMessageRequest::default_instance_, + EditMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EditMessageRequest)); + EditMessageResponse_descriptor_ = file->message_type(68); + static const int EditMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, message_), + }; + EditMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EditMessageResponse_descriptor_, + EditMessageResponse::default_instance_, + EditMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EditMessageResponse)); + SetMessagePinnedRequest_descriptor_ = file->message_type(69); + static const int SetMessagePinnedRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, stream_id_), + }; + SetMessagePinnedRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetMessagePinnedRequest_descriptor_, + SetMessagePinnedRequest::default_instance_, + SetMessagePinnedRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetMessagePinnedRequest)); + SetTypingIndicatorRequest_descriptor_ = file->message_type(70); + static const int SetTypingIndicatorRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, indicator_), + }; + SetTypingIndicatorRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetTypingIndicatorRequest_descriptor_, + SetTypingIndicatorRequest::default_instance_, + SetTypingIndicatorRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetTypingIndicatorRequest)); + AdvanceStreamViewTimeRequest_descriptor_ = file->message_type(71); + static const int AdvanceStreamViewTimeRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_), + }; + AdvanceStreamViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamViewTimeRequest_descriptor_, + AdvanceStreamViewTimeRequest::default_instance_, + AdvanceStreamViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamViewTimeRequest)); + AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(72); + static const int AdvanceStreamMentionViewTimeRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, stream_id_), + }; + AdvanceStreamMentionViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceStreamMentionViewTimeRequest_descriptor_, + AdvanceStreamMentionViewTimeRequest::default_instance_, + AdvanceStreamMentionViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceStreamMentionViewTimeRequest)); + AdvanceActivityViewTimeRequest_descriptor_ = file->message_type(73); + static const int AdvanceActivityViewTimeRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, club_id_), + }; + AdvanceActivityViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceActivityViewTimeRequest_descriptor_, + AdvanceActivityViewTimeRequest::default_instance_, + AdvanceActivityViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceActivityViewTimeRequest)); + GetStreamHistoryRequest_descriptor_ = file->message_type(74); + static const int GetStreamHistoryRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, options_), + }; + GetStreamHistoryRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamHistoryRequest_descriptor_, + GetStreamHistoryRequest::default_instance_, + GetStreamHistoryRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamHistoryRequest)); + GetStreamHistoryResponse_descriptor_ = file->message_type(75); + static const int GetStreamHistoryResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, continuation_), + }; + GetStreamHistoryResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamHistoryResponse_descriptor_, + GetStreamHistoryResponse::default_instance_, + GetStreamHistoryResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamHistoryResponse)); + GetStreamMessageRequest_descriptor_ = file->message_type(76); + static const int GetStreamMessageRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, message_id_), + }; + GetStreamMessageRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMessageRequest_descriptor_, + GetStreamMessageRequest::default_instance_, + GetStreamMessageRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMessageRequest)); + GetStreamMessageResponse_descriptor_ = file->message_type(77); + static const int GetStreamMessageResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, message_), + }; + GetStreamMessageResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamMessageResponse_descriptor_, + GetStreamMessageResponse::default_instance_, + GetStreamMessageResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamMessageResponse)); + GetClubActivityRequest_descriptor_ = file->message_type(78); + static const int GetClubActivityRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, options_), + }; + GetClubActivityRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubActivityRequest_descriptor_, + GetClubActivityRequest::default_instance_, + GetClubActivityRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubActivityRequest)); + GetClubActivityResponse_descriptor_ = file->message_type(79); + static const int GetClubActivityResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, continuation_), + }; + GetClubActivityResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetClubActivityResponse_descriptor_, + GetClubActivityResponse::default_instance_, + GetClubActivityResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetClubActivityResponse)); + GetStreamVoiceTokenRequest_descriptor_ = file->message_type(80); + static const int GetStreamVoiceTokenRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, version_), + }; + GetStreamVoiceTokenRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamVoiceTokenRequest_descriptor_, + GetStreamVoiceTokenRequest::default_instance_, + GetStreamVoiceTokenRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamVoiceTokenRequest)); + GetStreamVoiceTokenResponse_descriptor_ = file->message_type(81); + static const int GetStreamVoiceTokenResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, channel_uri_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, credentials_), + }; + GetStreamVoiceTokenResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetStreamVoiceTokenResponse_descriptor_, + GetStreamVoiceTokenResponse::default_instance_, + GetStreamVoiceTokenResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetStreamVoiceTokenResponse)); + KickFromStreamVoiceRequest_descriptor_ = file->message_type(82); + static const int KickFromStreamVoiceRequest_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, agent_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, target_id_), + }; + KickFromStreamVoiceRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + KickFromStreamVoiceRequest_descriptor_, + KickFromStreamVoiceRequest::default_instance_, + KickFromStreamVoiceRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(KickFromStreamVoiceRequest)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateRequest_descriptor_, &CreateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateResponse_descriptor_, &CreateResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyRequest_descriptor_, &DestroyRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetDescriptionRequest_descriptor_, &GetDescriptionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetDescriptionResponse_descriptor_, &GetDescriptionResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubTypeRequest_descriptor_, &GetClubTypeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubTypeResponse_descriptor_, &GetClubTypeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubStateRequest_descriptor_, &UpdateClubStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateClubSettingsRequest_descriptor_, &UpdateClubSettingsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddMemberRequest_descriptor_, &AddMemberRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + JoinRequest_descriptor_, &JoinRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + LeaveRequest_descriptor_, &LeaveRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + KickRequest_descriptor_, &KickRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMemberRequest_descriptor_, &GetMemberRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMemberResponse_descriptor_, &GetMemberResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMembersRequest_descriptor_, &GetMembersRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetMembersResponse_descriptor_, &GetMembersResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateMemberStateRequest_descriptor_, &UpdateMemberStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateSubscriberStateRequest_descriptor_, &UpdateSubscriberStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AssignRoleRequest_descriptor_, &AssignRoleRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnassignRoleRequest_descriptor_, &UnassignRoleRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendInvitationRequest_descriptor_, &SendInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AcceptInvitationRequest_descriptor_, &AcceptInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DeclineInvitationRequest_descriptor_, &DeclineInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RevokeInvitationRequest_descriptor_, &RevokeInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationRequest_descriptor_, &GetInvitationRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationResponse_descriptor_, &GetInvitationResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationsRequest_descriptor_, &GetInvitationsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetInvitationsResponse_descriptor_, &GetInvitationsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendSuggestionRequest_descriptor_, &SendSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AcceptSuggestionRequest_descriptor_, &AcceptSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DeclineSuggestionRequest_descriptor_, &DeclineSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionRequest_descriptor_, &GetSuggestionRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionResponse_descriptor_, &GetSuggestionResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionsRequest_descriptor_, &GetSuggestionsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetSuggestionsResponse_descriptor_, &GetSuggestionsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketRequest_descriptor_, &CreateTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateTicketResponse_descriptor_, &CreateTicketResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyTicketRequest_descriptor_, &DestroyTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RedeemTicketRequest_descriptor_, &RedeemTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketRequest_descriptor_, &GetTicketRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketResponse_descriptor_, &GetTicketResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketsRequest_descriptor_, &GetTicketsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetTicketsResponse_descriptor_, &GetTicketsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AddBanRequest_descriptor_, &AddBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + RemoveBanRequest_descriptor_, &RemoveBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBanRequest_descriptor_, &GetBanRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBanResponse_descriptor_, &GetBanResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBansRequest_descriptor_, &GetBansRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetBansResponse_descriptor_, &GetBansResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeStreamRequest_descriptor_, &SubscribeStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeStreamRequest_descriptor_, &UnsubscribeStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamRequest_descriptor_, &CreateStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamResponse_descriptor_, &CreateStreamResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyStreamRequest_descriptor_, &DestroyStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamRequest_descriptor_, &GetStreamRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamResponse_descriptor_, &GetStreamResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamsRequest_descriptor_, &GetStreamsRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamsResponse_descriptor_, &GetStreamsResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UpdateStreamStateRequest_descriptor_, &UpdateStreamStateRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetStreamFocusRequest_descriptor_, &SetStreamFocusRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageRequest_descriptor_, &CreateMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageResponse_descriptor_, &CreateMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyMessageRequest_descriptor_, &DestroyMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + DestroyMessageResponse_descriptor_, &DestroyMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EditMessageRequest_descriptor_, &EditMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EditMessageResponse_descriptor_, &EditMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetMessagePinnedRequest_descriptor_, &SetMessagePinnedRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetTypingIndicatorRequest_descriptor_, &SetTypingIndicatorRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamViewTimeRequest_descriptor_, &AdvanceStreamViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceActivityViewTimeRequest_descriptor_, &AdvanceActivityViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamHistoryRequest_descriptor_, &GetStreamHistoryRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamHistoryResponse_descriptor_, &GetStreamHistoryResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMessageRequest_descriptor_, &GetStreamMessageRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamMessageResponse_descriptor_, &GetStreamMessageResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubActivityRequest_descriptor_, &GetClubActivityRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetClubActivityResponse_descriptor_, &GetClubActivityResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamVoiceTokenRequest_descriptor_, &GetStreamVoiceTokenRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetStreamVoiceTokenResponse_descriptor_, &GetStreamVoiceTokenResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + KickFromStreamVoiceRequest_descriptor_, &KickFromStreamVoiceRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete CreateRequest::default_instance_; + delete CreateRequest_reflection_; + delete CreateResponse::default_instance_; + delete CreateResponse_reflection_; + delete DestroyRequest::default_instance_; + delete DestroyRequest_reflection_; + delete GetDescriptionRequest::default_instance_; + delete GetDescriptionRequest_reflection_; + delete GetDescriptionResponse::default_instance_; + delete GetDescriptionResponse_reflection_; + delete GetClubTypeRequest::default_instance_; + delete GetClubTypeRequest_reflection_; + delete GetClubTypeResponse::default_instance_; + delete GetClubTypeResponse_reflection_; + delete UpdateClubStateRequest::default_instance_; + delete UpdateClubStateRequest_reflection_; + delete UpdateClubSettingsRequest::default_instance_; + delete UpdateClubSettingsRequest_reflection_; + delete AddMemberRequest::default_instance_; + delete AddMemberRequest_reflection_; + delete JoinRequest::default_instance_; + delete JoinRequest_reflection_; + delete LeaveRequest::default_instance_; + delete LeaveRequest_reflection_; + delete KickRequest::default_instance_; + delete KickRequest_reflection_; + delete GetMemberRequest::default_instance_; + delete GetMemberRequest_reflection_; + delete GetMemberResponse::default_instance_; + delete GetMemberResponse_reflection_; + delete GetMembersRequest::default_instance_; + delete GetMembersRequest_reflection_; + delete GetMembersResponse::default_instance_; + delete GetMembersResponse_reflection_; + delete UpdateMemberStateRequest::default_instance_; + delete UpdateMemberStateRequest_reflection_; + delete UpdateSubscriberStateRequest::default_instance_; + delete UpdateSubscriberStateRequest_reflection_; + delete AssignRoleRequest::default_instance_; + delete AssignRoleRequest_reflection_; + delete UnassignRoleRequest::default_instance_; + delete UnassignRoleRequest_reflection_; + delete SendInvitationRequest::default_instance_; + delete SendInvitationRequest_reflection_; + delete AcceptInvitationRequest::default_instance_; + delete AcceptInvitationRequest_reflection_; + delete DeclineInvitationRequest::default_instance_; + delete DeclineInvitationRequest_reflection_; + delete RevokeInvitationRequest::default_instance_; + delete RevokeInvitationRequest_reflection_; + delete GetInvitationRequest::default_instance_; + delete GetInvitationRequest_reflection_; + delete GetInvitationResponse::default_instance_; + delete GetInvitationResponse_reflection_; + delete GetInvitationsRequest::default_instance_; + delete GetInvitationsRequest_reflection_; + delete GetInvitationsResponse::default_instance_; + delete GetInvitationsResponse_reflection_; + delete SendSuggestionRequest::default_instance_; + delete SendSuggestionRequest_reflection_; + delete AcceptSuggestionRequest::default_instance_; + delete AcceptSuggestionRequest_reflection_; + delete DeclineSuggestionRequest::default_instance_; + delete DeclineSuggestionRequest_reflection_; + delete GetSuggestionRequest::default_instance_; + delete GetSuggestionRequest_reflection_; + delete GetSuggestionResponse::default_instance_; + delete GetSuggestionResponse_reflection_; + delete GetSuggestionsRequest::default_instance_; + delete GetSuggestionsRequest_reflection_; + delete GetSuggestionsResponse::default_instance_; + delete GetSuggestionsResponse_reflection_; + delete CreateTicketRequest::default_instance_; + delete CreateTicketRequest_reflection_; + delete CreateTicketResponse::default_instance_; + delete CreateTicketResponse_reflection_; + delete DestroyTicketRequest::default_instance_; + delete DestroyTicketRequest_reflection_; + delete RedeemTicketRequest::default_instance_; + delete RedeemTicketRequest_reflection_; + delete GetTicketRequest::default_instance_; + delete GetTicketRequest_reflection_; + delete GetTicketResponse::default_instance_; + delete GetTicketResponse_reflection_; + delete GetTicketsRequest::default_instance_; + delete GetTicketsRequest_reflection_; + delete GetTicketsResponse::default_instance_; + delete GetTicketsResponse_reflection_; + delete AddBanRequest::default_instance_; + delete AddBanRequest_reflection_; + delete RemoveBanRequest::default_instance_; + delete RemoveBanRequest_reflection_; + delete GetBanRequest::default_instance_; + delete GetBanRequest_reflection_; + delete GetBanResponse::default_instance_; + delete GetBanResponse_reflection_; + delete GetBansRequest::default_instance_; + delete GetBansRequest_reflection_; + delete GetBansResponse::default_instance_; + delete GetBansResponse_reflection_; + delete SubscribeStreamRequest::default_instance_; + delete SubscribeStreamRequest_reflection_; + delete UnsubscribeStreamRequest::default_instance_; + delete UnsubscribeStreamRequest_reflection_; + delete CreateStreamRequest::default_instance_; + delete CreateStreamRequest_reflection_; + delete CreateStreamResponse::default_instance_; + delete CreateStreamResponse_reflection_; + delete DestroyStreamRequest::default_instance_; + delete DestroyStreamRequest_reflection_; + delete GetStreamRequest::default_instance_; + delete GetStreamRequest_reflection_; + delete GetStreamResponse::default_instance_; + delete GetStreamResponse_reflection_; + delete GetStreamsRequest::default_instance_; + delete GetStreamsRequest_reflection_; + delete GetStreamsResponse::default_instance_; + delete GetStreamsResponse_reflection_; + delete UpdateStreamStateRequest::default_instance_; + delete UpdateStreamStateRequest_reflection_; + delete SetStreamFocusRequest::default_instance_; + delete SetStreamFocusRequest_reflection_; + delete CreateMessageRequest::default_instance_; + delete CreateMessageRequest_reflection_; + delete CreateMessageResponse::default_instance_; + delete CreateMessageResponse_reflection_; + delete DestroyMessageRequest::default_instance_; + delete DestroyMessageRequest_reflection_; + delete DestroyMessageResponse::default_instance_; + delete DestroyMessageResponse_reflection_; + delete EditMessageRequest::default_instance_; + delete EditMessageRequest_reflection_; + delete EditMessageResponse::default_instance_; + delete EditMessageResponse_reflection_; + delete SetMessagePinnedRequest::default_instance_; + delete SetMessagePinnedRequest_reflection_; + delete SetTypingIndicatorRequest::default_instance_; + delete SetTypingIndicatorRequest_reflection_; + delete AdvanceStreamViewTimeRequest::default_instance_; + delete AdvanceStreamViewTimeRequest_reflection_; + delete AdvanceStreamMentionViewTimeRequest::default_instance_; + delete AdvanceStreamMentionViewTimeRequest_reflection_; + delete AdvanceActivityViewTimeRequest::default_instance_; + delete AdvanceActivityViewTimeRequest_reflection_; + delete GetStreamHistoryRequest::default_instance_; + delete GetStreamHistoryRequest_reflection_; + delete GetStreamHistoryResponse::default_instance_; + delete GetStreamHistoryResponse_reflection_; + delete GetStreamMessageRequest::default_instance_; + delete GetStreamMessageRequest_reflection_; + delete GetStreamMessageResponse::default_instance_; + delete GetStreamMessageResponse_reflection_; + delete GetClubActivityRequest::default_instance_; + delete GetClubActivityRequest_reflection_; + delete GetClubActivityResponse::default_instance_; + delete GetClubActivityResponse_reflection_; + delete GetStreamVoiceTokenRequest::default_instance_; + delete GetStreamVoiceTokenRequest_reflection_; + delete GetStreamVoiceTokenResponse::default_instance_; + delete GetStreamVoiceTokenResponse_reflection_; + delete KickFromStreamVoiceRequest::default_instance_; + delete KickFromStreamVoiceRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n api/client/v1/club_request.proto\022\033bgs." + "protocol.club.v1.client\032\036api/client/v1/c" + "lub_types.proto\032\034api/common/v1/club_tag." + "proto\032\017rpc_types.proto\"]\n\020SubscribeReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"_\n" + "\022UnsubscribeRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\"\202\001\n\rCreateRequest\0220\n\010agen" + "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" + "Id\022\?\n\007options\030\002 \001(\0132..bgs.protocol.club." + "v1.client.ClubCreateOptions\"!\n\016CreateRes" + "ponse\022\017\n\007club_id\030\001 \001(\004\"[\n\016DestroyRequest" + "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v" + "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"b\n\025G" + "etDescriptionRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\"M\n\026GetDescriptionRespons" + "e\0223\n\004club\030\001 \001(\0132%.bgs.protocol.club.v1.C" + "lubDescription\"z\n\022GetClubTypeRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club" + ".v1.UniqueClubType\"\301\002\n\023GetClubTypeRespon" + "se\0222\n\004type\030\001 \001(\0132$.bgs.protocol.club.v1." + "UniqueClubType\022:\n\010role_set\030\002 \001(\0132(.bgs.p" + "rotocol.club.v1.client.ClubRoleSet\022@\n\tra" + "nge_set\030\003 \001(\0132-.bgs.protocol.club.v1.cli" + "ent.ClubTypeRangeSet\022<\n\020platform_tag_set" + "\030\004 \003(\0132\".bgs.protocol.club.v1.LocalizedT" + "ag\022:\n\016custom_tag_set\030\005 \003(\0132\".bgs.protoco" + "l.club.v1.LocalizedTag\"\243\001\n\026UpdateClubSta" + "teRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022>\n\007options\030\003 \001(\0132-.bgs.protocol.clu" + "b.v1.client.ClubStateOptions\"\251\001\n\031UpdateC" + "lubSettingsRequest\0220\n\010agent_id\030\001 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030" + "\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs.pro" + "tocol.club.v1.client.ClubSettingsOptions" + "\"\240\001\n\020AddMemberRequest\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" + "id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs." + "protocol.club.v1.client.CreateMemberOpti" + "ons\"\233\001\n\013JoinRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\01320.bgs.pr" + "otocol.club.v1.client.CreateMemberOption" + "s\"Y\n\014LeaveRequest\0220\n\010agent_id\030\001 \001(\0132\036.bg" + "s.protocol.club.v1.MemberId\022\027\n\007club_id\030\002" + " \001(\004B\006\202\371+\002\020\001\"\213\001\n\013KickRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\"\220\001\n\020G" + "etMemberRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001" + "(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\"H\n\021GetMemberRespon" + "se\0223\n\006member\030\001 \001(\0132#.bgs.protocol.club.v" + "1.client.Member\"t\n\021GetMembersRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014conti" + "nuation\030\004 \001(\004\"_\n\022GetMembersResponse\0223\n\006m" + "ember\030\001 \003(\0132#.bgs.protocol.club.v1.clien" + "t.Member\022\024\n\014continuation\030\002 \001(\004\"\332\001\n\030Updat" + "eMemberStateRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\0132\036.bgs." + "protocol.club.v1.MemberId\022@\n\007options\030\005 \001" + "(\0132/.bgs.protocol.club.v1.client.MemberS" + "tateOptions\"\257\001\n\034UpdateSubscriberStateReq" + "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" + "D\n\007options\030\003 \001(\01323.bgs.protocol.club.v1." + "client.SubscriberStateOptions\"\231\001\n\021Assign" + "RoleRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" + "ocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006" + "\202\371+\002\020\001\0229\n\007options\030\003 \001(\0132(.bgs.protocol.c" + "lub.v1.client.RoleOptions\"\233\001\n\023UnassignRo" + "leRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\0229\n\007options\030\003 \001(\0132(.bgs.protocol.clu" + "b.v1.client.RoleOptions\"\247\001\n\025SendInvitati" + "onRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022C\n\007options\030\003 \001(\01322.bgs.protocol.clu" + "b.v1.client.SendInvitationOptions\"{\n\027Acc" + "eptInvitationRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation_id\030\003 \001(\006\"|" + "\n\030DeclineInvitationRequest\0220\n\010agent_id\030\001" + " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007" + "club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation_id\030\003" + " \001(\006\"{\n\027RevokeInvitationRequest\0220\n\010agent" + "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" + "d\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitation" + "_id\030\003 \001(\006\"x\n\024GetInvitationRequest\0220\n\010age" + "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe" + "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitati" + "on_id\030\003 \001(\006\"X\n\025GetInvitationResponse\022\?\n\n" + "invitation\030\001 \001(\0132+.bgs.protocol.club.v1." + "client.ClubInvitation\"x\n\025GetInvitationsR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\022\024\n\014continuation\030\003 \001(\004\"o\n\026GetInvitation" + "sResponse\022\?\n\ninvitation\030\001 \003(\0132+.bgs.prot" + "ocol.club.v1.client.ClubInvitation\022\024\n\014co" + "ntinuation\030\002 \001(\004\"\247\001\n\025SendSuggestionReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022C\n" + "\007options\030\003 \001(\01322.bgs.protocol.club.v1.cl" + "ient.SendSuggestionOptions\"{\n\027AcceptSugg" + "estionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pr" + "otocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004" + "B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"|\n\030Decli" + "neSuggestionRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"x\n" + "\024GetSuggestionRequest\0220\n\010agent_id\030\001 \001(\0132" + "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" + "id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"" + "X\n\025GetSuggestionResponse\022\?\n\nsuggestion\030\001" + " \001(\0132+.bgs.protocol.club.v1.client.ClubS" + "uggestion\"x\n\025GetSuggestionsRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continu" + "ation\030\003 \001(\004\"o\n\026GetSuggestionsResponse\022\?\n" + "\nsuggestion\030\001 \003(\0132+.bgs.protocol.club.v1" + ".client.ClubSuggestion\022\024\n\014continuation\030\002" + " \001(\004\"\243\001\n\023CreateTicketRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options\030\003 \001(\013" + "20.bgs.protocol.club.v1.client.CreateTic" + "ketOptions\"O\n\024CreateTicketResponse\0227\n\006ti" + "cket\030\001 \001(\0132\'.bgs.protocol.club.v1.client" + ".ClubTicket\"t\n\024DestroyTicketRequest\0220\n\010a" + "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" + "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tticket" + "_id\030\003 \001(\t\"Z\n\023RedeemTicketRequest\0220\n\010agen" + "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" + "Id\022\021\n\tticket_id\030\003 \001(\t\"W\n\020GetTicketReques" + "t\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"L\n\021GetTic" + "ketResponse\0227\n\006ticket\030\001 \001(\0132\'.bgs.protoc" + "ol.club.v1.client.ClubTicket\"t\n\021GetTicke" + "tsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" + "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" + "+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"c\n\022GetTickets" + "Response\0227\n\006ticket\030\001 \003(\0132\'.bgs.protocol." + "club.v1.client.ClubTicket\022\024\n\014continuatio" + "n\030\002 \001(\004\"\227\001\n\rAddBanRequest\0220\n\010agent_id\030\001 " + "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007c" + "lub_id\030\002 \001(\004B\006\202\371+\002\020\001\022;\n\007options\030\003 \001(\0132*." + "bgs.protocol.club.v1.client.AddBanOption" + "s\"\220\001\n\020RemoveBanRequest\0220\n\010agent_id\030\001 \001(\013" + "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club" + "_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.b" + "gs.protocol.club.v1.MemberId\"\215\001\n\rGetBanR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\"C\n\016GetBanResponse\0221\n\003ban\030\001 " + "\001(\0132$.bgs.protocol.club.v1.client.ClubBa" + "n\"q\n\016GetBansRequest\0220\n\010agent_id\030\001 \001(\0132\036." + "bgs.protocol.club.v1.MemberId\022\027\n\007club_id" + "\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"Z\n\017" + "GetBansResponse\0221\n\003ban\030\001 \003(\0132$.bgs.proto" + "col.club.v1.client.ClubBan\022\024\n\014continuati" + "on\030\002 \001(\004\"v\n\026SubscribeStreamRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_" + "id\030\003 \003(\004\"x\n\030UnsubscribeStreamRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \003(\004\"\243\001\n\023CreateStreamRequest\0220\n\010ag" + "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" + "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022A\n\007options" + "\030\003 \001(\01320.bgs.protocol.club.v1.client.Cre" + "ateStreamOptions\":\n\024CreateStreamResponse" + "\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\"t\n\024" + "DestroyStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" + "d\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"p\n\020Ge" + "tStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p" + "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(" + "\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"H\n\021GetStrea" + "mResponse\0223\n\006stream\030\001 \001(\0132#.bgs.protocol" + ".club.v1.client.Stream\"t\n\021GetStreamsRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024" + "\n\014continuation\030\003 \001(\004\"\226\001\n\022GetStreamsRespo" + "nse\0223\n\006stream\030\001 \003(\0132#.bgs.protocol.club." + "v1.client.Stream\0225\n\004view\030\002 \003(\0132\'.bgs.pro" + "tocol.club.v1.client.StreamView\022\024\n\014conti" + "nuation\030\003 \001(\004\"\272\001\n\030UpdateStreamStateReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n" + "\tstream_id\030\003 \001(\004\022@\n\007options\030\005 \001(\0132/.bgs." + "protocol.club.v1.client.StreamStateOptio" + "ns\"\204\001\n\025SetStreamFocusRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001" + "(\004\022\r\n\005focus\030\004 \001(\010\"\270\001\n\024CreateMessageReque" + "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" + ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n" + "\tstream_id\030\003 \001(\004\022B\n\007options\030\004 \001(\01321.bgs." + "protocol.club.v1.client.CreateMessageOpt" + "ions\"T\n\025CreateMessageResponse\022;\n\007message" + "\030\001 \001(\0132*.bgs.protocol.club.v1.client.Str" + "eamMessage\"\242\001\n\025DestroyMessageRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.pro" + "tocol.MessageId\"U\n\026DestroyMessageRespons" + "e\022;\n\007message\030\001 \001(\0132*.bgs.protocol.club.v" + "1.client.StreamMessage\"\343\001\n\022EditMessageRe" + "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" + "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" + "\022\021\n\tstream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132" + "\027.bgs.protocol.MessageId\022B\n\007options\030\005 \001(" + "\01321.bgs.protocol.club.v1.client.CreateMe" + "ssageOptions\"R\n\023EditMessageResponse\022;\n\007m" + "essage\030\001 \001(\0132*.bgs.protocol.club.v1.clie" + "nt.StreamMessage\"w\n\027SetMessagePinnedRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021" + "\n\tstream_id\030\003 \001(\004\"\253\001\n\031SetTypingIndicator" + "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" + ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002" + "\020\001\022\021\n\tstream_id\030\003 \001(\004\0220\n\tindicator\030\004 \001(\016" + "2\035.bgs.protocol.TypingIndicator\"\242\001\n\034Adva" + "nceStreamViewTimeRequest\0220\n\010agent_id\030\001 \001" + "(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007cl" + "ub_id\030\002 \001(\004B\006\202\371+\002\020\001\022 \n\024stream_id_depreca" + "ted\030\003 \001(\004B\002\030\001\022\025\n\tstream_id\030\004 \003(\004B\002\020\001\"\203\001\n" + "#AdvanceStreamMentionViewTimeRequest\0220\n\010" + "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" + "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstrea" + "m_id\030\003 \001(\004\"k\n\036AdvanceActivityViewTimeReq" + "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" + "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"" + "\247\001\n\027GetStreamHistoryRequest\0220\n\010agent_id\030" + "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n" + "\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(" + "\004\022.\n\007options\030\004 \001(\0132\035.bgs.protocol.GetEve" + "ntOptions\"m\n\030GetStreamHistoryResponse\022;\n" + "\007message\030\001 \003(\0132*.bgs.protocol.club.v1.cl" + "ient.StreamMessage\022\024\n\014continuation\030\002 \001(\004" + "\"\244\001\n\027GetStreamMessageRequest\0220\n\010agent_id" + "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" + "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001" + "(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.protocol.Me" + "ssageId\"W\n\030GetStreamMessageResponse\022;\n\007m" + "essage\030\001 \001(\0132*.bgs.protocol.club.v1.clie" + "nt.StreamMessage\"\223\001\n\026GetClubActivityRequ" + "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" + "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022." + "\n\007options\030\003 \001(\0132\035.bgs.protocol.GetEventO" + "ptions\"/\n\027GetClubActivityResponse\022\024\n\014con" + "tinuation\030\002 \001(\004\"\251\001\n\032GetStreamVoiceTokenR" + "equest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." + "club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020" + "\001\022\021\n\tstream_id\030\003 \001(\004\022-\n\007version\030\004 \001(\rB\034\030" + "\001\202\371+\026*\024VoiceProviderVersion\"p\n\033GetStream" + "VoiceTokenResponse\022\023\n\013channel_uri\030\001 \001(\t\022" + "<\n\013credentials\030\002 \001(\0132\'.bgs.protocol.voic" + "e.v1.VoiceCredentials\"\255\001\n\032KickFromStream" + "VoiceRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro" + "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B" + "\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\0221\n\ttarget_id\030" + "\004 \001(\0132\036.bgs.protocol.club.v1.MemberIdB\002H" + "\002P\000P\001", 10805); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_request.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + CreateRequest::default_instance_ = new CreateRequest(); + CreateResponse::default_instance_ = new CreateResponse(); + DestroyRequest::default_instance_ = new DestroyRequest(); + GetDescriptionRequest::default_instance_ = new GetDescriptionRequest(); + GetDescriptionResponse::default_instance_ = new GetDescriptionResponse(); + GetClubTypeRequest::default_instance_ = new GetClubTypeRequest(); + GetClubTypeResponse::default_instance_ = new GetClubTypeResponse(); + UpdateClubStateRequest::default_instance_ = new UpdateClubStateRequest(); + UpdateClubSettingsRequest::default_instance_ = new UpdateClubSettingsRequest(); + AddMemberRequest::default_instance_ = new AddMemberRequest(); + JoinRequest::default_instance_ = new JoinRequest(); + LeaveRequest::default_instance_ = new LeaveRequest(); + KickRequest::default_instance_ = new KickRequest(); + GetMemberRequest::default_instance_ = new GetMemberRequest(); + GetMemberResponse::default_instance_ = new GetMemberResponse(); + GetMembersRequest::default_instance_ = new GetMembersRequest(); + GetMembersResponse::default_instance_ = new GetMembersResponse(); + UpdateMemberStateRequest::default_instance_ = new UpdateMemberStateRequest(); + UpdateSubscriberStateRequest::default_instance_ = new UpdateSubscriberStateRequest(); + AssignRoleRequest::default_instance_ = new AssignRoleRequest(); + UnassignRoleRequest::default_instance_ = new UnassignRoleRequest(); + SendInvitationRequest::default_instance_ = new SendInvitationRequest(); + AcceptInvitationRequest::default_instance_ = new AcceptInvitationRequest(); + DeclineInvitationRequest::default_instance_ = new DeclineInvitationRequest(); + RevokeInvitationRequest::default_instance_ = new RevokeInvitationRequest(); + GetInvitationRequest::default_instance_ = new GetInvitationRequest(); + GetInvitationResponse::default_instance_ = new GetInvitationResponse(); + GetInvitationsRequest::default_instance_ = new GetInvitationsRequest(); + GetInvitationsResponse::default_instance_ = new GetInvitationsResponse(); + SendSuggestionRequest::default_instance_ = new SendSuggestionRequest(); + AcceptSuggestionRequest::default_instance_ = new AcceptSuggestionRequest(); + DeclineSuggestionRequest::default_instance_ = new DeclineSuggestionRequest(); + GetSuggestionRequest::default_instance_ = new GetSuggestionRequest(); + GetSuggestionResponse::default_instance_ = new GetSuggestionResponse(); + GetSuggestionsRequest::default_instance_ = new GetSuggestionsRequest(); + GetSuggestionsResponse::default_instance_ = new GetSuggestionsResponse(); + CreateTicketRequest::default_instance_ = new CreateTicketRequest(); + CreateTicketResponse::default_instance_ = new CreateTicketResponse(); + DestroyTicketRequest::default_instance_ = new DestroyTicketRequest(); + RedeemTicketRequest::default_instance_ = new RedeemTicketRequest(); + GetTicketRequest::default_instance_ = new GetTicketRequest(); + GetTicketResponse::default_instance_ = new GetTicketResponse(); + GetTicketsRequest::default_instance_ = new GetTicketsRequest(); + GetTicketsResponse::default_instance_ = new GetTicketsResponse(); + AddBanRequest::default_instance_ = new AddBanRequest(); + RemoveBanRequest::default_instance_ = new RemoveBanRequest(); + GetBanRequest::default_instance_ = new GetBanRequest(); + GetBanResponse::default_instance_ = new GetBanResponse(); + GetBansRequest::default_instance_ = new GetBansRequest(); + GetBansResponse::default_instance_ = new GetBansResponse(); + SubscribeStreamRequest::default_instance_ = new SubscribeStreamRequest(); + UnsubscribeStreamRequest::default_instance_ = new UnsubscribeStreamRequest(); + CreateStreamRequest::default_instance_ = new CreateStreamRequest(); + CreateStreamResponse::default_instance_ = new CreateStreamResponse(); + DestroyStreamRequest::default_instance_ = new DestroyStreamRequest(); + GetStreamRequest::default_instance_ = new GetStreamRequest(); + GetStreamResponse::default_instance_ = new GetStreamResponse(); + GetStreamsRequest::default_instance_ = new GetStreamsRequest(); + GetStreamsResponse::default_instance_ = new GetStreamsResponse(); + UpdateStreamStateRequest::default_instance_ = new UpdateStreamStateRequest(); + SetStreamFocusRequest::default_instance_ = new SetStreamFocusRequest(); + CreateMessageRequest::default_instance_ = new CreateMessageRequest(); + CreateMessageResponse::default_instance_ = new CreateMessageResponse(); + DestroyMessageRequest::default_instance_ = new DestroyMessageRequest(); + DestroyMessageResponse::default_instance_ = new DestroyMessageResponse(); + EditMessageRequest::default_instance_ = new EditMessageRequest(); + EditMessageResponse::default_instance_ = new EditMessageResponse(); + SetMessagePinnedRequest::default_instance_ = new SetMessagePinnedRequest(); + SetTypingIndicatorRequest::default_instance_ = new SetTypingIndicatorRequest(); + AdvanceStreamViewTimeRequest::default_instance_ = new AdvanceStreamViewTimeRequest(); + AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); + AdvanceActivityViewTimeRequest::default_instance_ = new AdvanceActivityViewTimeRequest(); + GetStreamHistoryRequest::default_instance_ = new GetStreamHistoryRequest(); + GetStreamHistoryResponse::default_instance_ = new GetStreamHistoryResponse(); + GetStreamMessageRequest::default_instance_ = new GetStreamMessageRequest(); + GetStreamMessageResponse::default_instance_ = new GetStreamMessageResponse(); + GetClubActivityRequest::default_instance_ = new GetClubActivityRequest(); + GetClubActivityResponse::default_instance_ = new GetClubActivityResponse(); + GetStreamVoiceTokenRequest::default_instance_ = new GetStreamVoiceTokenRequest(); + GetStreamVoiceTokenResponse::default_instance_ = new GetStreamVoiceTokenResponse(); + KickFromStreamVoiceRequest::default_instance_ = new KickFromStreamVoiceRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + CreateRequest::default_instance_->InitAsDefaultInstance(); + CreateResponse::default_instance_->InitAsDefaultInstance(); + DestroyRequest::default_instance_->InitAsDefaultInstance(); + GetDescriptionRequest::default_instance_->InitAsDefaultInstance(); + GetDescriptionResponse::default_instance_->InitAsDefaultInstance(); + GetClubTypeRequest::default_instance_->InitAsDefaultInstance(); + GetClubTypeResponse::default_instance_->InitAsDefaultInstance(); + UpdateClubStateRequest::default_instance_->InitAsDefaultInstance(); + UpdateClubSettingsRequest::default_instance_->InitAsDefaultInstance(); + AddMemberRequest::default_instance_->InitAsDefaultInstance(); + JoinRequest::default_instance_->InitAsDefaultInstance(); + LeaveRequest::default_instance_->InitAsDefaultInstance(); + KickRequest::default_instance_->InitAsDefaultInstance(); + GetMemberRequest::default_instance_->InitAsDefaultInstance(); + GetMemberResponse::default_instance_->InitAsDefaultInstance(); + GetMembersRequest::default_instance_->InitAsDefaultInstance(); + GetMembersResponse::default_instance_->InitAsDefaultInstance(); + UpdateMemberStateRequest::default_instance_->InitAsDefaultInstance(); + UpdateSubscriberStateRequest::default_instance_->InitAsDefaultInstance(); + AssignRoleRequest::default_instance_->InitAsDefaultInstance(); + UnassignRoleRequest::default_instance_->InitAsDefaultInstance(); + SendInvitationRequest::default_instance_->InitAsDefaultInstance(); + AcceptInvitationRequest::default_instance_->InitAsDefaultInstance(); + DeclineInvitationRequest::default_instance_->InitAsDefaultInstance(); + RevokeInvitationRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationResponse::default_instance_->InitAsDefaultInstance(); + GetInvitationsRequest::default_instance_->InitAsDefaultInstance(); + GetInvitationsResponse::default_instance_->InitAsDefaultInstance(); + SendSuggestionRequest::default_instance_->InitAsDefaultInstance(); + AcceptSuggestionRequest::default_instance_->InitAsDefaultInstance(); + DeclineSuggestionRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionResponse::default_instance_->InitAsDefaultInstance(); + GetSuggestionsRequest::default_instance_->InitAsDefaultInstance(); + GetSuggestionsResponse::default_instance_->InitAsDefaultInstance(); + CreateTicketRequest::default_instance_->InitAsDefaultInstance(); + CreateTicketResponse::default_instance_->InitAsDefaultInstance(); + DestroyTicketRequest::default_instance_->InitAsDefaultInstance(); + RedeemTicketRequest::default_instance_->InitAsDefaultInstance(); + GetTicketRequest::default_instance_->InitAsDefaultInstance(); + GetTicketResponse::default_instance_->InitAsDefaultInstance(); + GetTicketsRequest::default_instance_->InitAsDefaultInstance(); + GetTicketsResponse::default_instance_->InitAsDefaultInstance(); + AddBanRequest::default_instance_->InitAsDefaultInstance(); + RemoveBanRequest::default_instance_->InitAsDefaultInstance(); + GetBanRequest::default_instance_->InitAsDefaultInstance(); + GetBanResponse::default_instance_->InitAsDefaultInstance(); + GetBansRequest::default_instance_->InitAsDefaultInstance(); + GetBansResponse::default_instance_->InitAsDefaultInstance(); + SubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); + UnsubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); + CreateStreamRequest::default_instance_->InitAsDefaultInstance(); + CreateStreamResponse::default_instance_->InitAsDefaultInstance(); + DestroyStreamRequest::default_instance_->InitAsDefaultInstance(); + GetStreamRequest::default_instance_->InitAsDefaultInstance(); + GetStreamResponse::default_instance_->InitAsDefaultInstance(); + GetStreamsRequest::default_instance_->InitAsDefaultInstance(); + GetStreamsResponse::default_instance_->InitAsDefaultInstance(); + UpdateStreamStateRequest::default_instance_->InitAsDefaultInstance(); + SetStreamFocusRequest::default_instance_->InitAsDefaultInstance(); + CreateMessageRequest::default_instance_->InitAsDefaultInstance(); + CreateMessageResponse::default_instance_->InitAsDefaultInstance(); + DestroyMessageRequest::default_instance_->InitAsDefaultInstance(); + DestroyMessageResponse::default_instance_->InitAsDefaultInstance(); + EditMessageRequest::default_instance_->InitAsDefaultInstance(); + EditMessageResponse::default_instance_->InitAsDefaultInstance(); + SetMessagePinnedRequest::default_instance_->InitAsDefaultInstance(); + SetTypingIndicatorRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceActivityViewTimeRequest::default_instance_->InitAsDefaultInstance(); + GetStreamHistoryRequest::default_instance_->InitAsDefaultInstance(); + GetStreamHistoryResponse::default_instance_->InitAsDefaultInstance(); + GetStreamMessageRequest::default_instance_->InitAsDefaultInstance(); + GetStreamMessageResponse::default_instance_->InitAsDefaultInstance(); + GetClubActivityRequest::default_instance_->InitAsDefaultInstance(); + GetClubActivityResponse::default_instance_->InitAsDefaultInstance(); + GetStreamVoiceTokenRequest::default_instance_->InitAsDefaultInstance(); + GetStreamVoiceTokenResponse::default_instance_->InitAsDefaultInstance(); + KickFromStreamVoiceRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frequest_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frequest_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frequest_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeRequest::kAgentIdFieldNumber; +const int SubscribeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeRequest::kAgentIdFieldNumber; +const int UnsubscribeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateRequest::kAgentIdFieldNumber; +const int CreateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateRequest::CreateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateRequest) +} + +void CreateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubCreateOptions*>(&::bgs::protocol::club::v1::client::ClubCreateOptions::default_instance()); +} + +CreateRequest::CreateRequest(const CreateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateRequest) +} + +void CreateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateRequest::~CreateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateRequest) + SharedDtor(); +} + +void CreateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateRequest_descriptor_; +} + +const CreateRequest& CreateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateRequest* CreateRequest::default_instance_ = NULL; + +CreateRequest* CreateRequest::New() const { + return new CreateRequest; +} + +void CreateRequest::Swap(CreateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateRequest_descriptor_; + metadata.reflection = CreateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateResponse::kClubIdFieldNumber; +#endif // !_MSC_VER + +CreateResponse::CreateResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateResponse) +} + +void CreateResponse::InitAsDefaultInstance() { +} + +CreateResponse::CreateResponse(const CreateResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateResponse) +} + +void CreateResponse::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateResponse::~CreateResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateResponse) + SharedDtor(); +} + +void CreateResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void CreateResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateResponse_descriptor_; +} + +const CreateResponse& CreateResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateResponse* CreateResponse::default_instance_ = NULL; + +CreateResponse* CreateResponse::New() const { + return new CreateResponse; +} + +void CreateResponse::Swap(CreateResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateResponse_descriptor_; + metadata.reflection = CreateResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyRequest::kAgentIdFieldNumber; +const int DestroyRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +DestroyRequest::DestroyRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyRequest) +} + +void DestroyRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyRequest::DestroyRequest(const DestroyRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyRequest) +} + +void DestroyRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyRequest::~DestroyRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyRequest) + SharedDtor(); +} + +void DestroyRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyRequest_descriptor_; +} + +const DestroyRequest& DestroyRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyRequest* DestroyRequest::default_instance_ = NULL; + +DestroyRequest* DestroyRequest::New() const { + return new DestroyRequest; +} + +void DestroyRequest::Swap(DestroyRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyRequest_descriptor_; + metadata.reflection = DestroyRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetDescriptionRequest::kAgentIdFieldNumber; +const int GetDescriptionRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +GetDescriptionRequest::GetDescriptionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) +} + +void GetDescriptionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetDescriptionRequest::GetDescriptionRequest(const GetDescriptionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionRequest) +} + +void GetDescriptionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetDescriptionRequest::~GetDescriptionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionRequest) + SharedDtor(); +} + +void GetDescriptionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetDescriptionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetDescriptionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetDescriptionRequest_descriptor_; +} + +const GetDescriptionRequest& GetDescriptionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetDescriptionRequest* GetDescriptionRequest::default_instance_ = NULL; + +GetDescriptionRequest* GetDescriptionRequest::New() const { + return new GetDescriptionRequest; +} + +void GetDescriptionRequest::Swap(GetDescriptionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetDescriptionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetDescriptionRequest_descriptor_; + metadata.reflection = GetDescriptionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetDescriptionResponse::kClubFieldNumber; +#endif // !_MSC_VER + +GetDescriptionResponse::GetDescriptionResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) +} + +void GetDescriptionResponse::InitAsDefaultInstance() { + club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); +} + +GetDescriptionResponse::GetDescriptionResponse(const GetDescriptionResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetDescriptionResponse) +} + +void GetDescriptionResponse::SharedCtor() { + _cached_size_ = 0; + club_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetDescriptionResponse::~GetDescriptionResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetDescriptionResponse) + SharedDtor(); +} + +void GetDescriptionResponse::SharedDtor() { + if (this != default_instance_) { + delete club_; + } +} + +void GetDescriptionResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetDescriptionResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetDescriptionResponse_descriptor_; +} + +const GetDescriptionResponse& GetDescriptionResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetDescriptionResponse* GetDescriptionResponse::default_instance_ = NULL; + +GetDescriptionResponse* GetDescriptionResponse::New() const { + return new GetDescriptionResponse; +} + +void GetDescriptionResponse::Swap(GetDescriptionResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetDescriptionResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetDescriptionResponse_descriptor_; + metadata.reflection = GetDescriptionResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubTypeRequest::kAgentIdFieldNumber; +const int GetClubTypeRequest::kTypeFieldNumber; +#endif // !_MSC_VER + +GetClubTypeRequest::GetClubTypeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) +} + +void GetClubTypeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +GetClubTypeRequest::GetClubTypeRequest(const GetClubTypeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeRequest) +} + +void GetClubTypeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubTypeRequest::~GetClubTypeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeRequest) + SharedDtor(); +} + +void GetClubTypeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete type_; + } +} + +void GetClubTypeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubTypeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubTypeRequest_descriptor_; +} + +const GetClubTypeRequest& GetClubTypeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubTypeRequest* GetClubTypeRequest::default_instance_ = NULL; + +GetClubTypeRequest* GetClubTypeRequest::New() const { + return new GetClubTypeRequest; +} + +void GetClubTypeRequest::Swap(GetClubTypeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubTypeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubTypeRequest_descriptor_; + metadata.reflection = GetClubTypeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubTypeResponse::kTypeFieldNumber; +const int GetClubTypeResponse::kRoleSetFieldNumber; +const int GetClubTypeResponse::kRangeSetFieldNumber; +const int GetClubTypeResponse::kPlatformTagSetFieldNumber; +const int GetClubTypeResponse::kCustomTagSetFieldNumber; +#endif // !_MSC_VER + +GetClubTypeResponse::GetClubTypeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubTypeResponse) +} + +void GetClubTypeResponse::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + role_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubRoleSet*>(&::bgs::protocol::club::v1::client::ClubRoleSet::default_instance()); + range_set_ = const_cast< ::bgs::protocol::club::v1::client::ClubTypeRangeSet*>(&::bgs::protocol::club::v1::client::ClubTypeRangeSet::default_instance()); +} + +GetClubTypeResponse::GetClubTypeResponse(const GetClubTypeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubTypeResponse) +} + +void GetClubTypeResponse::SharedCtor() { + _cached_size_ = 0; + type_ = NULL; + role_set_ = NULL; + range_set_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubTypeResponse::~GetClubTypeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubTypeResponse) + SharedDtor(); +} + +void GetClubTypeResponse::SharedDtor() { + if (this != default_instance_) { + delete type_; + delete role_set_; + delete range_set_; + } +} + +void GetClubTypeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubTypeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubTypeResponse_descriptor_; +} + +const GetClubTypeResponse& GetClubTypeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubTypeResponse* GetClubTypeResponse::default_instance_ = NULL; + +GetClubTypeResponse* GetClubTypeResponse::New() const { + return new GetClubTypeResponse; +} + +void GetClubTypeResponse::Swap(GetClubTypeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubTypeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubTypeResponse_descriptor_; + metadata.reflection = GetClubTypeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubStateRequest::kAgentIdFieldNumber; +const int UpdateClubStateRequest::kClubIdFieldNumber; +const int UpdateClubStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubStateRequest::UpdateClubStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) +} + +void UpdateClubStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubStateOptions*>(&::bgs::protocol::club::v1::client::ClubStateOptions::default_instance()); +} + +UpdateClubStateRequest::UpdateClubStateRequest(const UpdateClubStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) +} + +void UpdateClubStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubStateRequest::~UpdateClubStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubStateRequest) + SharedDtor(); +} + +void UpdateClubStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateClubStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubStateRequest_descriptor_; +} + +const UpdateClubStateRequest& UpdateClubStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateClubStateRequest* UpdateClubStateRequest::default_instance_ = NULL; + +UpdateClubStateRequest* UpdateClubStateRequest::New() const { + return new UpdateClubStateRequest; +} + +void UpdateClubStateRequest::Swap(UpdateClubStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubStateRequest_descriptor_; + metadata.reflection = UpdateClubStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateClubSettingsRequest::kAgentIdFieldNumber; +const int UpdateClubSettingsRequest::kClubIdFieldNumber; +const int UpdateClubSettingsRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateClubSettingsRequest::UpdateClubSettingsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) +} + +void UpdateClubSettingsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::ClubSettingsOptions*>(&::bgs::protocol::club::v1::client::ClubSettingsOptions::default_instance()); +} + +UpdateClubSettingsRequest::UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) +} + +void UpdateClubSettingsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateClubSettingsRequest::~UpdateClubSettingsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) + SharedDtor(); +} + +void UpdateClubSettingsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateClubSettingsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateClubSettingsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateClubSettingsRequest_descriptor_; +} + +const UpdateClubSettingsRequest& UpdateClubSettingsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateClubSettingsRequest* UpdateClubSettingsRequest::default_instance_ = NULL; + +UpdateClubSettingsRequest* UpdateClubSettingsRequest::New() const { + return new UpdateClubSettingsRequest; +} + +void UpdateClubSettingsRequest::Swap(UpdateClubSettingsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateClubSettingsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateClubSettingsRequest_descriptor_; + metadata.reflection = UpdateClubSettingsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AddMemberRequest::kAgentIdFieldNumber; +const int AddMemberRequest::kClubIdFieldNumber; +const int AddMemberRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AddMemberRequest::AddMemberRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddMemberRequest) +} + +void AddMemberRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); +} + +AddMemberRequest::AddMemberRequest(const AddMemberRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddMemberRequest) +} + +void AddMemberRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddMemberRequest::~AddMemberRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddMemberRequest) + SharedDtor(); +} + +void AddMemberRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AddMemberRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddMemberRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddMemberRequest_descriptor_; +} + +const AddMemberRequest& AddMemberRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AddMemberRequest* AddMemberRequest::default_instance_ = NULL; + +AddMemberRequest* AddMemberRequest::New() const { + return new AddMemberRequest; +} + +void AddMemberRequest::Swap(AddMemberRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddMemberRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddMemberRequest_descriptor_; + metadata.reflection = AddMemberRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int JoinRequest::kAgentIdFieldNumber; +const int JoinRequest::kClubIdFieldNumber; +const int JoinRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +JoinRequest::JoinRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.JoinRequest) +} + +void JoinRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMemberOptions*>(&::bgs::protocol::club::v1::client::CreateMemberOptions::default_instance()); +} + +JoinRequest::JoinRequest(const JoinRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.JoinRequest) +} + +void JoinRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +JoinRequest::~JoinRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.JoinRequest) + SharedDtor(); +} + +void JoinRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void JoinRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* JoinRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return JoinRequest_descriptor_; +} + +const JoinRequest& JoinRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +JoinRequest* JoinRequest::default_instance_ = NULL; + +JoinRequest* JoinRequest::New() const { + return new JoinRequest; +} + +void JoinRequest::Swap(JoinRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata JoinRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = JoinRequest_descriptor_; + metadata.reflection = JoinRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int LeaveRequest::kAgentIdFieldNumber; +const int LeaveRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +LeaveRequest::LeaveRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.LeaveRequest) +} + +void LeaveRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +LeaveRequest::LeaveRequest(const LeaveRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.LeaveRequest) +} + +void LeaveRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +LeaveRequest::~LeaveRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.LeaveRequest) + SharedDtor(); +} + +void LeaveRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void LeaveRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* LeaveRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return LeaveRequest_descriptor_; +} + +const LeaveRequest& LeaveRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +LeaveRequest* LeaveRequest::default_instance_ = NULL; + +LeaveRequest* LeaveRequest::New() const { + return new LeaveRequest; +} + +void LeaveRequest::Swap(LeaveRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata LeaveRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = LeaveRequest_descriptor_; + metadata.reflection = LeaveRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int KickRequest::kAgentIdFieldNumber; +const int KickRequest::kClubIdFieldNumber; +const int KickRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +KickRequest::KickRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickRequest) +} + +void KickRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +KickRequest::KickRequest(const KickRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickRequest) +} + +void KickRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +KickRequest::~KickRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickRequest) + SharedDtor(); +} + +void KickRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void KickRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* KickRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return KickRequest_descriptor_; +} + +const KickRequest& KickRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +KickRequest* KickRequest::default_instance_ = NULL; + +KickRequest* KickRequest::New() const { + return new KickRequest; +} + +void KickRequest::Swap(KickRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata KickRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = KickRequest_descriptor_; + metadata.reflection = KickRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMemberRequest::kAgentIdFieldNumber; +const int GetMemberRequest::kClubIdFieldNumber; +const int GetMemberRequest::kMemberIdFieldNumber; +#endif // !_MSC_VER + +GetMemberRequest::GetMemberRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberRequest) +} + +void GetMemberRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetMemberRequest::GetMemberRequest(const GetMemberRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberRequest) +} + +void GetMemberRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + member_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMemberRequest::~GetMemberRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberRequest) + SharedDtor(); +} + +void GetMemberRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + } +} + +void GetMemberRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMemberRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMemberRequest_descriptor_; +} + +const GetMemberRequest& GetMemberRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMemberRequest* GetMemberRequest::default_instance_ = NULL; + +GetMemberRequest* GetMemberRequest::New() const { + return new GetMemberRequest; +} + +void GetMemberRequest::Swap(GetMemberRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMemberRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMemberRequest_descriptor_; + metadata.reflection = GetMemberRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMemberResponse::kMemberFieldNumber; +#endif // !_MSC_VER + +GetMemberResponse::GetMemberResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMemberResponse) +} + +void GetMemberResponse::InitAsDefaultInstance() { + member_ = const_cast< ::bgs::protocol::club::v1::client::Member*>(&::bgs::protocol::club::v1::client::Member::default_instance()); +} + +GetMemberResponse::GetMemberResponse(const GetMemberResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMemberResponse) +} + +void GetMemberResponse::SharedCtor() { + _cached_size_ = 0; + member_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMemberResponse::~GetMemberResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMemberResponse) + SharedDtor(); +} + +void GetMemberResponse::SharedDtor() { + if (this != default_instance_) { + delete member_; + } +} + +void GetMemberResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMemberResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMemberResponse_descriptor_; +} + +const GetMemberResponse& GetMemberResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMemberResponse* GetMemberResponse::default_instance_ = NULL; + +GetMemberResponse* GetMemberResponse::New() const { + return new GetMemberResponse; +} + +void GetMemberResponse::Swap(GetMemberResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMemberResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMemberResponse_descriptor_; + metadata.reflection = GetMemberResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMembersRequest::kAgentIdFieldNumber; +const int GetMembersRequest::kClubIdFieldNumber; +const int GetMembersRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetMembersRequest::GetMembersRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersRequest) +} + +void GetMembersRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetMembersRequest::GetMembersRequest(const GetMembersRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersRequest) +} + +void GetMembersRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMembersRequest::~GetMembersRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersRequest) + SharedDtor(); +} + +void GetMembersRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetMembersRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMembersRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMembersRequest_descriptor_; +} + +const GetMembersRequest& GetMembersRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMembersRequest* GetMembersRequest::default_instance_ = NULL; + +GetMembersRequest* GetMembersRequest::New() const { + return new GetMembersRequest; +} + +void GetMembersRequest::Swap(GetMembersRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMembersRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMembersRequest_descriptor_; + metadata.reflection = GetMembersRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetMembersResponse::kMemberFieldNumber; +const int GetMembersResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetMembersResponse::GetMembersResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetMembersResponse) +} + +void GetMembersResponse::InitAsDefaultInstance() { +} + +GetMembersResponse::GetMembersResponse(const GetMembersResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetMembersResponse) +} + +void GetMembersResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetMembersResponse::~GetMembersResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetMembersResponse) + SharedDtor(); +} + +void GetMembersResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetMembersResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetMembersResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetMembersResponse_descriptor_; +} + +const GetMembersResponse& GetMembersResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetMembersResponse* GetMembersResponse::default_instance_ = NULL; + +GetMembersResponse* GetMembersResponse::New() const { + return new GetMembersResponse; +} + +void GetMembersResponse::Swap(GetMembersResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetMembersResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetMembersResponse_descriptor_; + metadata.reflection = GetMembersResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateMemberStateRequest::kAgentIdFieldNumber; +const int UpdateMemberStateRequest::kClubIdFieldNumber; +const int UpdateMemberStateRequest::kMemberIdFieldNumber; +const int UpdateMemberStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateMemberStateRequest::UpdateMemberStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) +} + +void UpdateMemberStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::MemberStateOptions*>(&::bgs::protocol::club::v1::client::MemberStateOptions::default_instance()); +} + +UpdateMemberStateRequest::UpdateMemberStateRequest(const UpdateMemberStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) +} + +void UpdateMemberStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + member_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateMemberStateRequest::~UpdateMemberStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateMemberStateRequest) + SharedDtor(); +} + +void UpdateMemberStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete member_id_; + delete options_; + } +} + +void UpdateMemberStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateMemberStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateMemberStateRequest_descriptor_; +} + +const UpdateMemberStateRequest& UpdateMemberStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateMemberStateRequest* UpdateMemberStateRequest::default_instance_ = NULL; + +UpdateMemberStateRequest* UpdateMemberStateRequest::New() const { + return new UpdateMemberStateRequest; +} + +void UpdateMemberStateRequest::Swap(UpdateMemberStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateMemberStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateMemberStateRequest_descriptor_; + metadata.reflection = UpdateMemberStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateSubscriberStateRequest::kAgentIdFieldNumber; +const int UpdateSubscriberStateRequest::kClubIdFieldNumber; +const int UpdateSubscriberStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateSubscriberStateRequest::UpdateSubscriberStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) +} + +void UpdateSubscriberStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SubscriberStateOptions*>(&::bgs::protocol::club::v1::client::SubscriberStateOptions::default_instance()); +} + +UpdateSubscriberStateRequest::UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) +} + +void UpdateSubscriberStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateSubscriberStateRequest::~UpdateSubscriberStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) + SharedDtor(); +} + +void UpdateSubscriberStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateSubscriberStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateSubscriberStateRequest_descriptor_; +} + +const UpdateSubscriberStateRequest& UpdateSubscriberStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::default_instance_ = NULL; + +UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::New() const { + return new UpdateSubscriberStateRequest; +} + +void UpdateSubscriberStateRequest::Swap(UpdateSubscriberStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateSubscriberStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateSubscriberStateRequest_descriptor_; + metadata.reflection = UpdateSubscriberStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AssignRoleRequest::kAgentIdFieldNumber; +const int AssignRoleRequest::kClubIdFieldNumber; +const int AssignRoleRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AssignRoleRequest::AssignRoleRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AssignRoleRequest) +} + +void AssignRoleRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::RoleOptions*>(&::bgs::protocol::club::v1::client::RoleOptions::default_instance()); +} + +AssignRoleRequest::AssignRoleRequest(const AssignRoleRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AssignRoleRequest) +} + +void AssignRoleRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AssignRoleRequest::~AssignRoleRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AssignRoleRequest) + SharedDtor(); +} + +void AssignRoleRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AssignRoleRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AssignRoleRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AssignRoleRequest_descriptor_; +} + +const AssignRoleRequest& AssignRoleRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AssignRoleRequest* AssignRoleRequest::default_instance_ = NULL; + +AssignRoleRequest* AssignRoleRequest::New() const { + return new AssignRoleRequest; +} + +void AssignRoleRequest::Swap(AssignRoleRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AssignRoleRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AssignRoleRequest_descriptor_; + metadata.reflection = AssignRoleRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnassignRoleRequest::kAgentIdFieldNumber; +const int UnassignRoleRequest::kClubIdFieldNumber; +const int UnassignRoleRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UnassignRoleRequest::UnassignRoleRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnassignRoleRequest) +} + +void UnassignRoleRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::RoleOptions*>(&::bgs::protocol::club::v1::client::RoleOptions::default_instance()); +} + +UnassignRoleRequest::UnassignRoleRequest(const UnassignRoleRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnassignRoleRequest) +} + +void UnassignRoleRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnassignRoleRequest::~UnassignRoleRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnassignRoleRequest) + SharedDtor(); +} + +void UnassignRoleRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UnassignRoleRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnassignRoleRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnassignRoleRequest_descriptor_; +} + +const UnassignRoleRequest& UnassignRoleRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnassignRoleRequest* UnassignRoleRequest::default_instance_ = NULL; + +UnassignRoleRequest* UnassignRoleRequest::New() const { + return new UnassignRoleRequest; +} + +void UnassignRoleRequest::Swap(UnassignRoleRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnassignRoleRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnassignRoleRequest_descriptor_; + metadata.reflection = UnassignRoleRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendInvitationRequest::kAgentIdFieldNumber; +const int SendInvitationRequest::kClubIdFieldNumber; +const int SendInvitationRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendInvitationRequest::SendInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendInvitationRequest) +} + +void SendInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SendInvitationOptions*>(&::bgs::protocol::club::v1::client::SendInvitationOptions::default_instance()); +} + +SendInvitationRequest::SendInvitationRequest(const SendInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendInvitationRequest) +} + +void SendInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendInvitationRequest::~SendInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendInvitationRequest) + SharedDtor(); +} + +void SendInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void SendInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendInvitationRequest_descriptor_; +} + +const SendInvitationRequest& SendInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SendInvitationRequest* SendInvitationRequest::default_instance_ = NULL; + +SendInvitationRequest* SendInvitationRequest::New() const { + return new SendInvitationRequest; +} + +void SendInvitationRequest::Swap(SendInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendInvitationRequest_descriptor_; + metadata.reflection = SendInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AcceptInvitationRequest::kAgentIdFieldNumber; +const int AcceptInvitationRequest::kClubIdFieldNumber; +const int AcceptInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +AcceptInvitationRequest::AcceptInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) +} + +void AcceptInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AcceptInvitationRequest::AcceptInvitationRequest(const AcceptInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) +} + +void AcceptInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AcceptInvitationRequest::~AcceptInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptInvitationRequest) + SharedDtor(); +} + +void AcceptInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AcceptInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AcceptInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AcceptInvitationRequest_descriptor_; +} + +const AcceptInvitationRequest& AcceptInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AcceptInvitationRequest* AcceptInvitationRequest::default_instance_ = NULL; + +AcceptInvitationRequest* AcceptInvitationRequest::New() const { + return new AcceptInvitationRequest; +} + +void AcceptInvitationRequest::Swap(AcceptInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AcceptInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AcceptInvitationRequest_descriptor_; + metadata.reflection = AcceptInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DeclineInvitationRequest::kAgentIdFieldNumber; +const int DeclineInvitationRequest::kClubIdFieldNumber; +const int DeclineInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +DeclineInvitationRequest::DeclineInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) +} + +void DeclineInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DeclineInvitationRequest::DeclineInvitationRequest(const DeclineInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) +} + +void DeclineInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DeclineInvitationRequest::~DeclineInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineInvitationRequest) + SharedDtor(); +} + +void DeclineInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DeclineInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DeclineInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DeclineInvitationRequest_descriptor_; +} + +const DeclineInvitationRequest& DeclineInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DeclineInvitationRequest* DeclineInvitationRequest::default_instance_ = NULL; + +DeclineInvitationRequest* DeclineInvitationRequest::New() const { + return new DeclineInvitationRequest; +} + +void DeclineInvitationRequest::Swap(DeclineInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DeclineInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DeclineInvitationRequest_descriptor_; + metadata.reflection = DeclineInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RevokeInvitationRequest::kAgentIdFieldNumber; +const int RevokeInvitationRequest::kClubIdFieldNumber; +const int RevokeInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +RevokeInvitationRequest::RevokeInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) +} + +void RevokeInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RevokeInvitationRequest::RevokeInvitationRequest(const RevokeInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) +} + +void RevokeInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RevokeInvitationRequest::~RevokeInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RevokeInvitationRequest) + SharedDtor(); +} + +void RevokeInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void RevokeInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RevokeInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RevokeInvitationRequest_descriptor_; +} + +const RevokeInvitationRequest& RevokeInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RevokeInvitationRequest* RevokeInvitationRequest::default_instance_ = NULL; + +RevokeInvitationRequest* RevokeInvitationRequest::New() const { + return new RevokeInvitationRequest; +} + +void RevokeInvitationRequest::Swap(RevokeInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RevokeInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RevokeInvitationRequest_descriptor_; + metadata.reflection = RevokeInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationRequest::kAgentIdFieldNumber; +const int GetInvitationRequest::kClubIdFieldNumber; +const int GetInvitationRequest::kInvitationIdFieldNumber; +#endif // !_MSC_VER + +GetInvitationRequest::GetInvitationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationRequest) +} + +void GetInvitationRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetInvitationRequest::GetInvitationRequest(const GetInvitationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationRequest) +} + +void GetInvitationRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + invitation_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationRequest::~GetInvitationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationRequest) + SharedDtor(); +} + +void GetInvitationRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetInvitationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationRequest_descriptor_; +} + +const GetInvitationRequest& GetInvitationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationRequest* GetInvitationRequest::default_instance_ = NULL; + +GetInvitationRequest* GetInvitationRequest::New() const { + return new GetInvitationRequest; +} + +void GetInvitationRequest::Swap(GetInvitationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationRequest_descriptor_; + metadata.reflection = GetInvitationRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationResponse::kInvitationFieldNumber; +#endif // !_MSC_VER + +GetInvitationResponse::GetInvitationResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationResponse) +} + +void GetInvitationResponse::InitAsDefaultInstance() { + invitation_ = const_cast< ::bgs::protocol::club::v1::client::ClubInvitation*>(&::bgs::protocol::club::v1::client::ClubInvitation::default_instance()); +} + +GetInvitationResponse::GetInvitationResponse(const GetInvitationResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationResponse) +} + +void GetInvitationResponse::SharedCtor() { + _cached_size_ = 0; + invitation_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationResponse::~GetInvitationResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationResponse) + SharedDtor(); +} + +void GetInvitationResponse::SharedDtor() { + if (this != default_instance_) { + delete invitation_; + } +} + +void GetInvitationResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationResponse_descriptor_; +} + +const GetInvitationResponse& GetInvitationResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationResponse* GetInvitationResponse::default_instance_ = NULL; + +GetInvitationResponse* GetInvitationResponse::New() const { + return new GetInvitationResponse; +} + +void GetInvitationResponse::Swap(GetInvitationResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationResponse_descriptor_; + metadata.reflection = GetInvitationResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationsRequest::kAgentIdFieldNumber; +const int GetInvitationsRequest::kClubIdFieldNumber; +const int GetInvitationsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetInvitationsRequest::GetInvitationsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) +} + +void GetInvitationsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetInvitationsRequest::GetInvitationsRequest(const GetInvitationsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsRequest) +} + +void GetInvitationsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationsRequest::~GetInvitationsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsRequest) + SharedDtor(); +} + +void GetInvitationsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetInvitationsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationsRequest_descriptor_; +} + +const GetInvitationsRequest& GetInvitationsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationsRequest* GetInvitationsRequest::default_instance_ = NULL; + +GetInvitationsRequest* GetInvitationsRequest::New() const { + return new GetInvitationsRequest; +} + +void GetInvitationsRequest::Swap(GetInvitationsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationsRequest_descriptor_; + metadata.reflection = GetInvitationsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetInvitationsResponse::kInvitationFieldNumber; +const int GetInvitationsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetInvitationsResponse::GetInvitationsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) +} + +void GetInvitationsResponse::InitAsDefaultInstance() { +} + +GetInvitationsResponse::GetInvitationsResponse(const GetInvitationsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetInvitationsResponse) +} + +void GetInvitationsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetInvitationsResponse::~GetInvitationsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetInvitationsResponse) + SharedDtor(); +} + +void GetInvitationsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetInvitationsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetInvitationsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetInvitationsResponse_descriptor_; +} + +const GetInvitationsResponse& GetInvitationsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetInvitationsResponse* GetInvitationsResponse::default_instance_ = NULL; + +GetInvitationsResponse* GetInvitationsResponse::New() const { + return new GetInvitationsResponse; +} + +void GetInvitationsResponse::Swap(GetInvitationsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetInvitationsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetInvitationsResponse_descriptor_; + metadata.reflection = GetInvitationsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendSuggestionRequest::kAgentIdFieldNumber; +const int SendSuggestionRequest::kClubIdFieldNumber; +const int SendSuggestionRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendSuggestionRequest::SendSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SendSuggestionRequest) +} + +void SendSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::SendSuggestionOptions*>(&::bgs::protocol::club::v1::client::SendSuggestionOptions::default_instance()); +} + +SendSuggestionRequest::SendSuggestionRequest(const SendSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SendSuggestionRequest) +} + +void SendSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendSuggestionRequest::~SendSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SendSuggestionRequest) + SharedDtor(); +} + +void SendSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void SendSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendSuggestionRequest_descriptor_; +} + +const SendSuggestionRequest& SendSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SendSuggestionRequest* SendSuggestionRequest::default_instance_ = NULL; + +SendSuggestionRequest* SendSuggestionRequest::New() const { + return new SendSuggestionRequest; +} + +void SendSuggestionRequest::Swap(SendSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendSuggestionRequest_descriptor_; + metadata.reflection = SendSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AcceptSuggestionRequest::kAgentIdFieldNumber; +const int AcceptSuggestionRequest::kClubIdFieldNumber; +const int AcceptSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +AcceptSuggestionRequest::AcceptSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) +} + +void AcceptSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AcceptSuggestionRequest::AcceptSuggestionRequest(const AcceptSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) +} + +void AcceptSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AcceptSuggestionRequest::~AcceptSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AcceptSuggestionRequest) + SharedDtor(); +} + +void AcceptSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AcceptSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AcceptSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AcceptSuggestionRequest_descriptor_; +} + +const AcceptSuggestionRequest& AcceptSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AcceptSuggestionRequest* AcceptSuggestionRequest::default_instance_ = NULL; + +AcceptSuggestionRequest* AcceptSuggestionRequest::New() const { + return new AcceptSuggestionRequest; +} + +void AcceptSuggestionRequest::Swap(AcceptSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AcceptSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AcceptSuggestionRequest_descriptor_; + metadata.reflection = AcceptSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DeclineSuggestionRequest::kAgentIdFieldNumber; +const int DeclineSuggestionRequest::kClubIdFieldNumber; +const int DeclineSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +DeclineSuggestionRequest::DeclineSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) +} + +void DeclineSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DeclineSuggestionRequest::DeclineSuggestionRequest(const DeclineSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) +} + +void DeclineSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DeclineSuggestionRequest::~DeclineSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DeclineSuggestionRequest) + SharedDtor(); +} + +void DeclineSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DeclineSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DeclineSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DeclineSuggestionRequest_descriptor_; +} + +const DeclineSuggestionRequest& DeclineSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DeclineSuggestionRequest* DeclineSuggestionRequest::default_instance_ = NULL; + +DeclineSuggestionRequest* DeclineSuggestionRequest::New() const { + return new DeclineSuggestionRequest; +} + +void DeclineSuggestionRequest::Swap(DeclineSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DeclineSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DeclineSuggestionRequest_descriptor_; + metadata.reflection = DeclineSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionRequest::kAgentIdFieldNumber; +const int GetSuggestionRequest::kClubIdFieldNumber; +const int GetSuggestionRequest::kSuggestionIdFieldNumber; +#endif // !_MSC_VER + +GetSuggestionRequest::GetSuggestionRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) +} + +void GetSuggestionRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetSuggestionRequest::GetSuggestionRequest(const GetSuggestionRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionRequest) +} + +void GetSuggestionRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + suggestion_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionRequest::~GetSuggestionRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionRequest) + SharedDtor(); +} + +void GetSuggestionRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetSuggestionRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionRequest_descriptor_; +} + +const GetSuggestionRequest& GetSuggestionRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionRequest* GetSuggestionRequest::default_instance_ = NULL; + +GetSuggestionRequest* GetSuggestionRequest::New() const { + return new GetSuggestionRequest; +} + +void GetSuggestionRequest::Swap(GetSuggestionRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionRequest_descriptor_; + metadata.reflection = GetSuggestionRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionResponse::kSuggestionFieldNumber; +#endif // !_MSC_VER + +GetSuggestionResponse::GetSuggestionResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) +} + +void GetSuggestionResponse::InitAsDefaultInstance() { + suggestion_ = const_cast< ::bgs::protocol::club::v1::client::ClubSuggestion*>(&::bgs::protocol::club::v1::client::ClubSuggestion::default_instance()); +} + +GetSuggestionResponse::GetSuggestionResponse(const GetSuggestionResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionResponse) +} + +void GetSuggestionResponse::SharedCtor() { + _cached_size_ = 0; + suggestion_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionResponse::~GetSuggestionResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionResponse) + SharedDtor(); +} + +void GetSuggestionResponse::SharedDtor() { + if (this != default_instance_) { + delete suggestion_; + } +} + +void GetSuggestionResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionResponse_descriptor_; +} + +const GetSuggestionResponse& GetSuggestionResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionResponse* GetSuggestionResponse::default_instance_ = NULL; + +GetSuggestionResponse* GetSuggestionResponse::New() const { + return new GetSuggestionResponse; +} + +void GetSuggestionResponse::Swap(GetSuggestionResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionResponse_descriptor_; + metadata.reflection = GetSuggestionResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionsRequest::kAgentIdFieldNumber; +const int GetSuggestionsRequest::kClubIdFieldNumber; +const int GetSuggestionsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetSuggestionsRequest::GetSuggestionsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) +} + +void GetSuggestionsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetSuggestionsRequest::GetSuggestionsRequest(const GetSuggestionsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) +} + +void GetSuggestionsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionsRequest::~GetSuggestionsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsRequest) + SharedDtor(); +} + +void GetSuggestionsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetSuggestionsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionsRequest_descriptor_; +} + +const GetSuggestionsRequest& GetSuggestionsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionsRequest* GetSuggestionsRequest::default_instance_ = NULL; + +GetSuggestionsRequest* GetSuggestionsRequest::New() const { + return new GetSuggestionsRequest; +} + +void GetSuggestionsRequest::Swap(GetSuggestionsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionsRequest_descriptor_; + metadata.reflection = GetSuggestionsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetSuggestionsResponse::kSuggestionFieldNumber; +const int GetSuggestionsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetSuggestionsResponse::GetSuggestionsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) +} + +void GetSuggestionsResponse::InitAsDefaultInstance() { +} + +GetSuggestionsResponse::GetSuggestionsResponse(const GetSuggestionsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) +} + +void GetSuggestionsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetSuggestionsResponse::~GetSuggestionsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetSuggestionsResponse) + SharedDtor(); +} + +void GetSuggestionsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetSuggestionsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetSuggestionsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetSuggestionsResponse_descriptor_; +} + +const GetSuggestionsResponse& GetSuggestionsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetSuggestionsResponse* GetSuggestionsResponse::default_instance_ = NULL; + +GetSuggestionsResponse* GetSuggestionsResponse::New() const { + return new GetSuggestionsResponse; +} + +void GetSuggestionsResponse::Swap(GetSuggestionsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetSuggestionsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetSuggestionsResponse_descriptor_; + metadata.reflection = GetSuggestionsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketRequest::kAgentIdFieldNumber; +const int CreateTicketRequest::kClubIdFieldNumber; +const int CreateTicketRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateTicketRequest::CreateTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketRequest) +} + +void CreateTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateTicketOptions*>(&::bgs::protocol::club::v1::client::CreateTicketOptions::default_instance()); +} + +CreateTicketRequest::CreateTicketRequest(const CreateTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketRequest) +} + +void CreateTicketRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketRequest::~CreateTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketRequest) + SharedDtor(); +} + +void CreateTicketRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketRequest_descriptor_; +} + +const CreateTicketRequest& CreateTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateTicketRequest* CreateTicketRequest::default_instance_ = NULL; + +CreateTicketRequest* CreateTicketRequest::New() const { + return new CreateTicketRequest; +} + +void CreateTicketRequest::Swap(CreateTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketRequest_descriptor_; + metadata.reflection = CreateTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateTicketResponse::kTicketFieldNumber; +#endif // !_MSC_VER + +CreateTicketResponse::CreateTicketResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateTicketResponse) +} + +void CreateTicketResponse::InitAsDefaultInstance() { + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicket*>(&::bgs::protocol::club::v1::client::ClubTicket::default_instance()); +} + +CreateTicketResponse::CreateTicketResponse(const CreateTicketResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateTicketResponse) +} + +void CreateTicketResponse::SharedCtor() { + _cached_size_ = 0; + ticket_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateTicketResponse::~CreateTicketResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateTicketResponse) + SharedDtor(); +} + +void CreateTicketResponse::SharedDtor() { + if (this != default_instance_) { + delete ticket_; + } +} + +void CreateTicketResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateTicketResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateTicketResponse_descriptor_; +} + +const CreateTicketResponse& CreateTicketResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateTicketResponse* CreateTicketResponse::default_instance_ = NULL; + +CreateTicketResponse* CreateTicketResponse::New() const { + return new CreateTicketResponse; +} + +void CreateTicketResponse::Swap(CreateTicketResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateTicketResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateTicketResponse_descriptor_; + metadata.reflection = CreateTicketResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyTicketRequest::kAgentIdFieldNumber; +const int DestroyTicketRequest::kClubIdFieldNumber; +const int DestroyTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +DestroyTicketRequest::DestroyTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) +} + +void DestroyTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyTicketRequest::DestroyTicketRequest(const DestroyTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyTicketRequest) +} + +void DestroyTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyTicketRequest::~DestroyTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyTicketRequest) + SharedDtor(); +} + +void DestroyTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyTicketRequest_descriptor_; +} + +const DestroyTicketRequest& DestroyTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyTicketRequest* DestroyTicketRequest::default_instance_ = NULL; + +DestroyTicketRequest* DestroyTicketRequest::New() const { + return new DestroyTicketRequest; +} + +void DestroyTicketRequest::Swap(DestroyTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyTicketRequest_descriptor_; + metadata.reflection = DestroyTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RedeemTicketRequest::kAgentIdFieldNumber; +const int RedeemTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +RedeemTicketRequest::RedeemTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) +} + +void RedeemTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RedeemTicketRequest::RedeemTicketRequest(const RedeemTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RedeemTicketRequest) +} + +void RedeemTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RedeemTicketRequest::~RedeemTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RedeemTicketRequest) + SharedDtor(); +} + +void RedeemTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void RedeemTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RedeemTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RedeemTicketRequest_descriptor_; +} + +const RedeemTicketRequest& RedeemTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RedeemTicketRequest* RedeemTicketRequest::default_instance_ = NULL; + +RedeemTicketRequest* RedeemTicketRequest::New() const { + return new RedeemTicketRequest; +} + +void RedeemTicketRequest::Swap(RedeemTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RedeemTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RedeemTicketRequest_descriptor_; + metadata.reflection = RedeemTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketRequest::kAgentIdFieldNumber; +const int GetTicketRequest::kTicketIdFieldNumber; +#endif // !_MSC_VER + +GetTicketRequest::GetTicketRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketRequest) +} + +void GetTicketRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetTicketRequest::GetTicketRequest(const GetTicketRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketRequest) +} + +void GetTicketRequest::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + agent_id_ = NULL; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketRequest::~GetTicketRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketRequest) + SharedDtor(); +} + +void GetTicketRequest::SharedDtor() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetTicketRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketRequest_descriptor_; +} + +const GetTicketRequest& GetTicketRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketRequest* GetTicketRequest::default_instance_ = NULL; + +GetTicketRequest* GetTicketRequest::New() const { + return new GetTicketRequest; +} + +void GetTicketRequest::Swap(GetTicketRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketRequest_descriptor_; + metadata.reflection = GetTicketRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketResponse::kTicketFieldNumber; +#endif // !_MSC_VER + +GetTicketResponse::GetTicketResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketResponse) +} + +void GetTicketResponse::InitAsDefaultInstance() { + ticket_ = const_cast< ::bgs::protocol::club::v1::client::ClubTicket*>(&::bgs::protocol::club::v1::client::ClubTicket::default_instance()); +} + +GetTicketResponse::GetTicketResponse(const GetTicketResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketResponse) +} + +void GetTicketResponse::SharedCtor() { + _cached_size_ = 0; + ticket_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketResponse::~GetTicketResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketResponse) + SharedDtor(); +} + +void GetTicketResponse::SharedDtor() { + if (this != default_instance_) { + delete ticket_; + } +} + +void GetTicketResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketResponse_descriptor_; +} + +const GetTicketResponse& GetTicketResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketResponse* GetTicketResponse::default_instance_ = NULL; + +GetTicketResponse* GetTicketResponse::New() const { + return new GetTicketResponse; +} + +void GetTicketResponse::Swap(GetTicketResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketResponse_descriptor_; + metadata.reflection = GetTicketResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketsRequest::kAgentIdFieldNumber; +const int GetTicketsRequest::kClubIdFieldNumber; +const int GetTicketsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetTicketsRequest::GetTicketsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsRequest) +} + +void GetTicketsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetTicketsRequest::GetTicketsRequest(const GetTicketsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsRequest) +} + +void GetTicketsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketsRequest::~GetTicketsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsRequest) + SharedDtor(); +} + +void GetTicketsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetTicketsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketsRequest_descriptor_; +} + +const GetTicketsRequest& GetTicketsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketsRequest* GetTicketsRequest::default_instance_ = NULL; + +GetTicketsRequest* GetTicketsRequest::New() const { + return new GetTicketsRequest; +} + +void GetTicketsRequest::Swap(GetTicketsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketsRequest_descriptor_; + metadata.reflection = GetTicketsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetTicketsResponse::kTicketFieldNumber; +const int GetTicketsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetTicketsResponse::GetTicketsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetTicketsResponse) +} + +void GetTicketsResponse::InitAsDefaultInstance() { +} + +GetTicketsResponse::GetTicketsResponse(const GetTicketsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetTicketsResponse) +} + +void GetTicketsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetTicketsResponse::~GetTicketsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetTicketsResponse) + SharedDtor(); +} + +void GetTicketsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetTicketsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetTicketsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetTicketsResponse_descriptor_; +} + +const GetTicketsResponse& GetTicketsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetTicketsResponse* GetTicketsResponse::default_instance_ = NULL; + +GetTicketsResponse* GetTicketsResponse::New() const { + return new GetTicketsResponse; +} + +void GetTicketsResponse::Swap(GetTicketsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetTicketsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetTicketsResponse_descriptor_; + metadata.reflection = GetTicketsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AddBanRequest::kAgentIdFieldNumber; +const int AddBanRequest::kClubIdFieldNumber; +const int AddBanRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +AddBanRequest::AddBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AddBanRequest) +} + +void AddBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::AddBanOptions*>(&::bgs::protocol::club::v1::client::AddBanOptions::default_instance()); +} + +AddBanRequest::AddBanRequest(const AddBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AddBanRequest) +} + +void AddBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AddBanRequest::~AddBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AddBanRequest) + SharedDtor(); +} + +void AddBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void AddBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AddBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AddBanRequest_descriptor_; +} + +const AddBanRequest& AddBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AddBanRequest* AddBanRequest::default_instance_ = NULL; + +AddBanRequest* AddBanRequest::New() const { + return new AddBanRequest; +} + +void AddBanRequest::Swap(AddBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AddBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AddBanRequest_descriptor_; + metadata.reflection = AddBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int RemoveBanRequest::kAgentIdFieldNumber; +const int RemoveBanRequest::kClubIdFieldNumber; +const int RemoveBanRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +RemoveBanRequest::RemoveBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.RemoveBanRequest) +} + +void RemoveBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +RemoveBanRequest::RemoveBanRequest(const RemoveBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.RemoveBanRequest) +} + +void RemoveBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +RemoveBanRequest::~RemoveBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.RemoveBanRequest) + SharedDtor(); +} + +void RemoveBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void RemoveBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* RemoveBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return RemoveBanRequest_descriptor_; +} + +const RemoveBanRequest& RemoveBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +RemoveBanRequest* RemoveBanRequest::default_instance_ = NULL; + +RemoveBanRequest* RemoveBanRequest::New() const { + return new RemoveBanRequest; +} + +void RemoveBanRequest::Swap(RemoveBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata RemoveBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = RemoveBanRequest_descriptor_; + metadata.reflection = RemoveBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBanRequest::kAgentIdFieldNumber; +const int GetBanRequest::kClubIdFieldNumber; +const int GetBanRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +GetBanRequest::GetBanRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanRequest) +} + +void GetBanRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetBanRequest::GetBanRequest(const GetBanRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanRequest) +} + +void GetBanRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBanRequest::~GetBanRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanRequest) + SharedDtor(); +} + +void GetBanRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void GetBanRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBanRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBanRequest_descriptor_; +} + +const GetBanRequest& GetBanRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBanRequest* GetBanRequest::default_instance_ = NULL; + +GetBanRequest* GetBanRequest::New() const { + return new GetBanRequest; +} + +void GetBanRequest::Swap(GetBanRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBanRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBanRequest_descriptor_; + metadata.reflection = GetBanRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBanResponse::kBanFieldNumber; +#endif // !_MSC_VER + +GetBanResponse::GetBanResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBanResponse) +} + +void GetBanResponse::InitAsDefaultInstance() { + ban_ = const_cast< ::bgs::protocol::club::v1::client::ClubBan*>(&::bgs::protocol::club::v1::client::ClubBan::default_instance()); +} + +GetBanResponse::GetBanResponse(const GetBanResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBanResponse) +} + +void GetBanResponse::SharedCtor() { + _cached_size_ = 0; + ban_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBanResponse::~GetBanResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBanResponse) + SharedDtor(); +} + +void GetBanResponse::SharedDtor() { + if (this != default_instance_) { + delete ban_; + } +} + +void GetBanResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBanResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBanResponse_descriptor_; +} + +const GetBanResponse& GetBanResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBanResponse* GetBanResponse::default_instance_ = NULL; + +GetBanResponse* GetBanResponse::New() const { + return new GetBanResponse; +} + +void GetBanResponse::Swap(GetBanResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBanResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBanResponse_descriptor_; + metadata.reflection = GetBanResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBansRequest::kAgentIdFieldNumber; +const int GetBansRequest::kClubIdFieldNumber; +const int GetBansRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetBansRequest::GetBansRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansRequest) +} + +void GetBansRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetBansRequest::GetBansRequest(const GetBansRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansRequest) +} + +void GetBansRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBansRequest::~GetBansRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansRequest) + SharedDtor(); +} + +void GetBansRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetBansRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBansRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBansRequest_descriptor_; +} + +const GetBansRequest& GetBansRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBansRequest* GetBansRequest::default_instance_ = NULL; + +GetBansRequest* GetBansRequest::New() const { + return new GetBansRequest; +} + +void GetBansRequest::Swap(GetBansRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBansRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBansRequest_descriptor_; + metadata.reflection = GetBansRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetBansResponse::kBanFieldNumber; +const int GetBansResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetBansResponse::GetBansResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetBansResponse) +} + +void GetBansResponse::InitAsDefaultInstance() { +} + +GetBansResponse::GetBansResponse(const GetBansResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetBansResponse) +} + +void GetBansResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetBansResponse::~GetBansResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetBansResponse) + SharedDtor(); +} + +void GetBansResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetBansResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetBansResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetBansResponse_descriptor_; +} + +const GetBansResponse& GetBansResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetBansResponse* GetBansResponse::default_instance_ = NULL; + +GetBansResponse* GetBansResponse::New() const { + return new GetBansResponse; +} + +void GetBansResponse::Swap(GetBansResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetBansResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetBansResponse_descriptor_; + metadata.reflection = GetBansResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeStreamRequest::kAgentIdFieldNumber; +const int SubscribeStreamRequest::kClubIdFieldNumber; +const int SubscribeStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +SubscribeStreamRequest::SubscribeStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) +} + +void SubscribeStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SubscribeStreamRequest::SubscribeStreamRequest(const SubscribeStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) +} + +void SubscribeStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeStreamRequest::~SubscribeStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SubscribeStreamRequest) + SharedDtor(); +} + +void SubscribeStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SubscribeStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeStreamRequest_descriptor_; +} + +const SubscribeStreamRequest& SubscribeStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SubscribeStreamRequest* SubscribeStreamRequest::default_instance_ = NULL; + +SubscribeStreamRequest* SubscribeStreamRequest::New() const { + return new SubscribeStreamRequest; +} + +void SubscribeStreamRequest::Swap(SubscribeStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeStreamRequest_descriptor_; + metadata.reflection = SubscribeStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UnsubscribeStreamRequest::kAgentIdFieldNumber; +const int UnsubscribeStreamRequest::kClubIdFieldNumber; +const int UnsubscribeStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +UnsubscribeStreamRequest::UnsubscribeStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) +} + +void UnsubscribeStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +UnsubscribeStreamRequest::UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) +} + +void UnsubscribeStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeStreamRequest::~UnsubscribeStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) + SharedDtor(); +} + +void UnsubscribeStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void UnsubscribeStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeStreamRequest_descriptor_; +} + +const UnsubscribeStreamRequest& UnsubscribeStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UnsubscribeStreamRequest* UnsubscribeStreamRequest::default_instance_ = NULL; + +UnsubscribeStreamRequest* UnsubscribeStreamRequest::New() const { + return new UnsubscribeStreamRequest; +} + +void UnsubscribeStreamRequest::Swap(UnsubscribeStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeStreamRequest_descriptor_; + metadata.reflection = UnsubscribeStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamRequest::kAgentIdFieldNumber; +const int CreateStreamRequest::kClubIdFieldNumber; +const int CreateStreamRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateStreamRequest::CreateStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamRequest) +} + +void CreateStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateStreamOptions*>(&::bgs::protocol::club::v1::client::CreateStreamOptions::default_instance()); +} + +CreateStreamRequest::CreateStreamRequest(const CreateStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamRequest) +} + +void CreateStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamRequest::~CreateStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamRequest) + SharedDtor(); +} + +void CreateStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamRequest_descriptor_; +} + +const CreateStreamRequest& CreateStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateStreamRequest* CreateStreamRequest::default_instance_ = NULL; + +CreateStreamRequest* CreateStreamRequest::New() const { + return new CreateStreamRequest; +} + +void CreateStreamRequest::Swap(CreateStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamRequest_descriptor_; + metadata.reflection = CreateStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamResponse::kClubIdFieldNumber; +const int CreateStreamResponse::kStreamIdFieldNumber; +#endif // !_MSC_VER + +CreateStreamResponse::CreateStreamResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamResponse) +} + +void CreateStreamResponse::InitAsDefaultInstance() { +} + +CreateStreamResponse::CreateStreamResponse(const CreateStreamResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamResponse) +} + +void CreateStreamResponse::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamResponse::~CreateStreamResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamResponse) + SharedDtor(); +} + +void CreateStreamResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void CreateStreamResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamResponse_descriptor_; +} + +const CreateStreamResponse& CreateStreamResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateStreamResponse* CreateStreamResponse::default_instance_ = NULL; + +CreateStreamResponse* CreateStreamResponse::New() const { + return new CreateStreamResponse; +} + +void CreateStreamResponse::Swap(CreateStreamResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamResponse_descriptor_; + metadata.reflection = CreateStreamResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyStreamRequest::kAgentIdFieldNumber; +const int DestroyStreamRequest::kClubIdFieldNumber; +const int DestroyStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +DestroyStreamRequest::DestroyStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) +} + +void DestroyStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +DestroyStreamRequest::DestroyStreamRequest(const DestroyStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyStreamRequest) +} + +void DestroyStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyStreamRequest::~DestroyStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyStreamRequest) + SharedDtor(); +} + +void DestroyStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void DestroyStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyStreamRequest_descriptor_; +} + +const DestroyStreamRequest& DestroyStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyStreamRequest* DestroyStreamRequest::default_instance_ = NULL; + +DestroyStreamRequest* DestroyStreamRequest::New() const { + return new DestroyStreamRequest; +} + +void DestroyStreamRequest::Swap(DestroyStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyStreamRequest_descriptor_; + metadata.reflection = DestroyStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamRequest::kAgentIdFieldNumber; +const int GetStreamRequest::kClubIdFieldNumber; +const int GetStreamRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +GetStreamRequest::GetStreamRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamRequest) +} + +void GetStreamRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamRequest::GetStreamRequest(const GetStreamRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamRequest) +} + +void GetStreamRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamRequest::~GetStreamRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamRequest) + SharedDtor(); +} + +void GetStreamRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamRequest_descriptor_; +} + +const GetStreamRequest& GetStreamRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamRequest* GetStreamRequest::default_instance_ = NULL; + +GetStreamRequest* GetStreamRequest::New() const { + return new GetStreamRequest; +} + +void GetStreamRequest::Swap(GetStreamRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamRequest_descriptor_; + metadata.reflection = GetStreamRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamResponse::kStreamFieldNumber; +#endif // !_MSC_VER + +GetStreamResponse::GetStreamResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamResponse) +} + +void GetStreamResponse::InitAsDefaultInstance() { + stream_ = const_cast< ::bgs::protocol::club::v1::client::Stream*>(&::bgs::protocol::club::v1::client::Stream::default_instance()); +} + +GetStreamResponse::GetStreamResponse(const GetStreamResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamResponse) +} + +void GetStreamResponse::SharedCtor() { + _cached_size_ = 0; + stream_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamResponse::~GetStreamResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamResponse) + SharedDtor(); +} + +void GetStreamResponse::SharedDtor() { + if (this != default_instance_) { + delete stream_; + } +} + +void GetStreamResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamResponse_descriptor_; +} + +const GetStreamResponse& GetStreamResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamResponse* GetStreamResponse::default_instance_ = NULL; + +GetStreamResponse* GetStreamResponse::New() const { + return new GetStreamResponse; +} + +void GetStreamResponse::Swap(GetStreamResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamResponse_descriptor_; + metadata.reflection = GetStreamResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamsRequest::kAgentIdFieldNumber; +const int GetStreamsRequest::kClubIdFieldNumber; +const int GetStreamsRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamsRequest::GetStreamsRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsRequest) +} + +void GetStreamsRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamsRequest::GetStreamsRequest(const GetStreamsRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsRequest) +} + +void GetStreamsRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamsRequest::~GetStreamsRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsRequest) + SharedDtor(); +} + +void GetStreamsRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamsRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamsRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamsRequest_descriptor_; +} + +const GetStreamsRequest& GetStreamsRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamsRequest* GetStreamsRequest::default_instance_ = NULL; + +GetStreamsRequest* GetStreamsRequest::New() const { + return new GetStreamsRequest; +} + +void GetStreamsRequest::Swap(GetStreamsRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamsRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamsRequest_descriptor_; + metadata.reflection = GetStreamsRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamsResponse::kStreamFieldNumber; +const int GetStreamsResponse::kViewFieldNumber; +const int GetStreamsResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamsResponse::GetStreamsResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamsResponse) +} + +void GetStreamsResponse::InitAsDefaultInstance() { +} + +GetStreamsResponse::GetStreamsResponse(const GetStreamsResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamsResponse) +} + +void GetStreamsResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamsResponse::~GetStreamsResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamsResponse) + SharedDtor(); +} + +void GetStreamsResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamsResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamsResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamsResponse_descriptor_; +} + +const GetStreamsResponse& GetStreamsResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamsResponse* GetStreamsResponse::default_instance_ = NULL; + +GetStreamsResponse* GetStreamsResponse::New() const { + return new GetStreamsResponse; +} + +void GetStreamsResponse::Swap(GetStreamsResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamsResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamsResponse_descriptor_; + metadata.reflection = GetStreamsResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int UpdateStreamStateRequest::kAgentIdFieldNumber; +const int UpdateStreamStateRequest::kClubIdFieldNumber; +const int UpdateStreamStateRequest::kStreamIdFieldNumber; +const int UpdateStreamStateRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +UpdateStreamStateRequest::UpdateStreamStateRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) +} + +void UpdateStreamStateRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::StreamStateOptions*>(&::bgs::protocol::club::v1::client::StreamStateOptions::default_instance()); +} + +UpdateStreamStateRequest::UpdateStreamStateRequest(const UpdateStreamStateRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) +} + +void UpdateStreamStateRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UpdateStreamStateRequest::~UpdateStreamStateRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.UpdateStreamStateRequest) + SharedDtor(); +} + +void UpdateStreamStateRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void UpdateStreamStateRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UpdateStreamStateRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UpdateStreamStateRequest_descriptor_; +} + +const UpdateStreamStateRequest& UpdateStreamStateRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +UpdateStreamStateRequest* UpdateStreamStateRequest::default_instance_ = NULL; + +UpdateStreamStateRequest* UpdateStreamStateRequest::New() const { + return new UpdateStreamStateRequest; +} + +void UpdateStreamStateRequest::Swap(UpdateStreamStateRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UpdateStreamStateRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UpdateStreamStateRequest_descriptor_; + metadata.reflection = UpdateStreamStateRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetStreamFocusRequest::kAgentIdFieldNumber; +const int SetStreamFocusRequest::kClubIdFieldNumber; +const int SetStreamFocusRequest::kStreamIdFieldNumber; +const int SetStreamFocusRequest::kFocusFieldNumber; +#endif // !_MSC_VER + +SetStreamFocusRequest::SetStreamFocusRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) +} + +void SetStreamFocusRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetStreamFocusRequest::SetStreamFocusRequest(const SetStreamFocusRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) +} + +void SetStreamFocusRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + focus_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetStreamFocusRequest::~SetStreamFocusRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetStreamFocusRequest) + SharedDtor(); +} + +void SetStreamFocusRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetStreamFocusRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetStreamFocusRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetStreamFocusRequest_descriptor_; +} + +const SetStreamFocusRequest& SetStreamFocusRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetStreamFocusRequest* SetStreamFocusRequest::default_instance_ = NULL; + +SetStreamFocusRequest* SetStreamFocusRequest::New() const { + return new SetStreamFocusRequest; +} + +void SetStreamFocusRequest::Swap(SetStreamFocusRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetStreamFocusRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetStreamFocusRequest_descriptor_; + metadata.reflection = SetStreamFocusRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageRequest::kAgentIdFieldNumber; +const int CreateMessageRequest::kClubIdFieldNumber; +const int CreateMessageRequest::kStreamIdFieldNumber; +const int CreateMessageRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +CreateMessageRequest::CreateMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageRequest) +} + +void CreateMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMessageOptions*>(&::bgs::protocol::club::v1::client::CreateMessageOptions::default_instance()); +} + +CreateMessageRequest::CreateMessageRequest(const CreateMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageRequest) +} + +void CreateMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageRequest::~CreateMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageRequest) + SharedDtor(); +} + +void CreateMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void CreateMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageRequest_descriptor_; +} + +const CreateMessageRequest& CreateMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateMessageRequest* CreateMessageRequest::default_instance_ = NULL; + +CreateMessageRequest* CreateMessageRequest::New() const { + return new CreateMessageRequest; +} + +void CreateMessageRequest::Swap(CreateMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageRequest_descriptor_; + metadata.reflection = CreateMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +CreateMessageResponse::CreateMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageResponse) +} + +void CreateMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +CreateMessageResponse::CreateMessageResponse(const CreateMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageResponse) +} + +void CreateMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageResponse::~CreateMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageResponse) + SharedDtor(); +} + +void CreateMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void CreateMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageResponse_descriptor_; +} + +const CreateMessageResponse& CreateMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +CreateMessageResponse* CreateMessageResponse::default_instance_ = NULL; + +CreateMessageResponse* CreateMessageResponse::New() const { + return new CreateMessageResponse; +} + +void CreateMessageResponse::Swap(CreateMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageResponse_descriptor_; + metadata.reflection = CreateMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyMessageRequest::kAgentIdFieldNumber; +const int DestroyMessageRequest::kClubIdFieldNumber; +const int DestroyMessageRequest::kStreamIdFieldNumber; +const int DestroyMessageRequest::kMessageIdFieldNumber; +#endif // !_MSC_VER + +DestroyMessageRequest::DestroyMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) +} + +void DestroyMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +DestroyMessageRequest::DestroyMessageRequest(const DestroyMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageRequest) +} + +void DestroyMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyMessageRequest::~DestroyMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageRequest) + SharedDtor(); +} + +void DestroyMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + } +} + +void DestroyMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyMessageRequest_descriptor_; +} + +const DestroyMessageRequest& DestroyMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyMessageRequest* DestroyMessageRequest::default_instance_ = NULL; + +DestroyMessageRequest* DestroyMessageRequest::New() const { + return new DestroyMessageRequest; +} + +void DestroyMessageRequest::Swap(DestroyMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyMessageRequest_descriptor_; + metadata.reflection = DestroyMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int DestroyMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +DestroyMessageResponse::DestroyMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) +} + +void DestroyMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +DestroyMessageResponse::DestroyMessageResponse(const DestroyMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.DestroyMessageResponse) +} + +void DestroyMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +DestroyMessageResponse::~DestroyMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.DestroyMessageResponse) + SharedDtor(); +} + +void DestroyMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void DestroyMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* DestroyMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return DestroyMessageResponse_descriptor_; +} + +const DestroyMessageResponse& DestroyMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +DestroyMessageResponse* DestroyMessageResponse::default_instance_ = NULL; + +DestroyMessageResponse* DestroyMessageResponse::New() const { + return new DestroyMessageResponse; +} + +void DestroyMessageResponse::Swap(DestroyMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata DestroyMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = DestroyMessageResponse_descriptor_; + metadata.reflection = DestroyMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EditMessageRequest::kAgentIdFieldNumber; +const int EditMessageRequest::kClubIdFieldNumber; +const int EditMessageRequest::kStreamIdFieldNumber; +const int EditMessageRequest::kMessageIdFieldNumber; +const int EditMessageRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +EditMessageRequest::EditMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.EditMessageRequest) +} + +void EditMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + options_ = const_cast< ::bgs::protocol::club::v1::client::CreateMessageOptions*>(&::bgs::protocol::club::v1::client::CreateMessageOptions::default_instance()); +} + +EditMessageRequest::EditMessageRequest(const EditMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageRequest) +} + +void EditMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EditMessageRequest::~EditMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageRequest) + SharedDtor(); +} + +void EditMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + delete options_; + } +} + +void EditMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EditMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EditMessageRequest_descriptor_; +} + +const EditMessageRequest& EditMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +EditMessageRequest* EditMessageRequest::default_instance_ = NULL; + +EditMessageRequest* EditMessageRequest::New() const { + return new EditMessageRequest; +} + +void EditMessageRequest::Swap(EditMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EditMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EditMessageRequest_descriptor_; + metadata.reflection = EditMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EditMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +EditMessageResponse::EditMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.EditMessageResponse) +} + +void EditMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +EditMessageResponse::EditMessageResponse(const EditMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.EditMessageResponse) +} + +void EditMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EditMessageResponse::~EditMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.EditMessageResponse) + SharedDtor(); +} + +void EditMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void EditMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EditMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EditMessageResponse_descriptor_; +} + +const EditMessageResponse& EditMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +EditMessageResponse* EditMessageResponse::default_instance_ = NULL; + +EditMessageResponse* EditMessageResponse::New() const { + return new EditMessageResponse; +} + +void EditMessageResponse::Swap(EditMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EditMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EditMessageResponse_descriptor_; + metadata.reflection = EditMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetMessagePinnedRequest::kAgentIdFieldNumber; +const int SetMessagePinnedRequest::kClubIdFieldNumber; +const int SetMessagePinnedRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +SetMessagePinnedRequest::SetMessagePinnedRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) +} + +void SetMessagePinnedRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetMessagePinnedRequest::SetMessagePinnedRequest(const SetMessagePinnedRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) +} + +void SetMessagePinnedRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetMessagePinnedRequest::~SetMessagePinnedRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetMessagePinnedRequest) + SharedDtor(); +} + +void SetMessagePinnedRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetMessagePinnedRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetMessagePinnedRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetMessagePinnedRequest_descriptor_; +} + +const SetMessagePinnedRequest& SetMessagePinnedRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetMessagePinnedRequest* SetMessagePinnedRequest::default_instance_ = NULL; + +SetMessagePinnedRequest* SetMessagePinnedRequest::New() const { + return new SetMessagePinnedRequest; +} + +void SetMessagePinnedRequest::Swap(SetMessagePinnedRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetMessagePinnedRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetMessagePinnedRequest_descriptor_; + metadata.reflection = SetMessagePinnedRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetTypingIndicatorRequest::kAgentIdFieldNumber; +const int SetTypingIndicatorRequest::kClubIdFieldNumber; +const int SetTypingIndicatorRequest::kStreamIdFieldNumber; +const int SetTypingIndicatorRequest::kIndicatorFieldNumber; +#endif // !_MSC_VER + +SetTypingIndicatorRequest::SetTypingIndicatorRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) + SharedDtor(); +} + +void SetTypingIndicatorRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void SetTypingIndicatorRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetTypingIndicatorRequest_descriptor_; +} + +const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::default_instance_ = NULL; + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::New() const { + return new SetTypingIndicatorRequest; +} + +void SetTypingIndicatorRequest::Swap(SetTypingIndicatorRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetTypingIndicatorRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetTypingIndicatorRequest_descriptor_; + metadata.reflection = SetTypingIndicatorRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceStreamViewTimeRequest::kClubIdFieldNumber; +const int AdvanceStreamViewTimeRequest::kStreamIdDeprecatedFieldNumber; +const int AdvanceStreamViewTimeRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) +} + +void AdvanceStreamViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) +} + +void AdvanceStreamViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_deprecated_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamViewTimeRequest::~AdvanceStreamViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceStreamViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamViewTimeRequest_descriptor_; +} + +const AdvanceStreamViewTimeRequest& AdvanceStreamViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::New() const { + return new AdvanceStreamViewTimeRequest; +} + +void AdvanceStreamViewTimeRequest::Swap(AdvanceStreamViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceStreamMentionViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceStreamMentionViewTimeRequest::kClubIdFieldNumber; +const int AdvanceStreamMentionViewTimeRequest::kStreamIdFieldNumber; +#endif // !_MSC_VER + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) +} + +void AdvanceStreamMentionViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) + SharedDtor(); +} + +void AdvanceStreamMentionViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceStreamMentionViewTimeRequest_descriptor_; +} + +const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; + +AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { + return new AdvanceStreamMentionViewTimeRequest; +} + +void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; + metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceActivityViewTimeRequest::kAgentIdFieldNumber; +const int AdvanceActivityViewTimeRequest::kClubIdFieldNumber; +#endif // !_MSC_VER + +AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) +} + +void AdvanceActivityViewTimeRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) +} + +void AdvanceActivityViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceActivityViewTimeRequest::~AdvanceActivityViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) + SharedDtor(); +} + +void AdvanceActivityViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void AdvanceActivityViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceActivityViewTimeRequest_descriptor_; +} + +const AdvanceActivityViewTimeRequest& AdvanceActivityViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::default_instance_ = NULL; + +AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::New() const { + return new AdvanceActivityViewTimeRequest; +} + +void AdvanceActivityViewTimeRequest::Swap(AdvanceActivityViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceActivityViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceActivityViewTimeRequest_descriptor_; + metadata.reflection = AdvanceActivityViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamHistoryRequest::kAgentIdFieldNumber; +const int GetStreamHistoryRequest::kClubIdFieldNumber; +const int GetStreamHistoryRequest::kStreamIdFieldNumber; +const int GetStreamHistoryRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetStreamHistoryRequest::GetStreamHistoryRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) +} + +void GetStreamHistoryRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetStreamHistoryRequest::GetStreamHistoryRequest(const GetStreamHistoryRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) +} + +void GetStreamHistoryRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamHistoryRequest::~GetStreamHistoryRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryRequest) + SharedDtor(); +} + +void GetStreamHistoryRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void GetStreamHistoryRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamHistoryRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamHistoryRequest_descriptor_; +} + +const GetStreamHistoryRequest& GetStreamHistoryRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamHistoryRequest* GetStreamHistoryRequest::default_instance_ = NULL; + +GetStreamHistoryRequest* GetStreamHistoryRequest::New() const { + return new GetStreamHistoryRequest; +} + +void GetStreamHistoryRequest::Swap(GetStreamHistoryRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamHistoryRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamHistoryRequest_descriptor_; + metadata.reflection = GetStreamHistoryRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamHistoryResponse::kMessageFieldNumber; +const int GetStreamHistoryResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetStreamHistoryResponse::GetStreamHistoryResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) +} + +void GetStreamHistoryResponse::InitAsDefaultInstance() { +} + +GetStreamHistoryResponse::GetStreamHistoryResponse(const GetStreamHistoryResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) +} + +void GetStreamHistoryResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamHistoryResponse::~GetStreamHistoryResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamHistoryResponse) + SharedDtor(); +} + +void GetStreamHistoryResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetStreamHistoryResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamHistoryResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamHistoryResponse_descriptor_; +} + +const GetStreamHistoryResponse& GetStreamHistoryResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamHistoryResponse* GetStreamHistoryResponse::default_instance_ = NULL; + +GetStreamHistoryResponse* GetStreamHistoryResponse::New() const { + return new GetStreamHistoryResponse; +} + +void GetStreamHistoryResponse::Swap(GetStreamHistoryResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamHistoryResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamHistoryResponse_descriptor_; + metadata.reflection = GetStreamHistoryResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMessageRequest::kAgentIdFieldNumber; +const int GetStreamMessageRequest::kClubIdFieldNumber; +const int GetStreamMessageRequest::kStreamIdFieldNumber; +const int GetStreamMessageRequest::kMessageIdFieldNumber; +#endif // !_MSC_VER + +GetStreamMessageRequest::GetStreamMessageRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) +} + +void GetStreamMessageRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +GetStreamMessageRequest::GetStreamMessageRequest(const GetStreamMessageRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) +} + +void GetStreamMessageRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMessageRequest::~GetStreamMessageRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageRequest) + SharedDtor(); +} + +void GetStreamMessageRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete message_id_; + } +} + +void GetStreamMessageRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMessageRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMessageRequest_descriptor_; +} + +const GetStreamMessageRequest& GetStreamMessageRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamMessageRequest* GetStreamMessageRequest::default_instance_ = NULL; + +GetStreamMessageRequest* GetStreamMessageRequest::New() const { + return new GetStreamMessageRequest; +} + +void GetStreamMessageRequest::Swap(GetStreamMessageRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMessageRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMessageRequest_descriptor_; + metadata.reflection = GetStreamMessageRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamMessageResponse::kMessageFieldNumber; +#endif // !_MSC_VER + +GetStreamMessageResponse::GetStreamMessageResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) +} + +void GetStreamMessageResponse::InitAsDefaultInstance() { + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); +} + +GetStreamMessageResponse::GetStreamMessageResponse(const GetStreamMessageResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) +} + +void GetStreamMessageResponse::SharedCtor() { + _cached_size_ = 0; + message_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamMessageResponse::~GetStreamMessageResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamMessageResponse) + SharedDtor(); +} + +void GetStreamMessageResponse::SharedDtor() { + if (this != default_instance_) { + delete message_; + } +} + +void GetStreamMessageResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamMessageResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamMessageResponse_descriptor_; +} + +const GetStreamMessageResponse& GetStreamMessageResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamMessageResponse* GetStreamMessageResponse::default_instance_ = NULL; + +GetStreamMessageResponse* GetStreamMessageResponse::New() const { + return new GetStreamMessageResponse; +} + +void GetStreamMessageResponse::Swap(GetStreamMessageResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamMessageResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamMessageResponse_descriptor_; + metadata.reflection = GetStreamMessageResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubActivityRequest::kAgentIdFieldNumber; +const int GetClubActivityRequest::kClubIdFieldNumber; +const int GetClubActivityRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +GetClubActivityRequest::GetClubActivityRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) +} + +void GetClubActivityRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetClubActivityRequest::GetClubActivityRequest(const GetClubActivityRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityRequest) +} + +void GetClubActivityRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubActivityRequest::~GetClubActivityRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityRequest) + SharedDtor(); +} + +void GetClubActivityRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete options_; + } +} + +void GetClubActivityRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubActivityRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubActivityRequest_descriptor_; +} + +const GetClubActivityRequest& GetClubActivityRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubActivityRequest* GetClubActivityRequest::default_instance_ = NULL; + +GetClubActivityRequest* GetClubActivityRequest::New() const { + return new GetClubActivityRequest; +} + +void GetClubActivityRequest::Swap(GetClubActivityRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubActivityRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubActivityRequest_descriptor_; + metadata.reflection = GetClubActivityRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetClubActivityResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetClubActivityResponse::GetClubActivityResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) +} + +void GetClubActivityResponse::InitAsDefaultInstance() { +} + +GetClubActivityResponse::GetClubActivityResponse(const GetClubActivityResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetClubActivityResponse) +} + +void GetClubActivityResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetClubActivityResponse::~GetClubActivityResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetClubActivityResponse) + SharedDtor(); +} + +void GetClubActivityResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetClubActivityResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetClubActivityResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetClubActivityResponse_descriptor_; +} + +const GetClubActivityResponse& GetClubActivityResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetClubActivityResponse* GetClubActivityResponse::default_instance_ = NULL; + +GetClubActivityResponse* GetClubActivityResponse::New() const { + return new GetClubActivityResponse; +} + +void GetClubActivityResponse::Swap(GetClubActivityResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetClubActivityResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetClubActivityResponse_descriptor_; + metadata.reflection = GetClubActivityResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamVoiceTokenRequest::kAgentIdFieldNumber; +const int GetStreamVoiceTokenRequest::kClubIdFieldNumber; +const int GetStreamVoiceTokenRequest::kStreamIdFieldNumber; +const int GetStreamVoiceTokenRequest::kVersionFieldNumber; +#endif // !_MSC_VER + +GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) +} + +void GetStreamVoiceTokenRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) +} + +void GetStreamVoiceTokenRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + version_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamVoiceTokenRequest::~GetStreamVoiceTokenRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) + SharedDtor(); +} + +void GetStreamVoiceTokenRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + } +} + +void GetStreamVoiceTokenRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamVoiceTokenRequest_descriptor_; +} + +const GetStreamVoiceTokenRequest& GetStreamVoiceTokenRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::default_instance_ = NULL; + +GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::New() const { + return new GetStreamVoiceTokenRequest; +} + +void GetStreamVoiceTokenRequest::Swap(GetStreamVoiceTokenRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamVoiceTokenRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamVoiceTokenRequest_descriptor_; + metadata.reflection = GetStreamVoiceTokenRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetStreamVoiceTokenResponse::kChannelUriFieldNumber; +const int GetStreamVoiceTokenResponse::kCredentialsFieldNumber; +#endif // !_MSC_VER + +GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) +} + +void GetStreamVoiceTokenResponse::InitAsDefaultInstance() { + credentials_ = const_cast< ::bgs::protocol::voice::v1::VoiceCredentials*>(&::bgs::protocol::voice::v1::VoiceCredentials::default_instance()); +} + +GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) +} + +void GetStreamVoiceTokenResponse::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + credentials_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetStreamVoiceTokenResponse::~GetStreamVoiceTokenResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) + SharedDtor(); +} + +void GetStreamVoiceTokenResponse::SharedDtor() { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_uri_; + } + if (this != default_instance_) { + delete credentials_; + } +} + +void GetStreamVoiceTokenResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetStreamVoiceTokenResponse_descriptor_; +} + +const GetStreamVoiceTokenResponse& GetStreamVoiceTokenResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::default_instance_ = NULL; + +GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::New() const { + return new GetStreamVoiceTokenResponse; +} + +void GetStreamVoiceTokenResponse::Swap(GetStreamVoiceTokenResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetStreamVoiceTokenResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetStreamVoiceTokenResponse_descriptor_; + metadata.reflection = GetStreamVoiceTokenResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int KickFromStreamVoiceRequest::kAgentIdFieldNumber; +const int KickFromStreamVoiceRequest::kClubIdFieldNumber; +const int KickFromStreamVoiceRequest::kStreamIdFieldNumber; +const int KickFromStreamVoiceRequest::kTargetIdFieldNumber; +#endif // !_MSC_VER + +KickFromStreamVoiceRequest::KickFromStreamVoiceRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) +} + +void KickFromStreamVoiceRequest::InitAsDefaultInstance() { + agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +KickFromStreamVoiceRequest::KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) +} + +void KickFromStreamVoiceRequest::SharedCtor() { + _cached_size_ = 0; + agent_id_ = NULL; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + target_id_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +KickFromStreamVoiceRequest::~KickFromStreamVoiceRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) + SharedDtor(); +} + +void KickFromStreamVoiceRequest::SharedDtor() { + if (this != default_instance_) { + delete agent_id_; + delete target_id_; + } +} + +void KickFromStreamVoiceRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return KickFromStreamVoiceRequest_descriptor_; +} + +const KickFromStreamVoiceRequest& KickFromStreamVoiceRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + return *default_instance_; +} + +KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::default_instance_ = NULL; + +KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::New() const { + return new KickFromStreamVoiceRequest; +} + +void KickFromStreamVoiceRequest::Swap(KickFromStreamVoiceRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata KickFromStreamVoiceRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = KickFromStreamVoiceRequest_descriptor_; + metadata.reflection = KickFromStreamVoiceRequest_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_request.pb.h b/src/server/proto/Client/api/client/v1/club_request.pb.h new file mode 100644 index 00000000000..7d0ffc51d58 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_request.pb.h @@ -0,0 +1,14863 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_request.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_types.pb.h" // IWYU pragma: export +#include "api/common/v1/club_tag.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + +class SubscribeRequest; +class UnsubscribeRequest; +class CreateRequest; +class CreateResponse; +class DestroyRequest; +class GetDescriptionRequest; +class GetDescriptionResponse; +class GetClubTypeRequest; +class GetClubTypeResponse; +class UpdateClubStateRequest; +class UpdateClubSettingsRequest; +class AddMemberRequest; +class JoinRequest; +class LeaveRequest; +class KickRequest; +class GetMemberRequest; +class GetMemberResponse; +class GetMembersRequest; +class GetMembersResponse; +class UpdateMemberStateRequest; +class UpdateSubscriberStateRequest; +class AssignRoleRequest; +class UnassignRoleRequest; +class SendInvitationRequest; +class AcceptInvitationRequest; +class DeclineInvitationRequest; +class RevokeInvitationRequest; +class GetInvitationRequest; +class GetInvitationResponse; +class GetInvitationsRequest; +class GetInvitationsResponse; +class SendSuggestionRequest; +class AcceptSuggestionRequest; +class DeclineSuggestionRequest; +class GetSuggestionRequest; +class GetSuggestionResponse; +class GetSuggestionsRequest; +class GetSuggestionsResponse; +class CreateTicketRequest; +class CreateTicketResponse; +class DestroyTicketRequest; +class RedeemTicketRequest; +class GetTicketRequest; +class GetTicketResponse; +class GetTicketsRequest; +class GetTicketsResponse; +class AddBanRequest; +class RemoveBanRequest; +class GetBanRequest; +class GetBanResponse; +class GetBansRequest; +class GetBansResponse; +class SubscribeStreamRequest; +class UnsubscribeStreamRequest; +class CreateStreamRequest; +class CreateStreamResponse; +class DestroyStreamRequest; +class GetStreamRequest; +class GetStreamResponse; +class GetStreamsRequest; +class GetStreamsResponse; +class UpdateStreamStateRequest; +class SetStreamFocusRequest; +class CreateMessageRequest; +class CreateMessageResponse; +class DestroyMessageRequest; +class DestroyMessageResponse; +class EditMessageRequest; +class EditMessageResponse; +class SetMessagePinnedRequest; +class SetTypingIndicatorRequest; +class AdvanceStreamViewTimeRequest; +class AdvanceStreamMentionViewTimeRequest; +class AdvanceActivityViewTimeRequest; +class GetStreamHistoryRequest; +class GetStreamHistoryResponse; +class GetStreamMessageRequest; +class GetStreamMessageResponse; +class GetClubActivityRequest; +class GetClubActivityResponse; +class GetStreamVoiceTokenRequest; +class GetStreamVoiceTokenResponse; +class KickFromStreamVoiceRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateRequest : public ::google::protobuf::Message { + public: + CreateRequest(); + virtual ~CreateRequest(); + + CreateRequest(const CreateRequest& from); + + inline CreateRequest& operator=(const CreateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateRequest& default_instance(); + + void Swap(CreateRequest* other); + + // implements Message ---------------------------------------------- + + CreateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.client.ClubCreateOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubCreateOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubCreateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubCreateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubCreateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::client::ClubCreateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateResponse : public ::google::protobuf::Message { + public: + CreateResponse(); + virtual ~CreateResponse(); + + CreateResponse(const CreateResponse& from); + + inline CreateResponse& operator=(const CreateResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateResponse& default_instance(); + + void Swap(CreateResponse* other); + + // implements Message ---------------------------------------------- + + CreateResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateResponse) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyRequest : public ::google::protobuf::Message { + public: + DestroyRequest(); + virtual ~DestroyRequest(); + + DestroyRequest(const DestroyRequest& from); + + inline DestroyRequest& operator=(const DestroyRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyRequest& default_instance(); + + void Swap(DestroyRequest* other); + + // implements Message ---------------------------------------------- + + DestroyRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetDescriptionRequest : public ::google::protobuf::Message { + public: + GetDescriptionRequest(); + virtual ~GetDescriptionRequest(); + + GetDescriptionRequest(const GetDescriptionRequest& from); + + inline GetDescriptionRequest& operator=(const GetDescriptionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetDescriptionRequest& default_instance(); + + void Swap(GetDescriptionRequest* other); + + // implements Message ---------------------------------------------- + + GetDescriptionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetDescriptionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetDescriptionResponse : public ::google::protobuf::Message { + public: + GetDescriptionResponse(); + virtual ~GetDescriptionResponse(); + + GetDescriptionResponse(const GetDescriptionResponse& from); + + inline GetDescriptionResponse& operator=(const GetDescriptionResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetDescriptionResponse& default_instance(); + + void Swap(GetDescriptionResponse* other); + + // implements Message ---------------------------------------------- + + GetDescriptionResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.ClubDescription club = 1; + inline bool has_club() const; + inline void clear_club(); + static const int kClubFieldNumber = 1; + inline const ::bgs::protocol::club::v1::ClubDescription& club() const; + inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); + inline ::bgs::protocol::club::v1::ClubDescription* release_club(); + inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetDescriptionResponse) + private: + inline void set_has_club(); + inline void clear_has_club(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::ClubDescription* club_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetDescriptionResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubTypeRequest : public ::google::protobuf::Message { + public: + GetClubTypeRequest(); + virtual ~GetClubTypeRequest(); + + GetClubTypeRequest(const GetClubTypeRequest& from); + + inline GetClubTypeRequest& operator=(const GetClubTypeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubTypeRequest& default_instance(); + + void Swap(GetClubTypeRequest* other); + + // implements Message ---------------------------------------------- + + GetClubTypeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubTypeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { + public: + GetClubTypeResponse(); + virtual ~GetClubTypeResponse(); + + GetClubTypeResponse(const GetClubTypeResponse& from); + + inline GetClubTypeResponse& operator=(const GetClubTypeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubTypeResponse& default_instance(); + + void Swap(GetClubTypeResponse* other); + + // implements Message ---------------------------------------------- + + GetClubTypeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.UniqueClubType type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 2; + inline bool has_role_set() const; + inline void clear_role_set(); + static const int kRoleSetFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::ClubRoleSet& role_set() const; + inline ::bgs::protocol::club::v1::client::ClubRoleSet* mutable_role_set(); + inline ::bgs::protocol::club::v1::client::ClubRoleSet* release_role_set(); + inline void set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set); + + // optional .bgs.protocol.club.v1.client.ClubTypeRangeSet range_set = 3; + inline bool has_range_set() const; + inline void clear_range_set(); + static const int kRangeSetFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubTypeRangeSet& range_set() const; + inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* mutable_range_set(); + inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* release_range_set(); + inline void set_allocated_range_set(::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set); + + // repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; + inline int platform_tag_set_size() const; + inline void clear_platform_tag_set(); + static const int kPlatformTagSetFieldNumber = 4; + inline const ::bgs::protocol::club::v1::LocalizedTag& platform_tag_set(int index) const; + inline ::bgs::protocol::club::v1::LocalizedTag* mutable_platform_tag_set(int index); + inline ::bgs::protocol::club::v1::LocalizedTag* add_platform_tag_set(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& + platform_tag_set() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* + mutable_platform_tag_set(); + + // repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; + inline int custom_tag_set_size() const; + inline void clear_custom_tag_set(); + static const int kCustomTagSetFieldNumber = 5; + inline const ::bgs::protocol::club::v1::LocalizedTag& custom_tag_set(int index) const; + inline ::bgs::protocol::club::v1::LocalizedTag* mutable_custom_tag_set(int index); + inline ::bgs::protocol::club::v1::LocalizedTag* add_custom_tag_set(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& + custom_tag_set() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* + mutable_custom_tag_set(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubTypeResponse) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_role_set(); + inline void clear_has_role_set(); + inline void set_has_range_set(); + inline void clear_has_range_set(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::bgs::protocol::club::v1::client::ClubRoleSet* role_set_; + ::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > platform_tag_set_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > custom_tag_set_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubTypeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubStateRequest : public ::google::protobuf::Message { + public: + UpdateClubStateRequest(); + virtual ~UpdateClubStateRequest(); + + UpdateClubStateRequest(const UpdateClubStateRequest& from); + + inline UpdateClubStateRequest& operator=(const UpdateClubStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubStateRequest& default_instance(); + + void Swap(UpdateClubStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubStateOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateClubSettingsRequest : public ::google::protobuf::Message { + public: + UpdateClubSettingsRequest(); + virtual ~UpdateClubSettingsRequest(); + + UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from); + + inline UpdateClubSettingsRequest& operator=(const UpdateClubSettingsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateClubSettingsRequest& default_instance(); + + void Swap(UpdateClubSettingsRequest* other); + + // implements Message ---------------------------------------------- + + UpdateClubSettingsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.ClubSettingsOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubSettingsOptions& options() const; + inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::ClubSettingsOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateClubSettingsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::ClubSettingsOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateClubSettingsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AddMemberRequest : public ::google::protobuf::Message { + public: + AddMemberRequest(); + virtual ~AddMemberRequest(); + + AddMemberRequest(const AddMemberRequest& from); + + inline AddMemberRequest& operator=(const AddMemberRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddMemberRequest& default_instance(); + + void Swap(AddMemberRequest* other); + + // implements Message ---------------------------------------------- + + AddMemberRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddMemberRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AddMemberRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API JoinRequest : public ::google::protobuf::Message { + public: + JoinRequest(); + virtual ~JoinRequest(); + + JoinRequest(const JoinRequest& from); + + inline JoinRequest& operator=(const JoinRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const JoinRequest& default_instance(); + + void Swap(JoinRequest* other); + + // implements Message ---------------------------------------------- + + JoinRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.JoinRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateMemberOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static JoinRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API LeaveRequest : public ::google::protobuf::Message { + public: + LeaveRequest(); + virtual ~LeaveRequest(); + + LeaveRequest(const LeaveRequest& from); + + inline LeaveRequest& operator=(const LeaveRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const LeaveRequest& default_instance(); + + void Swap(LeaveRequest* other); + + // implements Message ---------------------------------------------- + + LeaveRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.LeaveRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static LeaveRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API KickRequest : public ::google::protobuf::Message { + public: + KickRequest(); + virtual ~KickRequest(); + + KickRequest(const KickRequest& from); + + inline KickRequest& operator=(const KickRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const KickRequest& default_instance(); + + void Swap(KickRequest* other); + + // implements Message ---------------------------------------------- + + KickRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static KickRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMemberRequest : public ::google::protobuf::Message { + public: + GetMemberRequest(); + virtual ~GetMemberRequest(); + + GetMemberRequest(const GetMemberRequest& from); + + inline GetMemberRequest& operator=(const GetMemberRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMemberRequest& default_instance(); + + void Swap(GetMemberRequest* other); + + // implements Message ---------------------------------------------- + + GetMemberRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMemberRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMemberResponse : public ::google::protobuf::Message { + public: + GetMemberResponse(); + virtual ~GetMemberResponse(); + + GetMemberResponse(const GetMemberResponse& from); + + inline GetMemberResponse& operator=(const GetMemberResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMemberResponse& default_instance(); + + void Swap(GetMemberResponse* other); + + // implements Message ---------------------------------------------- + + GetMemberResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.Member member = 1; + inline bool has_member() const; + inline void clear_member(); + static const int kMemberFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Member& member() const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(); + inline ::bgs::protocol::club::v1::client::Member* release_member(); + inline void set_allocated_member(::bgs::protocol::club::v1::client::Member* member); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMemberResponse) + private: + inline void set_has_member(); + inline void clear_has_member(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::Member* member_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMemberResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMembersRequest : public ::google::protobuf::Message { + public: + GetMembersRequest(); + virtual ~GetMembersRequest(); + + GetMembersRequest(const GetMembersRequest& from); + + inline GetMembersRequest& operator=(const GetMembersRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMembersRequest& default_instance(); + + void Swap(GetMembersRequest* other); + + // implements Message ---------------------------------------------- + + GetMembersRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 4; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 4; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMembersRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { + public: + GetMembersResponse(); + virtual ~GetMembersResponse(); + + GetMembersResponse(const GetMembersResponse& from); + + inline GetMembersResponse& operator=(const GetMembersResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetMembersResponse& default_instance(); + + void Swap(GetMembersResponse* other); + + // implements Message ---------------------------------------------- + + GetMembersResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.Member member = 1; + inline int member_size() const; + inline void clear_member(); + static const int kMemberFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Member& member(int index) const; + inline ::bgs::protocol::club::v1::client::Member* mutable_member(int index); + inline ::bgs::protocol::club::v1::client::Member* add_member(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& + member() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* + mutable_member(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetMembersResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member > member_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetMembersResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateMemberStateRequest : public ::google::protobuf::Message { + public: + UpdateMemberStateRequest(); + virtual ~UpdateMemberStateRequest(); + + UpdateMemberStateRequest(const UpdateMemberStateRequest& from); + + inline UpdateMemberStateRequest& operator=(const UpdateMemberStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateMemberStateRequest& default_instance(); + + void Swap(UpdateMemberStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateMemberStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId member_id = 3; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.client.MemberStateOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::MemberStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::MemberStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::MemberStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::MemberStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateMemberStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::MemberStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateMemberStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateSubscriberStateRequest : public ::google::protobuf::Message { + public: + UpdateSubscriberStateRequest(); + virtual ~UpdateSubscriberStateRequest(); + + UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from); + + inline UpdateSubscriberStateRequest& operator=(const UpdateSubscriberStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateSubscriberStateRequest& default_instance(); + + void Swap(UpdateSubscriberStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateSubscriberStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SubscriberStateOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SubscriberStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SubscriberStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SubscriberStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateSubscriberStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AssignRoleRequest : public ::google::protobuf::Message { + public: + AssignRoleRequest(); + virtual ~AssignRoleRequest(); + + AssignRoleRequest(const AssignRoleRequest& from); + + inline AssignRoleRequest& operator=(const AssignRoleRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AssignRoleRequest& default_instance(); + + void Swap(AssignRoleRequest* other); + + // implements Message ---------------------------------------------- + + AssignRoleRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.RoleOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::RoleOptions& options() const; + inline ::bgs::protocol::club::v1::client::RoleOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::RoleOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AssignRoleRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::RoleOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AssignRoleRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnassignRoleRequest : public ::google::protobuf::Message { + public: + UnassignRoleRequest(); + virtual ~UnassignRoleRequest(); + + UnassignRoleRequest(const UnassignRoleRequest& from); + + inline UnassignRoleRequest& operator=(const UnassignRoleRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnassignRoleRequest& default_instance(); + + void Swap(UnassignRoleRequest* other); + + // implements Message ---------------------------------------------- + + UnassignRoleRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.RoleOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::RoleOptions& options() const; + inline ::bgs::protocol::club::v1::client::RoleOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::RoleOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnassignRoleRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::RoleOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnassignRoleRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendInvitationRequest : public ::google::protobuf::Message { + public: + SendInvitationRequest(); + virtual ~SendInvitationRequest(); + + SendInvitationRequest(const SendInvitationRequest& from); + + inline SendInvitationRequest& operator=(const SendInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendInvitationRequest& default_instance(); + + void Swap(SendInvitationRequest* other); + + // implements Message ---------------------------------------------- + + SendInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SendInvitationOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SendInvitationOptions& options() const; + inline ::bgs::protocol::club::v1::client::SendInvitationOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SendInvitationOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SendInvitationOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SendInvitationOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SendInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AcceptInvitationRequest : public ::google::protobuf::Message { + public: + AcceptInvitationRequest(); + virtual ~AcceptInvitationRequest(); + + AcceptInvitationRequest(const AcceptInvitationRequest& from); + + inline AcceptInvitationRequest& operator=(const AcceptInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AcceptInvitationRequest& default_instance(); + + void Swap(AcceptInvitationRequest* other); + + // implements Message ---------------------------------------------- + + AcceptInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AcceptInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DeclineInvitationRequest : public ::google::protobuf::Message { + public: + DeclineInvitationRequest(); + virtual ~DeclineInvitationRequest(); + + DeclineInvitationRequest(const DeclineInvitationRequest& from); + + inline DeclineInvitationRequest& operator=(const DeclineInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DeclineInvitationRequest& default_instance(); + + void Swap(DeclineInvitationRequest* other); + + // implements Message ---------------------------------------------- + + DeclineInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DeclineInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RevokeInvitationRequest : public ::google::protobuf::Message { + public: + RevokeInvitationRequest(); + virtual ~RevokeInvitationRequest(); + + RevokeInvitationRequest(const RevokeInvitationRequest& from); + + inline RevokeInvitationRequest& operator=(const RevokeInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RevokeInvitationRequest& default_instance(); + + void Swap(RevokeInvitationRequest* other); + + // implements Message ---------------------------------------------- + + RevokeInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RevokeInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RevokeInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationRequest : public ::google::protobuf::Message { + public: + GetInvitationRequest(); + virtual ~GetInvitationRequest(); + + GetInvitationRequest(const GetInvitationRequest& from); + + inline GetInvitationRequest& operator=(const GetInvitationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationRequest& default_instance(); + + void Swap(GetInvitationRequest* other); + + // implements Message ---------------------------------------------- + + GetInvitationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 invitation_id = 3; + inline bool has_invitation_id() const; + inline void clear_invitation_id(); + static const int kInvitationIdFieldNumber = 3; + inline ::google::protobuf::uint64 invitation_id() const; + inline void set_invitation_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_invitation_id(); + inline void clear_has_invitation_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 invitation_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationResponse : public ::google::protobuf::Message { + public: + GetInvitationResponse(); + virtual ~GetInvitationResponse(); + + GetInvitationResponse(const GetInvitationResponse& from); + + inline GetInvitationResponse& operator=(const GetInvitationResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationResponse& default_instance(); + + void Swap(GetInvitationResponse* other); + + // implements Message ---------------------------------------------- + + GetInvitationResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; + inline bool has_invitation() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation() const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(); + inline ::bgs::protocol::club::v1::client::ClubInvitation* release_invitation(); + inline void set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationResponse) + private: + inline void set_has_invitation(); + inline void clear_has_invitation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubInvitation* invitation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationsRequest : public ::google::protobuf::Message { + public: + GetInvitationsRequest(); + virtual ~GetInvitationsRequest(); + + GetInvitationsRequest(const GetInvitationsRequest& from); + + inline GetInvitationsRequest& operator=(const GetInvitationsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationsRequest& default_instance(); + + void Swap(GetInvitationsRequest* other); + + // implements Message ---------------------------------------------- + + GetInvitationsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { + public: + GetInvitationsResponse(); + virtual ~GetInvitationsResponse(); + + GetInvitationsResponse(const GetInvitationsResponse& from); + + inline GetInvitationsResponse& operator=(const GetInvitationsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetInvitationsResponse& default_instance(); + + void Swap(GetInvitationsResponse* other); + + // implements Message ---------------------------------------------- + + GetInvitationsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; + inline int invitation_size() const; + inline void clear_invitation(); + static const int kInvitationFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubInvitation& invitation(int index) const; + inline ::bgs::protocol::club::v1::client::ClubInvitation* mutable_invitation(int index); + inline ::bgs::protocol::club::v1::client::ClubInvitation* add_invitation(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& + invitation() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* + mutable_invitation(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetInvitationsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation > invitation_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetInvitationsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendSuggestionRequest : public ::google::protobuf::Message { + public: + SendSuggestionRequest(); + virtual ~SendSuggestionRequest(); + + SendSuggestionRequest(const SendSuggestionRequest& from); + + inline SendSuggestionRequest& operator=(const SendSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendSuggestionRequest& default_instance(); + + void Swap(SendSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + SendSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.SendSuggestionOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::SendSuggestionOptions& options() const; + inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::SendSuggestionOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SendSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::SendSuggestionOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SendSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AcceptSuggestionRequest : public ::google::protobuf::Message { + public: + AcceptSuggestionRequest(); + virtual ~AcceptSuggestionRequest(); + + AcceptSuggestionRequest(const AcceptSuggestionRequest& from); + + inline AcceptSuggestionRequest& operator=(const AcceptSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AcceptSuggestionRequest& default_instance(); + + void Swap(AcceptSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + AcceptSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AcceptSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AcceptSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DeclineSuggestionRequest : public ::google::protobuf::Message { + public: + DeclineSuggestionRequest(); + virtual ~DeclineSuggestionRequest(); + + DeclineSuggestionRequest(const DeclineSuggestionRequest& from); + + inline DeclineSuggestionRequest& operator=(const DeclineSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DeclineSuggestionRequest& default_instance(); + + void Swap(DeclineSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + DeclineSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DeclineSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DeclineSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionRequest : public ::google::protobuf::Message { + public: + GetSuggestionRequest(); + virtual ~GetSuggestionRequest(); + + GetSuggestionRequest(const GetSuggestionRequest& from); + + inline GetSuggestionRequest& operator=(const GetSuggestionRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionRequest& default_instance(); + + void Swap(GetSuggestionRequest* other); + + // implements Message ---------------------------------------------- + + GetSuggestionRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional fixed64 suggestion_id = 3; + inline bool has_suggestion_id() const; + inline void clear_suggestion_id(); + static const int kSuggestionIdFieldNumber = 3; + inline ::google::protobuf::uint64 suggestion_id() const; + inline void set_suggestion_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_suggestion_id(); + inline void clear_has_suggestion_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 suggestion_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionResponse : public ::google::protobuf::Message { + public: + GetSuggestionResponse(); + virtual ~GetSuggestionResponse(); + + GetSuggestionResponse(const GetSuggestionResponse& from); + + inline GetSuggestionResponse& operator=(const GetSuggestionResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionResponse& default_instance(); + + void Swap(GetSuggestionResponse* other); + + // implements Message ---------------------------------------------- + + GetSuggestionResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; + inline bool has_suggestion() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion() const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* release_suggestion(); + inline void set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionResponse) + private: + inline void set_has_suggestion(); + inline void clear_has_suggestion(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubSuggestion* suggestion_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionsRequest : public ::google::protobuf::Message { + public: + GetSuggestionsRequest(); + virtual ~GetSuggestionsRequest(); + + GetSuggestionsRequest(const GetSuggestionsRequest& from); + + inline GetSuggestionsRequest& operator=(const GetSuggestionsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionsRequest& default_instance(); + + void Swap(GetSuggestionsRequest* other); + + // implements Message ---------------------------------------------- + + GetSuggestionsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { + public: + GetSuggestionsResponse(); + virtual ~GetSuggestionsResponse(); + + GetSuggestionsResponse(const GetSuggestionsResponse& from); + + inline GetSuggestionsResponse& operator=(const GetSuggestionsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetSuggestionsResponse& default_instance(); + + void Swap(GetSuggestionsResponse* other); + + // implements Message ---------------------------------------------- + + GetSuggestionsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; + inline int suggestion_size() const; + inline void clear_suggestion(); + static const int kSuggestionFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubSuggestion& suggestion(int index) const; + inline ::bgs::protocol::club::v1::client::ClubSuggestion* mutable_suggestion(int index); + inline ::bgs::protocol::club::v1::client::ClubSuggestion* add_suggestion(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >& + suggestion() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* + mutable_suggestion(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetSuggestionsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion > suggestion_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetSuggestionsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketRequest : public ::google::protobuf::Message { + public: + CreateTicketRequest(); + virtual ~CreateTicketRequest(); + + CreateTicketRequest(const CreateTicketRequest& from); + + inline CreateTicketRequest& operator=(const CreateTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketRequest& default_instance(); + + void Swap(CreateTicketRequest* other); + + // implements Message ---------------------------------------------- + + CreateTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateTicketOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateTicketOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateTicketOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateTicketOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateTicketOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateTicketOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateTicketResponse : public ::google::protobuf::Message { + public: + CreateTicketResponse(); + virtual ~CreateTicketResponse(); + + CreateTicketResponse(const CreateTicketResponse& from); + + inline CreateTicketResponse& operator=(const CreateTicketResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateTicketResponse& default_instance(); + + void Swap(CreateTicketResponse* other); + + // implements Message ---------------------------------------------- + + CreateTicketResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicket* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateTicketResponse) + private: + inline void set_has_ticket(); + inline void clear_has_ticket(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubTicket* ticket_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateTicketResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyTicketRequest : public ::google::protobuf::Message { + public: + DestroyTicketRequest(); + virtual ~DestroyTicketRequest(); + + DestroyTicketRequest(const DestroyTicketRequest& from); + + inline DestroyTicketRequest& operator=(const DestroyTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyTicketRequest& default_instance(); + + void Swap(DestroyTicketRequest* other); + + // implements Message ---------------------------------------------- + + DestroyTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RedeemTicketRequest : public ::google::protobuf::Message { + public: + RedeemTicketRequest(); + virtual ~RedeemTicketRequest(); + + RedeemTicketRequest(const RedeemTicketRequest& from); + + inline RedeemTicketRequest& operator=(const RedeemTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RedeemTicketRequest& default_instance(); + + void Swap(RedeemTicketRequest* other); + + // implements Message ---------------------------------------------- + + RedeemTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RedeemTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RedeemTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketRequest : public ::google::protobuf::Message { + public: + GetTicketRequest(); + virtual ~GetTicketRequest(); + + GetTicketRequest(const GetTicketRequest& from); + + inline GetTicketRequest& operator=(const GetTicketRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketRequest& default_instance(); + + void Swap(GetTicketRequest* other); + + // implements Message ---------------------------------------------- + + GetTicketRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional string ticket_id = 3; + inline bool has_ticket_id() const; + inline void clear_ticket_id(); + static const int kTicketIdFieldNumber = 3; + inline const ::std::string& ticket_id() const; + inline void set_ticket_id(const ::std::string& value); + inline void set_ticket_id(const char* value); + inline void set_ticket_id(const char* value, size_t size); + inline ::std::string* mutable_ticket_id(); + inline ::std::string* release_ticket_id(); + inline void set_allocated_ticket_id(::std::string* ticket_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_ticket_id(); + inline void clear_has_ticket_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::std::string* ticket_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketResponse : public ::google::protobuf::Message { + public: + GetTicketResponse(); + virtual ~GetTicketResponse(); + + GetTicketResponse(const GetTicketResponse& from); + + inline GetTicketResponse& operator=(const GetTicketResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketResponse& default_instance(); + + void Swap(GetTicketResponse* other); + + // implements Message ---------------------------------------------- + + GetTicketResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline bool has_ticket() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket() const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(); + inline ::bgs::protocol::club::v1::client::ClubTicket* release_ticket(); + inline void set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketResponse) + private: + inline void set_has_ticket(); + inline void clear_has_ticket(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubTicket* ticket_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketsRequest : public ::google::protobuf::Message { + public: + GetTicketsRequest(); + virtual ~GetTicketsRequest(); + + GetTicketsRequest(const GetTicketsRequest& from); + + inline GetTicketsRequest& operator=(const GetTicketsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketsRequest& default_instance(); + + void Swap(GetTicketsRequest* other); + + // implements Message ---------------------------------------------- + + GetTicketsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { + public: + GetTicketsResponse(); + virtual ~GetTicketsResponse(); + + GetTicketsResponse(const GetTicketsResponse& from); + + inline GetTicketsResponse& operator=(const GetTicketsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetTicketsResponse& default_instance(); + + void Swap(GetTicketsResponse* other); + + // implements Message ---------------------------------------------- + + GetTicketsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubTicket ticket = 1; + inline int ticket_size() const; + inline void clear_ticket(); + static const int kTicketFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubTicket& ticket(int index) const; + inline ::bgs::protocol::club::v1::client::ClubTicket* mutable_ticket(int index); + inline ::bgs::protocol::club::v1::client::ClubTicket* add_ticket(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >& + ticket() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* + mutable_ticket(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetTicketsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket > ticket_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetTicketsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AddBanRequest : public ::google::protobuf::Message { + public: + AddBanRequest(); + virtual ~AddBanRequest(); + + AddBanRequest(const AddBanRequest& from); + + inline AddBanRequest& operator=(const AddBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AddBanRequest& default_instance(); + + void Swap(AddBanRequest* other); + + // implements Message ---------------------------------------------- + + AddBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.AddBanOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::AddBanOptions& options() const; + inline ::bgs::protocol::club::v1::client::AddBanOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::AddBanOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::AddBanOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AddBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::AddBanOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AddBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API RemoveBanRequest : public ::google::protobuf::Message { + public: + RemoveBanRequest(); + virtual ~RemoveBanRequest(); + + RemoveBanRequest(const RemoveBanRequest& from); + + inline RemoveBanRequest& operator=(const RemoveBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const RemoveBanRequest& default_instance(); + + void Swap(RemoveBanRequest* other); + + // implements Message ---------------------------------------------- + + RemoveBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.RemoveBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static RemoveBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBanRequest : public ::google::protobuf::Message { + public: + GetBanRequest(); + virtual ~GetBanRequest(); + + GetBanRequest(const GetBanRequest& from); + + inline GetBanRequest& operator=(const GetBanRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBanRequest& default_instance(); + + void Swap(GetBanRequest* other); + + // implements Message ---------------------------------------------- + + GetBanRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 3; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBanRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBanResponse : public ::google::protobuf::Message { + public: + GetBanResponse(); + virtual ~GetBanResponse(); + + GetBanResponse(const GetBanResponse& from); + + inline GetBanResponse& operator=(const GetBanResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBanResponse& default_instance(); + + void Swap(GetBanResponse* other); + + // implements Message ---------------------------------------------- + + GetBanResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.ClubBan ban = 1; + inline bool has_ban() const; + inline void clear_ban(); + static const int kBanFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubBan& ban() const; + inline ::bgs::protocol::club::v1::client::ClubBan* mutable_ban(); + inline ::bgs::protocol::club::v1::client::ClubBan* release_ban(); + inline void set_allocated_ban(::bgs::protocol::club::v1::client::ClubBan* ban); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBanResponse) + private: + inline void set_has_ban(); + inline void clear_has_ban(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::ClubBan* ban_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBanResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBansRequest : public ::google::protobuf::Message { + public: + GetBansRequest(); + virtual ~GetBansRequest(); + + GetBansRequest(const GetBansRequest& from); + + inline GetBansRequest& operator=(const GetBansRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBansRequest& default_instance(); + + void Swap(GetBansRequest* other); + + // implements Message ---------------------------------------------- + + GetBansRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBansRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { + public: + GetBansResponse(); + virtual ~GetBansResponse(); + + GetBansResponse(const GetBansResponse& from); + + inline GetBansResponse& operator=(const GetBansResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetBansResponse& default_instance(); + + void Swap(GetBansResponse* other); + + // implements Message ---------------------------------------------- + + GetBansResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubBan ban = 1; + inline int ban_size() const; + inline void clear_ban(); + static const int kBanFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubBan& ban(int index) const; + inline ::bgs::protocol::club::v1::client::ClubBan* mutable_ban(int index); + inline ::bgs::protocol::club::v1::client::ClubBan* add_ban(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >& + ban() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* + mutable_ban(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetBansResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan > ban_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetBansResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeStreamRequest : public ::google::protobuf::Message { + public: + SubscribeStreamRequest(); + virtual ~SubscribeStreamRequest(); + + SubscribeStreamRequest(const SubscribeStreamRequest& from); + + inline SubscribeStreamRequest& operator=(const SubscribeStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeStreamRequest& default_instance(); + + void Swap(SubscribeStreamRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated uint64 stream_id = 3; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SubscribeStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeStreamRequest : public ::google::protobuf::Message { + public: + UnsubscribeStreamRequest(); + virtual ~UnsubscribeStreamRequest(); + + UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from); + + inline UnsubscribeStreamRequest& operator=(const UnsubscribeStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeStreamRequest& default_instance(); + + void Swap(UnsubscribeStreamRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // repeated uint64 stream_id = 3; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UnsubscribeStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamRequest : public ::google::protobuf::Message { + public: + CreateStreamRequest(); + virtual ~CreateStreamRequest(); + + CreateStreamRequest(const CreateStreamRequest& from); + + inline CreateStreamRequest& operator=(const CreateStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamRequest& default_instance(); + + void Swap(CreateStreamRequest* other); + + // implements Message ---------------------------------------------- + + CreateStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateStreamOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateStreamOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateStreamOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::club::v1::client::CreateStreamOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamResponse : public ::google::protobuf::Message { + public: + CreateStreamResponse(); + virtual ~CreateStreamResponse(); + + CreateStreamResponse(const CreateStreamResponse& from); + + inline CreateStreamResponse& operator=(const CreateStreamResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamResponse& default_instance(); + + void Swap(CreateStreamResponse* other); + + // implements Message ---------------------------------------------- + + CreateStreamResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamResponse) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyStreamRequest : public ::google::protobuf::Message { + public: + DestroyStreamRequest(); + virtual ~DestroyStreamRequest(); + + DestroyStreamRequest(const DestroyStreamRequest& from); + + inline DestroyStreamRequest& operator=(const DestroyStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyStreamRequest& default_instance(); + + void Swap(DestroyStreamRequest* other); + + // implements Message ---------------------------------------------- + + DestroyStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamRequest : public ::google::protobuf::Message { + public: + GetStreamRequest(); + virtual ~GetStreamRequest(); + + GetStreamRequest(const GetStreamRequest& from); + + inline GetStreamRequest& operator=(const GetStreamRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamRequest& default_instance(); + + void Swap(GetStreamRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamResponse : public ::google::protobuf::Message { + public: + GetStreamResponse(); + virtual ~GetStreamResponse(); + + GetStreamResponse(const GetStreamResponse& from); + + inline GetStreamResponse& operator=(const GetStreamResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamResponse& default_instance(); + + void Swap(GetStreamResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.Stream stream = 1; + inline bool has_stream() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Stream& stream() const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(); + inline ::bgs::protocol::club::v1::client::Stream* release_stream(); + inline void set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamResponse) + private: + inline void set_has_stream(); + inline void clear_has_stream(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::Stream* stream_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamsRequest : public ::google::protobuf::Message { + public: + GetStreamsRequest(); + virtual ~GetStreamsRequest(); + + GetStreamsRequest(const GetStreamsRequest& from); + + inline GetStreamsRequest& operator=(const GetStreamsRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamsRequest& default_instance(); + + void Swap(GetStreamsRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamsRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamsRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { + public: + GetStreamsResponse(); + virtual ~GetStreamsResponse(); + + GetStreamsResponse(const GetStreamsResponse& from); + + inline GetStreamsResponse& operator=(const GetStreamsResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamsResponse& default_instance(); + + void Swap(GetStreamsResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamsResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.Stream stream = 1; + inline int stream_size() const; + inline void clear_stream(); + static const int kStreamFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::Stream& stream(int index) const; + inline ::bgs::protocol::club::v1::client::Stream* mutable_stream(int index); + inline ::bgs::protocol::club::v1::client::Stream* add_stream(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >& + stream() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* + mutable_stream(); + + // repeated .bgs.protocol.club.v1.client.StreamView view = 2; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 2; + inline const ::bgs::protocol::club::v1::client::StreamView& view(int index) const; + inline ::bgs::protocol::club::v1::client::StreamView* mutable_view(int index); + inline ::bgs::protocol::club::v1::client::StreamView* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* + mutable_view(); + + // optional uint64 continuation = 3; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 3; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamsResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream > stream_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView > view_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamsResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UpdateStreamStateRequest : public ::google::protobuf::Message { + public: + UpdateStreamStateRequest(); + virtual ~UpdateStreamStateRequest(); + + UpdateStreamStateRequest(const UpdateStreamStateRequest& from); + + inline UpdateStreamStateRequest& operator=(const UpdateStreamStateRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UpdateStreamStateRequest& default_instance(); + + void Swap(UpdateStreamStateRequest* other); + + // implements Message ---------------------------------------------- + + UpdateStreamStateRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.StreamStateOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamStateOptions& options() const; + inline ::bgs::protocol::club::v1::client::StreamStateOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::StreamStateOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::StreamStateOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.UpdateStreamStateRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::StreamStateOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static UpdateStreamStateRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetStreamFocusRequest : public ::google::protobuf::Message { + public: + SetStreamFocusRequest(); + virtual ~SetStreamFocusRequest(); + + SetStreamFocusRequest(const SetStreamFocusRequest& from); + + inline SetStreamFocusRequest& operator=(const SetStreamFocusRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetStreamFocusRequest& default_instance(); + + void Swap(SetStreamFocusRequest* other); + + // implements Message ---------------------------------------------- + + SetStreamFocusRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional bool focus = 4; + inline bool has_focus() const; + inline void clear_focus(); + static const int kFocusFieldNumber = 4; + inline bool focus() const; + inline void set_focus(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetStreamFocusRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_focus(); + inline void clear_has_focus(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + bool focus_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetStreamFocusRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageRequest : public ::google::protobuf::Message { + public: + CreateMessageRequest(); + virtual ~CreateMessageRequest(); + + CreateMessageRequest(const CreateMessageRequest& from); + + inline CreateMessageRequest& operator=(const CreateMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageRequest& default_instance(); + + void Swap(CreateMessageRequest* other); + + // implements Message ---------------------------------------------- + + CreateMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 4; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageResponse : public ::google::protobuf::Message { + public: + CreateMessageResponse(); + virtual ~CreateMessageResponse(); + + CreateMessageResponse(const CreateMessageResponse& from); + + inline CreateMessageResponse& operator=(const CreateMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageResponse& default_instance(); + + void Swap(CreateMessageResponse* other); + + // implements Message ---------------------------------------------- + + CreateMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyMessageRequest : public ::google::protobuf::Message { + public: + DestroyMessageRequest(); + virtual ~DestroyMessageRequest(); + + DestroyMessageRequest(const DestroyMessageRequest& from); + + inline DestroyMessageRequest& operator=(const DestroyMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyMessageRequest& default_instance(); + + void Swap(DestroyMessageRequest* other); + + // implements Message ---------------------------------------------- + + DestroyMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API DestroyMessageResponse : public ::google::protobuf::Message { + public: + DestroyMessageResponse(); + virtual ~DestroyMessageResponse(); + + DestroyMessageResponse(const DestroyMessageResponse& from); + + inline DestroyMessageResponse& operator=(const DestroyMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const DestroyMessageResponse& default_instance(); + + void Swap(DestroyMessageResponse* other); + + // implements Message ---------------------------------------------- + + DestroyMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.DestroyMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static DestroyMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EditMessageRequest : public ::google::protobuf::Message { + public: + EditMessageRequest(); + virtual ~EditMessageRequest(); + + EditMessageRequest(const EditMessageRequest& from); + + inline EditMessageRequest& operator=(const EditMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EditMessageRequest& default_instance(); + + void Swap(EditMessageRequest* other); + + // implements Message ---------------------------------------------- + + EditMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 5; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& options() const; + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* mutable_options(); + inline ::bgs::protocol::club::v1::client::CreateMessageOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + ::bgs::protocol::club::v1::client::CreateMessageOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static EditMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EditMessageResponse : public ::google::protobuf::Message { + public: + EditMessageResponse(); + virtual ~EditMessageResponse(); + + EditMessageResponse(const EditMessageResponse& from); + + inline EditMessageResponse& operator=(const EditMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EditMessageResponse& default_instance(); + + void Swap(EditMessageResponse* other); + + // implements Message ---------------------------------------------- + + EditMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.EditMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static EditMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetMessagePinnedRequest : public ::google::protobuf::Message { + public: + SetMessagePinnedRequest(); + virtual ~SetMessagePinnedRequest(); + + SetMessagePinnedRequest(const SetMessagePinnedRequest& from); + + inline SetMessagePinnedRequest& operator=(const SetMessagePinnedRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetMessagePinnedRequest& default_instance(); + + void Swap(SetMessagePinnedRequest* other); + + // implements Message ---------------------------------------------- + + SetMessagePinnedRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetMessagePinnedRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetMessagePinnedRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Message { + public: + SetTypingIndicatorRequest(); + virtual ~SetTypingIndicatorRequest(); + + SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from); + + inline SetTypingIndicatorRequest& operator=(const SetTypingIndicatorRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetTypingIndicatorRequest& default_instance(); + + void Swap(SetTypingIndicatorRequest* other); + + // implements Message ---------------------------------------------- + + SetTypingIndicatorRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 4; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 4; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetTypingIndicatorRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static SetTypingIndicatorRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamViewTimeRequest(); + virtual ~AdvanceStreamViewTimeRequest(); + + AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from); + + inline AdvanceStreamViewTimeRequest& operator=(const AdvanceStreamViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id_deprecated = 3 [deprecated = true]; + inline bool has_stream_id_deprecated() const PROTOBUF_DEPRECATED; + inline void clear_stream_id_deprecated() PROTOBUF_DEPRECATED; + static const int kStreamIdDeprecatedFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id_deprecated() const PROTOBUF_DEPRECATED; + inline void set_stream_id_deprecated(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED; + + // repeated uint64 stream_id = 4 [packed = true]; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 4; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id_deprecated(); + inline void clear_has_stream_id_deprecated(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_deprecated_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceStreamMentionViewTimeRequest(); + virtual ~AdvanceStreamMentionViewTimeRequest(); + + AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); + + inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceStreamMentionViewTimeRequest& default_instance(); + + void Swap(AdvanceStreamMentionViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceStreamMentionViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceStreamMentionViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceActivityViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceActivityViewTimeRequest(); + virtual ~AdvanceActivityViewTimeRequest(); + + AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from); + + inline AdvanceActivityViewTimeRequest& operator=(const AdvanceActivityViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceActivityViewTimeRequest& default_instance(); + + void Swap(AdvanceActivityViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceActivityViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceActivityViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamHistoryRequest : public ::google::protobuf::Message { + public: + GetStreamHistoryRequest(); + virtual ~GetStreamHistoryRequest(); + + GetStreamHistoryRequest(const GetStreamHistoryRequest& from); + + inline GetStreamHistoryRequest& operator=(const GetStreamHistoryRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamHistoryRequest& default_instance(); + + void Swap(GetStreamHistoryRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamHistoryRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 4; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 4; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::GetEventOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamHistoryRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message { + public: + GetStreamHistoryResponse(); + virtual ~GetStreamHistoryResponse(); + + GetStreamHistoryResponse(const GetStreamHistoryResponse& from); + + inline GetStreamHistoryResponse& operator=(const GetStreamHistoryResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamHistoryResponse& default_instance(); + + void Swap(GetStreamHistoryResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamHistoryResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline int message_size() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(int index); + inline ::bgs::protocol::club::v1::client::StreamMessage* add_message(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& + message() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* + mutable_message(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamHistoryResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamHistoryResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMessageRequest : public ::google::protobuf::Message { + public: + GetStreamMessageRequest(); + virtual ~GetStreamMessageRequest(); + + GetStreamMessageRequest(const GetStreamMessageRequest& from); + + inline GetStreamMessageRequest& operator=(const GetStreamMessageRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMessageRequest& default_instance(); + + void Swap(GetStreamMessageRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamMessageRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 4; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 4; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMessageRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamMessageResponse : public ::google::protobuf::Message { + public: + GetStreamMessageResponse(); + virtual ~GetStreamMessageResponse(); + + GetStreamMessageResponse(const GetStreamMessageResponse& from); + + inline GetStreamMessageResponse& operator=(const GetStreamMessageResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamMessageResponse& default_instance(); + + void Swap(GetStreamMessageResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamMessageResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamMessageResponse) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamMessageResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubActivityRequest : public ::google::protobuf::Message { + public: + GetClubActivityRequest(); + virtual ~GetClubActivityRequest(); + + GetClubActivityRequest(const GetClubActivityRequest& from); + + inline GetClubActivityRequest& operator=(const GetClubActivityRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubActivityRequest& default_instance(); + + void Swap(GetClubActivityRequest* other); + + // implements Message ---------------------------------------------- + + GetClubActivityRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 3; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 3; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::bgs::protocol::GetEventOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubActivityRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetClubActivityResponse : public ::google::protobuf::Message { + public: + GetClubActivityResponse(); + virtual ~GetClubActivityResponse(); + + GetClubActivityResponse(const GetClubActivityResponse& from); + + inline GetClubActivityResponse& operator=(const GetClubActivityResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetClubActivityResponse& default_instance(); + + void Swap(GetClubActivityResponse* other); + + // implements Message ---------------------------------------------- + + GetClubActivityResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetClubActivityResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetClubActivityResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamVoiceTokenRequest : public ::google::protobuf::Message { + public: + GetStreamVoiceTokenRequest(); + virtual ~GetStreamVoiceTokenRequest(); + + GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from); + + inline GetStreamVoiceTokenRequest& operator=(const GetStreamVoiceTokenRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamVoiceTokenRequest& default_instance(); + + void Swap(GetStreamVoiceTokenRequest* other); + + // implements Message ---------------------------------------------- + + GetStreamVoiceTokenRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint32 version = 4 [deprecated = true]; + inline bool has_version() const PROTOBUF_DEPRECATED; + inline void clear_version() PROTOBUF_DEPRECATED; + static const int kVersionFieldNumber = 4; + inline ::google::protobuf::uint32 version() const PROTOBUF_DEPRECATED; + inline void set_version(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED; + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_version(); + inline void clear_has_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint32 version_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamVoiceTokenRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetStreamVoiceTokenResponse : public ::google::protobuf::Message { + public: + GetStreamVoiceTokenResponse(); + virtual ~GetStreamVoiceTokenResponse(); + + GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from); + + inline GetStreamVoiceTokenResponse& operator=(const GetStreamVoiceTokenResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetStreamVoiceTokenResponse& default_instance(); + + void Swap(GetStreamVoiceTokenResponse* other); + + // implements Message ---------------------------------------------- + + GetStreamVoiceTokenResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string channel_uri = 1; + inline bool has_channel_uri() const; + inline void clear_channel_uri(); + static const int kChannelUriFieldNumber = 1; + inline const ::std::string& channel_uri() const; + inline void set_channel_uri(const ::std::string& value); + inline void set_channel_uri(const char* value); + inline void set_channel_uri(const char* value, size_t size); + inline ::std::string* mutable_channel_uri(); + inline ::std::string* release_channel_uri(); + inline void set_allocated_channel_uri(::std::string* channel_uri); + + // optional .bgs.protocol.voice.v1.VoiceCredentials credentials = 2; + inline bool has_credentials() const; + inline void clear_credentials(); + static const int kCredentialsFieldNumber = 2; + inline const ::bgs::protocol::voice::v1::VoiceCredentials& credentials() const; + inline ::bgs::protocol::voice::v1::VoiceCredentials* mutable_credentials(); + inline ::bgs::protocol::voice::v1::VoiceCredentials* release_credentials(); + inline void set_allocated_credentials(::bgs::protocol::voice::v1::VoiceCredentials* credentials); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) + private: + inline void set_has_channel_uri(); + inline void clear_has_channel_uri(); + inline void set_has_credentials(); + inline void clear_has_credentials(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* channel_uri_; + ::bgs::protocol::voice::v1::VoiceCredentials* credentials_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static GetStreamVoiceTokenResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API KickFromStreamVoiceRequest : public ::google::protobuf::Message { + public: + KickFromStreamVoiceRequest(); + virtual ~KickFromStreamVoiceRequest(); + + KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from); + + inline KickFromStreamVoiceRequest& operator=(const KickFromStreamVoiceRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const KickFromStreamVoiceRequest& default_instance(); + + void Swap(KickFromStreamVoiceRequest* other); + + // implements Message ---------------------------------------------- + + KickFromStreamVoiceRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId agent_id = 1; + inline bool has_agent_id() const; + inline void clear_agent_id(); + static const int kAgentIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); + inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); + inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); + + // optional uint64 club_id = 2; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 2; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 3; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 3; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.MemberId target_id = 4; + inline bool has_target_id() const; + inline void clear_target_id(); + static const int kTargetIdFieldNumber = 4; + inline const ::bgs::protocol::club::v1::MemberId& target_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); + inline ::bgs::protocol::club::v1::MemberId* release_target_id(); + inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) + private: + inline void set_has_agent_id(); + inline void clear_has_agent_id(); + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_target_id(); + inline void clear_has_target_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* agent_id_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::club::v1::MemberId* target_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + + void InitAsDefaultInstance(); + static KickFromStreamVoiceRequest* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SubscribeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeRequest.club_id) + return club_id_; +} +inline void SubscribeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnsubscribeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeRequest.club_id) + return club_id_; +} +inline void UnsubscribeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// CreateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.agent_id) +} + +// optional .bgs.protocol.club.v1.client.ClubCreateOptions options = 2; +inline bool CreateRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubCreateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubCreateOptions& CreateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubCreateOptions* CreateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubCreateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubCreateOptions* CreateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubCreateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubCreateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateResponse + +// optional uint64 club_id = 1; +inline bool CreateResponse::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateResponse::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateResponse::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateResponse::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateResponse::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateResponse.club_id) + return club_id_; +} +inline void CreateResponse::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateResponse.club_id) +} + +// ------------------------------------------------------------------- + +// DestroyRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyRequest.club_id) + return club_id_; +} +inline void DestroyRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetDescriptionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetDescriptionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetDescriptionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetDescriptionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetDescriptionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetDescriptionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetDescriptionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetDescriptionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetDescriptionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetDescriptionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetDescriptionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetDescriptionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionRequest.club_id) + return club_id_; +} +inline void GetDescriptionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetDescriptionRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetDescriptionResponse + +// optional .bgs.protocol.club.v1.ClubDescription club = 1; +inline bool GetDescriptionResponse::has_club() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetDescriptionResponse::set_has_club() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetDescriptionResponse::clear_has_club() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetDescriptionResponse::clear_club() { + if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); + clear_has_club(); +} +inline const ::bgs::protocol::club::v1::ClubDescription& GetDescriptionResponse::club() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetDescriptionResponse.club) + return club_ != NULL ? *club_ : *default_instance_->club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::mutable_club() { + set_has_club(); + if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetDescriptionResponse.club) + return club_; +} +inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::release_club() { + clear_has_club(); + ::bgs::protocol::club::v1::ClubDescription* temp = club_; + club_ = NULL; + return temp; +} +inline void GetDescriptionResponse::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { + delete club_; + club_ = club; + if (club) { + set_has_club(); + } else { + clear_has_club(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetDescriptionResponse.club) +} + +// ------------------------------------------------------------------- + +// GetClubTypeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetClubTypeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubTypeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubTypeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubTypeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetClubTypeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetClubTypeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.agent_id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool GetClubTypeRequest::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubTypeRequest::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubTypeRequest::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubTypeRequest::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeRequest::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeRequest.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeRequest.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void GetClubTypeRequest::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeRequest.type) +} + +// ------------------------------------------------------------------- + +// GetClubTypeResponse + +// optional .bgs.protocol.club.v1.UniqueClubType type = 1; +inline bool GetClubTypeResponse::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubTypeResponse::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubTypeResponse::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubTypeResponse::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeResponse::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.type) +} + +// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 2; +inline bool GetClubTypeResponse::has_role_set() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubTypeResponse::set_has_role_set() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubTypeResponse::clear_has_role_set() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubTypeResponse::clear_role_set() { + if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::ClubRoleSet::Clear(); + clear_has_role_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubRoleSet& GetClubTypeResponse::role_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) + return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* GetClubTypeResponse::mutable_role_set() { + set_has_role_set(); + if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::client::ClubRoleSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) + return role_set_; +} +inline ::bgs::protocol::club::v1::client::ClubRoleSet* GetClubTypeResponse::release_role_set() { + clear_has_role_set(); + ::bgs::protocol::club::v1::client::ClubRoleSet* temp = role_set_; + role_set_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set) { + delete role_set_; + role_set_ = role_set; + if (role_set) { + set_has_role_set(); + } else { + clear_has_role_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.role_set) +} + +// optional .bgs.protocol.club.v1.client.ClubTypeRangeSet range_set = 3; +inline bool GetClubTypeResponse::has_range_set() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetClubTypeResponse::set_has_range_set() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetClubTypeResponse::clear_has_range_set() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetClubTypeResponse::clear_range_set() { + if (range_set_ != NULL) range_set_->::bgs::protocol::club::v1::client::ClubTypeRangeSet::Clear(); + clear_has_range_set(); +} +inline const ::bgs::protocol::club::v1::client::ClubTypeRangeSet& GetClubTypeResponse::range_set() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) + return range_set_ != NULL ? *range_set_ : *default_instance_->range_set_; +} +inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* GetClubTypeResponse::mutable_range_set() { + set_has_range_set(); + if (range_set_ == NULL) range_set_ = new ::bgs::protocol::club::v1::client::ClubTypeRangeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) + return range_set_; +} +inline ::bgs::protocol::club::v1::client::ClubTypeRangeSet* GetClubTypeResponse::release_range_set() { + clear_has_range_set(); + ::bgs::protocol::club::v1::client::ClubTypeRangeSet* temp = range_set_; + range_set_ = NULL; + return temp; +} +inline void GetClubTypeResponse::set_allocated_range_set(::bgs::protocol::club::v1::client::ClubTypeRangeSet* range_set) { + delete range_set_; + range_set_ = range_set; + if (range_set) { + set_has_range_set(); + } else { + clear_has_range_set(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubTypeResponse.range_set) +} + +// repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; +inline int GetClubTypeResponse::platform_tag_set_size() const { + return platform_tag_set_.size(); +} +inline void GetClubTypeResponse::clear_platform_tag_set() { + platform_tag_set_.Clear(); +} +inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::platform_tag_set(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Get(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_platform_tag_set(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Mutable(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_platform_tag_set() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& +GetClubTypeResponse::platform_tag_set() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return platform_tag_set_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* +GetClubTypeResponse::mutable_platform_tag_set() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.platform_tag_set) + return &platform_tag_set_; +} + +// repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; +inline int GetClubTypeResponse::custom_tag_set_size() const { + return custom_tag_set_.size(); +} +inline void GetClubTypeResponse::clear_custom_tag_set() { + custom_tag_set_.Clear(); +} +inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::custom_tag_set(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Get(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_custom_tag_set(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Mutable(index); +} +inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_custom_tag_set() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& +GetClubTypeResponse::custom_tag_set() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return custom_tag_set_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* +GetClubTypeResponse::mutable_custom_tag_set() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetClubTypeResponse.custom_tag_set) + return &custom_tag_set_; +} + +// ------------------------------------------------------------------- + +// UpdateClubStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateClubStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateClubStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateClubStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateClubStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateClubStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.club_id) + return club_id_; +} +inline void UpdateClubStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubStateOptions options = 3; +inline bool UpdateClubStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateClubStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateClubStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateClubStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubStateOptions& UpdateClubStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubStateOptions* UpdateClubStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubStateOptions* UpdateClubStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubStateRequest.options) +} + +// ------------------------------------------------------------------- + +// UpdateClubSettingsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateClubSettingsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateClubSettingsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateClubSettingsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateClubSettingsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateClubSettingsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateClubSettingsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateClubSettingsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateClubSettingsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateClubSettingsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.club_id) + return club_id_; +} +inline void UpdateClubSettingsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.ClubSettingsOptions options = 3; +inline bool UpdateClubSettingsRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateClubSettingsRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateClubSettingsRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateClubSettingsRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::ClubSettingsOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::ClubSettingsOptions& UpdateClubSettingsRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* UpdateClubSettingsRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::ClubSettingsOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::ClubSettingsOptions* UpdateClubSettingsRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::ClubSettingsOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::client::ClubSettingsOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateClubSettingsRequest.options) +} + +// ------------------------------------------------------------------- + +// AddMemberRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AddMemberRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddMemberRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddMemberRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddMemberRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddMemberRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AddMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AddMemberRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AddMemberRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AddMemberRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AddMemberRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AddMemberRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.club_id) + return club_id_; +} +inline void AddMemberRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddMemberRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; +inline bool AddMemberRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddMemberRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddMemberRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddMemberRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& AddMemberRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddMemberRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* AddMemberRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddMemberRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* AddMemberRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddMemberRequest.options) +} + +// ------------------------------------------------------------------- + +// JoinRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool JoinRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void JoinRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void JoinRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void JoinRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& JoinRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* JoinRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.JoinRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* JoinRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void JoinRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool JoinRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void JoinRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void JoinRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void JoinRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 JoinRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.club_id) + return club_id_; +} +inline void JoinRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.JoinRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMemberOptions options = 3; +inline bool JoinRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void JoinRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void JoinRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void JoinRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& JoinRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.JoinRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* JoinRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.JoinRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMemberOptions* JoinRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMemberOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMemberOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.JoinRequest.options) +} + +// ------------------------------------------------------------------- + +// LeaveRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool LeaveRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void LeaveRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void LeaveRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void LeaveRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& LeaveRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.LeaveRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.LeaveRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void LeaveRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.LeaveRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool LeaveRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void LeaveRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void LeaveRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void LeaveRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 LeaveRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.LeaveRequest.club_id) + return club_id_; +} +inline void LeaveRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.LeaveRequest.club_id) +} + +// ------------------------------------------------------------------- + +// KickRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool KickRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void KickRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void KickRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void KickRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void KickRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool KickRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void KickRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void KickRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void KickRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 KickRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.club_id) + return club_id_; +} +inline void KickRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool KickRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void KickRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void KickRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void KickRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void KickRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetMemberRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetMemberRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMemberRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMemberRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMemberRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetMemberRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMemberRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMemberRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMemberRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetMemberRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.club_id) + return club_id_; +} +inline void GetMemberRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMemberRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool GetMemberRequest::has_member_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetMemberRequest::set_has_member_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetMemberRequest::clear_has_member_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetMemberRequest::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberRequest.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberRequest.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void GetMemberRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberRequest.member_id) +} + +// ------------------------------------------------------------------- + +// GetMemberResponse + +// optional .bgs.protocol.club.v1.client.Member member = 1; +inline bool GetMemberResponse::has_member() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMemberResponse::set_has_member() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMemberResponse::clear_has_member() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMemberResponse::clear_member() { + if (member_ != NULL) member_->::bgs::protocol::club::v1::client::Member::Clear(); + clear_has_member(); +} +inline const ::bgs::protocol::club::v1::client::Member& GetMemberResponse::member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMemberResponse.member) + return member_ != NULL ? *member_ : *default_instance_->member_; +} +inline ::bgs::protocol::club::v1::client::Member* GetMemberResponse::mutable_member() { + set_has_member(); + if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::Member; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMemberResponse.member) + return member_; +} +inline ::bgs::protocol::club::v1::client::Member* GetMemberResponse::release_member() { + clear_has_member(); + ::bgs::protocol::club::v1::client::Member* temp = member_; + member_ = NULL; + return temp; +} +inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::client::Member* member) { + delete member_; + member_ = member; + if (member) { + set_has_member(); + } else { + clear_has_member(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMemberResponse.member) +} + +// ------------------------------------------------------------------- + +// GetMembersRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetMembersRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetMembersRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetMembersRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetMembersRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetMembersRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetMembersRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetMembersRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetMembersRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMembersRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMembersRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMembersRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetMembersRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.club_id) + return club_id_; +} +inline void GetMembersRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.club_id) +} + +// optional uint64 continuation = 4; +inline bool GetMembersRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetMembersRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetMembersRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetMembersRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetMembersRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersRequest.continuation) + return continuation_; +} +inline void GetMembersRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetMembersResponse + +// repeated .bgs.protocol.club.v1.client.Member member = 1; +inline int GetMembersResponse::member_size() const { + return member_.size(); +} +inline void GetMembersResponse::clear_member() { + member_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Member& GetMembersResponse::member(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Member* GetMembersResponse::mutable_member(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Member* GetMembersResponse::add_member() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >& +GetMembersResponse::member() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetMembersResponse.member) + return member_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Member >* +GetMembersResponse::mutable_member() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetMembersResponse.member) + return &member_; +} + +// optional uint64 continuation = 2; +inline bool GetMembersResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetMembersResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetMembersResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetMembersResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetMembersResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetMembersResponse.continuation) + return continuation_; +} +inline void GetMembersResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetMembersResponse.continuation) +} + +// ------------------------------------------------------------------- + +// UpdateMemberStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateMemberStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateMemberStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateMemberStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateMemberStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateMemberStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateMemberStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateMemberStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateMemberStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateMemberStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.club_id) + return club_id_; +} +inline void UpdateMemberStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateMemberStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 3; +inline bool UpdateMemberStateRequest::has_member_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateMemberStateRequest::set_has_member_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateMemberStateRequest::clear_has_member_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateMemberStateRequest::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.member_id) +} + +// optional .bgs.protocol.club.v1.client.MemberStateOptions options = 5; +inline bool UpdateMemberStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void UpdateMemberStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void UpdateMemberStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void UpdateMemberStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::MemberStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::MemberStateOptions& UpdateMemberStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::MemberStateOptions* UpdateMemberStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::MemberStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::MemberStateOptions* UpdateMemberStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::MemberStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::MemberStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateMemberStateRequest.options) +} + +// ------------------------------------------------------------------- + +// UpdateSubscriberStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateSubscriberStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateSubscriberStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateSubscriberStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateSubscriberStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateSubscriberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateSubscriberStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateSubscriberStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateSubscriberStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateSubscriberStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.club_id) + return club_id_; +} +inline void UpdateSubscriberStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SubscriberStateOptions options = 3; +inline bool UpdateSubscriberStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateSubscriberStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateSubscriberStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateSubscriberStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SubscriberStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SubscriberStateOptions& UpdateSubscriberStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* UpdateSubscriberStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SubscriberStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SubscriberStateOptions* UpdateSubscriberStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SubscriberStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::SubscriberStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateSubscriberStateRequest.options) +} + +// ------------------------------------------------------------------- + +// AssignRoleRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AssignRoleRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AssignRoleRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AssignRoleRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AssignRoleRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AssignRoleRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AssignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AssignRoleRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AssignRoleRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AssignRoleRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AssignRoleRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AssignRoleRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.club_id) + return club_id_; +} +inline void AssignRoleRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AssignRoleRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; +inline bool AssignRoleRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AssignRoleRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AssignRoleRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AssignRoleRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::RoleOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::RoleOptions& AssignRoleRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AssignRoleRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* AssignRoleRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::RoleOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AssignRoleRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* AssignRoleRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AssignRoleRequest.options) +} + +// ------------------------------------------------------------------- + +// UnassignRoleRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnassignRoleRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnassignRoleRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnassignRoleRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnassignRoleRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnassignRoleRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnassignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnassignRoleRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnassignRoleRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnassignRoleRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnassignRoleRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnassignRoleRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.club_id) + return club_id_; +} +inline void UnassignRoleRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnassignRoleRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.RoleOptions options = 3; +inline bool UnassignRoleRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UnassignRoleRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void UnassignRoleRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UnassignRoleRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::RoleOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::RoleOptions& UnassignRoleRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnassignRoleRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* UnassignRoleRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::RoleOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnassignRoleRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::RoleOptions* UnassignRoleRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::RoleOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::client::RoleOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnassignRoleRequest.options) +} + +// ------------------------------------------------------------------- + +// SendInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SendInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SendInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SendInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SendInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.club_id) + return club_id_; +} +inline void SendInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendInvitationRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SendInvitationOptions options = 3; +inline bool SendInvitationRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendInvitationRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendInvitationRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendInvitationRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SendInvitationOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SendInvitationOptions& SendInvitationRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendInvitationRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SendInvitationOptions* SendInvitationRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SendInvitationOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendInvitationRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SendInvitationOptions* SendInvitationRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SendInvitationOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendInvitationOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendInvitationRequest.options) +} + +// ------------------------------------------------------------------- + +// AcceptInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AcceptInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AcceptInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AcceptInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AcceptInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AcceptInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AcceptInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AcceptInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AcceptInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AcceptInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AcceptInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AcceptInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.club_id) + return club_id_; +} +inline void AcceptInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool AcceptInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AcceptInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AcceptInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AcceptInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 AcceptInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptInvitationRequest.invitation_id) + return invitation_id_; +} +inline void AcceptInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// DeclineInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DeclineInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DeclineInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DeclineInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DeclineInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DeclineInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DeclineInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DeclineInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DeclineInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DeclineInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DeclineInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DeclineInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.club_id) + return club_id_; +} +inline void DeclineInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool DeclineInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DeclineInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DeclineInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DeclineInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 DeclineInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineInvitationRequest.invitation_id) + return invitation_id_; +} +inline void DeclineInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// RevokeInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RevokeInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RevokeInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RevokeInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RevokeInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RevokeInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RevokeInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RevokeInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool RevokeInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RevokeInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RevokeInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RevokeInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 RevokeInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.club_id) + return club_id_; +} +inline void RevokeInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool RevokeInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void RevokeInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void RevokeInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void RevokeInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 RevokeInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RevokeInvitationRequest.invitation_id) + return invitation_id_; +} +inline void RevokeInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RevokeInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// GetInvitationRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetInvitationRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetInvitationRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetInvitationRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetInvitationRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.club_id) + return club_id_; +} +inline void GetInvitationRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.club_id) +} + +// optional fixed64 invitation_id = 3; +inline bool GetInvitationRequest::has_invitation_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetInvitationRequest::set_has_invitation_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetInvitationRequest::clear_has_invitation_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetInvitationRequest::clear_invitation_id() { + invitation_id_ = GOOGLE_ULONGLONG(0); + clear_has_invitation_id(); +} +inline ::google::protobuf::uint64 GetInvitationRequest::invitation_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationRequest.invitation_id) + return invitation_id_; +} +inline void GetInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { + set_has_invitation_id(); + invitation_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationRequest.invitation_id) +} + +// ------------------------------------------------------------------- + +// GetInvitationResponse + +// optional .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; +inline bool GetInvitationResponse::has_invitation() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationResponse::set_has_invitation() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationResponse::clear_has_invitation() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationResponse::clear_invitation() { + if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::client::ClubInvitation::Clear(); + clear_has_invitation(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& GetInvitationResponse::invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) + return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationResponse::mutable_invitation() { + set_has_invitation(); + if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::client::ClubInvitation; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) + return invitation_; +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationResponse::release_invitation() { + clear_has_invitation(); + ::bgs::protocol::club::v1::client::ClubInvitation* temp = invitation_; + invitation_ = NULL; + return temp; +} +inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::club::v1::client::ClubInvitation* invitation) { + delete invitation_; + invitation_ = invitation; + if (invitation) { + set_has_invitation(); + } else { + clear_has_invitation(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationResponse.invitation) +} + +// ------------------------------------------------------------------- + +// GetInvitationsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetInvitationsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetInvitationsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetInvitationsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetInvitationsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetInvitationsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetInvitationsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetInvitationsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetInvitationsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetInvitationsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.club_id) + return club_id_; +} +inline void GetInvitationsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetInvitationsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetInvitationsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetInvitationsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetInvitationsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetInvitationsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsRequest.continuation) + return continuation_; +} +inline void GetInvitationsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetInvitationsResponse + +// repeated .bgs.protocol.club.v1.client.ClubInvitation invitation = 1; +inline int GetInvitationsResponse::invitation_size() const { + return invitation_.size(); +} +inline void GetInvitationsResponse::clear_invitation() { + invitation_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubInvitation& GetInvitationsResponse::invitation(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationsResponse::mutable_invitation(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubInvitation* GetInvitationsResponse::add_invitation() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >& +GetInvitationsResponse::invitation() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return invitation_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubInvitation >* +GetInvitationsResponse::mutable_invitation() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetInvitationsResponse.invitation) + return &invitation_; +} + +// optional uint64 continuation = 2; +inline bool GetInvitationsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetInvitationsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetInvitationsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetInvitationsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetInvitationsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetInvitationsResponse.continuation) + return continuation_; +} +inline void GetInvitationsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetInvitationsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SendSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SendSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SendSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SendSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SendSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.club_id) + return club_id_; +} +inline void SendSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SendSuggestionRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.SendSuggestionOptions options = 3; +inline bool SendSuggestionRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendSuggestionRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendSuggestionRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendSuggestionRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::SendSuggestionOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::SendSuggestionOptions& SendSuggestionRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SendSuggestionRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* SendSuggestionRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::SendSuggestionOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SendSuggestionRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::SendSuggestionOptions* SendSuggestionRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::SendSuggestionOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club::v1::client::SendSuggestionOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SendSuggestionRequest.options) +} + +// ------------------------------------------------------------------- + +// AcceptSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AcceptSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AcceptSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AcceptSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AcceptSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AcceptSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AcceptSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AcceptSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AcceptSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AcceptSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AcceptSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AcceptSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AcceptSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.club_id) + return club_id_; +} +inline void AcceptSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool AcceptSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AcceptSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AcceptSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AcceptSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 AcceptSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AcceptSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void AcceptSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AcceptSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// DeclineSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DeclineSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DeclineSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DeclineSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DeclineSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DeclineSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DeclineSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DeclineSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DeclineSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DeclineSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DeclineSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DeclineSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DeclineSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.club_id) + return club_id_; +} +inline void DeclineSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool DeclineSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DeclineSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DeclineSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DeclineSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 DeclineSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DeclineSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void DeclineSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DeclineSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// GetSuggestionRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetSuggestionRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetSuggestionRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetSuggestionRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.club_id) + return club_id_; +} +inline void GetSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.club_id) +} + +// optional fixed64 suggestion_id = 3; +inline bool GetSuggestionRequest::has_suggestion_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetSuggestionRequest::set_has_suggestion_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetSuggestionRequest::clear_has_suggestion_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetSuggestionRequest::clear_suggestion_id() { + suggestion_id_ = GOOGLE_ULONGLONG(0); + clear_has_suggestion_id(); +} +inline ::google::protobuf::uint64 GetSuggestionRequest::suggestion_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionRequest.suggestion_id) + return suggestion_id_; +} +inline void GetSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { + set_has_suggestion_id(); + suggestion_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionRequest.suggestion_id) +} + +// ------------------------------------------------------------------- + +// GetSuggestionResponse + +// optional .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; +inline bool GetSuggestionResponse::has_suggestion() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionResponse::set_has_suggestion() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionResponse::clear_has_suggestion() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionResponse::clear_suggestion() { + if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::client::ClubSuggestion::Clear(); + clear_has_suggestion(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& GetSuggestionResponse::suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) + return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionResponse::mutable_suggestion() { + set_has_suggestion(); + if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::client::ClubSuggestion; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) + return suggestion_; +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionResponse::release_suggestion() { + clear_has_suggestion(); + ::bgs::protocol::club::v1::client::ClubSuggestion* temp = suggestion_; + suggestion_ = NULL; + return temp; +} +inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::club::v1::client::ClubSuggestion* suggestion) { + delete suggestion_; + suggestion_ = suggestion; + if (suggestion) { + set_has_suggestion(); + } else { + clear_has_suggestion(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionResponse.suggestion) +} + +// ------------------------------------------------------------------- + +// GetSuggestionsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetSuggestionsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetSuggestionsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetSuggestionsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetSuggestionsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetSuggestionsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetSuggestionsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetSuggestionsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetSuggestionsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.club_id) + return club_id_; +} +inline void GetSuggestionsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetSuggestionsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetSuggestionsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetSuggestionsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetSuggestionsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetSuggestionsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsRequest.continuation) + return continuation_; +} +inline void GetSuggestionsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetSuggestionsResponse + +// repeated .bgs.protocol.club.v1.client.ClubSuggestion suggestion = 1; +inline int GetSuggestionsResponse::suggestion_size() const { + return suggestion_.size(); +} +inline void GetSuggestionsResponse::clear_suggestion() { + suggestion_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubSuggestion& GetSuggestionsResponse::suggestion(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionsResponse::mutable_suggestion(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubSuggestion* GetSuggestionsResponse::add_suggestion() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >& +GetSuggestionsResponse::suggestion() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return suggestion_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubSuggestion >* +GetSuggestionsResponse::mutable_suggestion() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetSuggestionsResponse.suggestion) + return &suggestion_; +} + +// optional uint64 continuation = 2; +inline bool GetSuggestionsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetSuggestionsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetSuggestionsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetSuggestionsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetSuggestionsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetSuggestionsResponse.continuation) + return continuation_; +} +inline void GetSuggestionsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetSuggestionsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// CreateTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateTicketRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateTicketRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateTicketRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateTicketRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateTicketRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.club_id) + return club_id_; +} +inline void CreateTicketRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateTicketRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateTicketOptions options = 3; +inline bool CreateTicketRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateTicketRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateTicketRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateTicketRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateTicketOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateTicketOptions& CreateTicketRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateTicketOptions* CreateTicketRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateTicketOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateTicketOptions* CreateTicketRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateTicketOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateTicketOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateTicketResponse + +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline bool CreateTicketResponse::has_ticket() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateTicketResponse::set_has_ticket() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateTicketResponse::clear_has_ticket() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateTicketResponse::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicket::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& CreateTicketResponse::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* CreateTicketResponse::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicket; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* CreateTicketResponse::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateTicketResponse.ticket) +} + +// ------------------------------------------------------------------- + +// DestroyTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyTicketRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyTicketRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyTicketRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyTicketRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyTicketRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.club_id) + return club_id_; +} +inline void DestroyTicketRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyTicketRequest.club_id) +} + +// optional string ticket_id = 3; +inline bool DestroyTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& DestroyTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) + return *ticket_id_; +} +inline void DestroyTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline void DestroyTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline void DestroyTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} +inline ::std::string* DestroyTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* DestroyTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void DestroyTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// RedeemTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RedeemTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RedeemTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RedeemTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RedeemTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RedeemTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RedeemTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.agent_id) +} + +// optional string ticket_id = 3; +inline bool RedeemTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RedeemTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RedeemTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RedeemTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& RedeemTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) + return *ticket_id_; +} +inline void RedeemTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline void RedeemTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline void RedeemTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} +inline ::std::string* RedeemTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* RedeemTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void RedeemTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RedeemTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// GetTicketRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetTicketRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetTicketRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.agent_id) +} + +// optional string ticket_id = 3; +inline bool GetTicketRequest::has_ticket_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketRequest::set_has_ticket_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketRequest::clear_has_ticket_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketRequest::clear_ticket_id() { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_->clear(); + } + clear_has_ticket_id(); +} +inline const ::std::string& GetTicketRequest::ticket_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) + return *ticket_id_; +} +inline void GetTicketRequest::set_ticket_id(const ::std::string& value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline void GetTicketRequest::set_ticket_id(const char* value) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline void GetTicketRequest::set_ticket_id(const char* value, size_t size) { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + ticket_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} +inline ::std::string* GetTicketRequest::mutable_ticket_id() { + set_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ticket_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) + return ticket_id_; +} +inline ::std::string* GetTicketRequest::release_ticket_id() { + clear_has_ticket_id(); + if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = ticket_id_; + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void GetTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { + if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ticket_id_; + } + if (ticket_id) { + set_has_ticket_id(); + ticket_id_ = ticket_id; + } else { + clear_has_ticket_id(); + ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketRequest.ticket_id) +} + +// ------------------------------------------------------------------- + +// GetTicketResponse + +// optional .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline bool GetTicketResponse::has_ticket() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketResponse::set_has_ticket() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketResponse::clear_has_ticket() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketResponse::clear_ticket() { + if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::client::ClubTicket::Clear(); + clear_has_ticket(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& GetTicketResponse::ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketResponse.ticket) + return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketResponse::mutable_ticket() { + set_has_ticket(); + if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::client::ClubTicket; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketResponse.ticket) + return ticket_; +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketResponse::release_ticket() { + clear_has_ticket(); + ::bgs::protocol::club::v1::client::ClubTicket* temp = ticket_; + ticket_ = NULL; + return temp; +} +inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::client::ClubTicket* ticket) { + delete ticket_; + ticket_ = ticket; + if (ticket) { + set_has_ticket(); + } else { + clear_has_ticket(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketResponse.ticket) +} + +// ------------------------------------------------------------------- + +// GetTicketsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetTicketsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetTicketsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetTicketsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetTicketsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetTicketsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetTicketsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetTicketsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetTicketsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetTicketsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.club_id) + return club_id_; +} +inline void GetTicketsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetTicketsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetTicketsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetTicketsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetTicketsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetTicketsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsRequest.continuation) + return continuation_; +} +inline void GetTicketsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetTicketsResponse + +// repeated .bgs.protocol.club.v1.client.ClubTicket ticket = 1; +inline int GetTicketsResponse::ticket_size() const { + return ticket_.size(); +} +inline void GetTicketsResponse::clear_ticket() { + ticket_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubTicket& GetTicketsResponse::ticket(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketsResponse::mutable_ticket(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubTicket* GetTicketsResponse::add_ticket() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >& +GetTicketsResponse::ticket() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return ticket_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubTicket >* +GetTicketsResponse::mutable_ticket() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetTicketsResponse.ticket) + return &ticket_; +} + +// optional uint64 continuation = 2; +inline bool GetTicketsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetTicketsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetTicketsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetTicketsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetTicketsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetTicketsResponse.continuation) + return continuation_; +} +inline void GetTicketsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetTicketsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// AddBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AddBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AddBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AddBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AddBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AddBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AddBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AddBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AddBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AddBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AddBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AddBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.club_id) + return club_id_; +} +inline void AddBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AddBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.AddBanOptions options = 3; +inline bool AddBanRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AddBanRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void AddBanRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AddBanRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::AddBanOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::AddBanOptions& AddBanRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AddBanRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::AddBanOptions* AddBanRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::AddBanOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AddBanRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::AddBanOptions* AddBanRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::AddBanOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::client::AddBanOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AddBanRequest.options) +} + +// ------------------------------------------------------------------- + +// RemoveBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool RemoveBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void RemoveBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void RemoveBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void RemoveBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void RemoveBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool RemoveBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void RemoveBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void RemoveBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void RemoveBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 RemoveBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.club_id) + return club_id_; +} +inline void RemoveBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.RemoveBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool RemoveBanRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void RemoveBanRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void RemoveBanRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void RemoveBanRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void RemoveBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.RemoveBanRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetBanRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetBanRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBanRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBanRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBanRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetBanRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBanRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBanRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBanRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetBanRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.club_id) + return club_id_; +} +inline void GetBanRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBanRequest.club_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 3; +inline bool GetBanRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetBanRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetBanRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetBanRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void GetBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanRequest.target_id) +} + +// ------------------------------------------------------------------- + +// GetBanResponse + +// optional .bgs.protocol.club.v1.client.ClubBan ban = 1; +inline bool GetBanResponse::has_ban() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBanResponse::set_has_ban() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBanResponse::clear_has_ban() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBanResponse::clear_ban() { + if (ban_ != NULL) ban_->::bgs::protocol::club::v1::client::ClubBan::Clear(); + clear_has_ban(); +} +inline const ::bgs::protocol::club::v1::client::ClubBan& GetBanResponse::ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBanResponse.ban) + return ban_ != NULL ? *ban_ : *default_instance_->ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBanResponse::mutable_ban() { + set_has_ban(); + if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::client::ClubBan; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBanResponse.ban) + return ban_; +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBanResponse::release_ban() { + clear_has_ban(); + ::bgs::protocol::club::v1::client::ClubBan* temp = ban_; + ban_ = NULL; + return temp; +} +inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::client::ClubBan* ban) { + delete ban_; + ban_ = ban; + if (ban) { + set_has_ban(); + } else { + clear_has_ban(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBanResponse.ban) +} + +// ------------------------------------------------------------------- + +// GetBansRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetBansRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetBansRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetBansRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetBansRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetBansRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBansRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetBansRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetBansRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetBansRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBansRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBansRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBansRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetBansRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.club_id) + return club_id_; +} +inline void GetBansRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetBansRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetBansRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetBansRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetBansRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetBansRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansRequest.continuation) + return continuation_; +} +inline void GetBansRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetBansResponse + +// repeated .bgs.protocol.club.v1.client.ClubBan ban = 1; +inline int GetBansResponse::ban_size() const { + return ban_.size(); +} +inline void GetBansResponse::clear_ban() { + ban_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubBan& GetBansResponse::ban(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBansResponse::mutable_ban(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubBan* GetBansResponse::add_ban() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >& +GetBansResponse::ban() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetBansResponse.ban) + return ban_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubBan >* +GetBansResponse::mutable_ban() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetBansResponse.ban) + return &ban_; +} + +// optional uint64 continuation = 2; +inline bool GetBansResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetBansResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetBansResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetBansResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetBansResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetBansResponse.continuation) + return continuation_; +} +inline void GetBansResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetBansResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SubscribeStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SubscribeStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SubscribeStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SubscribeStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SubscribeStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SubscribeStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SubscribeStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SubscribeStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SubscribeStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SubscribeStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SubscribeStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SubscribeStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.club_id) + return club_id_; +} +inline void SubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeStreamRequest.club_id) +} + +// repeated uint64 stream_id = 3; +inline int SubscribeStreamRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void SubscribeStreamRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 SubscribeStreamRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return stream_id_.Get(index); +} +inline void SubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) +} +inline void SubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +SubscribeStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +SubscribeStreamRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.SubscribeStreamRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// UnsubscribeStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UnsubscribeStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UnsubscribeStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UnsubscribeStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UnsubscribeStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UnsubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UnsubscribeStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UnsubscribeStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UnsubscribeStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UnsubscribeStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UnsubscribeStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.club_id) + return club_id_; +} +inline void UnsubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.club_id) +} + +// repeated uint64 stream_id = 3; +inline int UnsubscribeStreamRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void UnsubscribeStreamRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 UnsubscribeStreamRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return stream_id_.Get(index); +} +inline void UnsubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) +} +inline void UnsubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +UnsubscribeStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +UnsubscribeStreamRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.UnsubscribeStreamRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// CreateStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.club_id) + return club_id_; +} +inline void CreateStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamRequest.club_id) +} + +// optional .bgs.protocol.club.v1.client.CreateStreamOptions options = 3; +inline bool CreateStreamRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateStreamRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateStreamRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateStreamRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateStreamOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& CreateStreamRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* CreateStreamRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateStreamOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateStreamOptions* CreateStreamRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateStreamOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateStreamOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateStreamResponse + +// optional uint64 club_id = 1; +inline bool CreateStreamResponse::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateStreamResponse::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateStreamResponse::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateStreamResponse::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateStreamResponse::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamResponse.club_id) + return club_id_; +} +inline void CreateStreamResponse::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.club_id) +} + +// optional uint64 stream_id = 2; +inline bool CreateStreamResponse::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamResponse::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamResponse::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamResponse::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 CreateStreamResponse::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamResponse.stream_id) + return stream_id_; +} +inline void CreateStreamResponse::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamResponse.stream_id) +} + +// ------------------------------------------------------------------- + +// DestroyStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.club_id) + return club_id_; +} +inline void DestroyStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool DestroyStreamRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyStreamRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyStreamRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyStreamRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 DestroyStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyStreamRequest.stream_id) + return stream_id_; +} +inline void DestroyStreamRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyStreamRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// GetStreamRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.club_id) + return club_id_; +} +inline void GetStreamRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamRequest.stream_id) + return stream_id_; +} +inline void GetStreamRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// GetStreamResponse + +// optional .bgs.protocol.club.v1.client.Stream stream = 1; +inline bool GetStreamResponse::has_stream() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamResponse::set_has_stream() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamResponse::clear_has_stream() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamResponse::clear_stream() { + if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::Stream::Clear(); + clear_has_stream(); +} +inline const ::bgs::protocol::club::v1::client::Stream& GetStreamResponse::stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamResponse.stream) + return stream_ != NULL ? *stream_ : *default_instance_->stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamResponse::mutable_stream() { + set_has_stream(); + if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::Stream; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamResponse.stream) + return stream_; +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamResponse::release_stream() { + clear_has_stream(); + ::bgs::protocol::club::v1::client::Stream* temp = stream_; + stream_ = NULL; + return temp; +} +inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::client::Stream* stream) { + delete stream_; + stream_ = stream; + if (stream) { + set_has_stream(); + } else { + clear_has_stream(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamResponse.stream) +} + +// ------------------------------------------------------------------- + +// GetStreamsRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamsRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamsRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamsRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamsRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamsRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamsRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamsRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamsRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamsRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamsRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamsRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.club_id) + return club_id_; +} +inline void GetStreamsRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.club_id) +} + +// optional uint64 continuation = 3; +inline bool GetStreamsRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamsRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamsRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamsRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamsRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsRequest.continuation) + return continuation_; +} +inline void GetStreamsRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamsResponse + +// repeated .bgs.protocol.club.v1.client.Stream stream = 1; +inline int GetStreamsResponse::stream_size() const { + return stream_.size(); +} +inline void GetStreamsResponse::clear_stream() { + stream_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::Stream& GetStreamsResponse::stream(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Get(index); +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamsResponse::mutable_stream(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::Stream* GetStreamsResponse::add_stream() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >& +GetStreamsResponse::stream() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return stream_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::Stream >* +GetStreamsResponse::mutable_stream() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.stream) + return &stream_; +} + +// repeated .bgs.protocol.club.v1.client.StreamView view = 2; +inline int GetStreamsResponse::view_size() const { + return view_.size(); +} +inline void GetStreamsResponse::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamView& GetStreamsResponse::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamView* GetStreamsResponse::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamView* GetStreamsResponse::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >& +GetStreamsResponse::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamView >* +GetStreamsResponse::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamsResponse.view) + return &view_; +} + +// optional uint64 continuation = 3; +inline bool GetStreamsResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamsResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamsResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamsResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamsResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamsResponse.continuation) + return continuation_; +} +inline void GetStreamsResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamsResponse.continuation) +} + +// ------------------------------------------------------------------- + +// UpdateStreamStateRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool UpdateStreamStateRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UpdateStreamStateRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UpdateStreamStateRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UpdateStreamStateRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& UpdateStreamStateRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void UpdateStreamStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool UpdateStreamStateRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UpdateStreamStateRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void UpdateStreamStateRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UpdateStreamStateRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 UpdateStreamStateRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.club_id) + return club_id_; +} +inline void UpdateStreamStateRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool UpdateStreamStateRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void UpdateStreamStateRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void UpdateStreamStateRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void UpdateStreamStateRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 UpdateStreamStateRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.stream_id) + return stream_id_; +} +inline void UpdateStreamStateRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.UpdateStreamStateRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.client.StreamStateOptions options = 5; +inline bool UpdateStreamStateRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void UpdateStreamStateRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void UpdateStreamStateRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void UpdateStreamStateRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::StreamStateOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::StreamStateOptions& UpdateStreamStateRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::StreamStateOptions* UpdateStreamStateRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::StreamStateOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::StreamStateOptions* UpdateStreamStateRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::StreamStateOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::club::v1::client::StreamStateOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.UpdateStreamStateRequest.options) +} + +// ------------------------------------------------------------------- + +// SetStreamFocusRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetStreamFocusRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetStreamFocusRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetStreamFocusRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetStreamFocusRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetStreamFocusRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetStreamFocusRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetStreamFocusRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetStreamFocusRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetStreamFocusRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetStreamFocusRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetStreamFocusRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetStreamFocusRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.club_id) + return club_id_; +} +inline void SetStreamFocusRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetStreamFocusRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetStreamFocusRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetStreamFocusRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetStreamFocusRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetStreamFocusRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.stream_id) + return stream_id_; +} +inline void SetStreamFocusRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.stream_id) +} + +// optional bool focus = 4; +inline bool SetStreamFocusRequest::has_focus() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SetStreamFocusRequest::set_has_focus() { + _has_bits_[0] |= 0x00000008u; +} +inline void SetStreamFocusRequest::clear_has_focus() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SetStreamFocusRequest::clear_focus() { + focus_ = false; + clear_has_focus(); +} +inline bool SetStreamFocusRequest::focus() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetStreamFocusRequest.focus) + return focus_; +} +inline void SetStreamFocusRequest::set_focus(bool value) { + set_has_focus(); + focus_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetStreamFocusRequest.focus) +} + +// ------------------------------------------------------------------- + +// CreateMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool CreateMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& CreateMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void CreateMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool CreateMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 CreateMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.club_id) + return club_id_; +} +inline void CreateMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool CreateMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 CreateMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.stream_id) + return stream_id_; +} +inline void CreateMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 4; +inline bool CreateMessageRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateMessageRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateMessageRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateMessageRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMessageOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& CreateMessageRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* CreateMessageRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMessageOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* CreateMessageRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageRequest.options) +} + +// ------------------------------------------------------------------- + +// CreateMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool CreateMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& CreateMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* CreateMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* CreateMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// DestroyMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool DestroyMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& DestroyMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void DestroyMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool DestroyMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void DestroyMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void DestroyMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void DestroyMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 DestroyMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.club_id) + return club_id_; +} +inline void DestroyMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool DestroyMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void DestroyMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void DestroyMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void DestroyMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 DestroyMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.stream_id) + return stream_id_; +} +inline void DestroyMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.DestroyMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool DestroyMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void DestroyMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void DestroyMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void DestroyMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& DestroyMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* DestroyMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* DestroyMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void DestroyMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageRequest.message_id) +} + +// ------------------------------------------------------------------- + +// DestroyMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool DestroyMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void DestroyMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void DestroyMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void DestroyMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& DestroyMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.DestroyMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* DestroyMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.DestroyMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* DestroyMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.DestroyMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// EditMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool EditMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EditMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void EditMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EditMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& EditMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool EditMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EditMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void EditMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EditMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 EditMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.club_id) + return club_id_; +} +inline void EditMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool EditMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EditMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void EditMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EditMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 EditMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.stream_id) + return stream_id_; +} +inline void EditMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.EditMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool EditMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void EditMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void EditMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void EditMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& EditMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* EditMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* EditMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.message_id) +} + +// optional .bgs.protocol.club.v1.client.CreateMessageOptions options = 5; +inline bool EditMessageRequest::has_options() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void EditMessageRequest::set_has_options() { + _has_bits_[0] |= 0x00000010u; +} +inline void EditMessageRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000010u; +} +inline void EditMessageRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::club::v1::client::CreateMessageOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::club::v1::client::CreateMessageOptions& EditMessageRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* EditMessageRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::client::CreateMessageOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageRequest.options) + return options_; +} +inline ::bgs::protocol::club::v1::client::CreateMessageOptions* EditMessageRequest::release_options() { + clear_has_options(); + ::bgs::protocol::club::v1::client::CreateMessageOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1::client::CreateMessageOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageRequest.options) +} + +// ------------------------------------------------------------------- + +// EditMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool EditMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EditMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void EditMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EditMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& EditMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.EditMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* EditMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.EditMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* EditMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.EditMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// SetMessagePinnedRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetMessagePinnedRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetMessagePinnedRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetMessagePinnedRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetMessagePinnedRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetMessagePinnedRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetMessagePinnedRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetMessagePinnedRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetMessagePinnedRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetMessagePinnedRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetMessagePinnedRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetMessagePinnedRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetMessagePinnedRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.club_id) + return club_id_; +} +inline void SetMessagePinnedRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetMessagePinnedRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetMessagePinnedRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetMessagePinnedRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetMessagePinnedRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetMessagePinnedRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetMessagePinnedRequest.stream_id) + return stream_id_; +} +inline void SetMessagePinnedRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetMessagePinnedRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// SetTypingIndicatorRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool SetTypingIndicatorRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& SetTypingIndicatorRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void SetTypingIndicatorRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool SetTypingIndicatorRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.club_id) + return club_id_; +} +inline void SetTypingIndicatorRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool SetTypingIndicatorRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void SetTypingIndicatorRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SetTypingIndicatorRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.stream_id) + return stream_id_; +} +inline void SetTypingIndicatorRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.stream_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 4; +inline bool SetTypingIndicatorRequest::has_indicator() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_indicator() { + _has_bits_[0] |= 0x00000008u; +} +inline void SetTypingIndicatorRequest::clear_has_indicator() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SetTypingIndicatorRequest::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void SetTypingIndicatorRequest::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetTypingIndicatorRequest.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceStreamViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceStreamViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceStreamViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceStreamViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceStreamViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceStreamViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.club_id) +} + +// optional uint64 stream_id_deprecated = 3 [deprecated = true]; +inline bool AdvanceStreamViewTimeRequest::has_stream_id_deprecated() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceStreamViewTimeRequest::set_has_stream_id_deprecated() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceStreamViewTimeRequest::clear_has_stream_id_deprecated() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceStreamViewTimeRequest::clear_stream_id_deprecated() { + stream_id_deprecated_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id_deprecated(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id_deprecated) + return stream_id_deprecated_; +} +inline void AdvanceStreamViewTimeRequest::set_stream_id_deprecated(::google::protobuf::uint64 value) { + set_has_stream_id_deprecated(); + stream_id_deprecated_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id_deprecated) +} + +// repeated uint64 stream_id = 4 [packed = true]; +inline int AdvanceStreamViewTimeRequest::stream_id_size() const { + return stream_id_.size(); +} +inline void AdvanceStreamViewTimeRequest::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return stream_id_.Get(index); +} +inline void AdvanceStreamViewTimeRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) +} +inline void AdvanceStreamViewTimeRequest::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +AdvanceStreamViewTimeRequest::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +AdvanceStreamViewTimeRequest::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// AdvanceStreamMentionViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamMentionViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceStreamMentionViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceStreamMentionViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool AdvanceStreamMentionViewTimeRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceStreamMentionViewTimeRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceStreamMentionViewTimeRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.stream_id) + return stream_id_; +} +inline void AdvanceStreamMentionViewTimeRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceStreamMentionViewTimeRequest.stream_id) +} + +// ------------------------------------------------------------------- + +// AdvanceActivityViewTimeRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool AdvanceActivityViewTimeRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceActivityViewTimeRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceActivityViewTimeRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceActivityViewTimeRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& AdvanceActivityViewTimeRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void AdvanceActivityViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool AdvanceActivityViewTimeRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceActivityViewTimeRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceActivityViewTimeRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceActivityViewTimeRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 AdvanceActivityViewTimeRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.club_id) + return club_id_; +} +inline void AdvanceActivityViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.AdvanceActivityViewTimeRequest.club_id) +} + +// ------------------------------------------------------------------- + +// GetStreamHistoryRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamHistoryRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamHistoryRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamHistoryRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamHistoryRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamHistoryRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamHistoryRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamHistoryRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamHistoryRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamHistoryRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamHistoryRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamHistoryRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.club_id) + return club_id_; +} +inline void GetStreamHistoryRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamHistoryRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamHistoryRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamHistoryRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamHistoryRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamHistoryRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.stream_id) + return stream_id_; +} +inline void GetStreamHistoryRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryRequest.stream_id) +} + +// optional .bgs.protocol.GetEventOptions options = 4; +inline bool GetStreamHistoryRequest::has_options() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamHistoryRequest::set_has_options() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamHistoryRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamHistoryRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetStreamHistoryRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetStreamHistoryRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamHistoryRequest.options) +} + +// ------------------------------------------------------------------- + +// GetStreamHistoryResponse + +// repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline int GetStreamHistoryResponse::message_size() const { + return message_.size(); +} +inline void GetStreamHistoryResponse::clear_message() { + message_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& GetStreamHistoryResponse::message(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamHistoryResponse::mutable_message(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamHistoryResponse::add_message() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& +GetStreamHistoryResponse::message() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return message_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* +GetStreamHistoryResponse::mutable_message() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.GetStreamHistoryResponse.message) + return &message_; +} + +// optional uint64 continuation = 2; +inline bool GetStreamHistoryResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamHistoryResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamHistoryResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamHistoryResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetStreamHistoryResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamHistoryResponse.continuation) + return continuation_; +} +inline void GetStreamHistoryResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamHistoryResponse.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamMessageRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamMessageRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMessageRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMessageRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMessageRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamMessageRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamMessageRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamMessageRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamMessageRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamMessageRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamMessageRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.club_id) + return club_id_; +} +inline void GetStreamMessageRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamMessageRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamMessageRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamMessageRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamMessageRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamMessageRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.stream_id) + return stream_id_; +} +inline void GetStreamMessageRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamMessageRequest.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 4; +inline bool GetStreamMessageRequest::has_message_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamMessageRequest::set_has_message_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamMessageRequest::clear_has_message_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamMessageRequest::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& GetStreamMessageRequest::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* GetStreamMessageRequest::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* GetStreamMessageRequest::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void GetStreamMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageRequest.message_id) +} + +// ------------------------------------------------------------------- + +// GetStreamMessageResponse + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline bool GetStreamMessageResponse::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamMessageResponse::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamMessageResponse::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamMessageResponse::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& GetStreamMessageResponse::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamMessageResponse::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* GetStreamMessageResponse::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamMessageResponse.message) +} + +// ------------------------------------------------------------------- + +// GetClubActivityRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetClubActivityRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubActivityRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubActivityRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubActivityRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetClubActivityRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetClubActivityRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetClubActivityRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetClubActivityRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetClubActivityRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetClubActivityRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetClubActivityRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.club_id) + return club_id_; +} +inline void GetClubActivityRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityRequest.club_id) +} + +// optional .bgs.protocol.GetEventOptions options = 3; +inline bool GetClubActivityRequest::has_options() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetClubActivityRequest::set_has_options() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetClubActivityRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetClubActivityRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetClubActivityRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetClubActivityRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetClubActivityRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetClubActivityRequest.options) +} + +// ------------------------------------------------------------------- + +// GetClubActivityResponse + +// optional uint64 continuation = 2; +inline bool GetClubActivityResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetClubActivityResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetClubActivityResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetClubActivityResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetClubActivityResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetClubActivityResponse.continuation) + return continuation_; +} +inline void GetClubActivityResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetClubActivityResponse.continuation) +} + +// ------------------------------------------------------------------- + +// GetStreamVoiceTokenRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool GetStreamVoiceTokenRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamVoiceTokenRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamVoiceTokenRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& GetStreamVoiceTokenRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void GetStreamVoiceTokenRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool GetStreamVoiceTokenRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamVoiceTokenRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamVoiceTokenRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.club_id) + return club_id_; +} +inline void GetStreamVoiceTokenRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool GetStreamVoiceTokenRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetStreamVoiceTokenRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetStreamVoiceTokenRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.stream_id) + return stream_id_; +} +inline void GetStreamVoiceTokenRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.stream_id) +} + +// optional uint32 version = 4 [deprecated = true]; +inline bool GetStreamVoiceTokenRequest::has_version() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetStreamVoiceTokenRequest::set_has_version() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetStreamVoiceTokenRequest::clear_has_version() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetStreamVoiceTokenRequest::clear_version() { + version_ = 0u; + clear_has_version(); +} +inline ::google::protobuf::uint32 GetStreamVoiceTokenRequest::version() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.version) + return version_; +} +inline void GetStreamVoiceTokenRequest::set_version(::google::protobuf::uint32 value) { + set_has_version(); + version_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest.version) +} + +// ------------------------------------------------------------------- + +// GetStreamVoiceTokenResponse + +// optional string channel_uri = 1; +inline bool GetStreamVoiceTokenResponse::has_channel_uri() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetStreamVoiceTokenResponse::set_has_channel_uri() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetStreamVoiceTokenResponse::clear_has_channel_uri() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetStreamVoiceTokenResponse::clear_channel_uri() { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_->clear(); + } + clear_has_channel_uri(); +} +inline const ::std::string& GetStreamVoiceTokenResponse::channel_uri() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) + return *channel_uri_; +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const ::std::string& value) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value, size_t size) { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + channel_uri_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} +inline ::std::string* GetStreamVoiceTokenResponse::mutable_channel_uri() { + set_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + channel_uri_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) + return channel_uri_; +} +inline ::std::string* GetStreamVoiceTokenResponse::release_channel_uri() { + clear_has_channel_uri(); + if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = channel_uri_; + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void GetStreamVoiceTokenResponse::set_allocated_channel_uri(::std::string* channel_uri) { + if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete channel_uri_; + } + if (channel_uri) { + set_has_channel_uri(); + channel_uri_ = channel_uri; + } else { + clear_has_channel_uri(); + channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.channel_uri) +} + +// optional .bgs.protocol.voice.v1.VoiceCredentials credentials = 2; +inline bool GetStreamVoiceTokenResponse::has_credentials() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetStreamVoiceTokenResponse::set_has_credentials() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetStreamVoiceTokenResponse::clear_has_credentials() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetStreamVoiceTokenResponse::clear_credentials() { + if (credentials_ != NULL) credentials_->::bgs::protocol::voice::v1::VoiceCredentials::Clear(); + clear_has_credentials(); +} +inline const ::bgs::protocol::voice::v1::VoiceCredentials& GetStreamVoiceTokenResponse::credentials() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) + return credentials_ != NULL ? *credentials_ : *default_instance_->credentials_; +} +inline ::bgs::protocol::voice::v1::VoiceCredentials* GetStreamVoiceTokenResponse::mutable_credentials() { + set_has_credentials(); + if (credentials_ == NULL) credentials_ = new ::bgs::protocol::voice::v1::VoiceCredentials; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) + return credentials_; +} +inline ::bgs::protocol::voice::v1::VoiceCredentials* GetStreamVoiceTokenResponse::release_credentials() { + clear_has_credentials(); + ::bgs::protocol::voice::v1::VoiceCredentials* temp = credentials_; + credentials_ = NULL; + return temp; +} +inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protocol::voice::v1::VoiceCredentials* credentials) { + delete credentials_; + credentials_ = credentials; + if (credentials) { + set_has_credentials(); + } else { + clear_has_credentials(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse.credentials) +} + +// ------------------------------------------------------------------- + +// KickFromStreamVoiceRequest + +// optional .bgs.protocol.club.v1.MemberId agent_id = 1; +inline bool KickFromStreamVoiceRequest::has_agent_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_agent_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void KickFromStreamVoiceRequest::clear_has_agent_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void KickFromStreamVoiceRequest::clear_agent_id() { + if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_agent_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::agent_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) + return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_agent_id() { + set_has_agent_id(); + if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) + return agent_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_agent_id() { + clear_has_agent_id(); + ::bgs::protocol::club::v1::MemberId* temp = agent_id_; + agent_id_ = NULL; + return temp; +} +inline void KickFromStreamVoiceRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { + delete agent_id_; + agent_id_ = agent_id; + if (agent_id) { + set_has_agent_id(); + } else { + clear_has_agent_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.agent_id) +} + +// optional uint64 club_id = 2; +inline bool KickFromStreamVoiceRequest::has_club_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_club_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void KickFromStreamVoiceRequest::clear_has_club_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void KickFromStreamVoiceRequest::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.club_id) + return club_id_; +} +inline void KickFromStreamVoiceRequest::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.club_id) +} + +// optional uint64 stream_id = 3; +inline bool KickFromStreamVoiceRequest::has_stream_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_stream_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void KickFromStreamVoiceRequest::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void KickFromStreamVoiceRequest::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.stream_id) + return stream_id_; +} +inline void KickFromStreamVoiceRequest::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.stream_id) +} + +// optional .bgs.protocol.club.v1.MemberId target_id = 4; +inline bool KickFromStreamVoiceRequest::has_target_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void KickFromStreamVoiceRequest::set_has_target_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void KickFromStreamVoiceRequest::clear_has_target_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void KickFromStreamVoiceRequest::clear_target_id() { + if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_target_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::target_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) + return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_target_id() { + set_has_target_id(); + if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) + return target_id_; +} +inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_target_id() { + clear_has_target_id(); + ::bgs::protocol::club::v1::MemberId* temp = target_id_; + target_id_ = NULL; + return temp; +} +inline void KickFromStreamVoiceRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { + delete target_id_; + target_id_ = target_id; + if (target_id) { + set_has_target_id(); + } else { + clear_has_target_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.KickFromStreamVoiceRequest.target_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frequest_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_role.pb.cc b/src/server/proto/Client/api/client/v1/club_role.pb.cc new file mode 100644 index 00000000000..c67ddf600ae --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_role.pb.cc @@ -0,0 +1,589 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_role.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_role.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* ClubPrivilegeSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubPrivilegeSet_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRole_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRole_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubRoleSet_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubRoleSet_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_role.proto"); + GOOGLE_CHECK(file != NULL); + ClubPrivilegeSet_descriptor_ = file->message_type(0); + static const int ClubPrivilegeSet_offsets_[49] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_broadcast_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_kick_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_voice_state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_presence_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_whisper_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_note_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_use_voice_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_voice_mute_member_for_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_guest_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_own_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_other_invitation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_suggestion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_suggest_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_approve_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_ticket_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_remove_ban_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_stream_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_position_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_voice_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_own_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_other_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_edit_own_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_pin_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_here_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_member_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_role_), + }; + ClubPrivilegeSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubPrivilegeSet_descriptor_, + ClubPrivilegeSet::default_instance_, + ClubPrivilegeSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubPrivilegeSet)); + ClubRole_descriptor_ = file->message_type(1); + static const int ClubRole_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, privilege_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, always_grant_stream_access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, allow_in_club_slot_), + }; + ClubRole_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRole_descriptor_, + ClubRole::default_instance_, + ClubRole_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRole)); + ClubRoleSet_descriptor_ = file->message_type(2); + static const int ClubRoleSet_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, default_role_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, assignment_respects_relegation_chain_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, subtype_), + }; + ClubRoleSet_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubRoleSet_descriptor_, + ClubRoleSet::default_instance_, + ClubRoleSet_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubRoleSet)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubPrivilegeSet_descriptor_, &ClubPrivilegeSet::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRole_descriptor_, &ClubRole::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubRoleSet_descriptor_, &ClubRoleSet::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto() { + delete ClubPrivilegeSet::default_instance_; + delete ClubPrivilegeSet_reflection_; + delete ClubRole::default_instance_; + delete ClubRole_reflection_; + delete ClubRoleSet::default_instance_; + delete ClubRoleSet_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_role_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/client/v1/club_role.proto\022\033bgs.pro" + "tocol.club.v1.client\032\020role_types.proto\"\307" + "\013\n\020ClubPrivilegeSet\022\023\n\013can_destroy\030\001 \001(\010" + "\022\031\n\021can_set_attribute\030\n \001(\010\022\024\n\014can_set_n" + "ame\030\013 \001(\010\022\033\n\023can_set_description\030\014 \001(\010\022\026" + "\n\016can_set_avatar\030\r \001(\010\022\031\n\021can_set_broadc" + "ast\030\016 \001(\010\022\035\n\025can_set_privacy_level\030\017 \001(\010" + "\022\026\n\016can_add_member\030\035 \001(\010\022\027\n\017can_kick_mem" + "ber\030\036 \001(\010\022$\n\034can_set_own_member_attribut" + "e\030\037 \001(\010\022&\n\036can_set_other_member_attribut" + "e\030 \001(\010\022\037\n\027can_set_own_voice_state\030! \001(\010" + "\022\"\n\032can_set_own_presence_level\030\" \001(\010\022!\n\031" + "can_set_own_whisper_level\030# \001(\010\022\037\n\027can_s" + "et_own_member_note\030$ \001(\010\022!\n\031can_set_othe" + "r_member_note\030% \001(\010\022\025\n\rcan_use_voice\0302 \001" + "(\010\022%\n\035can_voice_mute_member_for_all\0303 \001(" + "\010\022\032\n\022can_get_invitation\030F \001(\010\022\033\n\023can_sen" + "d_invitation\030G \001(\010\022!\n\031can_send_guest_inv" + "itation\030H \001(\010\022!\n\031can_revoke_own_invitati" + "on\030I \001(\010\022#\n\033can_revoke_other_invitation\030" + "J \001(\010\022\032\n\022can_get_suggestion\030Z \001(\010\022\032\n\022can" + "_suggest_member\030[ \001(\010\022\032\n\022can_approve_mem" + "ber\030\\ \001(\010\022\026\n\016can_get_ticket\030n \001(\010\022\031\n\021can" + "_create_ticket\030o \001(\010\022\032\n\022can_destroy_tick" + "et\030p \001(\010\022\024\n\013can_get_ban\030\202\001 \001(\010\022\024\n\013can_ad" + "d_ban\030\203\001 \001(\010\022\027\n\016can_remove_ban\030\204\001 \001(\010\022\032\n" + "\021can_create_stream\030\214\001 \001(\010\022\033\n\022can_destroy" + "_stream\030\215\001 \001(\010\022 \n\027can_set_stream_positio" + "n\030\216\001 \001(\010\022!\n\030can_set_stream_attribute\030\217\001 " + "\001(\010\022\034\n\023can_set_stream_name\030\220\001 \001(\010\022\037\n\026can" + "_set_stream_subject\030\221\001 \001(\010\022\036\n\025can_set_st" + "ream_access\030\222\001 \001(\010\022#\n\032can_set_stream_voi" + "ce_level\030\223\001 \001(\010\022\033\n\022can_create_message\030\264\001" + " \001(\010\022 \n\027can_destroy_own_message\030\265\001 \001(\010\022\"" + "\n\031can_destroy_other_message\030\266\001 \001(\010\022\035\n\024ca" + "n_edit_own_message\030\267\001 \001(\010\022\030\n\017can_pin_mes" + "sage\030\270\001 \001(\010\022\030\n\017can_mention_all\030\271\001 \001(\010\022\031\n" + "\020can_mention_here\030\272\001 \001(\010\022\033\n\022can_mention_" + "member\030\273\001 \001(\010\022\031\n\020can_mention_role\030\274\001 \001(\010" + "\"\300\001\n\010ClubRole\022\n\n\002id\030\001 \001(\r\022&\n\005state\030\002 \001(\013" + "2\027.bgs.protocol.RoleState\022@\n\tprivilege\030\003" + " \001(\0132-.bgs.protocol.club.v1.client.ClubP" + "rivilegeSet\022\"\n\032always_grant_stream_acces" + "s\030\004 \001(\010\022\032\n\022allow_in_club_slot\030\005 \001(\010\"\233\001\n\013" + "ClubRoleSet\0223\n\004role\030\001 \003(\0132%.bgs.protocol" + ".club.v1.client.ClubRole\022\030\n\014default_role" + "\030\005 \003(\rB\002\020\001\022,\n$assignment_respects_relega" + "tion_chain\030\006 \001(\010\022\017\n\007subtype\030\007 \001(\tB\002H\002", 1917); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_role.proto", &protobuf_RegisterTypes); + ClubPrivilegeSet::default_instance_ = new ClubPrivilegeSet(); + ClubRole::default_instance_ = new ClubRole(); + ClubRoleSet::default_instance_ = new ClubRoleSet(); + ClubPrivilegeSet::default_instance_->InitAsDefaultInstance(); + ClubRole::default_instance_->InitAsDefaultInstance(); + ClubRoleSet::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frole_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5frole_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5frole_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int ClubPrivilegeSet::kCanDestroyFieldNumber; +const int ClubPrivilegeSet::kCanSetAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetNameFieldNumber; +const int ClubPrivilegeSet::kCanSetDescriptionFieldNumber; +const int ClubPrivilegeSet::kCanSetAvatarFieldNumber; +const int ClubPrivilegeSet::kCanSetBroadcastFieldNumber; +const int ClubPrivilegeSet::kCanSetPrivacyLevelFieldNumber; +const int ClubPrivilegeSet::kCanAddMemberFieldNumber; +const int ClubPrivilegeSet::kCanKickMemberFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnMemberAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetOtherMemberAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnVoiceStateFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnPresenceLevelFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnWhisperLevelFieldNumber; +const int ClubPrivilegeSet::kCanSetOwnMemberNoteFieldNumber; +const int ClubPrivilegeSet::kCanSetOtherMemberNoteFieldNumber; +const int ClubPrivilegeSet::kCanUseVoiceFieldNumber; +const int ClubPrivilegeSet::kCanVoiceMuteMemberForAllFieldNumber; +const int ClubPrivilegeSet::kCanGetInvitationFieldNumber; +const int ClubPrivilegeSet::kCanSendInvitationFieldNumber; +const int ClubPrivilegeSet::kCanSendGuestInvitationFieldNumber; +const int ClubPrivilegeSet::kCanRevokeOwnInvitationFieldNumber; +const int ClubPrivilegeSet::kCanRevokeOtherInvitationFieldNumber; +const int ClubPrivilegeSet::kCanGetSuggestionFieldNumber; +const int ClubPrivilegeSet::kCanSuggestMemberFieldNumber; +const int ClubPrivilegeSet::kCanApproveMemberFieldNumber; +const int ClubPrivilegeSet::kCanGetTicketFieldNumber; +const int ClubPrivilegeSet::kCanCreateTicketFieldNumber; +const int ClubPrivilegeSet::kCanDestroyTicketFieldNumber; +const int ClubPrivilegeSet::kCanGetBanFieldNumber; +const int ClubPrivilegeSet::kCanAddBanFieldNumber; +const int ClubPrivilegeSet::kCanRemoveBanFieldNumber; +const int ClubPrivilegeSet::kCanCreateStreamFieldNumber; +const int ClubPrivilegeSet::kCanDestroyStreamFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamPositionFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamAttributeFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamNameFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamSubjectFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamAccessFieldNumber; +const int ClubPrivilegeSet::kCanSetStreamVoiceLevelFieldNumber; +const int ClubPrivilegeSet::kCanCreateMessageFieldNumber; +const int ClubPrivilegeSet::kCanDestroyOwnMessageFieldNumber; +const int ClubPrivilegeSet::kCanDestroyOtherMessageFieldNumber; +const int ClubPrivilegeSet::kCanEditOwnMessageFieldNumber; +const int ClubPrivilegeSet::kCanPinMessageFieldNumber; +const int ClubPrivilegeSet::kCanMentionAllFieldNumber; +const int ClubPrivilegeSet::kCanMentionHereFieldNumber; +const int ClubPrivilegeSet::kCanMentionMemberFieldNumber; +const int ClubPrivilegeSet::kCanMentionRoleFieldNumber; +#endif // !_MSC_VER + +ClubPrivilegeSet::ClubPrivilegeSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) +} + +void ClubPrivilegeSet::InitAsDefaultInstance() { +} + +ClubPrivilegeSet::ClubPrivilegeSet(const ClubPrivilegeSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) +} + +void ClubPrivilegeSet::SharedCtor() { + _cached_size_ = 0; + can_destroy_ = false; + can_set_attribute_ = false; + can_set_name_ = false; + can_set_description_ = false; + can_set_avatar_ = false; + can_set_broadcast_ = false; + can_set_privacy_level_ = false; + can_add_member_ = false; + can_kick_member_ = false; + can_set_own_member_attribute_ = false; + can_set_other_member_attribute_ = false; + can_set_own_voice_state_ = false; + can_set_own_presence_level_ = false; + can_set_own_whisper_level_ = false; + can_set_own_member_note_ = false; + can_set_other_member_note_ = false; + can_use_voice_ = false; + can_voice_mute_member_for_all_ = false; + can_get_invitation_ = false; + can_send_invitation_ = false; + can_send_guest_invitation_ = false; + can_revoke_own_invitation_ = false; + can_revoke_other_invitation_ = false; + can_get_suggestion_ = false; + can_suggest_member_ = false; + can_approve_member_ = false; + can_get_ticket_ = false; + can_create_ticket_ = false; + can_destroy_ticket_ = false; + can_get_ban_ = false; + can_add_ban_ = false; + can_remove_ban_ = false; + can_create_stream_ = false; + can_destroy_stream_ = false; + can_set_stream_position_ = false; + can_set_stream_attribute_ = false; + can_set_stream_name_ = false; + can_set_stream_subject_ = false; + can_set_stream_access_ = false; + can_set_stream_voice_level_ = false; + can_create_message_ = false; + can_destroy_own_message_ = false; + can_destroy_other_message_ = false; + can_edit_own_message_ = false; + can_pin_message_ = false; + can_mention_all_ = false; + can_mention_here_ = false; + can_mention_member_ = false; + can_mention_role_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubPrivilegeSet::~ClubPrivilegeSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubPrivilegeSet) + SharedDtor(); +} + +void ClubPrivilegeSet::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubPrivilegeSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubPrivilegeSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubPrivilegeSet_descriptor_; +} + +const ClubPrivilegeSet& ClubPrivilegeSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubPrivilegeSet* ClubPrivilegeSet::default_instance_ = NULL; + +ClubPrivilegeSet* ClubPrivilegeSet::New() const { + return new ClubPrivilegeSet; +} + +void ClubPrivilegeSet::Swap(ClubPrivilegeSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubPrivilegeSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubPrivilegeSet_descriptor_; + metadata.reflection = ClubPrivilegeSet_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRole::kIdFieldNumber; +const int ClubRole::kStateFieldNumber; +const int ClubRole::kPrivilegeFieldNumber; +const int ClubRole::kAlwaysGrantStreamAccessFieldNumber; +const int ClubRole::kAllowInClubSlotFieldNumber; +#endif // !_MSC_VER + +ClubRole::ClubRole() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubRole) +} + +void ClubRole::InitAsDefaultInstance() { + state_ = const_cast< ::bgs::protocol::RoleState*>(&::bgs::protocol::RoleState::default_instance()); + privilege_ = const_cast< ::bgs::protocol::club::v1::client::ClubPrivilegeSet*>(&::bgs::protocol::club::v1::client::ClubPrivilegeSet::default_instance()); +} + +ClubRole::ClubRole(const ClubRole& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRole) +} + +void ClubRole::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + state_ = NULL; + privilege_ = NULL; + always_grant_stream_access_ = false; + allow_in_club_slot_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRole::~ClubRole() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRole) + SharedDtor(); +} + +void ClubRole::SharedDtor() { + if (this != default_instance_) { + delete state_; + delete privilege_; + } +} + +void ClubRole::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRole::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRole_descriptor_; +} + +const ClubRole& ClubRole::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubRole* ClubRole::default_instance_ = NULL; + +ClubRole* ClubRole::New() const { + return new ClubRole; +} + +void ClubRole::Swap(ClubRole* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRole::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRole_descriptor_; + metadata.reflection = ClubRole_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubRoleSet::kRoleFieldNumber; +const int ClubRoleSet::kDefaultRoleFieldNumber; +const int ClubRoleSet::kAssignmentRespectsRelegationChainFieldNumber; +const int ClubRoleSet::kSubtypeFieldNumber; +#endif // !_MSC_VER + +ClubRoleSet::ClubRoleSet() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubRoleSet) +} + +void ClubRoleSet::InitAsDefaultInstance() { +} + +ClubRoleSet::ClubRoleSet(const ClubRoleSet& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubRoleSet) +} + +void ClubRoleSet::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + assignment_respects_relegation_chain_ = false; + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubRoleSet::~ClubRoleSet() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubRoleSet) + SharedDtor(); +} + +void ClubRoleSet::SharedDtor() { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subtype_; + } + if (this != default_instance_) { + } +} + +void ClubRoleSet::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubRoleSet::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubRoleSet_descriptor_; +} + +const ClubRoleSet& ClubRoleSet::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + return *default_instance_; +} + +ClubRoleSet* ClubRoleSet::default_instance_ = NULL; + +ClubRoleSet* ClubRoleSet::New() const { + return new ClubRoleSet; +} + +void ClubRoleSet::Swap(ClubRoleSet* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubRoleSet::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubRoleSet_descriptor_; + metadata.reflection = ClubRoleSet_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_role.pb.h b/src/server/proto/Client/api/client/v1/club_role.pb.h new file mode 100644 index 00000000000..5c088960d46 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_role.pb.h @@ -0,0 +1,2332 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_role.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "role_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + +class ClubPrivilegeSet; +class ClubRole; +class ClubRoleSet; + +// =================================================================== + +class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message { + public: + ClubPrivilegeSet(); + virtual ~ClubPrivilegeSet(); + + ClubPrivilegeSet(const ClubPrivilegeSet& from); + + inline ClubPrivilegeSet& operator=(const ClubPrivilegeSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubPrivilegeSet& default_instance(); + + void Swap(ClubPrivilegeSet* other); + + // implements Message ---------------------------------------------- + + ClubPrivilegeSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool can_destroy = 1; + inline bool has_can_destroy() const; + inline void clear_can_destroy(); + static const int kCanDestroyFieldNumber = 1; + inline bool can_destroy() const; + inline void set_can_destroy(bool value); + + // optional bool can_set_attribute = 10; + inline bool has_can_set_attribute() const; + inline void clear_can_set_attribute(); + static const int kCanSetAttributeFieldNumber = 10; + inline bool can_set_attribute() const; + inline void set_can_set_attribute(bool value); + + // optional bool can_set_name = 11; + inline bool has_can_set_name() const; + inline void clear_can_set_name(); + static const int kCanSetNameFieldNumber = 11; + inline bool can_set_name() const; + inline void set_can_set_name(bool value); + + // optional bool can_set_description = 12; + inline bool has_can_set_description() const; + inline void clear_can_set_description(); + static const int kCanSetDescriptionFieldNumber = 12; + inline bool can_set_description() const; + inline void set_can_set_description(bool value); + + // optional bool can_set_avatar = 13; + inline bool has_can_set_avatar() const; + inline void clear_can_set_avatar(); + static const int kCanSetAvatarFieldNumber = 13; + inline bool can_set_avatar() const; + inline void set_can_set_avatar(bool value); + + // optional bool can_set_broadcast = 14; + inline bool has_can_set_broadcast() const; + inline void clear_can_set_broadcast(); + static const int kCanSetBroadcastFieldNumber = 14; + inline bool can_set_broadcast() const; + inline void set_can_set_broadcast(bool value); + + // optional bool can_set_privacy_level = 15; + inline bool has_can_set_privacy_level() const; + inline void clear_can_set_privacy_level(); + static const int kCanSetPrivacyLevelFieldNumber = 15; + inline bool can_set_privacy_level() const; + inline void set_can_set_privacy_level(bool value); + + // optional bool can_add_member = 29; + inline bool has_can_add_member() const; + inline void clear_can_add_member(); + static const int kCanAddMemberFieldNumber = 29; + inline bool can_add_member() const; + inline void set_can_add_member(bool value); + + // optional bool can_kick_member = 30; + inline bool has_can_kick_member() const; + inline void clear_can_kick_member(); + static const int kCanKickMemberFieldNumber = 30; + inline bool can_kick_member() const; + inline void set_can_kick_member(bool value); + + // optional bool can_set_own_member_attribute = 31; + inline bool has_can_set_own_member_attribute() const; + inline void clear_can_set_own_member_attribute(); + static const int kCanSetOwnMemberAttributeFieldNumber = 31; + inline bool can_set_own_member_attribute() const; + inline void set_can_set_own_member_attribute(bool value); + + // optional bool can_set_other_member_attribute = 32; + inline bool has_can_set_other_member_attribute() const; + inline void clear_can_set_other_member_attribute(); + static const int kCanSetOtherMemberAttributeFieldNumber = 32; + inline bool can_set_other_member_attribute() const; + inline void set_can_set_other_member_attribute(bool value); + + // optional bool can_set_own_voice_state = 33; + inline bool has_can_set_own_voice_state() const; + inline void clear_can_set_own_voice_state(); + static const int kCanSetOwnVoiceStateFieldNumber = 33; + inline bool can_set_own_voice_state() const; + inline void set_can_set_own_voice_state(bool value); + + // optional bool can_set_own_presence_level = 34; + inline bool has_can_set_own_presence_level() const; + inline void clear_can_set_own_presence_level(); + static const int kCanSetOwnPresenceLevelFieldNumber = 34; + inline bool can_set_own_presence_level() const; + inline void set_can_set_own_presence_level(bool value); + + // optional bool can_set_own_whisper_level = 35; + inline bool has_can_set_own_whisper_level() const; + inline void clear_can_set_own_whisper_level(); + static const int kCanSetOwnWhisperLevelFieldNumber = 35; + inline bool can_set_own_whisper_level() const; + inline void set_can_set_own_whisper_level(bool value); + + // optional bool can_set_own_member_note = 36; + inline bool has_can_set_own_member_note() const; + inline void clear_can_set_own_member_note(); + static const int kCanSetOwnMemberNoteFieldNumber = 36; + inline bool can_set_own_member_note() const; + inline void set_can_set_own_member_note(bool value); + + // optional bool can_set_other_member_note = 37; + inline bool has_can_set_other_member_note() const; + inline void clear_can_set_other_member_note(); + static const int kCanSetOtherMemberNoteFieldNumber = 37; + inline bool can_set_other_member_note() const; + inline void set_can_set_other_member_note(bool value); + + // optional bool can_use_voice = 50; + inline bool has_can_use_voice() const; + inline void clear_can_use_voice(); + static const int kCanUseVoiceFieldNumber = 50; + inline bool can_use_voice() const; + inline void set_can_use_voice(bool value); + + // optional bool can_voice_mute_member_for_all = 51; + inline bool has_can_voice_mute_member_for_all() const; + inline void clear_can_voice_mute_member_for_all(); + static const int kCanVoiceMuteMemberForAllFieldNumber = 51; + inline bool can_voice_mute_member_for_all() const; + inline void set_can_voice_mute_member_for_all(bool value); + + // optional bool can_get_invitation = 70; + inline bool has_can_get_invitation() const; + inline void clear_can_get_invitation(); + static const int kCanGetInvitationFieldNumber = 70; + inline bool can_get_invitation() const; + inline void set_can_get_invitation(bool value); + + // optional bool can_send_invitation = 71; + inline bool has_can_send_invitation() const; + inline void clear_can_send_invitation(); + static const int kCanSendInvitationFieldNumber = 71; + inline bool can_send_invitation() const; + inline void set_can_send_invitation(bool value); + + // optional bool can_send_guest_invitation = 72; + inline bool has_can_send_guest_invitation() const; + inline void clear_can_send_guest_invitation(); + static const int kCanSendGuestInvitationFieldNumber = 72; + inline bool can_send_guest_invitation() const; + inline void set_can_send_guest_invitation(bool value); + + // optional bool can_revoke_own_invitation = 73; + inline bool has_can_revoke_own_invitation() const; + inline void clear_can_revoke_own_invitation(); + static const int kCanRevokeOwnInvitationFieldNumber = 73; + inline bool can_revoke_own_invitation() const; + inline void set_can_revoke_own_invitation(bool value); + + // optional bool can_revoke_other_invitation = 74; + inline bool has_can_revoke_other_invitation() const; + inline void clear_can_revoke_other_invitation(); + static const int kCanRevokeOtherInvitationFieldNumber = 74; + inline bool can_revoke_other_invitation() const; + inline void set_can_revoke_other_invitation(bool value); + + // optional bool can_get_suggestion = 90; + inline bool has_can_get_suggestion() const; + inline void clear_can_get_suggestion(); + static const int kCanGetSuggestionFieldNumber = 90; + inline bool can_get_suggestion() const; + inline void set_can_get_suggestion(bool value); + + // optional bool can_suggest_member = 91; + inline bool has_can_suggest_member() const; + inline void clear_can_suggest_member(); + static const int kCanSuggestMemberFieldNumber = 91; + inline bool can_suggest_member() const; + inline void set_can_suggest_member(bool value); + + // optional bool can_approve_member = 92; + inline bool has_can_approve_member() const; + inline void clear_can_approve_member(); + static const int kCanApproveMemberFieldNumber = 92; + inline bool can_approve_member() const; + inline void set_can_approve_member(bool value); + + // optional bool can_get_ticket = 110; + inline bool has_can_get_ticket() const; + inline void clear_can_get_ticket(); + static const int kCanGetTicketFieldNumber = 110; + inline bool can_get_ticket() const; + inline void set_can_get_ticket(bool value); + + // optional bool can_create_ticket = 111; + inline bool has_can_create_ticket() const; + inline void clear_can_create_ticket(); + static const int kCanCreateTicketFieldNumber = 111; + inline bool can_create_ticket() const; + inline void set_can_create_ticket(bool value); + + // optional bool can_destroy_ticket = 112; + inline bool has_can_destroy_ticket() const; + inline void clear_can_destroy_ticket(); + static const int kCanDestroyTicketFieldNumber = 112; + inline bool can_destroy_ticket() const; + inline void set_can_destroy_ticket(bool value); + + // optional bool can_get_ban = 130; + inline bool has_can_get_ban() const; + inline void clear_can_get_ban(); + static const int kCanGetBanFieldNumber = 130; + inline bool can_get_ban() const; + inline void set_can_get_ban(bool value); + + // optional bool can_add_ban = 131; + inline bool has_can_add_ban() const; + inline void clear_can_add_ban(); + static const int kCanAddBanFieldNumber = 131; + inline bool can_add_ban() const; + inline void set_can_add_ban(bool value); + + // optional bool can_remove_ban = 132; + inline bool has_can_remove_ban() const; + inline void clear_can_remove_ban(); + static const int kCanRemoveBanFieldNumber = 132; + inline bool can_remove_ban() const; + inline void set_can_remove_ban(bool value); + + // optional bool can_create_stream = 140; + inline bool has_can_create_stream() const; + inline void clear_can_create_stream(); + static const int kCanCreateStreamFieldNumber = 140; + inline bool can_create_stream() const; + inline void set_can_create_stream(bool value); + + // optional bool can_destroy_stream = 141; + inline bool has_can_destroy_stream() const; + inline void clear_can_destroy_stream(); + static const int kCanDestroyStreamFieldNumber = 141; + inline bool can_destroy_stream() const; + inline void set_can_destroy_stream(bool value); + + // optional bool can_set_stream_position = 142; + inline bool has_can_set_stream_position() const; + inline void clear_can_set_stream_position(); + static const int kCanSetStreamPositionFieldNumber = 142; + inline bool can_set_stream_position() const; + inline void set_can_set_stream_position(bool value); + + // optional bool can_set_stream_attribute = 143; + inline bool has_can_set_stream_attribute() const; + inline void clear_can_set_stream_attribute(); + static const int kCanSetStreamAttributeFieldNumber = 143; + inline bool can_set_stream_attribute() const; + inline void set_can_set_stream_attribute(bool value); + + // optional bool can_set_stream_name = 144; + inline bool has_can_set_stream_name() const; + inline void clear_can_set_stream_name(); + static const int kCanSetStreamNameFieldNumber = 144; + inline bool can_set_stream_name() const; + inline void set_can_set_stream_name(bool value); + + // optional bool can_set_stream_subject = 145; + inline bool has_can_set_stream_subject() const; + inline void clear_can_set_stream_subject(); + static const int kCanSetStreamSubjectFieldNumber = 145; + inline bool can_set_stream_subject() const; + inline void set_can_set_stream_subject(bool value); + + // optional bool can_set_stream_access = 146; + inline bool has_can_set_stream_access() const; + inline void clear_can_set_stream_access(); + static const int kCanSetStreamAccessFieldNumber = 146; + inline bool can_set_stream_access() const; + inline void set_can_set_stream_access(bool value); + + // optional bool can_set_stream_voice_level = 147; + inline bool has_can_set_stream_voice_level() const; + inline void clear_can_set_stream_voice_level(); + static const int kCanSetStreamVoiceLevelFieldNumber = 147; + inline bool can_set_stream_voice_level() const; + inline void set_can_set_stream_voice_level(bool value); + + // optional bool can_create_message = 180; + inline bool has_can_create_message() const; + inline void clear_can_create_message(); + static const int kCanCreateMessageFieldNumber = 180; + inline bool can_create_message() const; + inline void set_can_create_message(bool value); + + // optional bool can_destroy_own_message = 181; + inline bool has_can_destroy_own_message() const; + inline void clear_can_destroy_own_message(); + static const int kCanDestroyOwnMessageFieldNumber = 181; + inline bool can_destroy_own_message() const; + inline void set_can_destroy_own_message(bool value); + + // optional bool can_destroy_other_message = 182; + inline bool has_can_destroy_other_message() const; + inline void clear_can_destroy_other_message(); + static const int kCanDestroyOtherMessageFieldNumber = 182; + inline bool can_destroy_other_message() const; + inline void set_can_destroy_other_message(bool value); + + // optional bool can_edit_own_message = 183; + inline bool has_can_edit_own_message() const; + inline void clear_can_edit_own_message(); + static const int kCanEditOwnMessageFieldNumber = 183; + inline bool can_edit_own_message() const; + inline void set_can_edit_own_message(bool value); + + // optional bool can_pin_message = 184; + inline bool has_can_pin_message() const; + inline void clear_can_pin_message(); + static const int kCanPinMessageFieldNumber = 184; + inline bool can_pin_message() const; + inline void set_can_pin_message(bool value); + + // optional bool can_mention_all = 185; + inline bool has_can_mention_all() const; + inline void clear_can_mention_all(); + static const int kCanMentionAllFieldNumber = 185; + inline bool can_mention_all() const; + inline void set_can_mention_all(bool value); + + // optional bool can_mention_here = 186; + inline bool has_can_mention_here() const; + inline void clear_can_mention_here(); + static const int kCanMentionHereFieldNumber = 186; + inline bool can_mention_here() const; + inline void set_can_mention_here(bool value); + + // optional bool can_mention_member = 187; + inline bool has_can_mention_member() const; + inline void clear_can_mention_member(); + static const int kCanMentionMemberFieldNumber = 187; + inline bool can_mention_member() const; + inline void set_can_mention_member(bool value); + + // optional bool can_mention_role = 188; + inline bool has_can_mention_role() const; + inline void clear_can_mention_role(); + static const int kCanMentionRoleFieldNumber = 188; + inline bool can_mention_role() const; + inline void set_can_mention_role(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubPrivilegeSet) + private: + inline void set_has_can_destroy(); + inline void clear_has_can_destroy(); + inline void set_has_can_set_attribute(); + inline void clear_has_can_set_attribute(); + inline void set_has_can_set_name(); + inline void clear_has_can_set_name(); + inline void set_has_can_set_description(); + inline void clear_has_can_set_description(); + inline void set_has_can_set_avatar(); + inline void clear_has_can_set_avatar(); + inline void set_has_can_set_broadcast(); + inline void clear_has_can_set_broadcast(); + inline void set_has_can_set_privacy_level(); + inline void clear_has_can_set_privacy_level(); + inline void set_has_can_add_member(); + inline void clear_has_can_add_member(); + inline void set_has_can_kick_member(); + inline void clear_has_can_kick_member(); + inline void set_has_can_set_own_member_attribute(); + inline void clear_has_can_set_own_member_attribute(); + inline void set_has_can_set_other_member_attribute(); + inline void clear_has_can_set_other_member_attribute(); + inline void set_has_can_set_own_voice_state(); + inline void clear_has_can_set_own_voice_state(); + inline void set_has_can_set_own_presence_level(); + inline void clear_has_can_set_own_presence_level(); + inline void set_has_can_set_own_whisper_level(); + inline void clear_has_can_set_own_whisper_level(); + inline void set_has_can_set_own_member_note(); + inline void clear_has_can_set_own_member_note(); + inline void set_has_can_set_other_member_note(); + inline void clear_has_can_set_other_member_note(); + inline void set_has_can_use_voice(); + inline void clear_has_can_use_voice(); + inline void set_has_can_voice_mute_member_for_all(); + inline void clear_has_can_voice_mute_member_for_all(); + inline void set_has_can_get_invitation(); + inline void clear_has_can_get_invitation(); + inline void set_has_can_send_invitation(); + inline void clear_has_can_send_invitation(); + inline void set_has_can_send_guest_invitation(); + inline void clear_has_can_send_guest_invitation(); + inline void set_has_can_revoke_own_invitation(); + inline void clear_has_can_revoke_own_invitation(); + inline void set_has_can_revoke_other_invitation(); + inline void clear_has_can_revoke_other_invitation(); + inline void set_has_can_get_suggestion(); + inline void clear_has_can_get_suggestion(); + inline void set_has_can_suggest_member(); + inline void clear_has_can_suggest_member(); + inline void set_has_can_approve_member(); + inline void clear_has_can_approve_member(); + inline void set_has_can_get_ticket(); + inline void clear_has_can_get_ticket(); + inline void set_has_can_create_ticket(); + inline void clear_has_can_create_ticket(); + inline void set_has_can_destroy_ticket(); + inline void clear_has_can_destroy_ticket(); + inline void set_has_can_get_ban(); + inline void clear_has_can_get_ban(); + inline void set_has_can_add_ban(); + inline void clear_has_can_add_ban(); + inline void set_has_can_remove_ban(); + inline void clear_has_can_remove_ban(); + inline void set_has_can_create_stream(); + inline void clear_has_can_create_stream(); + inline void set_has_can_destroy_stream(); + inline void clear_has_can_destroy_stream(); + inline void set_has_can_set_stream_position(); + inline void clear_has_can_set_stream_position(); + inline void set_has_can_set_stream_attribute(); + inline void clear_has_can_set_stream_attribute(); + inline void set_has_can_set_stream_name(); + inline void clear_has_can_set_stream_name(); + inline void set_has_can_set_stream_subject(); + inline void clear_has_can_set_stream_subject(); + inline void set_has_can_set_stream_access(); + inline void clear_has_can_set_stream_access(); + inline void set_has_can_set_stream_voice_level(); + inline void clear_has_can_set_stream_voice_level(); + inline void set_has_can_create_message(); + inline void clear_has_can_create_message(); + inline void set_has_can_destroy_own_message(); + inline void clear_has_can_destroy_own_message(); + inline void set_has_can_destroy_other_message(); + inline void clear_has_can_destroy_other_message(); + inline void set_has_can_edit_own_message(); + inline void clear_has_can_edit_own_message(); + inline void set_has_can_pin_message(); + inline void clear_has_can_pin_message(); + inline void set_has_can_mention_all(); + inline void clear_has_can_mention_all(); + inline void set_has_can_mention_here(); + inline void clear_has_can_mention_here(); + inline void set_has_can_mention_member(); + inline void clear_has_can_mention_member(); + inline void set_has_can_mention_role(); + inline void clear_has_can_mention_role(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[2]; + bool can_destroy_; + bool can_set_attribute_; + bool can_set_name_; + bool can_set_description_; + bool can_set_avatar_; + bool can_set_broadcast_; + bool can_set_privacy_level_; + bool can_add_member_; + bool can_kick_member_; + bool can_set_own_member_attribute_; + bool can_set_other_member_attribute_; + bool can_set_own_voice_state_; + bool can_set_own_presence_level_; + bool can_set_own_whisper_level_; + bool can_set_own_member_note_; + bool can_set_other_member_note_; + bool can_use_voice_; + bool can_voice_mute_member_for_all_; + bool can_get_invitation_; + bool can_send_invitation_; + bool can_send_guest_invitation_; + bool can_revoke_own_invitation_; + bool can_revoke_other_invitation_; + bool can_get_suggestion_; + bool can_suggest_member_; + bool can_approve_member_; + bool can_get_ticket_; + bool can_create_ticket_; + bool can_destroy_ticket_; + bool can_get_ban_; + bool can_add_ban_; + bool can_remove_ban_; + bool can_create_stream_; + bool can_destroy_stream_; + bool can_set_stream_position_; + bool can_set_stream_attribute_; + bool can_set_stream_name_; + bool can_set_stream_subject_; + bool can_set_stream_access_; + bool can_set_stream_voice_level_; + bool can_create_message_; + bool can_destroy_own_message_; + bool can_destroy_other_message_; + bool can_edit_own_message_; + bool can_pin_message_; + bool can_mention_all_; + bool can_mention_here_; + bool can_mention_member_; + bool can_mention_role_; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubPrivilegeSet* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRole : public ::google::protobuf::Message { + public: + ClubRole(); + virtual ~ClubRole(); + + ClubRole(const ClubRole& from); + + inline ClubRole& operator=(const ClubRole& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRole& default_instance(); + + void Swap(ClubRole* other); + + // implements Message ---------------------------------------------- + + ClubRole* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // optional .bgs.protocol.RoleState state = 2; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 2; + inline const ::bgs::protocol::RoleState& state() const; + inline ::bgs::protocol::RoleState* mutable_state(); + inline ::bgs::protocol::RoleState* release_state(); + inline void set_allocated_state(::bgs::protocol::RoleState* state); + + // optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3; + inline bool has_privilege() const; + inline void clear_privilege(); + static const int kPrivilegeFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& privilege() const; + inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* mutable_privilege(); + inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* release_privilege(); + inline void set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege); + + // optional bool always_grant_stream_access = 4; + inline bool has_always_grant_stream_access() const; + inline void clear_always_grant_stream_access(); + static const int kAlwaysGrantStreamAccessFieldNumber = 4; + inline bool always_grant_stream_access() const; + inline void set_always_grant_stream_access(bool value); + + // optional bool allow_in_club_slot = 5; + inline bool has_allow_in_club_slot() const; + inline void clear_allow_in_club_slot(); + static const int kAllowInClubSlotFieldNumber = 5; + inline bool allow_in_club_slot() const; + inline void set_allow_in_club_slot(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRole) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_state(); + inline void clear_has_state(); + inline void set_has_privilege(); + inline void clear_has_privilege(); + inline void set_has_always_grant_stream_access(); + inline void clear_has_always_grant_stream_access(); + inline void set_has_allow_in_club_slot(); + inline void clear_has_allow_in_club_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::RoleState* state_; + ::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege_; + ::google::protobuf::uint32 id_; + bool always_grant_stream_access_; + bool allow_in_club_slot_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubRole* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { + public: + ClubRoleSet(); + virtual ~ClubRoleSet(); + + ClubRoleSet(const ClubRoleSet& from); + + inline ClubRoleSet& operator=(const ClubRoleSet& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubRoleSet& default_instance(); + + void Swap(ClubRoleSet* other); + + // implements Message ---------------------------------------------- + + ClubRoleSet* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.ClubRole role = 1; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::ClubRole& role(int index) const; + inline ::bgs::protocol::club::v1::client::ClubRole* mutable_role(int index); + inline ::bgs::protocol::club::v1::client::ClubRole* add_role(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >& + role() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* + mutable_role(); + + // repeated uint32 default_role = 5 [packed = true]; + inline int default_role_size() const; + inline void clear_default_role(); + static const int kDefaultRoleFieldNumber = 5; + inline ::google::protobuf::uint32 default_role(int index) const; + inline void set_default_role(int index, ::google::protobuf::uint32 value); + inline void add_default_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + default_role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_default_role(); + + // optional bool assignment_respects_relegation_chain = 6; + inline bool has_assignment_respects_relegation_chain() const; + inline void clear_assignment_respects_relegation_chain(); + static const int kAssignmentRespectsRelegationChainFieldNumber = 6; + inline bool assignment_respects_relegation_chain() const; + inline void set_assignment_respects_relegation_chain(bool value); + + // optional string subtype = 7; + inline bool has_subtype() const; + inline void clear_subtype(); + static const int kSubtypeFieldNumber = 7; + inline const ::std::string& subtype() const; + inline void set_subtype(const ::std::string& value); + inline void set_subtype(const char* value); + inline void set_subtype(const char* value, size_t size); + inline ::std::string* mutable_subtype(); + inline ::std::string* release_subtype(); + inline void set_allocated_subtype(::std::string* subtype); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRoleSet) + private: + inline void set_has_assignment_respects_relegation_chain(); + inline void clear_has_assignment_respects_relegation_chain(); + inline void set_has_subtype(); + inline void clear_has_subtype(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > role_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_; + ::std::string* subtype_; + bool assignment_respects_relegation_chain_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto(); + + void InitAsDefaultInstance(); + static ClubRoleSet* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// ClubPrivilegeSet + +// optional bool can_destroy = 1; +inline bool ClubPrivilegeSet::has_can_destroy() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubPrivilegeSet::clear_can_destroy() { + can_destroy_ = false; + clear_has_can_destroy(); +} +inline bool ClubPrivilegeSet::can_destroy() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy) + return can_destroy_; +} +inline void ClubPrivilegeSet::set_can_destroy(bool value) { + set_has_can_destroy(); + can_destroy_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy) +} + +// optional bool can_set_attribute = 10; +inline bool ClubPrivilegeSet::has_can_set_attribute() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_attribute() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubPrivilegeSet::clear_has_can_set_attribute() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubPrivilegeSet::clear_can_set_attribute() { + can_set_attribute_ = false; + clear_has_can_set_attribute(); +} +inline bool ClubPrivilegeSet::can_set_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute) + return can_set_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_attribute(bool value) { + set_has_can_set_attribute(); + can_set_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute) +} + +// optional bool can_set_name = 11; +inline bool ClubPrivilegeSet::has_can_set_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubPrivilegeSet::clear_has_can_set_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubPrivilegeSet::clear_can_set_name() { + can_set_name_ = false; + clear_has_can_set_name(); +} +inline bool ClubPrivilegeSet::can_set_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name) + return can_set_name_; +} +inline void ClubPrivilegeSet::set_can_set_name(bool value) { + set_has_can_set_name(); + can_set_name_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name) +} + +// optional bool can_set_description = 12; +inline bool ClubPrivilegeSet::has_can_set_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubPrivilegeSet::clear_has_can_set_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubPrivilegeSet::clear_can_set_description() { + can_set_description_ = false; + clear_has_can_set_description(); +} +inline bool ClubPrivilegeSet::can_set_description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description) + return can_set_description_; +} +inline void ClubPrivilegeSet::set_can_set_description(bool value) { + set_has_can_set_description(); + can_set_description_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description) +} + +// optional bool can_set_avatar = 13; +inline bool ClubPrivilegeSet::has_can_set_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubPrivilegeSet::clear_has_can_set_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubPrivilegeSet::clear_can_set_avatar() { + can_set_avatar_ = false; + clear_has_can_set_avatar(); +} +inline bool ClubPrivilegeSet::can_set_avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar) + return can_set_avatar_; +} +inline void ClubPrivilegeSet::set_can_set_avatar(bool value) { + set_has_can_set_avatar(); + can_set_avatar_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar) +} + +// optional bool can_set_broadcast = 14; +inline bool ClubPrivilegeSet::has_can_set_broadcast() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_broadcast() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubPrivilegeSet::clear_has_can_set_broadcast() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubPrivilegeSet::clear_can_set_broadcast() { + can_set_broadcast_ = false; + clear_has_can_set_broadcast(); +} +inline bool ClubPrivilegeSet::can_set_broadcast() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast) + return can_set_broadcast_; +} +inline void ClubPrivilegeSet::set_can_set_broadcast(bool value) { + set_has_can_set_broadcast(); + can_set_broadcast_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast) +} + +// optional bool can_set_privacy_level = 15; +inline bool ClubPrivilegeSet::has_can_set_privacy_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_privacy_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubPrivilegeSet::clear_has_can_set_privacy_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubPrivilegeSet::clear_can_set_privacy_level() { + can_set_privacy_level_ = false; + clear_has_can_set_privacy_level(); +} +inline bool ClubPrivilegeSet::can_set_privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level) + return can_set_privacy_level_; +} +inline void ClubPrivilegeSet::set_can_set_privacy_level(bool value) { + set_has_can_set_privacy_level(); + can_set_privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level) +} + +// optional bool can_add_member = 29; +inline bool ClubPrivilegeSet::has_can_add_member() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_add_member() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubPrivilegeSet::clear_has_can_add_member() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubPrivilegeSet::clear_can_add_member() { + can_add_member_ = false; + clear_has_can_add_member(); +} +inline bool ClubPrivilegeSet::can_add_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member) + return can_add_member_; +} +inline void ClubPrivilegeSet::set_can_add_member(bool value) { + set_has_can_add_member(); + can_add_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member) +} + +// optional bool can_kick_member = 30; +inline bool ClubPrivilegeSet::has_can_kick_member() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_kick_member() { + _has_bits_[0] |= 0x00000100u; +} +inline void ClubPrivilegeSet::clear_has_can_kick_member() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ClubPrivilegeSet::clear_can_kick_member() { + can_kick_member_ = false; + clear_has_can_kick_member(); +} +inline bool ClubPrivilegeSet::can_kick_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member) + return can_kick_member_; +} +inline void ClubPrivilegeSet::set_can_kick_member(bool value) { + set_has_can_kick_member(); + can_kick_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member) +} + +// optional bool can_set_own_member_attribute = 31; +inline bool ClubPrivilegeSet::has_can_set_own_member_attribute() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_member_attribute() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_member_attribute() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubPrivilegeSet::clear_can_set_own_member_attribute() { + can_set_own_member_attribute_ = false; + clear_has_can_set_own_member_attribute(); +} +inline bool ClubPrivilegeSet::can_set_own_member_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute) + return can_set_own_member_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_own_member_attribute(bool value) { + set_has_can_set_own_member_attribute(); + can_set_own_member_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute) +} + +// optional bool can_set_other_member_attribute = 32; +inline bool ClubPrivilegeSet::has_can_set_other_member_attribute() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_other_member_attribute() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubPrivilegeSet::clear_has_can_set_other_member_attribute() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubPrivilegeSet::clear_can_set_other_member_attribute() { + can_set_other_member_attribute_ = false; + clear_has_can_set_other_member_attribute(); +} +inline bool ClubPrivilegeSet::can_set_other_member_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute) + return can_set_other_member_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_other_member_attribute(bool value) { + set_has_can_set_other_member_attribute(); + can_set_other_member_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute) +} + +// optional bool can_set_own_voice_state = 33; +inline bool ClubPrivilegeSet::has_can_set_own_voice_state() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_voice_state() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_voice_state() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubPrivilegeSet::clear_can_set_own_voice_state() { + can_set_own_voice_state_ = false; + clear_has_can_set_own_voice_state(); +} +inline bool ClubPrivilegeSet::can_set_own_voice_state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state) + return can_set_own_voice_state_; +} +inline void ClubPrivilegeSet::set_can_set_own_voice_state(bool value) { + set_has_can_set_own_voice_state(); + can_set_own_voice_state_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state) +} + +// optional bool can_set_own_presence_level = 34; +inline bool ClubPrivilegeSet::has_can_set_own_presence_level() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_presence_level() { + _has_bits_[0] |= 0x00001000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_presence_level() { + _has_bits_[0] &= ~0x00001000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_presence_level() { + can_set_own_presence_level_ = false; + clear_has_can_set_own_presence_level(); +} +inline bool ClubPrivilegeSet::can_set_own_presence_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level) + return can_set_own_presence_level_; +} +inline void ClubPrivilegeSet::set_can_set_own_presence_level(bool value) { + set_has_can_set_own_presence_level(); + can_set_own_presence_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level) +} + +// optional bool can_set_own_whisper_level = 35; +inline bool ClubPrivilegeSet::has_can_set_own_whisper_level() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_whisper_level() { + _has_bits_[0] |= 0x00002000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_whisper_level() { + _has_bits_[0] &= ~0x00002000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_whisper_level() { + can_set_own_whisper_level_ = false; + clear_has_can_set_own_whisper_level(); +} +inline bool ClubPrivilegeSet::can_set_own_whisper_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level) + return can_set_own_whisper_level_; +} +inline void ClubPrivilegeSet::set_can_set_own_whisper_level(bool value) { + set_has_can_set_own_whisper_level(); + can_set_own_whisper_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level) +} + +// optional bool can_set_own_member_note = 36; +inline bool ClubPrivilegeSet::has_can_set_own_member_note() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_own_member_note() { + _has_bits_[0] |= 0x00004000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_own_member_note() { + _has_bits_[0] &= ~0x00004000u; +} +inline void ClubPrivilegeSet::clear_can_set_own_member_note() { + can_set_own_member_note_ = false; + clear_has_can_set_own_member_note(); +} +inline bool ClubPrivilegeSet::can_set_own_member_note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note) + return can_set_own_member_note_; +} +inline void ClubPrivilegeSet::set_can_set_own_member_note(bool value) { + set_has_can_set_own_member_note(); + can_set_own_member_note_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note) +} + +// optional bool can_set_other_member_note = 37; +inline bool ClubPrivilegeSet::has_can_set_other_member_note() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_other_member_note() { + _has_bits_[0] |= 0x00008000u; +} +inline void ClubPrivilegeSet::clear_has_can_set_other_member_note() { + _has_bits_[0] &= ~0x00008000u; +} +inline void ClubPrivilegeSet::clear_can_set_other_member_note() { + can_set_other_member_note_ = false; + clear_has_can_set_other_member_note(); +} +inline bool ClubPrivilegeSet::can_set_other_member_note() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note) + return can_set_other_member_note_; +} +inline void ClubPrivilegeSet::set_can_set_other_member_note(bool value) { + set_has_can_set_other_member_note(); + can_set_other_member_note_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note) +} + +// optional bool can_use_voice = 50; +inline bool ClubPrivilegeSet::has_can_use_voice() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_use_voice() { + _has_bits_[0] |= 0x00010000u; +} +inline void ClubPrivilegeSet::clear_has_can_use_voice() { + _has_bits_[0] &= ~0x00010000u; +} +inline void ClubPrivilegeSet::clear_can_use_voice() { + can_use_voice_ = false; + clear_has_can_use_voice(); +} +inline bool ClubPrivilegeSet::can_use_voice() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice) + return can_use_voice_; +} +inline void ClubPrivilegeSet::set_can_use_voice(bool value) { + set_has_can_use_voice(); + can_use_voice_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice) +} + +// optional bool can_voice_mute_member_for_all = 51; +inline bool ClubPrivilegeSet::has_can_voice_mute_member_for_all() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_voice_mute_member_for_all() { + _has_bits_[0] |= 0x00020000u; +} +inline void ClubPrivilegeSet::clear_has_can_voice_mute_member_for_all() { + _has_bits_[0] &= ~0x00020000u; +} +inline void ClubPrivilegeSet::clear_can_voice_mute_member_for_all() { + can_voice_mute_member_for_all_ = false; + clear_has_can_voice_mute_member_for_all(); +} +inline bool ClubPrivilegeSet::can_voice_mute_member_for_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all) + return can_voice_mute_member_for_all_; +} +inline void ClubPrivilegeSet::set_can_voice_mute_member_for_all(bool value) { + set_has_can_voice_mute_member_for_all(); + can_voice_mute_member_for_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all) +} + +// optional bool can_get_invitation = 70; +inline bool ClubPrivilegeSet::has_can_get_invitation() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_invitation() { + _has_bits_[0] |= 0x00040000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_invitation() { + _has_bits_[0] &= ~0x00040000u; +} +inline void ClubPrivilegeSet::clear_can_get_invitation() { + can_get_invitation_ = false; + clear_has_can_get_invitation(); +} +inline bool ClubPrivilegeSet::can_get_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation) + return can_get_invitation_; +} +inline void ClubPrivilegeSet::set_can_get_invitation(bool value) { + set_has_can_get_invitation(); + can_get_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation) +} + +// optional bool can_send_invitation = 71; +inline bool ClubPrivilegeSet::has_can_send_invitation() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_send_invitation() { + _has_bits_[0] |= 0x00080000u; +} +inline void ClubPrivilegeSet::clear_has_can_send_invitation() { + _has_bits_[0] &= ~0x00080000u; +} +inline void ClubPrivilegeSet::clear_can_send_invitation() { + can_send_invitation_ = false; + clear_has_can_send_invitation(); +} +inline bool ClubPrivilegeSet::can_send_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation) + return can_send_invitation_; +} +inline void ClubPrivilegeSet::set_can_send_invitation(bool value) { + set_has_can_send_invitation(); + can_send_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation) +} + +// optional bool can_send_guest_invitation = 72; +inline bool ClubPrivilegeSet::has_can_send_guest_invitation() const { + return (_has_bits_[0] & 0x00100000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_send_guest_invitation() { + _has_bits_[0] |= 0x00100000u; +} +inline void ClubPrivilegeSet::clear_has_can_send_guest_invitation() { + _has_bits_[0] &= ~0x00100000u; +} +inline void ClubPrivilegeSet::clear_can_send_guest_invitation() { + can_send_guest_invitation_ = false; + clear_has_can_send_guest_invitation(); +} +inline bool ClubPrivilegeSet::can_send_guest_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation) + return can_send_guest_invitation_; +} +inline void ClubPrivilegeSet::set_can_send_guest_invitation(bool value) { + set_has_can_send_guest_invitation(); + can_send_guest_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation) +} + +// optional bool can_revoke_own_invitation = 73; +inline bool ClubPrivilegeSet::has_can_revoke_own_invitation() const { + return (_has_bits_[0] & 0x00200000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_revoke_own_invitation() { + _has_bits_[0] |= 0x00200000u; +} +inline void ClubPrivilegeSet::clear_has_can_revoke_own_invitation() { + _has_bits_[0] &= ~0x00200000u; +} +inline void ClubPrivilegeSet::clear_can_revoke_own_invitation() { + can_revoke_own_invitation_ = false; + clear_has_can_revoke_own_invitation(); +} +inline bool ClubPrivilegeSet::can_revoke_own_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation) + return can_revoke_own_invitation_; +} +inline void ClubPrivilegeSet::set_can_revoke_own_invitation(bool value) { + set_has_can_revoke_own_invitation(); + can_revoke_own_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation) +} + +// optional bool can_revoke_other_invitation = 74; +inline bool ClubPrivilegeSet::has_can_revoke_other_invitation() const { + return (_has_bits_[0] & 0x00400000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_revoke_other_invitation() { + _has_bits_[0] |= 0x00400000u; +} +inline void ClubPrivilegeSet::clear_has_can_revoke_other_invitation() { + _has_bits_[0] &= ~0x00400000u; +} +inline void ClubPrivilegeSet::clear_can_revoke_other_invitation() { + can_revoke_other_invitation_ = false; + clear_has_can_revoke_other_invitation(); +} +inline bool ClubPrivilegeSet::can_revoke_other_invitation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation) + return can_revoke_other_invitation_; +} +inline void ClubPrivilegeSet::set_can_revoke_other_invitation(bool value) { + set_has_can_revoke_other_invitation(); + can_revoke_other_invitation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation) +} + +// optional bool can_get_suggestion = 90; +inline bool ClubPrivilegeSet::has_can_get_suggestion() const { + return (_has_bits_[0] & 0x00800000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_suggestion() { + _has_bits_[0] |= 0x00800000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_suggestion() { + _has_bits_[0] &= ~0x00800000u; +} +inline void ClubPrivilegeSet::clear_can_get_suggestion() { + can_get_suggestion_ = false; + clear_has_can_get_suggestion(); +} +inline bool ClubPrivilegeSet::can_get_suggestion() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion) + return can_get_suggestion_; +} +inline void ClubPrivilegeSet::set_can_get_suggestion(bool value) { + set_has_can_get_suggestion(); + can_get_suggestion_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion) +} + +// optional bool can_suggest_member = 91; +inline bool ClubPrivilegeSet::has_can_suggest_member() const { + return (_has_bits_[0] & 0x01000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_suggest_member() { + _has_bits_[0] |= 0x01000000u; +} +inline void ClubPrivilegeSet::clear_has_can_suggest_member() { + _has_bits_[0] &= ~0x01000000u; +} +inline void ClubPrivilegeSet::clear_can_suggest_member() { + can_suggest_member_ = false; + clear_has_can_suggest_member(); +} +inline bool ClubPrivilegeSet::can_suggest_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member) + return can_suggest_member_; +} +inline void ClubPrivilegeSet::set_can_suggest_member(bool value) { + set_has_can_suggest_member(); + can_suggest_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member) +} + +// optional bool can_approve_member = 92; +inline bool ClubPrivilegeSet::has_can_approve_member() const { + return (_has_bits_[0] & 0x02000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_approve_member() { + _has_bits_[0] |= 0x02000000u; +} +inline void ClubPrivilegeSet::clear_has_can_approve_member() { + _has_bits_[0] &= ~0x02000000u; +} +inline void ClubPrivilegeSet::clear_can_approve_member() { + can_approve_member_ = false; + clear_has_can_approve_member(); +} +inline bool ClubPrivilegeSet::can_approve_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member) + return can_approve_member_; +} +inline void ClubPrivilegeSet::set_can_approve_member(bool value) { + set_has_can_approve_member(); + can_approve_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member) +} + +// optional bool can_get_ticket = 110; +inline bool ClubPrivilegeSet::has_can_get_ticket() const { + return (_has_bits_[0] & 0x04000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_ticket() { + _has_bits_[0] |= 0x04000000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_ticket() { + _has_bits_[0] &= ~0x04000000u; +} +inline void ClubPrivilegeSet::clear_can_get_ticket() { + can_get_ticket_ = false; + clear_has_can_get_ticket(); +} +inline bool ClubPrivilegeSet::can_get_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket) + return can_get_ticket_; +} +inline void ClubPrivilegeSet::set_can_get_ticket(bool value) { + set_has_can_get_ticket(); + can_get_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket) +} + +// optional bool can_create_ticket = 111; +inline bool ClubPrivilegeSet::has_can_create_ticket() const { + return (_has_bits_[0] & 0x08000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_ticket() { + _has_bits_[0] |= 0x08000000u; +} +inline void ClubPrivilegeSet::clear_has_can_create_ticket() { + _has_bits_[0] &= ~0x08000000u; +} +inline void ClubPrivilegeSet::clear_can_create_ticket() { + can_create_ticket_ = false; + clear_has_can_create_ticket(); +} +inline bool ClubPrivilegeSet::can_create_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket) + return can_create_ticket_; +} +inline void ClubPrivilegeSet::set_can_create_ticket(bool value) { + set_has_can_create_ticket(); + can_create_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket) +} + +// optional bool can_destroy_ticket = 112; +inline bool ClubPrivilegeSet::has_can_destroy_ticket() const { + return (_has_bits_[0] & 0x10000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_ticket() { + _has_bits_[0] |= 0x10000000u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_ticket() { + _has_bits_[0] &= ~0x10000000u; +} +inline void ClubPrivilegeSet::clear_can_destroy_ticket() { + can_destroy_ticket_ = false; + clear_has_can_destroy_ticket(); +} +inline bool ClubPrivilegeSet::can_destroy_ticket() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket) + return can_destroy_ticket_; +} +inline void ClubPrivilegeSet::set_can_destroy_ticket(bool value) { + set_has_can_destroy_ticket(); + can_destroy_ticket_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket) +} + +// optional bool can_get_ban = 130; +inline bool ClubPrivilegeSet::has_can_get_ban() const { + return (_has_bits_[0] & 0x20000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_get_ban() { + _has_bits_[0] |= 0x20000000u; +} +inline void ClubPrivilegeSet::clear_has_can_get_ban() { + _has_bits_[0] &= ~0x20000000u; +} +inline void ClubPrivilegeSet::clear_can_get_ban() { + can_get_ban_ = false; + clear_has_can_get_ban(); +} +inline bool ClubPrivilegeSet::can_get_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban) + return can_get_ban_; +} +inline void ClubPrivilegeSet::set_can_get_ban(bool value) { + set_has_can_get_ban(); + can_get_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban) +} + +// optional bool can_add_ban = 131; +inline bool ClubPrivilegeSet::has_can_add_ban() const { + return (_has_bits_[0] & 0x40000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_add_ban() { + _has_bits_[0] |= 0x40000000u; +} +inline void ClubPrivilegeSet::clear_has_can_add_ban() { + _has_bits_[0] &= ~0x40000000u; +} +inline void ClubPrivilegeSet::clear_can_add_ban() { + can_add_ban_ = false; + clear_has_can_add_ban(); +} +inline bool ClubPrivilegeSet::can_add_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban) + return can_add_ban_; +} +inline void ClubPrivilegeSet::set_can_add_ban(bool value) { + set_has_can_add_ban(); + can_add_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban) +} + +// optional bool can_remove_ban = 132; +inline bool ClubPrivilegeSet::has_can_remove_ban() const { + return (_has_bits_[0] & 0x80000000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_remove_ban() { + _has_bits_[0] |= 0x80000000u; +} +inline void ClubPrivilegeSet::clear_has_can_remove_ban() { + _has_bits_[0] &= ~0x80000000u; +} +inline void ClubPrivilegeSet::clear_can_remove_ban() { + can_remove_ban_ = false; + clear_has_can_remove_ban(); +} +inline bool ClubPrivilegeSet::can_remove_ban() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban) + return can_remove_ban_; +} +inline void ClubPrivilegeSet::set_can_remove_ban(bool value) { + set_has_can_remove_ban(); + can_remove_ban_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban) +} + +// optional bool can_create_stream = 140; +inline bool ClubPrivilegeSet::has_can_create_stream() const { + return (_has_bits_[1] & 0x00000001u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_stream() { + _has_bits_[1] |= 0x00000001u; +} +inline void ClubPrivilegeSet::clear_has_can_create_stream() { + _has_bits_[1] &= ~0x00000001u; +} +inline void ClubPrivilegeSet::clear_can_create_stream() { + can_create_stream_ = false; + clear_has_can_create_stream(); +} +inline bool ClubPrivilegeSet::can_create_stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream) + return can_create_stream_; +} +inline void ClubPrivilegeSet::set_can_create_stream(bool value) { + set_has_can_create_stream(); + can_create_stream_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream) +} + +// optional bool can_destroy_stream = 141; +inline bool ClubPrivilegeSet::has_can_destroy_stream() const { + return (_has_bits_[1] & 0x00000002u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_stream() { + _has_bits_[1] |= 0x00000002u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_stream() { + _has_bits_[1] &= ~0x00000002u; +} +inline void ClubPrivilegeSet::clear_can_destroy_stream() { + can_destroy_stream_ = false; + clear_has_can_destroy_stream(); +} +inline bool ClubPrivilegeSet::can_destroy_stream() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream) + return can_destroy_stream_; +} +inline void ClubPrivilegeSet::set_can_destroy_stream(bool value) { + set_has_can_destroy_stream(); + can_destroy_stream_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream) +} + +// optional bool can_set_stream_position = 142; +inline bool ClubPrivilegeSet::has_can_set_stream_position() const { + return (_has_bits_[1] & 0x00000004u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_position() { + _has_bits_[1] |= 0x00000004u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_position() { + _has_bits_[1] &= ~0x00000004u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_position() { + can_set_stream_position_ = false; + clear_has_can_set_stream_position(); +} +inline bool ClubPrivilegeSet::can_set_stream_position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position) + return can_set_stream_position_; +} +inline void ClubPrivilegeSet::set_can_set_stream_position(bool value) { + set_has_can_set_stream_position(); + can_set_stream_position_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position) +} + +// optional bool can_set_stream_attribute = 143; +inline bool ClubPrivilegeSet::has_can_set_stream_attribute() const { + return (_has_bits_[1] & 0x00000008u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_attribute() { + _has_bits_[1] |= 0x00000008u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_attribute() { + _has_bits_[1] &= ~0x00000008u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_attribute() { + can_set_stream_attribute_ = false; + clear_has_can_set_stream_attribute(); +} +inline bool ClubPrivilegeSet::can_set_stream_attribute() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute) + return can_set_stream_attribute_; +} +inline void ClubPrivilegeSet::set_can_set_stream_attribute(bool value) { + set_has_can_set_stream_attribute(); + can_set_stream_attribute_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute) +} + +// optional bool can_set_stream_name = 144; +inline bool ClubPrivilegeSet::has_can_set_stream_name() const { + return (_has_bits_[1] & 0x00000010u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_name() { + _has_bits_[1] |= 0x00000010u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_name() { + _has_bits_[1] &= ~0x00000010u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_name() { + can_set_stream_name_ = false; + clear_has_can_set_stream_name(); +} +inline bool ClubPrivilegeSet::can_set_stream_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name) + return can_set_stream_name_; +} +inline void ClubPrivilegeSet::set_can_set_stream_name(bool value) { + set_has_can_set_stream_name(); + can_set_stream_name_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name) +} + +// optional bool can_set_stream_subject = 145; +inline bool ClubPrivilegeSet::has_can_set_stream_subject() const { + return (_has_bits_[1] & 0x00000020u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_subject() { + _has_bits_[1] |= 0x00000020u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_subject() { + _has_bits_[1] &= ~0x00000020u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_subject() { + can_set_stream_subject_ = false; + clear_has_can_set_stream_subject(); +} +inline bool ClubPrivilegeSet::can_set_stream_subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject) + return can_set_stream_subject_; +} +inline void ClubPrivilegeSet::set_can_set_stream_subject(bool value) { + set_has_can_set_stream_subject(); + can_set_stream_subject_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject) +} + +// optional bool can_set_stream_access = 146; +inline bool ClubPrivilegeSet::has_can_set_stream_access() const { + return (_has_bits_[1] & 0x00000040u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_access() { + _has_bits_[1] |= 0x00000040u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_access() { + _has_bits_[1] &= ~0x00000040u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_access() { + can_set_stream_access_ = false; + clear_has_can_set_stream_access(); +} +inline bool ClubPrivilegeSet::can_set_stream_access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access) + return can_set_stream_access_; +} +inline void ClubPrivilegeSet::set_can_set_stream_access(bool value) { + set_has_can_set_stream_access(); + can_set_stream_access_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access) +} + +// optional bool can_set_stream_voice_level = 147; +inline bool ClubPrivilegeSet::has_can_set_stream_voice_level() const { + return (_has_bits_[1] & 0x00000080u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_set_stream_voice_level() { + _has_bits_[1] |= 0x00000080u; +} +inline void ClubPrivilegeSet::clear_has_can_set_stream_voice_level() { + _has_bits_[1] &= ~0x00000080u; +} +inline void ClubPrivilegeSet::clear_can_set_stream_voice_level() { + can_set_stream_voice_level_ = false; + clear_has_can_set_stream_voice_level(); +} +inline bool ClubPrivilegeSet::can_set_stream_voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level) + return can_set_stream_voice_level_; +} +inline void ClubPrivilegeSet::set_can_set_stream_voice_level(bool value) { + set_has_can_set_stream_voice_level(); + can_set_stream_voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level) +} + +// optional bool can_create_message = 180; +inline bool ClubPrivilegeSet::has_can_create_message() const { + return (_has_bits_[1] & 0x00000100u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_create_message() { + _has_bits_[1] |= 0x00000100u; +} +inline void ClubPrivilegeSet::clear_has_can_create_message() { + _has_bits_[1] &= ~0x00000100u; +} +inline void ClubPrivilegeSet::clear_can_create_message() { + can_create_message_ = false; + clear_has_can_create_message(); +} +inline bool ClubPrivilegeSet::can_create_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message) + return can_create_message_; +} +inline void ClubPrivilegeSet::set_can_create_message(bool value) { + set_has_can_create_message(); + can_create_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message) +} + +// optional bool can_destroy_own_message = 181; +inline bool ClubPrivilegeSet::has_can_destroy_own_message() const { + return (_has_bits_[1] & 0x00000200u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_own_message() { + _has_bits_[1] |= 0x00000200u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_own_message() { + _has_bits_[1] &= ~0x00000200u; +} +inline void ClubPrivilegeSet::clear_can_destroy_own_message() { + can_destroy_own_message_ = false; + clear_has_can_destroy_own_message(); +} +inline bool ClubPrivilegeSet::can_destroy_own_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message) + return can_destroy_own_message_; +} +inline void ClubPrivilegeSet::set_can_destroy_own_message(bool value) { + set_has_can_destroy_own_message(); + can_destroy_own_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message) +} + +// optional bool can_destroy_other_message = 182; +inline bool ClubPrivilegeSet::has_can_destroy_other_message() const { + return (_has_bits_[1] & 0x00000400u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_destroy_other_message() { + _has_bits_[1] |= 0x00000400u; +} +inline void ClubPrivilegeSet::clear_has_can_destroy_other_message() { + _has_bits_[1] &= ~0x00000400u; +} +inline void ClubPrivilegeSet::clear_can_destroy_other_message() { + can_destroy_other_message_ = false; + clear_has_can_destroy_other_message(); +} +inline bool ClubPrivilegeSet::can_destroy_other_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message) + return can_destroy_other_message_; +} +inline void ClubPrivilegeSet::set_can_destroy_other_message(bool value) { + set_has_can_destroy_other_message(); + can_destroy_other_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message) +} + +// optional bool can_edit_own_message = 183; +inline bool ClubPrivilegeSet::has_can_edit_own_message() const { + return (_has_bits_[1] & 0x00000800u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_edit_own_message() { + _has_bits_[1] |= 0x00000800u; +} +inline void ClubPrivilegeSet::clear_has_can_edit_own_message() { + _has_bits_[1] &= ~0x00000800u; +} +inline void ClubPrivilegeSet::clear_can_edit_own_message() { + can_edit_own_message_ = false; + clear_has_can_edit_own_message(); +} +inline bool ClubPrivilegeSet::can_edit_own_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message) + return can_edit_own_message_; +} +inline void ClubPrivilegeSet::set_can_edit_own_message(bool value) { + set_has_can_edit_own_message(); + can_edit_own_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message) +} + +// optional bool can_pin_message = 184; +inline bool ClubPrivilegeSet::has_can_pin_message() const { + return (_has_bits_[1] & 0x00001000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_pin_message() { + _has_bits_[1] |= 0x00001000u; +} +inline void ClubPrivilegeSet::clear_has_can_pin_message() { + _has_bits_[1] &= ~0x00001000u; +} +inline void ClubPrivilegeSet::clear_can_pin_message() { + can_pin_message_ = false; + clear_has_can_pin_message(); +} +inline bool ClubPrivilegeSet::can_pin_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message) + return can_pin_message_; +} +inline void ClubPrivilegeSet::set_can_pin_message(bool value) { + set_has_can_pin_message(); + can_pin_message_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message) +} + +// optional bool can_mention_all = 185; +inline bool ClubPrivilegeSet::has_can_mention_all() const { + return (_has_bits_[1] & 0x00002000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_all() { + _has_bits_[1] |= 0x00002000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_all() { + _has_bits_[1] &= ~0x00002000u; +} +inline void ClubPrivilegeSet::clear_can_mention_all() { + can_mention_all_ = false; + clear_has_can_mention_all(); +} +inline bool ClubPrivilegeSet::can_mention_all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all) + return can_mention_all_; +} +inline void ClubPrivilegeSet::set_can_mention_all(bool value) { + set_has_can_mention_all(); + can_mention_all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all) +} + +// optional bool can_mention_here = 186; +inline bool ClubPrivilegeSet::has_can_mention_here() const { + return (_has_bits_[1] & 0x00004000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_here() { + _has_bits_[1] |= 0x00004000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_here() { + _has_bits_[1] &= ~0x00004000u; +} +inline void ClubPrivilegeSet::clear_can_mention_here() { + can_mention_here_ = false; + clear_has_can_mention_here(); +} +inline bool ClubPrivilegeSet::can_mention_here() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here) + return can_mention_here_; +} +inline void ClubPrivilegeSet::set_can_mention_here(bool value) { + set_has_can_mention_here(); + can_mention_here_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here) +} + +// optional bool can_mention_member = 187; +inline bool ClubPrivilegeSet::has_can_mention_member() const { + return (_has_bits_[1] & 0x00008000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_member() { + _has_bits_[1] |= 0x00008000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_member() { + _has_bits_[1] &= ~0x00008000u; +} +inline void ClubPrivilegeSet::clear_can_mention_member() { + can_mention_member_ = false; + clear_has_can_mention_member(); +} +inline bool ClubPrivilegeSet::can_mention_member() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member) + return can_mention_member_; +} +inline void ClubPrivilegeSet::set_can_mention_member(bool value) { + set_has_can_mention_member(); + can_mention_member_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member) +} + +// optional bool can_mention_role = 188; +inline bool ClubPrivilegeSet::has_can_mention_role() const { + return (_has_bits_[1] & 0x00010000u) != 0; +} +inline void ClubPrivilegeSet::set_has_can_mention_role() { + _has_bits_[1] |= 0x00010000u; +} +inline void ClubPrivilegeSet::clear_has_can_mention_role() { + _has_bits_[1] &= ~0x00010000u; +} +inline void ClubPrivilegeSet::clear_can_mention_role() { + can_mention_role_ = false; + clear_has_can_mention_role(); +} +inline bool ClubPrivilegeSet::can_mention_role() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role) + return can_mention_role_; +} +inline void ClubPrivilegeSet::set_can_mention_role(bool value) { + set_has_can_mention_role(); + can_mention_role_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role) +} + +// ------------------------------------------------------------------- + +// ClubRole + +// optional uint32 id = 1; +inline bool ClubRole::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubRole::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubRole::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubRole::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 ClubRole::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.id) + return id_; +} +inline void ClubRole::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.id) +} + +// optional .bgs.protocol.RoleState state = 2; +inline bool ClubRole::has_state() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubRole::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubRole::clear_has_state() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubRole::clear_state() { + if (state_ != NULL) state_->::bgs::protocol::RoleState::Clear(); + clear_has_state(); +} +inline const ::bgs::protocol::RoleState& ClubRole::state() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.state) + return state_ != NULL ? *state_ : *default_instance_->state_; +} +inline ::bgs::protocol::RoleState* ClubRole::mutable_state() { + set_has_state(); + if (state_ == NULL) state_ = new ::bgs::protocol::RoleState; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.state) + return state_; +} +inline ::bgs::protocol::RoleState* ClubRole::release_state() { + clear_has_state(); + ::bgs::protocol::RoleState* temp = state_; + state_ = NULL; + return temp; +} +inline void ClubRole::set_allocated_state(::bgs::protocol::RoleState* state) { + delete state_; + state_ = state; + if (state) { + set_has_state(); + } else { + clear_has_state(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.state) +} + +// optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3; +inline bool ClubRole::has_privilege() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRole::set_has_privilege() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRole::clear_has_privilege() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRole::clear_privilege() { + if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::client::ClubPrivilegeSet::Clear(); + clear_has_privilege(); +} +inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& ClubRole::privilege() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.privilege) + return privilege_ != NULL ? *privilege_ : *default_instance_->privilege_; +} +inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::mutable_privilege() { + set_has_privilege(); + if (privilege_ == NULL) privilege_ = new ::bgs::protocol::club::v1::client::ClubPrivilegeSet; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.privilege) + return privilege_; +} +inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::release_privilege() { + clear_has_privilege(); + ::bgs::protocol::club::v1::client::ClubPrivilegeSet* temp = privilege_; + privilege_ = NULL; + return temp; +} +inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege) { + delete privilege_; + privilege_ = privilege; + if (privilege) { + set_has_privilege(); + } else { + clear_has_privilege(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.privilege) +} + +// optional bool always_grant_stream_access = 4; +inline bool ClubRole::has_always_grant_stream_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRole::set_has_always_grant_stream_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRole::clear_has_always_grant_stream_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRole::clear_always_grant_stream_access() { + always_grant_stream_access_ = false; + clear_has_always_grant_stream_access(); +} +inline bool ClubRole::always_grant_stream_access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access) + return always_grant_stream_access_; +} +inline void ClubRole::set_always_grant_stream_access(bool value) { + set_has_always_grant_stream_access(); + always_grant_stream_access_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access) +} + +// optional bool allow_in_club_slot = 5; +inline bool ClubRole::has_allow_in_club_slot() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubRole::set_has_allow_in_club_slot() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubRole::clear_has_allow_in_club_slot() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubRole::clear_allow_in_club_slot() { + allow_in_club_slot_ = false; + clear_has_allow_in_club_slot(); +} +inline bool ClubRole::allow_in_club_slot() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot) + return allow_in_club_slot_; +} +inline void ClubRole::set_allow_in_club_slot(bool value) { + set_has_allow_in_club_slot(); + allow_in_club_slot_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot) +} + +// ------------------------------------------------------------------- + +// ClubRoleSet + +// repeated .bgs.protocol.club.v1.client.ClubRole role = 1; +inline int ClubRoleSet::role_size() const { + return role_.size(); +} +inline void ClubRoleSet::clear_role() { + role_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ClubRole& ClubRoleSet::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::mutable_role(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::add_role() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >& +ClubRoleSet::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.role) + return role_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >* +ClubRoleSet::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.role) + return &role_; +} + +// repeated uint32 default_role = 5 [packed = true]; +inline int ClubRoleSet::default_role_size() const { + return default_role_.size(); +} +inline void ClubRoleSet::clear_default_role() { + default_role_.Clear(); +} +inline ::google::protobuf::uint32 ClubRoleSet::default_role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return default_role_.Get(index); +} +inline void ClubRoleSet::set_default_role(int index, ::google::protobuf::uint32 value) { + default_role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.default_role) +} +inline void ClubRoleSet::add_default_role(::google::protobuf::uint32 value) { + default_role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.default_role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +ClubRoleSet::default_role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return default_role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +ClubRoleSet::mutable_default_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role) + return &default_role_; +} + +// optional bool assignment_respects_relegation_chain = 6; +inline bool ClubRoleSet::has_assignment_respects_relegation_chain() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubRoleSet::set_has_assignment_respects_relegation_chain() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubRoleSet::clear_has_assignment_respects_relegation_chain() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubRoleSet::clear_assignment_respects_relegation_chain() { + assignment_respects_relegation_chain_ = false; + clear_has_assignment_respects_relegation_chain(); +} +inline bool ClubRoleSet::assignment_respects_relegation_chain() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain) + return assignment_respects_relegation_chain_; +} +inline void ClubRoleSet::set_assignment_respects_relegation_chain(bool value) { + set_has_assignment_respects_relegation_chain(); + assignment_respects_relegation_chain_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain) +} + +// optional string subtype = 7; +inline bool ClubRoleSet::has_subtype() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubRoleSet::set_has_subtype() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubRoleSet::clear_has_subtype() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubRoleSet::clear_subtype() { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_->clear(); + } + clear_has_subtype(); +} +inline const ::std::string& ClubRoleSet::subtype() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.subtype) + return *subtype_; +} +inline void ClubRoleSet::set_subtype(const ::std::string& value) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline void ClubRoleSet::set_subtype(const char* value) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline void ClubRoleSet::set_subtype(const char* value, size_t size) { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + subtype_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} +inline ::std::string* ClubRoleSet::mutable_subtype() { + set_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subtype_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.subtype) + return subtype_; +} +inline ::std::string* ClubRoleSet::release_subtype() { + clear_has_subtype(); + if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subtype_; + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) { + if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subtype_; + } + if (subtype) { + set_has_subtype(); + subtype_ = subtype; + } else { + clear_has_subtype(); + subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRoleSet.subtype) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_service.pb.cc b/src/server/proto/Client/api/client/v1/club_service.pb.cc new file mode 100644 index 00000000000..90d9e1f9957 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.pb.cc @@ -0,0 +1,1528 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::ServiceDescriptor* ClubService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_service.proto"); + GOOGLE_CHECK(file != NULL); + ClubService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frequest_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n api/client/v1/club_service.proto\022\033bgs." + "protocol.club.v1.client\032 api/client/v1/c" + "lub_request.proto2\330/\n\013ClubService\022X\n\tSub" + "scribe\022-.bgs.protocol.club.v1.client.Sub" + "scribeRequest\032\024.bgs.protocol.NoData\"\006\202\371+" + "\002\010\001\022\\\n\013Unsubscribe\022/.bgs.protocol.club.v" + "1.client.UnsubscribeRequest\032\024.bgs.protoc" + "ol.NoData\"\006\202\371+\002\010\002\022i\n\006Create\022*.bgs.protoc" + "ol.club.v1.client.CreateRequest\032+.bgs.pr" + "otocol.club.v1.client.CreateResponse\"\006\202\371" + "+\002\010\003\022T\n\007Destroy\022+.bgs.protocol.club.v1.c" + "lient.DestroyRequest\032\024.bgs.protocol.NoDa" + "ta\"\006\202\371+\002\010\004\022\201\001\n\016GetDescription\0222.bgs.prot" + "ocol.club.v1.client.GetDescriptionReques" + "t\0323.bgs.protocol.club.v1.client.GetDescr" + "iptionResponse\"\006\202\371+\002\010\005\022x\n\013GetClubType\022/." + "bgs.protocol.club.v1.client.GetClubTypeR" + "equest\0320.bgs.protocol.club.v1.client.Get" + "ClubTypeResponse\"\006\202\371+\002\010\006\022d\n\017UpdateClubSt" + "ate\0223.bgs.protocol.club.v1.client.Update" + "ClubStateRequest\032\024.bgs.protocol.NoData\"\006" + "\202\371+\002\010\007\022j\n\022UpdateClubSettings\0226.bgs.proto" + "col.club.v1.client.UpdateClubSettingsReq" + "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\010\022N\n\004Jo" + "in\022(.bgs.protocol.club.v1.client.JoinReq" + "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\036\022P\n\005Le" + "ave\022).bgs.protocol.club.v1.client.LeaveR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\037\022N\n\004" + "Kick\022(.bgs.protocol.club.v1.client.KickR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010 \022r\n\t" + "GetMember\022-.bgs.protocol.club.v1.client." + "GetMemberRequest\032..bgs.protocol.club.v1." + "client.GetMemberResponse\"\006\202\371+\002\010!\022u\n\nGetM" + "embers\022..bgs.protocol.club.v1.client.Get" + "MembersRequest\032/.bgs.protocol.club.v1.cl" + "ient.GetMembersResponse\"\006\202\371+\002\010\"\022h\n\021Updat" + "eMemberState\0225.bgs.protocol.club.v1.clie" + "nt.UpdateMemberStateRequest\032\024.bgs.protoc" + "ol.NoData\"\006\202\371+\002\010#\022p\n\025UpdateSubscriberSta" + "te\0229.bgs.protocol.club.v1.client.UpdateS" + "ubscriberStateRequest\032\024.bgs.protocol.NoD" + "ata\"\006\202\371+\002\010$\022Z\n\nAssignRole\022..bgs.protocol" + ".club.v1.client.AssignRoleRequest\032\024.bgs." + "protocol.NoData\"\006\202\371+\002\010%\022^\n\014UnassignRole\022" + "0.bgs.protocol.club.v1.client.UnassignRo" + "leRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010&\022" + "b\n\016SendInvitation\0222.bgs.protocol.club.v1" + ".client.SendInvitationRequest\032\024.bgs.prot" + "ocol.NoData\"\006\202\371+\002\0102\022f\n\020AcceptInvitation\022" + "4.bgs.protocol.club.v1.client.AcceptInvi" + "tationRequest\032\024.bgs.protocol.NoData\"\006\202\371+" + "\002\0103\022h\n\021DeclineInvitation\0225.bgs.protocol." + "club.v1.client.DeclineInvitationRequest\032" + "\024.bgs.protocol.NoData\"\006\202\371+\002\0104\022f\n\020RevokeI" + "nvitation\0224.bgs.protocol.club.v1.client." + "RevokeInvitationRequest\032\024.bgs.protocol.N" + "oData\"\006\202\371+\002\0105\022~\n\rGetInvitation\0221.bgs.pro" + "tocol.club.v1.client.GetInvitationReques" + "t\0322.bgs.protocol.club.v1.client.GetInvit" + "ationResponse\"\006\202\371+\002\0106\022\201\001\n\016GetInvitations" + "\0222.bgs.protocol.club.v1.client.GetInvita" + "tionsRequest\0323.bgs.protocol.club.v1.clie" + "nt.GetInvitationsResponse\"\006\202\371+\002\0107\022b\n\016Sen" + "dSuggestion\0222.bgs.protocol.club.v1.clien" + "t.SendSuggestionRequest\032\024.bgs.protocol.N" + "oData\"\006\202\371+\002\010<\022f\n\020AcceptSuggestion\0224.bgs." + "protocol.club.v1.client.AcceptSuggestion" + "Request\032\024.bgs.protocol.NoData\"\006\202\371+\002\010=\022h\n" + "\021DeclineSuggestion\0225.bgs.protocol.club.v" + "1.client.DeclineSuggestionRequest\032\024.bgs." + "protocol.NoData\"\006\202\371+\002\010>\022~\n\rGetSuggestion" + "\0221.bgs.protocol.club.v1.client.GetSugges" + "tionRequest\0322.bgs.protocol.club.v1.clien" + "t.GetSuggestionResponse\"\006\202\371+\002\010\?\022\201\001\n\016GetS" + "uggestions\0222.bgs.protocol.club.v1.client" + ".GetSuggestionsRequest\0323.bgs.protocol.cl" + "ub.v1.client.GetSuggestionsResponse\"\006\202\371+" + "\002\010@\022{\n\014CreateTicket\0220.bgs.protocol.club." + "v1.client.CreateTicketRequest\0321.bgs.prot" + "ocol.club.v1.client.CreateTicketResponse" + "\"\006\202\371+\002\010F\022`\n\rDestroyTicket\0221.bgs.protocol" + ".club.v1.client.DestroyTicketRequest\032\024.b" + "gs.protocol.NoData\"\006\202\371+\002\010G\022^\n\014RedeemTick" + "et\0220.bgs.protocol.club.v1.client.RedeemT" + "icketRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002" + "\010H\022r\n\tGetTicket\022-.bgs.protocol.club.v1.c" + "lient.GetTicketRequest\032..bgs.protocol.cl" + "ub.v1.client.GetTicketResponse\"\006\202\371+\002\010I\022u" + "\n\nGetTickets\022..bgs.protocol.club.v1.clie" + "nt.GetTicketsRequest\032/.bgs.protocol.club" + ".v1.client.GetTicketsResponse\"\006\202\371+\002\010J\022R\n" + "\006AddBan\022*.bgs.protocol.club.v1.client.Ad" + "dBanRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010" + "P\022X\n\tRemoveBan\022-.bgs.protocol.club.v1.cl" + "ient.RemoveBanRequest\032\024.bgs.protocol.NoD" + "ata\"\006\202\371+\002\010Q\022i\n\006GetBan\022*.bgs.protocol.clu" + "b.v1.client.GetBanRequest\032+.bgs.protocol" + ".club.v1.client.GetBanResponse\"\006\202\371+\002\010R\022l" + "\n\007GetBans\022+.bgs.protocol.club.v1.client." + "GetBansRequest\032,.bgs.protocol.club.v1.cl" + "ient.GetBansResponse\"\006\202\371+\002\010S\022d\n\017Subscrib" + "eStream\0223.bgs.protocol.club.v1.client.Su" + "bscribeStreamRequest\032\024.bgs.protocol.NoDa" + "ta\"\006\202\371+\002\010d\022h\n\021UnsubscribeStream\0225.bgs.pr" + "otocol.club.v1.client.UnsubscribeStreamR" + "equest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010e\022{\n\014" + "CreateStream\0220.bgs.protocol.club.v1.clie" + "nt.CreateStreamRequest\0321.bgs.protocol.cl" + "ub.v1.client.CreateStreamResponse\"\006\202\371+\002\010" + "f\022`\n\rDestroyStream\0221.bgs.protocol.club.v" + "1.client.DestroyStreamRequest\032\024.bgs.prot" + "ocol.NoData\"\006\202\371+\002\010g\022r\n\tGetStream\022-.bgs.p" + "rotocol.club.v1.client.GetStreamRequest\032" + "..bgs.protocol.club.v1.client.GetStreamR" + "esponse\"\006\202\371+\002\010h\022u\n\nGetStreams\022..bgs.prot" + "ocol.club.v1.client.GetStreamsRequest\032/." + "bgs.protocol.club.v1.client.GetStreamsRe" + "sponse\"\006\202\371+\002\010i\022h\n\021UpdateStreamState\0225.bg" + "s.protocol.club.v1.client.UpdateStreamSt" + "ateRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010j" + "\022b\n\016SetStreamFocus\0222.bgs.protocol.club.v" + "1.client.SetStreamFocusRequest\032\024.bgs.pro" + "tocol.NoData\"\006\202\371+\002\010k\022\220\001\n\023GetStreamVoiceT" + "oken\0227.bgs.protocol.club.v1.client.GetSt" + "reamVoiceTokenRequest\0328.bgs.protocol.clu" + "b.v1.client.GetStreamVoiceTokenResponse\"" + "\006\202\371+\002\010l\022l\n\023KickFromStreamVoice\0227.bgs.pro" + "tocol.club.v1.client.KickFromStreamVoice" + "Request\032\024.bgs.protocol.NoData\"\006\202\371+\002\010m\022\177\n" + "\rCreateMessage\0221.bgs.protocol.club.v1.cl" + "ient.CreateMessageRequest\0322.bgs.protocol" + ".club.v1.client.CreateMessageResponse\"\007\202" + "\371+\003\010\226\001\022\202\001\n\016DestroyMessage\0222.bgs.protocol" + ".club.v1.client.DestroyMessageRequest\0323." + "bgs.protocol.club.v1.client.DestroyMessa" + "geResponse\"\007\202\371+\003\010\227\001\022y\n\013EditMessage\022/.bgs" + ".protocol.club.v1.client.EditMessageRequ" + "est\0320.bgs.protocol.club.v1.client.EditMe" + "ssageResponse\"\007\202\371+\003\010\230\001\022g\n\020SetMessagePinn" + "ed\0224.bgs.protocol.club.v1.client.SetMess" + "agePinnedRequest\032\024.bgs.protocol.NoData\"\007" + "\202\371+\003\010\231\001\022k\n\022SetTypingIndicator\0226.bgs.prot" + "ocol.club.v1.client.SetTypingIndicatorRe" + "quest\032\024.bgs.protocol.NoData\"\007\202\371+\003\010\232\001\022q\n\025" + "AdvanceStreamViewTime\0229.bgs.protocol.clu" + "b.v1.client.AdvanceStreamViewTimeRequest" + "\032\024.bgs.protocol.NoData\"\007\202\371+\003\010\233\001\022\210\001\n\020GetS" + "treamHistory\0224.bgs.protocol.club.v1.clie" + "nt.GetStreamHistoryRequest\0325.bgs.protoco" + "l.club.v1.client.GetStreamHistoryRespons" + "e\"\007\202\371+\003\010\234\001\022\210\001\n\020GetStreamMessage\0224.bgs.pr" + "otocol.club.v1.client.GetStreamMessageRe" + "quest\0325.bgs.protocol.club.v1.client.GetS" + "treamMessageResponse\"\007\202\371+\003\010\235\001\0325\202\371+)\n!bne" + "t.protocol.club.v1.ClubService*\004club\212\371+\004" + "\020\001\030\001B\005H\002\200\001\000", 6211); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_service.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fservice_2eproto_; +// =================================================================== + +ClubService::ClubService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +ClubService::~ClubService() { +} + +google::protobuf::ServiceDescriptor const* ClubService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubService_descriptor_; +} + +void ClubService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleCreate(token, methodId, buffer); + break; + case 4: + ParseAndHandleDestroy(token, methodId, buffer); + break; + case 5: + ParseAndHandleGetDescription(token, methodId, buffer); + break; + case 6: + ParseAndHandleGetClubType(token, methodId, buffer); + break; + case 7: + ParseAndHandleUpdateClubState(token, methodId, buffer); + break; + case 8: + ParseAndHandleUpdateClubSettings(token, methodId, buffer); + break; + case 30: + ParseAndHandleJoin(token, methodId, buffer); + break; + case 31: + ParseAndHandleLeave(token, methodId, buffer); + break; + case 32: + ParseAndHandleKick(token, methodId, buffer); + break; + case 33: + ParseAndHandleGetMember(token, methodId, buffer); + break; + case 34: + ParseAndHandleGetMembers(token, methodId, buffer); + break; + case 35: + ParseAndHandleUpdateMemberState(token, methodId, buffer); + break; + case 36: + ParseAndHandleUpdateSubscriberState(token, methodId, buffer); + break; + case 37: + ParseAndHandleAssignRole(token, methodId, buffer); + break; + case 38: + ParseAndHandleUnassignRole(token, methodId, buffer); + break; + case 50: + ParseAndHandleSendInvitation(token, methodId, buffer); + break; + case 51: + ParseAndHandleAcceptInvitation(token, methodId, buffer); + break; + case 52: + ParseAndHandleDeclineInvitation(token, methodId, buffer); + break; + case 53: + ParseAndHandleRevokeInvitation(token, methodId, buffer); + break; + case 54: + ParseAndHandleGetInvitation(token, methodId, buffer); + break; + case 55: + ParseAndHandleGetInvitations(token, methodId, buffer); + break; + case 60: + ParseAndHandleSendSuggestion(token, methodId, buffer); + break; + case 61: + ParseAndHandleAcceptSuggestion(token, methodId, buffer); + break; + case 62: + ParseAndHandleDeclineSuggestion(token, methodId, buffer); + break; + case 63: + ParseAndHandleGetSuggestion(token, methodId, buffer); + break; + case 64: + ParseAndHandleGetSuggestions(token, methodId, buffer); + break; + case 70: + ParseAndHandleCreateTicket(token, methodId, buffer); + break; + case 71: + ParseAndHandleDestroyTicket(token, methodId, buffer); + break; + case 72: + ParseAndHandleRedeemTicket(token, methodId, buffer); + break; + case 73: + ParseAndHandleGetTicket(token, methodId, buffer); + break; + case 74: + ParseAndHandleGetTickets(token, methodId, buffer); + break; + case 80: + ParseAndHandleAddBan(token, methodId, buffer); + break; + case 81: + ParseAndHandleRemoveBan(token, methodId, buffer); + break; + case 82: + ParseAndHandleGetBan(token, methodId, buffer); + break; + case 83: + ParseAndHandleGetBans(token, methodId, buffer); + break; + case 100: + ParseAndHandleSubscribeStream(token, methodId, buffer); + break; + case 101: + ParseAndHandleUnsubscribeStream(token, methodId, buffer); + break; + case 102: + ParseAndHandleCreateStream(token, methodId, buffer); + break; + case 103: + ParseAndHandleDestroyStream(token, methodId, buffer); + break; + case 104: + ParseAndHandleGetStream(token, methodId, buffer); + break; + case 105: + ParseAndHandleGetStreams(token, methodId, buffer); + break; + case 106: + ParseAndHandleUpdateStreamState(token, methodId, buffer); + break; + case 107: + ParseAndHandleSetStreamFocus(token, methodId, buffer); + break; + case 108: + ParseAndHandleGetStreamVoiceToken(token, methodId, buffer); + break; + case 109: + ParseAndHandleKickFromStreamVoice(token, methodId, buffer); + break; + case 150: + ParseAndHandleCreateMessage(token, methodId, buffer); + break; + case 151: + ParseAndHandleDestroyMessage(token, methodId, buffer); + break; + case 152: + ParseAndHandleEditMessage(token, methodId, buffer); + break; + case 153: + ParseAndHandleSetMessagePinned(token, methodId, buffer); + break; + case 154: + ParseAndHandleSetTypingIndicator(token, methodId, buffer); + break; + case 155: + ParseAndHandleAdvanceStreamViewTime(token, methodId, buffer); + break; + case 156: + ParseAndHandleGetStreamHistory(token, methodId, buffer); + break; + case 157: + ParseAndHandleGetStreamMessage(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 ClubService::HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Create", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Destroy", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetDescription", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetClubType", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateClubState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateClubSettings", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Join", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Leave", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.Kick", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetMember", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetMembers", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateMemberState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateSubscriberState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AssignRole", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UnassignRole", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SendInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AcceptInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DeclineInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RevokeInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetInvitation", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetInvitations", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SendSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AcceptSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DeclineSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetSuggestion", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetSuggestions", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RedeemTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetTicket", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetTickets", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AddBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.RemoveBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetBan", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetBans", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SubscribeStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UnsubscribeStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStream", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreams", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.UpdateStreamState", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetStreamFocus", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamVoiceToken", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.KickFromStreamVoice", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.CreateMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.DestroyMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.EditMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetMessagePinned", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.SetTypingIndicator", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.AdvanceStreamViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamHistory", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 ClubService::HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("ClubService.GetStreamMessage", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void ClubService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Subscribe", "bgs.protocol.club.v1.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Subscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Unsubscribe", "bgs.protocol.club.v1.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Create"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Create", "bgs.protocol.club.v1.client.CreateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Create", ::bgs::protocol::club::v1::client::CreateResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateResponse response; + uint32 status = HandleCreate(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Destroy"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Destroy", "bgs.protocol.club.v1.client.DestroyRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Destroy", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroy(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetDescriptionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetDescription"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetDescription", "bgs.protocol.club.v1.client.GetDescriptionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetDescription", ::bgs::protocol::club::v1::client::GetDescriptionResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetDescriptionResponse response; + uint32 status = HandleGetDescription(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetClubTypeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetClubType"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetClubType", "bgs.protocol.club.v1.client.GetClubTypeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetClubType", ::bgs::protocol::club::v1::client::GetClubTypeResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetClubTypeResponse response; + uint32 status = HandleGetClubType(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateClubStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateClubState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateClubState", "bgs.protocol.club.v1.client.UpdateClubStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateClubSettingsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateClubSettings"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateClubSettings", "bgs.protocol.club.v1.client.UpdateClubSettingsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubSettings", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateClubSettings(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::JoinRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Join"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Join", "bgs.protocol.club.v1.client.JoinRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Join", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleJoin(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::LeaveRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Leave"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Leave", "bgs.protocol.club.v1.client.LeaveRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Leave", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleLeave(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::KickRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.Kick"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.Kick", "bgs.protocol.club.v1.client.KickRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Kick", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleKick(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetMemberRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetMember"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetMember", "bgs.protocol.club.v1.client.GetMemberRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMember", ::bgs::protocol::club::v1::client::GetMemberResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetMemberResponse response; + uint32 status = HandleGetMember(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetMembersRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetMembers"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetMembers", "bgs.protocol.club.v1.client.GetMembersRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMembers", ::bgs::protocol::club::v1::client::GetMembersResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetMembersResponse response; + uint32 status = HandleGetMembers(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateMemberStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateMemberState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateMemberState", "bgs.protocol.club.v1.client.UpdateMemberStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateMemberState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateMemberState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateSubscriberState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateSubscriberState", "bgs.protocol.club.v1.client.UpdateSubscriberStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateSubscriberState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateSubscriberState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AssignRoleRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AssignRole"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AssignRole", "bgs.protocol.club.v1.client.AssignRoleRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AssignRole", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAssignRole(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnassignRoleRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UnassignRole"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UnassignRole", "bgs.protocol.club.v1.client.UnassignRoleRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnassignRole", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnassignRole(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SendInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SendInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SendInvitation", "bgs.protocol.club.v1.client.SendInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AcceptInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AcceptInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AcceptInvitation", "bgs.protocol.club.v1.client.AcceptInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAcceptInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DeclineInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DeclineInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DeclineInvitation", "bgs.protocol.club.v1.client.DeclineInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDeclineInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RevokeInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RevokeInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RevokeInvitation", "bgs.protocol.club.v1.client.RevokeInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RevokeInvitation", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRevokeInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetInvitationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetInvitation"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetInvitation", "bgs.protocol.club.v1.client.GetInvitationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitation", ::bgs::protocol::club::v1::client::GetInvitationResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetInvitationResponse response; + uint32 status = HandleGetInvitation(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetInvitationsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetInvitations"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetInvitations", "bgs.protocol.club.v1.client.GetInvitationsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitations", ::bgs::protocol::club::v1::client::GetInvitationsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetInvitationsResponse response; + uint32 status = HandleGetInvitations(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SendSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SendSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SendSuggestion", "bgs.protocol.club.v1.client.SendSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AcceptSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AcceptSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AcceptSuggestion", "bgs.protocol.club.v1.client.AcceptSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAcceptSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DeclineSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DeclineSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DeclineSuggestion", "bgs.protocol.club.v1.client.DeclineSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineSuggestion", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDeclineSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetSuggestionRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetSuggestion"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetSuggestion", "bgs.protocol.club.v1.client.GetSuggestionRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestion", ::bgs::protocol::club::v1::client::GetSuggestionResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetSuggestionResponse response; + uint32 status = HandleGetSuggestion(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetSuggestionsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetSuggestions"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetSuggestions", "bgs.protocol.club.v1.client.GetSuggestionsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestions", ::bgs::protocol::club::v1::client::GetSuggestionsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetSuggestionsResponse response; + uint32 status = HandleGetSuggestions(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateTicket", "bgs.protocol.club.v1.client.CreateTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateTicket", ::bgs::protocol::club::v1::client::CreateTicketResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateTicketResponse response; + uint32 status = HandleCreateTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyTicket", "bgs.protocol.club.v1.client.DestroyTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyTicket", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroyTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RedeemTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RedeemTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RedeemTicket", "bgs.protocol.club.v1.client.RedeemTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RedeemTicket", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRedeemTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetTicketRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetTicket"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetTicket", "bgs.protocol.club.v1.client.GetTicketRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTicket", ::bgs::protocol::club::v1::client::GetTicketResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetTicketResponse response; + uint32 status = HandleGetTicket(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetTicketsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetTickets"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetTickets", "bgs.protocol.club.v1.client.GetTicketsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTickets", ::bgs::protocol::club::v1::client::GetTicketsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetTicketsResponse response; + uint32 status = HandleGetTickets(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AddBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AddBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AddBan", "bgs.protocol.club.v1.client.AddBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AddBan", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAddBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::RemoveBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.RemoveBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.RemoveBan", "bgs.protocol.club.v1.client.RemoveBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RemoveBan", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleRemoveBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetBanRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetBan"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetBan", "bgs.protocol.club.v1.client.GetBanRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBan", ::bgs::protocol::club::v1::client::GetBanResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetBanResponse response; + uint32 status = HandleGetBan(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetBansRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetBans"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetBans", "bgs.protocol.club.v1.client.GetBansRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBans", ::bgs::protocol::club::v1::client::GetBansResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetBansResponse response; + uint32 status = HandleGetBans(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SubscribeStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SubscribeStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SubscribeStream", "bgs.protocol.club.v1.client.SubscribeStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SubscribeStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSubscribeStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UnsubscribeStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UnsubscribeStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UnsubscribeStream", "bgs.protocol.club.v1.client.UnsubscribeStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnsubscribeStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribeStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateStream", "bgs.protocol.club.v1.client.CreateStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateStream", ::bgs::protocol::club::v1::client::CreateStreamResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateStreamResponse response; + uint32 status = HandleCreateStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyStream", "bgs.protocol.club.v1.client.DestroyStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyStream", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleDestroyStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStream"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStream", "bgs.protocol.club.v1.client.GetStreamRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStream", ::bgs::protocol::club::v1::client::GetStreamResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamResponse response; + uint32 status = HandleGetStream(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamsRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreams"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreams", "bgs.protocol.club.v1.client.GetStreamsRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreams", ::bgs::protocol::club::v1::client::GetStreamsResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamsResponse response; + uint32 status = HandleGetStreams(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::UpdateStreamStateRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.UpdateStreamState"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.UpdateStreamState", "bgs.protocol.club.v1.client.UpdateStreamStateRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateStreamState", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUpdateStreamState(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetStreamFocusRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetStreamFocus"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetStreamFocus", "bgs.protocol.club.v1.client.SetStreamFocusRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetStreamFocus", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetStreamFocus(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamVoiceToken"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamVoiceToken", "bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamVoiceToken", ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse response; + uint32 status = HandleGetStreamVoiceToken(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.KickFromStreamVoice"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.KickFromStreamVoice", "bgs.protocol.club.v1.client.KickFromStreamVoiceRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.KickFromStreamVoice", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleKickFromStreamVoice(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::CreateMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.CreateMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.CreateMessage", "bgs.protocol.club.v1.client.CreateMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateMessage", ::bgs::protocol::club::v1::client::CreateMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::CreateMessageResponse response; + uint32 status = HandleCreateMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::DestroyMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.DestroyMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.DestroyMessage", "bgs.protocol.club.v1.client.DestroyMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyMessage", ::bgs::protocol::club::v1::client::DestroyMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::DestroyMessageResponse response; + uint32 status = HandleDestroyMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::EditMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.EditMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.EditMessage", "bgs.protocol.club.v1.client.EditMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.EditMessage", ::bgs::protocol::club::v1::client::EditMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::EditMessageResponse response; + uint32 status = HandleEditMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetMessagePinnedRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetMessagePinned"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetMessagePinned", "bgs.protocol.club.v1.client.SetMessagePinnedRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetMessagePinned", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetMessagePinned(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::SetTypingIndicatorRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.SetTypingIndicator"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.SetTypingIndicator", "bgs.protocol.club.v1.client.SetTypingIndicatorRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetTypingIndicator(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.AdvanceStreamViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.AdvanceStreamViewTime", "bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AdvanceStreamViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceStreamViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamHistoryRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamHistory"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamHistory", "bgs.protocol.club.v1.client.GetStreamHistoryRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamHistory", ::bgs::protocol::club::v1::client::GetStreamHistoryResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamHistoryResponse response; + uint32 status = HandleGetStreamHistory(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void ClubService::ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::club::v1::client::GetStreamMessageRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("ClubService.GetStreamMessage"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("ClubService.GetStreamMessage", "bgs.protocol.club.v1.client.GetStreamMessageRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamMessage", ::bgs::protocol::club::v1::client::GetStreamMessageResponse::descriptor()); + ::bgs::protocol::club::v1::client::GetStreamMessageResponse response; + uint32 status = HandleGetStreamMessage(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_service.pb.h b/src/server/proto/Client/api/client/v1/club_service.pb.h new file mode 100644 index 00000000000..7f4fcac44b7 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.pb.h @@ -0,0 +1,201 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_request.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fservice_2eproto(); + +// =================================================================== + +// =================================================================== + +class TC_PROTO_API ClubService : public ServiceBase +{ + public: + + explicit ClubService(bool use_original_hash); + ClubService(ClubService const&) = delete; + ClubService(ClubService&&) = delete; + ClubService& operator=(ClubService const&) = delete; + ClubService& operator=(ClubService&&) = delete; + virtual ~ClubService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::client::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreate(::bgs::protocol::club::v1::client::CreateRequest const* request, ::bgs::protocol::club::v1::client::CreateResponse* response, std::function& continuation); + virtual uint32 HandleDestroy(::bgs::protocol::club::v1::client::DestroyRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetDescription(::bgs::protocol::club::v1::client::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::client::GetDescriptionResponse* response, std::function& continuation); + virtual uint32 HandleGetClubType(::bgs::protocol::club::v1::client::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::client::GetClubTypeResponse* response, std::function& continuation); + virtual uint32 HandleUpdateClubState(::bgs::protocol::club::v1::client::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUpdateClubSettings(::bgs::protocol::club::v1::client::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleJoin(::bgs::protocol::club::v1::client::JoinRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleLeave(::bgs::protocol::club::v1::client::LeaveRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleKick(::bgs::protocol::club::v1::client::KickRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetMember(::bgs::protocol::club::v1::client::GetMemberRequest const* request, ::bgs::protocol::club::v1::client::GetMemberResponse* response, std::function& continuation); + virtual uint32 HandleGetMembers(::bgs::protocol::club::v1::client::GetMembersRequest const* request, ::bgs::protocol::club::v1::client::GetMembersResponse* response, std::function& continuation); + virtual uint32 HandleUpdateMemberState(::bgs::protocol::club::v1::client::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUpdateSubscriberState(::bgs::protocol::club::v1::client::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAssignRole(::bgs::protocol::club::v1::client::AssignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnassignRole(::bgs::protocol::club::v1::client::UnassignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSendInvitation(::bgs::protocol::club::v1::client::SendInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAcceptInvitation(::bgs::protocol::club::v1::client::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleDeclineInvitation(::bgs::protocol::club::v1::client::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRevokeInvitation(::bgs::protocol::club::v1::client::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetInvitation(::bgs::protocol::club::v1::client::GetInvitationRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationResponse* response, std::function& continuation); + virtual uint32 HandleGetInvitations(::bgs::protocol::club::v1::client::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::client::GetInvitationsResponse* response, std::function& continuation); + virtual uint32 HandleSendSuggestion(::bgs::protocol::club::v1::client::SendSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAcceptSuggestion(::bgs::protocol::club::v1::client::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleDeclineSuggestion(::bgs::protocol::club::v1::client::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetSuggestion(::bgs::protocol::club::v1::client::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionResponse* response, std::function& continuation); + virtual uint32 HandleGetSuggestions(::bgs::protocol::club::v1::client::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::client::GetSuggestionsResponse* response, std::function& continuation); + virtual uint32 HandleCreateTicket(::bgs::protocol::club::v1::client::CreateTicketRequest const* request, ::bgs::protocol::club::v1::client::CreateTicketResponse* response, std::function& continuation); + virtual uint32 HandleDestroyTicket(::bgs::protocol::club::v1::client::DestroyTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRedeemTicket(::bgs::protocol::club::v1::client::RedeemTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetTicket(::bgs::protocol::club::v1::client::GetTicketRequest const* request, ::bgs::protocol::club::v1::client::GetTicketResponse* response, std::function& continuation); + virtual uint32 HandleGetTickets(::bgs::protocol::club::v1::client::GetTicketsRequest const* request, ::bgs::protocol::club::v1::client::GetTicketsResponse* response, std::function& continuation); + virtual uint32 HandleAddBan(::bgs::protocol::club::v1::client::AddBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleRemoveBan(::bgs::protocol::club::v1::client::RemoveBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetBan(::bgs::protocol::club::v1::client::GetBanRequest const* request, ::bgs::protocol::club::v1::client::GetBanResponse* response, std::function& continuation); + virtual uint32 HandleGetBans(::bgs::protocol::club::v1::client::GetBansRequest const* request, ::bgs::protocol::club::v1::client::GetBansResponse* response, std::function& continuation); + virtual uint32 HandleSubscribeStream(::bgs::protocol::club::v1::client::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleUnsubscribeStream(::bgs::protocol::club::v1::client::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreateStream(::bgs::protocol::club::v1::client::CreateStreamRequest const* request, ::bgs::protocol::club::v1::client::CreateStreamResponse* response, std::function& continuation); + virtual uint32 HandleDestroyStream(::bgs::protocol::club::v1::client::DestroyStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStream(::bgs::protocol::club::v1::client::GetStreamRequest const* request, ::bgs::protocol::club::v1::client::GetStreamResponse* response, std::function& continuation); + virtual uint32 HandleGetStreams(::bgs::protocol::club::v1::client::GetStreamsRequest const* request, ::bgs::protocol::club::v1::client::GetStreamsResponse* response, std::function& continuation); + virtual uint32 HandleUpdateStreamState(::bgs::protocol::club::v1::client::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetStreamFocus(::bgs::protocol::club::v1::client::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamVoiceToken(::bgs::protocol::club::v1::client::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::client::GetStreamVoiceTokenResponse* response, std::function& continuation); + virtual uint32 HandleKickFromStreamVoice(::bgs::protocol::club::v1::client::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleCreateMessage(::bgs::protocol::club::v1::client::CreateMessageRequest const* request, ::bgs::protocol::club::v1::client::CreateMessageResponse* response, std::function& continuation); + virtual uint32 HandleDestroyMessage(::bgs::protocol::club::v1::client::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::client::DestroyMessageResponse* response, std::function& continuation); + virtual uint32 HandleEditMessage(::bgs::protocol::club::v1::client::EditMessageRequest const* request, ::bgs::protocol::club::v1::client::EditMessageResponse* response, std::function& continuation); + virtual uint32 HandleSetMessagePinned(::bgs::protocol::club::v1::client::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::club::v1::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::client::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetStreamHistory(::bgs::protocol::club::v1::client::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::client::GetStreamHistoryResponse* response, std::function& continuation); + virtual uint32 HandleGetStreamMessage(::bgs::protocol::club::v1::client::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::client::GetStreamMessageResponse* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_service.proto b/src/server/proto/Client/api/client/v1/club_service.proto new file mode 100644 index 00000000000..7eada30457d --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_service.proto @@ -0,0 +1,293 @@ +syntax = "proto2"; + +import "api/client/v1/club_request.proto"; +package bgs.protocol.club.v1.client; + +option optimize_for = CODE_SIZE; +option cc_generic_services = false; + +service ClubService { + option (.bgs.protocol.service_options) = { + descriptor_name: "bnet.protocol.club.v1.ClubService" + shard_name: "club" + }; + option (.bgs.protocol.sdk_service_options) = { + outbound: true + use_client_id: true + }; + rpc Subscribe(.bgs.protocol.club.v1.client.SubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 1 + }; + } + rpc Unsubscribe(.bgs.protocol.club.v1.client.UnsubscribeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 2 + }; + } + rpc Create(.bgs.protocol.club.v1.client.CreateRequest) returns (.bgs.protocol.club.v1.client.CreateResponse) { + option (.bgs.protocol.method_options) = { + id: 3 + }; + } + rpc Destroy(.bgs.protocol.club.v1.client.DestroyRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 4 + }; + } + rpc GetDescription(.bgs.protocol.club.v1.client.GetDescriptionRequest) returns (.bgs.protocol.club.v1.client.GetDescriptionResponse) { + option (.bgs.protocol.method_options) = { + id: 5 + }; + } + rpc GetClubType(.bgs.protocol.club.v1.client.GetClubTypeRequest) returns (.bgs.protocol.club.v1.client.GetClubTypeResponse) { + option (.bgs.protocol.method_options) = { + id: 6 + }; + } + rpc UpdateClubState(.bgs.protocol.club.v1.client.UpdateClubStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 7 + }; + } + rpc UpdateClubSettings(.bgs.protocol.club.v1.client.UpdateClubSettingsRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 8 + }; + } + rpc Join(.bgs.protocol.club.v1.client.JoinRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 30 + }; + } + rpc Leave(.bgs.protocol.club.v1.client.LeaveRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 31 + }; + } + rpc Kick(.bgs.protocol.club.v1.client.KickRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 32 + }; + } + rpc GetMember(.bgs.protocol.club.v1.client.GetMemberRequest) returns (.bgs.protocol.club.v1.client.GetMemberResponse) { + option (.bgs.protocol.method_options) = { + id: 33 + }; + } + rpc GetMembers(.bgs.protocol.club.v1.client.GetMembersRequest) returns (.bgs.protocol.club.v1.client.GetMembersResponse) { + option (.bgs.protocol.method_options) = { + id: 34 + }; + } + rpc UpdateMemberState(.bgs.protocol.club.v1.client.UpdateMemberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 35 + }; + } + rpc UpdateSubscriberState(.bgs.protocol.club.v1.client.UpdateSubscriberStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 36 + }; + } + rpc AssignRole(.bgs.protocol.club.v1.client.AssignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 37 + }; + } + rpc UnassignRole(.bgs.protocol.club.v1.client.UnassignRoleRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 38 + }; + } + rpc SendInvitation(.bgs.protocol.club.v1.client.SendInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 50 + }; + } + rpc AcceptInvitation(.bgs.protocol.club.v1.client.AcceptInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 51 + }; + } + rpc DeclineInvitation(.bgs.protocol.club.v1.client.DeclineInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 52 + }; + } + rpc RevokeInvitation(.bgs.protocol.club.v1.client.RevokeInvitationRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 53 + }; + } + rpc GetInvitation(.bgs.protocol.club.v1.client.GetInvitationRequest) returns (.bgs.protocol.club.v1.client.GetInvitationResponse) { + option (.bgs.protocol.method_options) = { + id: 54 + }; + } + rpc GetInvitations(.bgs.protocol.club.v1.client.GetInvitationsRequest) returns (.bgs.protocol.club.v1.client.GetInvitationsResponse) { + option (.bgs.protocol.method_options) = { + id: 55 + }; + } + rpc SendSuggestion(.bgs.protocol.club.v1.client.SendSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 60 + }; + } + rpc AcceptSuggestion(.bgs.protocol.club.v1.client.AcceptSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 61 + }; + } + rpc DeclineSuggestion(.bgs.protocol.club.v1.client.DeclineSuggestionRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 62 + }; + } + rpc GetSuggestion(.bgs.protocol.club.v1.client.GetSuggestionRequest) returns (.bgs.protocol.club.v1.client.GetSuggestionResponse) { + option (.bgs.protocol.method_options) = { + id: 63 + }; + } + rpc GetSuggestions(.bgs.protocol.club.v1.client.GetSuggestionsRequest) returns (.bgs.protocol.club.v1.client.GetSuggestionsResponse) { + option (.bgs.protocol.method_options) = { + id: 64 + }; + } + rpc CreateTicket(.bgs.protocol.club.v1.client.CreateTicketRequest) returns (.bgs.protocol.club.v1.client.CreateTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 70 + }; + } + rpc DestroyTicket(.bgs.protocol.club.v1.client.DestroyTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 71 + }; + } + rpc RedeemTicket(.bgs.protocol.club.v1.client.RedeemTicketRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 72 + }; + } + rpc GetTicket(.bgs.protocol.club.v1.client.GetTicketRequest) returns (.bgs.protocol.club.v1.client.GetTicketResponse) { + option (.bgs.protocol.method_options) = { + id: 73 + }; + } + rpc GetTickets(.bgs.protocol.club.v1.client.GetTicketsRequest) returns (.bgs.protocol.club.v1.client.GetTicketsResponse) { + option (.bgs.protocol.method_options) = { + id: 74 + }; + } + rpc AddBan(.bgs.protocol.club.v1.client.AddBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 80 + }; + } + rpc RemoveBan(.bgs.protocol.club.v1.client.RemoveBanRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 81 + }; + } + rpc GetBan(.bgs.protocol.club.v1.client.GetBanRequest) returns (.bgs.protocol.club.v1.client.GetBanResponse) { + option (.bgs.protocol.method_options) = { + id: 82 + }; + } + rpc GetBans(.bgs.protocol.club.v1.client.GetBansRequest) returns (.bgs.protocol.club.v1.client.GetBansResponse) { + option (.bgs.protocol.method_options) = { + id: 83 + }; + } + rpc SubscribeStream(.bgs.protocol.club.v1.client.SubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 100 + }; + } + rpc UnsubscribeStream(.bgs.protocol.club.v1.client.UnsubscribeStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 101 + }; + } + rpc CreateStream(.bgs.protocol.club.v1.client.CreateStreamRequest) returns (.bgs.protocol.club.v1.client.CreateStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 102 + }; + } + rpc DestroyStream(.bgs.protocol.club.v1.client.DestroyStreamRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 103 + }; + } + rpc GetStream(.bgs.protocol.club.v1.client.GetStreamRequest) returns (.bgs.protocol.club.v1.client.GetStreamResponse) { + option (.bgs.protocol.method_options) = { + id: 104 + }; + } + rpc GetStreams(.bgs.protocol.club.v1.client.GetStreamsRequest) returns (.bgs.protocol.club.v1.client.GetStreamsResponse) { + option (.bgs.protocol.method_options) = { + id: 105 + }; + } + rpc UpdateStreamState(.bgs.protocol.club.v1.client.UpdateStreamStateRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 106 + }; + } + rpc SetStreamFocus(.bgs.protocol.club.v1.client.SetStreamFocusRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 107 + }; + } + rpc GetStreamVoiceToken(.bgs.protocol.club.v1.client.GetStreamVoiceTokenRequest) returns (.bgs.protocol.club.v1.client.GetStreamVoiceTokenResponse) { + option (.bgs.protocol.method_options) = { + id: 108 + }; + } + rpc KickFromStreamVoice(.bgs.protocol.club.v1.client.KickFromStreamVoiceRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 109 + }; + } + rpc CreateMessage(.bgs.protocol.club.v1.client.CreateMessageRequest) returns (.bgs.protocol.club.v1.client.CreateMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 150 + }; + } + rpc DestroyMessage(.bgs.protocol.club.v1.client.DestroyMessageRequest) returns (.bgs.protocol.club.v1.client.DestroyMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 151 + }; + } + rpc EditMessage(.bgs.protocol.club.v1.client.EditMessageRequest) returns (.bgs.protocol.club.v1.client.EditMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 152 + }; + } + rpc SetMessagePinned(.bgs.protocol.club.v1.client.SetMessagePinnedRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 153 + }; + } + rpc SetTypingIndicator(.bgs.protocol.club.v1.client.SetTypingIndicatorRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 154 + }; + } + rpc AdvanceStreamViewTime(.bgs.protocol.club.v1.client.AdvanceStreamViewTimeRequest) returns (.bgs.protocol.NoData) { + option (.bgs.protocol.method_options) = { + id: 155 + }; + } + rpc GetStreamHistory(.bgs.protocol.club.v1.client.GetStreamHistoryRequest) returns (.bgs.protocol.club.v1.client.GetStreamHistoryResponse) { + option (.bgs.protocol.method_options) = { + id: 156 + }; + } + rpc GetStreamMessage(.bgs.protocol.club.v1.client.GetStreamMessageRequest) returns (.bgs.protocol.club.v1.client.GetStreamMessageResponse) { + option (.bgs.protocol.method_options) = { + id: 157 + }; + } +} diff --git a/src/server/proto/Client/api/client/v1/club_stream.pb.cc b/src/server/proto/Client/api/client/v1/club_stream.pb.cc new file mode 100644 index 00000000000..cdf82564159 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.cc @@ -0,0 +1,2108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_stream.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_stream.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* StreamPosition_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamPosition_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAccess_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAccess_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateStreamOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateStreamOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Stream_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Stream_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* MentionContent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MentionContent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CreateMessageOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CreateMessageOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubStreamMessageContainer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubStreamMessageContainer_reflection_ = NULL; +const ::google::protobuf::Descriptor* ContentChain_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ContentChain_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMessage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMessage_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMention_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMention_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamView_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamAdvanceViewTime_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamAdvanceViewTime_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamEventTime_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamEventTime_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamMentionView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamMentionView_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamStateAssignment_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamStateAssignment_reflection_ = NULL; +const ::google::protobuf::Descriptor* StreamTypingIndicator_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + StreamTypingIndicator_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_stream.proto"); + GOOGLE_CHECK(file != NULL); + StreamPosition_descriptor_ = file->message_type(0); + static const int StreamPosition_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, stream_id_), + }; + StreamPosition_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamPosition_descriptor_, + StreamPosition::default_instance_, + StreamPosition_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamPosition)); + StreamAccess_descriptor_ = file->message_type(1); + static const int StreamAccess_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, role_), + }; + StreamAccess_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAccess_descriptor_, + StreamAccess::default_instance_, + StreamAccess_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAccess)); + CreateStreamOptions_descriptor_ = file->message_type(2); + static const int CreateStreamOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, voice_level_), + }; + CreateStreamOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateStreamOptions_descriptor_, + CreateStreamOptions::default_instance_, + CreateStreamOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateStreamOptions)); + Stream_descriptor_ = file->message_type(3); + static const int Stream_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, voice_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, creation_time_), + }; + Stream_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Stream_descriptor_, + Stream::default_instance_, + Stream_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Stream)); + StreamDescription_descriptor_ = file->message_type(4); + static const int StreamDescription_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, name_), + }; + StreamDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamDescription_descriptor_, + StreamDescription::default_instance_, + StreamDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamDescription)); + MentionContent_descriptor_ = file->message_type(5); + static const int MentionContent_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, all_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, here_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, role_), + }; + MentionContent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MentionContent_descriptor_, + MentionContent::default_instance_, + MentionContent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MentionContent)); + CreateMessageOptions_descriptor_ = file->message_type(6); + static const int CreateMessageOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, mention_), + }; + CreateMessageOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CreateMessageOptions_descriptor_, + CreateMessageOptions::default_instance_, + CreateMessageOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CreateMessageOptions)); + ClubStreamMessageContainer_descriptor_ = file->message_type(7); + static const int ClubStreamMessageContainer_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, message_), + }; + ClubStreamMessageContainer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubStreamMessageContainer_descriptor_, + ClubStreamMessageContainer::default_instance_, + ClubStreamMessageContainer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubStreamMessageContainer)); + ContentChain_descriptor_ = file->message_type(8); + static const int ContentChain_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, embed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, mention_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, edit_time_), + }; + ContentChain_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ContentChain_descriptor_, + ContentChain::default_instance_, + ContentChain_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ContentChain)); + StreamMessage_descriptor_ = file->message_type(9); + static const int StreamMessage_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, author_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, content_chain_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyer_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroy_time_), + }; + StreamMessage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMessage_descriptor_, + StreamMessage::default_instance_, + StreamMessage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMessage)); + StreamMention_descriptor_ = file->message_type(10); + static const int StreamMention_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, author_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, destroyed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, mention_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, member_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_type_), + }; + StreamMention_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMention_descriptor_, + StreamMention::default_instance_, + StreamMention_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMention)); + StreamView_descriptor_ = file->message_type(11); + static const int StreamView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, marker_), + }; + StreamView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamView_descriptor_, + StreamView::default_instance_, + StreamView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamView)); + StreamAdvanceViewTime_descriptor_ = file->message_type(12); + static const int StreamAdvanceViewTime_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, view_time_), + }; + StreamAdvanceViewTime_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamAdvanceViewTime_descriptor_, + StreamAdvanceViewTime::default_instance_, + StreamAdvanceViewTime_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamAdvanceViewTime)); + StreamEventTime_descriptor_ = file->message_type(13); + static const int StreamEventTime_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, event_time_), + }; + StreamEventTime_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamEventTime_descriptor_, + StreamEventTime::default_instance_, + StreamEventTime_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamEventTime)); + StreamMentionView_descriptor_ = file->message_type(14); + static const int StreamMentionView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, club_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, marker_), + }; + StreamMentionView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamMentionView_descriptor_, + StreamMentionView::default_instance_, + StreamMentionView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamMentionView)); + StreamStateOptions_descriptor_ = file->message_type(15); + static const int StreamStateOptions_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, voice_level_), + }; + StreamStateOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateOptions_descriptor_, + StreamStateOptions::default_instance_, + StreamStateOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateOptions)); + StreamStateAssignment_descriptor_ = file->message_type(16); + static const int StreamStateAssignment_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, subject_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, access_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_subscription_removed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, voice_level_), + }; + StreamStateAssignment_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamStateAssignment_descriptor_, + StreamStateAssignment::default_instance_, + StreamStateAssignment_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamStateAssignment)); + StreamTypingIndicator_descriptor_ = file->message_type(17); + static const int StreamTypingIndicator_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, author_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, indicator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, epoch_), + }; + StreamTypingIndicator_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + StreamTypingIndicator_descriptor_, + StreamTypingIndicator::default_instance_, + StreamTypingIndicator_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(StreamTypingIndicator)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamPosition_descriptor_, &StreamPosition::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAccess_descriptor_, &StreamAccess::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateStreamOptions_descriptor_, &CreateStreamOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Stream_descriptor_, &Stream::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamDescription_descriptor_, &StreamDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MentionContent_descriptor_, &MentionContent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CreateMessageOptions_descriptor_, &CreateMessageOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubStreamMessageContainer_descriptor_, &ClubStreamMessageContainer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ContentChain_descriptor_, &ContentChain::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMessage_descriptor_, &StreamMessage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMention_descriptor_, &StreamMention::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamView_descriptor_, &StreamView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamAdvanceViewTime_descriptor_, &StreamAdvanceViewTime::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamEventTime_descriptor_, &StreamEventTime::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamMentionView_descriptor_, &StreamMentionView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateOptions_descriptor_, &StreamStateOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamStateAssignment_descriptor_, &StreamStateAssignment::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + StreamTypingIndicator_descriptor_, &StreamTypingIndicator::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + delete StreamPosition::default_instance_; + delete StreamPosition_reflection_; + delete StreamAccess::default_instance_; + delete StreamAccess_reflection_; + delete CreateStreamOptions::default_instance_; + delete CreateStreamOptions_reflection_; + delete Stream::default_instance_; + delete Stream_reflection_; + delete StreamDescription::default_instance_; + delete StreamDescription_reflection_; + delete MentionContent::default_instance_; + delete MentionContent_reflection_; + delete CreateMessageOptions::default_instance_; + delete CreateMessageOptions_reflection_; + delete ClubStreamMessageContainer::default_instance_; + delete ClubStreamMessageContainer_reflection_; + delete ContentChain::default_instance_; + delete ContentChain_reflection_; + delete StreamMessage::default_instance_; + delete StreamMessage_reflection_; + delete StreamMention::default_instance_; + delete StreamMention_reflection_; + delete StreamView::default_instance_; + delete StreamView_reflection_; + delete StreamAdvanceViewTime::default_instance_; + delete StreamAdvanceViewTime_reflection_; + delete StreamEventTime::default_instance_; + delete StreamEventTime_reflection_; + delete StreamMentionView::default_instance_; + delete StreamMentionView_reflection_; + delete StreamStateOptions::default_instance_; + delete StreamStateOptions_reflection_; + delete StreamStateAssignment::default_instance_; + delete StreamStateAssignment_reflection_; + delete StreamTypingIndicator::default_instance_; + delete StreamTypingIndicator_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_embed_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/client/v1/club_stream.proto\022\033bgs.p" + "rotocol.club.v1.client\032\035api/client/v1/cl" + "ub_enum.proto\032\037api/client/v1/club_member" + ".proto\032\035api/common/v1/club_type.proto\032#a" + "pi/common/v2/attribute_types.proto\032\021embe" + "d_types.proto\032\017ets_types.proto\032\026event_vi" + "ew_types.proto\032\023message_types.proto\"\'\n\016S" + "treamPosition\022\025\n\tstream_id\030\001 \003(\004B\002\020\001\" \n\014" + "StreamAccess\022\020\n\004role\030\001 \003(\rB\002\020\001\"\342\001\n\023Creat" + "eStreamOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs." + "protocol.v2.Attribute\022\014\n\004name\030\002 \001(\t\022\017\n\007s" + "ubject\030\003 \001(\t\0229\n\006access\030\004 \001(\0132).bgs.proto" + "col.club.v1.client.StreamAccess\022B\n\013voice" + "_level\030\005 \001(\0162-.bgs.protocol.club.v1.clie" + "nt.StreamVoiceLevel\"\211\002\n\006Stream\022\017\n\007club_i" + "d\030\001 \001(\004\022\n\n\002id\030\002 \001(\004\022-\n\tattribute\030\003 \003(\0132\032" + ".bgs.protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t" + "\022\017\n\007subject\030\005 \001(\t\0229\n\006access\030\006 \001(\0132).bgs." + "protocol.club.v1.client.StreamAccess\022B\n\013" + "voice_level\030\007 \001(\0162-.bgs.protocol.club.v1" + ".client.StreamVoiceLevel\022\025\n\rcreation_tim" + "e\030\010 \001(\004\"-\n\021StreamDescription\022\n\n\002id\030\002 \001(\004" + "\022\014\n\004name\030\004 \001(\t\"p\n\016MentionContent\022\013\n\003all\030" + "\001 \001(\010\022\014\n\004here\030\002 \001(\010\0221\n\tmember_id\030\003 \003(\0132\036" + ".bgs.protocol.club.v1.MemberId\022\020\n\004role\030\004" + " \003(\rB\002\020\001\"e\n\024CreateMessageOptions\022\017\n\007cont" + "ent\030\002 \001(\t\022<\n\007mention\030\003 \001(\0132+.bgs.protoco" + "l.club.v1.client.MentionContent\"Y\n\032ClubS" + "treamMessageContainer\022;\n\007message\030\001 \003(\0132*" + ".bgs.protocol.club.v1.client.StreamMessa" + "ge\"\230\001\n\014ContentChain\022\017\n\007content\030\005 \001(\t\022&\n\005" + "embed\030\006 \003(\0132\027.bgs.protocol.EmbedInfo\022<\n\007" + "mention\030\007 \001(\0132+.bgs.protocol.club.v1.cli" + "ent.MentionContent\022\021\n\tedit_time\030\010 \001(\004\"\242\002" + "\n\rStreamMessage\022#\n\002id\030\003 \001(\0132\027.bgs.protoc" + "ol.MessageId\022>\n\006author\030\004 \001(\0132..bgs.proto" + "col.club.v1.client.MemberDescription\022@\n\r" + "content_chain\030\006 \003(\0132).bgs.protocol.club." + "v1.client.ContentChain\022A\n\tdestroyer\030\017 \001(" + "\0132..bgs.protocol.club.v1.client.MemberDe" + "scription\022\021\n\tdestroyed\030\020 \001(\010\022\024\n\014destroy_" + "time\030\021 \001(\004\"\214\003\n\rStreamMention\022\017\n\007club_id\030" + "\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022+\n\nmessage_id\030\003" + " \001(\0132\027.bgs.protocol.MessageId\022>\n\006author\030" + "\004 \001(\0132..bgs.protocol.club.v1.client.Memb" + "erDescription\022\021\n\tdestroyed\030\005 \001(\010\022.\n\nment" + "ion_id\030\006 \001(\0132\032.bgs.protocol.TimeSeriesId" + "\0221\n\tmember_id\030\007 \001(\0132\036.bgs.protocol.club." + "v1.MemberId\022;\n\007message\030\010 \001(\0132*.bgs.proto" + "col.club.v1.client.StreamMessage\0227\n\tclub" + "_type\030\t \001(\0132$.bgs.protocol.club.v1.Uniqu" + "eClubType\"Z\n\nStreamView\022\017\n\007club_id\030\001 \001(\004" + "\022\021\n\tstream_id\030\002 \001(\004\022(\n\006marker\030\003 \001(\0132\030.bg" + "s.protocol.ViewMarker\"=\n\025StreamAdvanceVi" + "ewTime\022\021\n\tstream_id\030\001 \001(\004\022\021\n\tview_time\030\002" + " \001(\004\"8\n\017StreamEventTime\022\021\n\tstream_id\030\001 \001" + "(\004\022\022\n\nevent_time\030\002 \001(\004\"a\n\021StreamMentionV" + "iew\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022" + "(\n\006marker\030\003 \001(\0132\030.bgs.protocol.ViewMarke" + "r\"\341\001\n\022StreamStateOptions\022-\n\tattribute\030\001 " + "\003(\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name\030" + "\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0229\n\006access\030\004 \001(\0132)" + ".bgs.protocol.club.v1.client.StreamAcces" + "s\022B\n\013voice_level\030\005 \001(\0162-.bgs.protocol.cl" + "ub.v1.client.StreamVoiceLevel\"\234\002\n\025Stream" + "StateAssignment\022\021\n\tstream_id\030\001 \001(\004\022-\n\tat" + "tribute\030\002 \003(\0132\032.bgs.protocol.v2.Attribut" + "e\022\014\n\004name\030\003 \001(\t\022\017\n\007subject\030\004 \001(\t\0229\n\006acce" + "ss\030\005 \001(\0132).bgs.protocol.club.v1.client.S" + "treamAccess\022#\n\033stream_subscription_remov" + "ed\030\006 \001(\010\022B\n\013voice_level\030\007 \001(\0162-.bgs.prot" + "ocol.club.v1.client.StreamVoiceLevel\"\213\001\n" + "\025StreamTypingIndicator\0221\n\tauthor_id\030\001 \001(" + "\0132\036.bgs.protocol.club.v1.MemberId\0220\n\tind" + "icator\030\002 \001(\0162\035.bgs.protocol.TypingIndica" + "tor\022\r\n\005epoch\030\003 \001(\004B\002H\002", 3022); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_stream.proto", &protobuf_RegisterTypes); + StreamPosition::default_instance_ = new StreamPosition(); + StreamAccess::default_instance_ = new StreamAccess(); + CreateStreamOptions::default_instance_ = new CreateStreamOptions(); + Stream::default_instance_ = new Stream(); + StreamDescription::default_instance_ = new StreamDescription(); + MentionContent::default_instance_ = new MentionContent(); + CreateMessageOptions::default_instance_ = new CreateMessageOptions(); + ClubStreamMessageContainer::default_instance_ = new ClubStreamMessageContainer(); + ContentChain::default_instance_ = new ContentChain(); + StreamMessage::default_instance_ = new StreamMessage(); + StreamMention::default_instance_ = new StreamMention(); + StreamView::default_instance_ = new StreamView(); + StreamAdvanceViewTime::default_instance_ = new StreamAdvanceViewTime(); + StreamEventTime::default_instance_ = new StreamEventTime(); + StreamMentionView::default_instance_ = new StreamMentionView(); + StreamStateOptions::default_instance_ = new StreamStateOptions(); + StreamStateAssignment::default_instance_ = new StreamStateAssignment(); + StreamTypingIndicator::default_instance_ = new StreamTypingIndicator(); + StreamPosition::default_instance_->InitAsDefaultInstance(); + StreamAccess::default_instance_->InitAsDefaultInstance(); + CreateStreamOptions::default_instance_->InitAsDefaultInstance(); + Stream::default_instance_->InitAsDefaultInstance(); + StreamDescription::default_instance_->InitAsDefaultInstance(); + MentionContent::default_instance_->InitAsDefaultInstance(); + CreateMessageOptions::default_instance_->InitAsDefaultInstance(); + ClubStreamMessageContainer::default_instance_->InitAsDefaultInstance(); + ContentChain::default_instance_->InitAsDefaultInstance(); + StreamMessage::default_instance_->InitAsDefaultInstance(); + StreamMention::default_instance_->InitAsDefaultInstance(); + StreamView::default_instance_->InitAsDefaultInstance(); + StreamAdvanceViewTime::default_instance_->InitAsDefaultInstance(); + StreamEventTime::default_instance_->InitAsDefaultInstance(); + StreamMentionView::default_instance_->InitAsDefaultInstance(); + StreamStateOptions::default_instance_->InitAsDefaultInstance(); + StreamStateAssignment::default_instance_->InitAsDefaultInstance(); + StreamTypingIndicator::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fstream_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5fstream_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5fstream_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int StreamPosition::kStreamIdFieldNumber; +#endif // !_MSC_VER + +StreamPosition::StreamPosition() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamPosition) +} + +void StreamPosition::InitAsDefaultInstance() { +} + +StreamPosition::StreamPosition(const StreamPosition& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamPosition) +} + +void StreamPosition::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamPosition::~StreamPosition() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamPosition) + SharedDtor(); +} + +void StreamPosition::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamPosition::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamPosition::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamPosition_descriptor_; +} + +const StreamPosition& StreamPosition::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamPosition* StreamPosition::default_instance_ = NULL; + +StreamPosition* StreamPosition::New() const { + return new StreamPosition; +} + +void StreamPosition::Swap(StreamPosition* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamPosition::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamPosition_descriptor_; + metadata.reflection = StreamPosition_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAccess::kRoleFieldNumber; +#endif // !_MSC_VER + +StreamAccess::StreamAccess() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAccess) +} + +void StreamAccess::InitAsDefaultInstance() { +} + +StreamAccess::StreamAccess(const StreamAccess& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAccess) +} + +void StreamAccess::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAccess::~StreamAccess() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAccess) + SharedDtor(); +} + +void StreamAccess::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamAccess::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAccess::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAccess_descriptor_; +} + +const StreamAccess& StreamAccess::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamAccess* StreamAccess::default_instance_ = NULL; + +StreamAccess* StreamAccess::New() const { + return new StreamAccess; +} + +void StreamAccess::Swap(StreamAccess* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAccess::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAccess_descriptor_; + metadata.reflection = StreamAccess_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateStreamOptions::kAttributeFieldNumber; +const int CreateStreamOptions::kNameFieldNumber; +const int CreateStreamOptions::kSubjectFieldNumber; +const int CreateStreamOptions::kAccessFieldNumber; +const int CreateStreamOptions::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +CreateStreamOptions::CreateStreamOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateStreamOptions) +} + +void CreateStreamOptions::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +CreateStreamOptions::CreateStreamOptions(const CreateStreamOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateStreamOptions) +} + +void CreateStreamOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateStreamOptions::~CreateStreamOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateStreamOptions) + SharedDtor(); +} + +void CreateStreamOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void CreateStreamOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateStreamOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateStreamOptions_descriptor_; +} + +const CreateStreamOptions& CreateStreamOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +CreateStreamOptions* CreateStreamOptions::default_instance_ = NULL; + +CreateStreamOptions* CreateStreamOptions::New() const { + return new CreateStreamOptions; +} + +void CreateStreamOptions::Swap(CreateStreamOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateStreamOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateStreamOptions_descriptor_; + metadata.reflection = CreateStreamOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Stream::kClubIdFieldNumber; +const int Stream::kIdFieldNumber; +const int Stream::kAttributeFieldNumber; +const int Stream::kNameFieldNumber; +const int Stream::kSubjectFieldNumber; +const int Stream::kAccessFieldNumber; +const int Stream::kVoiceLevelFieldNumber; +const int Stream::kCreationTimeFieldNumber; +#endif // !_MSC_VER + +Stream::Stream() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.Stream) +} + +void Stream::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +Stream::Stream(const Stream& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.Stream) +} + +void Stream::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + creation_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Stream::~Stream() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.Stream) + SharedDtor(); +} + +void Stream::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void Stream::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Stream::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Stream_descriptor_; +} + +const Stream& Stream::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +Stream* Stream::default_instance_ = NULL; + +Stream* Stream::New() const { + return new Stream; +} + +void Stream::Swap(Stream* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Stream::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Stream_descriptor_; + metadata.reflection = Stream_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamDescription::kIdFieldNumber; +const int StreamDescription::kNameFieldNumber; +#endif // !_MSC_VER + +StreamDescription::StreamDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamDescription) +} + +void StreamDescription::InitAsDefaultInstance() { +} + +StreamDescription::StreamDescription(const StreamDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamDescription) +} + +void StreamDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamDescription::~StreamDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamDescription) + SharedDtor(); +} + +void StreamDescription::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void StreamDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamDescription_descriptor_; +} + +const StreamDescription& StreamDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamDescription* StreamDescription::default_instance_ = NULL; + +StreamDescription* StreamDescription::New() const { + return new StreamDescription; +} + +void StreamDescription::Swap(StreamDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamDescription_descriptor_; + metadata.reflection = StreamDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int MentionContent::kAllFieldNumber; +const int MentionContent::kHereFieldNumber; +const int MentionContent::kMemberIdFieldNumber; +const int MentionContent::kRoleFieldNumber; +#endif // !_MSC_VER + +MentionContent::MentionContent() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.MentionContent) +} + +void MentionContent::InitAsDefaultInstance() { +} + +MentionContent::MentionContent(const MentionContent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.MentionContent) +} + +void MentionContent::SharedCtor() { + _cached_size_ = 0; + all_ = false; + here_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MentionContent::~MentionContent() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.MentionContent) + SharedDtor(); +} + +void MentionContent::SharedDtor() { + if (this != default_instance_) { + } +} + +void MentionContent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MentionContent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MentionContent_descriptor_; +} + +const MentionContent& MentionContent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +MentionContent* MentionContent::default_instance_ = NULL; + +MentionContent* MentionContent::New() const { + return new MentionContent; +} + +void MentionContent::Swap(MentionContent* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MentionContent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MentionContent_descriptor_; + metadata.reflection = MentionContent_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int CreateMessageOptions::kContentFieldNumber; +const int CreateMessageOptions::kMentionFieldNumber; +#endif // !_MSC_VER + +CreateMessageOptions::CreateMessageOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.CreateMessageOptions) +} + +void CreateMessageOptions::InitAsDefaultInstance() { + mention_ = const_cast< ::bgs::protocol::club::v1::client::MentionContent*>(&::bgs::protocol::club::v1::client::MentionContent::default_instance()); +} + +CreateMessageOptions::CreateMessageOptions(const CreateMessageOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.CreateMessageOptions) +} + +void CreateMessageOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + mention_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CreateMessageOptions::~CreateMessageOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.CreateMessageOptions) + SharedDtor(); +} + +void CreateMessageOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete mention_; + } +} + +void CreateMessageOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CreateMessageOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CreateMessageOptions_descriptor_; +} + +const CreateMessageOptions& CreateMessageOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +CreateMessageOptions* CreateMessageOptions::default_instance_ = NULL; + +CreateMessageOptions* CreateMessageOptions::New() const { + return new CreateMessageOptions; +} + +void CreateMessageOptions::Swap(CreateMessageOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata CreateMessageOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CreateMessageOptions_descriptor_; + metadata.reflection = CreateMessageOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubStreamMessageContainer::kMessageFieldNumber; +#endif // !_MSC_VER + +ClubStreamMessageContainer::ClubStreamMessageContainer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) +} + +void ClubStreamMessageContainer::InitAsDefaultInstance() { +} + +ClubStreamMessageContainer::ClubStreamMessageContainer(const ClubStreamMessageContainer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) +} + +void ClubStreamMessageContainer::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubStreamMessageContainer::~ClubStreamMessageContainer() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ClubStreamMessageContainer) + SharedDtor(); +} + +void ClubStreamMessageContainer::SharedDtor() { + if (this != default_instance_) { + } +} + +void ClubStreamMessageContainer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubStreamMessageContainer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubStreamMessageContainer_descriptor_; +} + +const ClubStreamMessageContainer& ClubStreamMessageContainer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +ClubStreamMessageContainer* ClubStreamMessageContainer::default_instance_ = NULL; + +ClubStreamMessageContainer* ClubStreamMessageContainer::New() const { + return new ClubStreamMessageContainer; +} + +void ClubStreamMessageContainer::Swap(ClubStreamMessageContainer* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubStreamMessageContainer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubStreamMessageContainer_descriptor_; + metadata.reflection = ClubStreamMessageContainer_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ContentChain::kContentFieldNumber; +const int ContentChain::kEmbedFieldNumber; +const int ContentChain::kMentionFieldNumber; +const int ContentChain::kEditTimeFieldNumber; +#endif // !_MSC_VER + +ContentChain::ContentChain() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.ContentChain) +} + +void ContentChain::InitAsDefaultInstance() { + mention_ = const_cast< ::bgs::protocol::club::v1::client::MentionContent*>(&::bgs::protocol::club::v1::client::MentionContent::default_instance()); +} + +ContentChain::ContentChain(const ContentChain& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.ContentChain) +} + +void ContentChain::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + mention_ = NULL; + edit_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ContentChain::~ContentChain() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.ContentChain) + SharedDtor(); +} + +void ContentChain::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete mention_; + } +} + +void ContentChain::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ContentChain::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ContentChain_descriptor_; +} + +const ContentChain& ContentChain::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +ContentChain* ContentChain::default_instance_ = NULL; + +ContentChain* ContentChain::New() const { + return new ContentChain; +} + +void ContentChain::Swap(ContentChain* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ContentChain::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ContentChain_descriptor_; + metadata.reflection = ContentChain_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMessage::kIdFieldNumber; +const int StreamMessage::kAuthorFieldNumber; +const int StreamMessage::kContentChainFieldNumber; +const int StreamMessage::kDestroyerFieldNumber; +const int StreamMessage::kDestroyedFieldNumber; +const int StreamMessage::kDestroyTimeFieldNumber; +#endif // !_MSC_VER + +StreamMessage::StreamMessage() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMessage) +} + +void StreamMessage::InitAsDefaultInstance() { + id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + author_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + destroyer_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); +} + +StreamMessage::StreamMessage(const StreamMessage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMessage) +} + +void StreamMessage::SharedCtor() { + _cached_size_ = 0; + id_ = NULL; + author_ = NULL; + destroyer_ = NULL; + destroyed_ = false; + destroy_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMessage::~StreamMessage() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMessage) + SharedDtor(); +} + +void StreamMessage::SharedDtor() { + if (this != default_instance_) { + delete id_; + delete author_; + delete destroyer_; + } +} + +void StreamMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMessage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMessage_descriptor_; +} + +const StreamMessage& StreamMessage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMessage* StreamMessage::default_instance_ = NULL; + +StreamMessage* StreamMessage::New() const { + return new StreamMessage; +} + +void StreamMessage::Swap(StreamMessage* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMessage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMessage_descriptor_; + metadata.reflection = StreamMessage_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMention::kClubIdFieldNumber; +const int StreamMention::kStreamIdFieldNumber; +const int StreamMention::kMessageIdFieldNumber; +const int StreamMention::kAuthorFieldNumber; +const int StreamMention::kDestroyedFieldNumber; +const int StreamMention::kMentionIdFieldNumber; +const int StreamMention::kMemberIdFieldNumber; +const int StreamMention::kMessageFieldNumber; +const int StreamMention::kClubTypeFieldNumber; +#endif // !_MSC_VER + +StreamMention::StreamMention() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMention) +} + +void StreamMention::InitAsDefaultInstance() { + message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); + author_ = const_cast< ::bgs::protocol::club::v1::client::MemberDescription*>(&::bgs::protocol::club::v1::client::MemberDescription::default_instance()); + mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); + member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); + message_ = const_cast< ::bgs::protocol::club::v1::client::StreamMessage*>(&::bgs::protocol::club::v1::client::StreamMessage::default_instance()); + club_type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); +} + +StreamMention::StreamMention(const StreamMention& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMention) +} + +void StreamMention::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + message_id_ = NULL; + author_ = NULL; + destroyed_ = false; + mention_id_ = NULL; + member_id_ = NULL; + message_ = NULL; + club_type_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMention::~StreamMention() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMention) + SharedDtor(); +} + +void StreamMention::SharedDtor() { + if (this != default_instance_) { + delete message_id_; + delete author_; + delete mention_id_; + delete member_id_; + delete message_; + delete club_type_; + } +} + +void StreamMention::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMention::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMention_descriptor_; +} + +const StreamMention& StreamMention::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMention* StreamMention::default_instance_ = NULL; + +StreamMention* StreamMention::New() const { + return new StreamMention; +} + +void StreamMention::Swap(StreamMention* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMention::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMention_descriptor_; + metadata.reflection = StreamMention_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamView::kClubIdFieldNumber; +const int StreamView::kStreamIdFieldNumber; +const int StreamView::kMarkerFieldNumber; +#endif // !_MSC_VER + +StreamView::StreamView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamView) +} + +void StreamView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +StreamView::StreamView(const StreamView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamView) +} + +void StreamView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamView::~StreamView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamView) + SharedDtor(); +} + +void StreamView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void StreamView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamView_descriptor_; +} + +const StreamView& StreamView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamView* StreamView::default_instance_ = NULL; + +StreamView* StreamView::New() const { + return new StreamView; +} + +void StreamView::Swap(StreamView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamView_descriptor_; + metadata.reflection = StreamView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamAdvanceViewTime::kStreamIdFieldNumber; +const int StreamAdvanceViewTime::kViewTimeFieldNumber; +#endif // !_MSC_VER + +StreamAdvanceViewTime::StreamAdvanceViewTime() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) +} + +void StreamAdvanceViewTime::InitAsDefaultInstance() { +} + +StreamAdvanceViewTime::StreamAdvanceViewTime(const StreamAdvanceViewTime& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) +} + +void StreamAdvanceViewTime::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + view_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamAdvanceViewTime::~StreamAdvanceViewTime() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamAdvanceViewTime) + SharedDtor(); +} + +void StreamAdvanceViewTime::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamAdvanceViewTime::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamAdvanceViewTime::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamAdvanceViewTime_descriptor_; +} + +const StreamAdvanceViewTime& StreamAdvanceViewTime::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamAdvanceViewTime* StreamAdvanceViewTime::default_instance_ = NULL; + +StreamAdvanceViewTime* StreamAdvanceViewTime::New() const { + return new StreamAdvanceViewTime; +} + +void StreamAdvanceViewTime::Swap(StreamAdvanceViewTime* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamAdvanceViewTime::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamAdvanceViewTime_descriptor_; + metadata.reflection = StreamAdvanceViewTime_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamEventTime::kStreamIdFieldNumber; +const int StreamEventTime::kEventTimeFieldNumber; +#endif // !_MSC_VER + +StreamEventTime::StreamEventTime() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamEventTime) +} + +void StreamEventTime::InitAsDefaultInstance() { +} + +StreamEventTime::StreamEventTime(const StreamEventTime& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamEventTime) +} + +void StreamEventTime::SharedCtor() { + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + event_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamEventTime::~StreamEventTime() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamEventTime) + SharedDtor(); +} + +void StreamEventTime::SharedDtor() { + if (this != default_instance_) { + } +} + +void StreamEventTime::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamEventTime::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamEventTime_descriptor_; +} + +const StreamEventTime& StreamEventTime::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamEventTime* StreamEventTime::default_instance_ = NULL; + +StreamEventTime* StreamEventTime::New() const { + return new StreamEventTime; +} + +void StreamEventTime::Swap(StreamEventTime* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamEventTime::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamEventTime_descriptor_; + metadata.reflection = StreamEventTime_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamMentionView::kClubIdFieldNumber; +const int StreamMentionView::kStreamIdFieldNumber; +const int StreamMentionView::kMarkerFieldNumber; +#endif // !_MSC_VER + +StreamMentionView::StreamMentionView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamMentionView) +} + +void StreamMentionView::InitAsDefaultInstance() { + marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +StreamMentionView::StreamMentionView(const StreamMentionView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamMentionView) +} + +void StreamMentionView::SharedCtor() { + _cached_size_ = 0; + club_id_ = GOOGLE_ULONGLONG(0); + stream_id_ = GOOGLE_ULONGLONG(0); + marker_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamMentionView::~StreamMentionView() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamMentionView) + SharedDtor(); +} + +void StreamMentionView::SharedDtor() { + if (this != default_instance_) { + delete marker_; + } +} + +void StreamMentionView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamMentionView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamMentionView_descriptor_; +} + +const StreamMentionView& StreamMentionView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamMentionView* StreamMentionView::default_instance_ = NULL; + +StreamMentionView* StreamMentionView::New() const { + return new StreamMentionView; +} + +void StreamMentionView::Swap(StreamMentionView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamMentionView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamMentionView_descriptor_; + metadata.reflection = StreamMentionView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateOptions::kAttributeFieldNumber; +const int StreamStateOptions::kNameFieldNumber; +const int StreamStateOptions::kSubjectFieldNumber; +const int StreamStateOptions::kAccessFieldNumber; +const int StreamStateOptions::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +StreamStateOptions::StreamStateOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateOptions) +} + +void StreamStateOptions::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +StreamStateOptions::StreamStateOptions(const StreamStateOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateOptions) +} + +void StreamStateOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateOptions::~StreamStateOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateOptions) + SharedDtor(); +} + +void StreamStateOptions::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void StreamStateOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateOptions_descriptor_; +} + +const StreamStateOptions& StreamStateOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamStateOptions* StreamStateOptions::default_instance_ = NULL; + +StreamStateOptions* StreamStateOptions::New() const { + return new StreamStateOptions; +} + +void StreamStateOptions::Swap(StreamStateOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateOptions_descriptor_; + metadata.reflection = StreamStateOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamStateAssignment::kStreamIdFieldNumber; +const int StreamStateAssignment::kAttributeFieldNumber; +const int StreamStateAssignment::kNameFieldNumber; +const int StreamStateAssignment::kSubjectFieldNumber; +const int StreamStateAssignment::kAccessFieldNumber; +const int StreamStateAssignment::kStreamSubscriptionRemovedFieldNumber; +const int StreamStateAssignment::kVoiceLevelFieldNumber; +#endif // !_MSC_VER + +StreamStateAssignment::StreamStateAssignment() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamStateAssignment) +} + +void StreamStateAssignment::InitAsDefaultInstance() { + access_ = const_cast< ::bgs::protocol::club::v1::client::StreamAccess*>(&::bgs::protocol::club::v1::client::StreamAccess::default_instance()); +} + +StreamStateAssignment::StreamStateAssignment(const StreamStateAssignment& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamStateAssignment) +} + +void StreamStateAssignment::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + stream_id_ = GOOGLE_ULONGLONG(0); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + access_ = NULL; + stream_subscription_removed_ = false; + voice_level_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamStateAssignment::~StreamStateAssignment() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamStateAssignment) + SharedDtor(); +} + +void StreamStateAssignment::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (this != default_instance_) { + delete access_; + } +} + +void StreamStateAssignment::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamStateAssignment::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamStateAssignment_descriptor_; +} + +const StreamStateAssignment& StreamStateAssignment::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamStateAssignment* StreamStateAssignment::default_instance_ = NULL; + +StreamStateAssignment* StreamStateAssignment::New() const { + return new StreamStateAssignment; +} + +void StreamStateAssignment::Swap(StreamStateAssignment* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamStateAssignment::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamStateAssignment_descriptor_; + metadata.reflection = StreamStateAssignment_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int StreamTypingIndicator::kAuthorIdFieldNumber; +const int StreamTypingIndicator::kIndicatorFieldNumber; +const int StreamTypingIndicator::kEpochFieldNumber; +#endif // !_MSC_VER + +StreamTypingIndicator::StreamTypingIndicator() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) +} + +void StreamTypingIndicator::InitAsDefaultInstance() { + author_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); +} + +StreamTypingIndicator::StreamTypingIndicator(const StreamTypingIndicator& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.client.StreamTypingIndicator) +} + +void StreamTypingIndicator::SharedCtor() { + _cached_size_ = 0; + author_id_ = NULL; + indicator_ = 0; + epoch_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +StreamTypingIndicator::~StreamTypingIndicator() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.client.StreamTypingIndicator) + SharedDtor(); +} + +void StreamTypingIndicator::SharedDtor() { + if (this != default_instance_) { + delete author_id_; + } +} + +void StreamTypingIndicator::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* StreamTypingIndicator::descriptor() { + protobuf_AssignDescriptorsOnce(); + return StreamTypingIndicator_descriptor_; +} + +const StreamTypingIndicator& StreamTypingIndicator::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + return *default_instance_; +} + +StreamTypingIndicator* StreamTypingIndicator::default_instance_ = NULL; + +StreamTypingIndicator* StreamTypingIndicator::New() const { + return new StreamTypingIndicator; +} + +void StreamTypingIndicator::Swap(StreamTypingIndicator* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata StreamTypingIndicator::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = StreamTypingIndicator_descriptor_; + metadata.reflection = StreamTypingIndicator_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_stream.pb.h b/src/server/proto/Client/api/client/v1/club_stream.pb.h new file mode 100644 index 00000000000..294eb70c748 --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_stream.pb.h @@ -0,0 +1,4554 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_stream.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v1/club_enum.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "embed_types.pb.h" +#include "ets_types.pb.h" +#include "event_view_types.pb.h" +#include "message_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + +class StreamPosition; +class StreamAccess; +class CreateStreamOptions; +class Stream; +class StreamDescription; +class MentionContent; +class CreateMessageOptions; +class ClubStreamMessageContainer; +class ContentChain; +class StreamMessage; +class StreamMention; +class StreamView; +class StreamAdvanceViewTime; +class StreamEventTime; +class StreamMentionView; +class StreamStateOptions; +class StreamStateAssignment; +class StreamTypingIndicator; + +// =================================================================== + +class TC_PROTO_API StreamPosition : public ::google::protobuf::Message { + public: + StreamPosition(); + virtual ~StreamPosition(); + + StreamPosition(const StreamPosition& from); + + inline StreamPosition& operator=(const StreamPosition& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamPosition& default_instance(); + + void Swap(StreamPosition* other); + + // implements Message ---------------------------------------------- + + StreamPosition* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint64 stream_id = 1 [packed = true]; + inline int stream_id_size() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id(int index) const; + inline void set_stream_id(int index, ::google::protobuf::uint64 value); + inline void add_stream_id(::google::protobuf::uint64 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& + stream_id() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* + mutable_stream_id(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamPosition) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamPosition* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAccess : public ::google::protobuf::Message { + public: + StreamAccess(); + virtual ~StreamAccess(); + + StreamAccess(const StreamAccess& from); + + inline StreamAccess& operator=(const StreamAccess& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAccess& default_instance(); + + void Swap(StreamAccess* other); + + // implements Message ---------------------------------------------- + + StreamAccess* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated uint32 role = 1 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 1; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAccess) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamAccess* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message { + public: + CreateStreamOptions(); + virtual ~CreateStreamOptions(); + + CreateStreamOptions(const CreateStreamOptions& from); + + inline CreateStreamOptions& operator=(const CreateStreamOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateStreamOptions& default_instance(); + + void Swap(CreateStreamOptions* other); + + // implements Message ---------------------------------------------- + + CreateStreamOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 3; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 3; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 4; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static CreateStreamOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Stream : public ::google::protobuf::Message { + public: + Stream(); + virtual ~Stream(); + + Stream(const Stream& from); + + inline Stream& operator=(const Stream& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Stream& default_instance(); + + void Swap(Stream* other); + + // implements Message ---------------------------------------------- + + Stream* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 id = 2; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 2; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 3; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 3; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 5; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 5; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 6; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // optional uint64 creation_time = 8; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Stream) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + ::google::protobuf::uint64 creation_time_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static Stream* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamDescription : public ::google::protobuf::Message { + public: + StreamDescription(); + virtual ~StreamDescription(); + + StreamDescription(const StreamDescription& from); + + inline StreamDescription& operator=(const StreamDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamDescription& default_instance(); + + void Swap(StreamDescription* other); + + // implements Message ---------------------------------------------- + + StreamDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 2; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 2; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional string name = 4; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 4; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::std::string* name_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API MentionContent : public ::google::protobuf::Message { + public: + MentionContent(); + virtual ~MentionContent(); + + MentionContent(const MentionContent& from); + + inline MentionContent& operator=(const MentionContent& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MentionContent& default_instance(); + + void Swap(MentionContent* other); + + // implements Message ---------------------------------------------- + + MentionContent* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool all = 1; + inline bool has_all() const; + inline void clear_all(); + static const int kAllFieldNumber = 1; + inline bool all() const; + inline void set_all(bool value); + + // optional bool here = 2; + inline bool has_here() const; + inline void clear_here(); + static const int kHereFieldNumber = 2; + inline bool here() const; + inline void set_here(bool value); + + // repeated .bgs.protocol.club.v1.MemberId member_id = 3; + inline int member_id_size() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 3; + inline const ::bgs::protocol::club::v1::MemberId& member_id(int index) const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(int index); + inline ::bgs::protocol::club::v1::MemberId* add_member_id(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& + member_id() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* + mutable_member_id(); + + // repeated uint32 role = 4 [packed = true]; + inline int role_size() const; + inline void clear_role(); + static const int kRoleFieldNumber = 4; + inline ::google::protobuf::uint32 role(int index) const; + inline void set_role(int index, ::google::protobuf::uint32 value); + inline void add_role(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + role() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_role(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MentionContent) + private: + inline void set_has_all(); + inline void clear_has_all(); + inline void set_has_here(); + inline void clear_has_here(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; + bool all_; + bool here_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static MentionContent* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message { + public: + CreateMessageOptions(); + virtual ~CreateMessageOptions(); + + CreateMessageOptions(const CreateMessageOptions& from); + + inline CreateMessageOptions& operator=(const CreateMessageOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CreateMessageOptions& default_instance(); + + void Swap(CreateMessageOptions* other); + + // implements Message ---------------------------------------------- + + CreateMessageOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 2; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 2; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional .bgs.protocol.club.v1.client.MentionContent mention = 3; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 3; + inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const; + inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention(); + inline ::bgs::protocol::club::v1::client::MentionContent* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_mention(); + inline void clear_has_mention(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::bgs::protocol::club::v1::client::MentionContent* mention_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static CreateMessageOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Message { + public: + ClubStreamMessageContainer(); + virtual ~ClubStreamMessageContainer(); + + ClubStreamMessageContainer(const ClubStreamMessageContainer& from); + + inline ClubStreamMessageContainer& operator=(const ClubStreamMessageContainer& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubStreamMessageContainer& default_instance(); + + void Swap(ClubStreamMessageContainer* other); + + // implements Message ---------------------------------------------- + + ClubStreamMessageContainer* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; + inline int message_size() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message(int index) const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(int index); + inline ::bgs::protocol::club::v1::client::StreamMessage* add_message(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& + message() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* + mutable_message(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamMessageContainer) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static ClubStreamMessageContainer* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ContentChain : public ::google::protobuf::Message { + public: + ContentChain(); + virtual ~ContentChain(); + + ContentChain(const ContentChain& from); + + inline ContentChain& operator=(const ContentChain& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ContentChain& default_instance(); + + void Swap(ContentChain* other); + + // implements Message ---------------------------------------------- + + ContentChain* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 5; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 5; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // repeated .bgs.protocol.EmbedInfo embed = 6; + inline int embed_size() const; + inline void clear_embed(); + static const int kEmbedFieldNumber = 6; + inline const ::bgs::protocol::EmbedInfo& embed(int index) const; + inline ::bgs::protocol::EmbedInfo* mutable_embed(int index); + inline ::bgs::protocol::EmbedInfo* add_embed(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& + embed() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* + mutable_embed(); + + // optional .bgs.protocol.club.v1.client.MentionContent mention = 7; + inline bool has_mention() const; + inline void clear_mention(); + static const int kMentionFieldNumber = 7; + inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const; + inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention(); + inline ::bgs::protocol::club::v1::client::MentionContent* release_mention(); + inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention); + + // optional uint64 edit_time = 8; + inline bool has_edit_time() const; + inline void clear_edit_time(); + static const int kEditTimeFieldNumber = 8; + inline ::google::protobuf::uint64 edit_time() const; + inline void set_edit_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ContentChain) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_mention(); + inline void clear_has_mention(); + inline void set_has_edit_time(); + inline void clear_has_edit_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_; + ::bgs::protocol::club::v1::client::MentionContent* mention_; + ::google::protobuf::uint64 edit_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static ContentChain* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { + public: + StreamMessage(); + virtual ~StreamMessage(); + + StreamMessage(const StreamMessage& from); + + inline StreamMessage& operator=(const StreamMessage& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMessage& default_instance(); + + void Swap(StreamMessage* other); + + // implements Message ---------------------------------------------- + + StreamMessage* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.MessageId id = 3; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 3; + inline const ::bgs::protocol::MessageId& id() const; + inline ::bgs::protocol::MessageId* mutable_id(); + inline ::bgs::protocol::MessageId* release_id(); + inline void set_allocated_id(::bgs::protocol::MessageId* id); + + // optional .bgs.protocol.club.v1.client.MemberDescription author = 4; + inline bool has_author() const; + inline void clear_author(); + static const int kAuthorFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_author(); + inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author); + + // repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6; + inline int content_chain_size() const; + inline void clear_content_chain(); + static const int kContentChainFieldNumber = 6; + inline const ::bgs::protocol::club::v1::client::ContentChain& content_chain(int index) const; + inline ::bgs::protocol::club::v1::client::ContentChain* mutable_content_chain(int index); + inline ::bgs::protocol::club::v1::client::ContentChain* add_content_chain(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >& + content_chain() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* + mutable_content_chain(); + + // optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15; + inline bool has_destroyer() const; + inline void clear_destroyer(); + static const int kDestroyerFieldNumber = 15; + inline const ::bgs::protocol::club::v1::client::MemberDescription& destroyer() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_destroyer(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_destroyer(); + inline void set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer); + + // optional bool destroyed = 16; + inline bool has_destroyed() const; + inline void clear_destroyed(); + static const int kDestroyedFieldNumber = 16; + inline bool destroyed() const; + inline void set_destroyed(bool value); + + // optional uint64 destroy_time = 17; + inline bool has_destroy_time() const; + inline void clear_destroy_time(); + static const int kDestroyTimeFieldNumber = 17; + inline ::google::protobuf::uint64 destroy_time() const; + inline void set_destroy_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessage) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_author(); + inline void clear_has_author(); + inline void set_has_destroyer(); + inline void clear_has_destroyer(); + inline void set_has_destroyed(); + inline void clear_has_destroyed(); + inline void set_has_destroy_time(); + inline void clear_has_destroy_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::MessageId* id_; + ::bgs::protocol::club::v1::client::MemberDescription* author_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > content_chain_; + ::bgs::protocol::club::v1::client::MemberDescription* destroyer_; + ::google::protobuf::uint64 destroy_time_; + bool destroyed_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMention : public ::google::protobuf::Message { + public: + StreamMention(); + virtual ~StreamMention(); + + StreamMention(const StreamMention& from); + + inline StreamMention& operator=(const StreamMention& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMention& default_instance(); + + void Swap(StreamMention* other); + + // implements Message ---------------------------------------------- + + StreamMention* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.MessageId message_id = 3; + inline bool has_message_id() const; + inline void clear_message_id(); + static const int kMessageIdFieldNumber = 3; + inline const ::bgs::protocol::MessageId& message_id() const; + inline ::bgs::protocol::MessageId* mutable_message_id(); + inline ::bgs::protocol::MessageId* release_message_id(); + inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); + + // optional .bgs.protocol.club.v1.client.MemberDescription author = 4; + inline bool has_author() const; + inline void clear_author(); + static const int kAuthorFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author(); + inline ::bgs::protocol::club::v1::client::MemberDescription* release_author(); + inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author); + + // optional bool destroyed = 5; + inline bool has_destroyed() const; + inline void clear_destroyed(); + static const int kDestroyedFieldNumber = 5; + inline bool destroyed() const; + inline void set_destroyed(bool value); + + // optional .bgs.protocol.TimeSeriesId mention_id = 6; + inline bool has_mention_id() const; + inline void clear_mention_id(); + static const int kMentionIdFieldNumber = 6; + inline const ::bgs::protocol::TimeSeriesId& mention_id() const; + inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); + inline ::bgs::protocol::TimeSeriesId* release_mention_id(); + inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); + + // optional .bgs.protocol.club.v1.MemberId member_id = 7; + inline bool has_member_id() const; + inline void clear_member_id(); + static const int kMemberIdFieldNumber = 7; + inline const ::bgs::protocol::club::v1::MemberId& member_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); + inline ::bgs::protocol::club::v1::MemberId* release_member_id(); + inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); + + // optional .bgs.protocol.club.v1.client.StreamMessage message = 8; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 8; + inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const; + inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(); + inline ::bgs::protocol::club::v1::client::StreamMessage* release_message(); + inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message); + + // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; + inline bool has_club_type() const; + inline void clear_club_type(); + static const int kClubTypeFieldNumber = 9; + inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type(); + inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMention) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_message_id(); + inline void clear_has_message_id(); + inline void set_has_author(); + inline void clear_has_author(); + inline void set_has_destroyed(); + inline void clear_has_destroyed(); + inline void set_has_mention_id(); + inline void clear_has_mention_id(); + inline void set_has_member_id(); + inline void clear_has_member_id(); + inline void set_has_message(); + inline void clear_has_message(); + inline void set_has_club_type(); + inline void clear_has_club_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::MessageId* message_id_; + ::bgs::protocol::club::v1::client::MemberDescription* author_; + ::bgs::protocol::TimeSeriesId* mention_id_; + ::bgs::protocol::club::v1::MemberId* member_id_; + ::bgs::protocol::club::v1::client::StreamMessage* message_; + ::bgs::protocol::club::v1::UniqueClubType* club_type_; + bool destroyed_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMention* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamView : public ::google::protobuf::Message { + public: + StreamView(); + virtual ~StreamView(); + + StreamView(const StreamView& from); + + inline StreamView& operator=(const StreamView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamView& default_instance(); + + void Swap(StreamView* other); + + // implements Message ---------------------------------------------- + + StreamView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 3; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 3; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message { + public: + StreamAdvanceViewTime(); + virtual ~StreamAdvanceViewTime(); + + StreamAdvanceViewTime(const StreamAdvanceViewTime& from); + + inline StreamAdvanceViewTime& operator=(const StreamAdvanceViewTime& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamAdvanceViewTime& default_instance(); + + void Swap(StreamAdvanceViewTime* other); + + // implements Message ---------------------------------------------- + + StreamAdvanceViewTime* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint64 view_time = 2; + inline bool has_view_time() const; + inline void clear_view_time(); + static const int kViewTimeFieldNumber = 2; + inline ::google::protobuf::uint64 view_time() const; + inline void set_view_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTime) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_view_time(); + inline void clear_has_view_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint64 view_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamAdvanceViewTime* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message { + public: + StreamEventTime(); + virtual ~StreamEventTime(); + + StreamEventTime(const StreamEventTime& from); + + inline StreamEventTime& operator=(const StreamEventTime& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamEventTime& default_instance(); + + void Swap(StreamEventTime* other); + + // implements Message ---------------------------------------------- + + StreamEventTime* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional uint64 event_time = 2; + inline bool has_event_time() const; + inline void clear_event_time(); + static const int kEventTimeFieldNumber = 2; + inline ::google::protobuf::uint64 event_time() const; + inline void set_event_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamEventTime) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_event_time(); + inline void clear_has_event_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::uint64 event_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamEventTime* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message { + public: + StreamMentionView(); + virtual ~StreamMentionView(); + + StreamMentionView(const StreamMentionView& from); + + inline StreamMentionView& operator=(const StreamMentionView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamMentionView& default_instance(); + + void Swap(StreamMentionView* other); + + // implements Message ---------------------------------------------- + + StreamMentionView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 club_id = 1; + inline bool has_club_id() const; + inline void clear_club_id(); + static const int kClubIdFieldNumber = 1; + inline ::google::protobuf::uint64 club_id() const; + inline void set_club_id(::google::protobuf::uint64 value); + + // optional uint64 stream_id = 2; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 2; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker marker = 3; + inline bool has_marker() const; + inline void clear_marker(); + static const int kMarkerFieldNumber = 3; + inline const ::bgs::protocol::ViewMarker& marker() const; + inline ::bgs::protocol::ViewMarker* mutable_marker(); + inline ::bgs::protocol::ViewMarker* release_marker(); + inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMentionView) + private: + inline void set_has_club_id(); + inline void clear_has_club_id(); + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_marker(); + inline void clear_has_marker(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 club_id_; + ::google::protobuf::uint64 stream_id_; + ::bgs::protocol::ViewMarker* marker_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamMentionView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message { + public: + StreamStateOptions(); + virtual ~StreamStateOptions(); + + StreamStateOptions(const StreamStateOptions& from); + + inline StreamStateOptions& operator=(const StreamStateOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateOptions& default_instance(); + + void Swap(StreamStateOptions* other); + + // implements Message ---------------------------------------------- + + StreamStateOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.v2.Attribute attribute = 1; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 1; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 3; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 3; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 4; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 4; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 5; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateOptions) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { + public: + StreamStateAssignment(); + virtual ~StreamStateAssignment(); + + StreamStateAssignment(const StreamStateAssignment& from); + + inline StreamStateAssignment& operator=(const StreamStateAssignment& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamStateAssignment& default_instance(); + + void Swap(StreamStateAssignment* other); + + // implements Message ---------------------------------------------- + + StreamStateAssignment* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 stream_id = 1; + inline bool has_stream_id() const; + inline void clear_stream_id(); + static const int kStreamIdFieldNumber = 1; + inline ::google::protobuf::uint64 stream_id() const; + inline void set_stream_id(::google::protobuf::uint64 value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string subject = 4; + inline bool has_subject() const; + inline void clear_subject(); + static const int kSubjectFieldNumber = 4; + inline const ::std::string& subject() const; + inline void set_subject(const ::std::string& value); + inline void set_subject(const char* value); + inline void set_subject(const char* value, size_t size); + inline ::std::string* mutable_subject(); + inline ::std::string* release_subject(); + inline void set_allocated_subject(::std::string* subject); + + // optional .bgs.protocol.club.v1.client.StreamAccess access = 5; + inline bool has_access() const; + inline void clear_access(); + static const int kAccessFieldNumber = 5; + inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const; + inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access(); + inline ::bgs::protocol::club::v1::client::StreamAccess* release_access(); + inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access); + + // optional bool stream_subscription_removed = 6; + inline bool has_stream_subscription_removed() const; + inline void clear_stream_subscription_removed(); + static const int kStreamSubscriptionRemovedFieldNumber = 6; + inline bool stream_subscription_removed() const; + inline void set_stream_subscription_removed(bool value); + + // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; + inline bool has_voice_level() const; + inline void clear_voice_level(); + static const int kVoiceLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const; + inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateAssignment) + private: + inline void set_has_stream_id(); + inline void clear_has_stream_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_subject(); + inline void clear_has_subject(); + inline void set_has_access(); + inline void clear_has_access(); + inline void set_has_stream_subscription_removed(); + inline void clear_has_stream_subscription_removed(); + inline void set_has_voice_level(); + inline void clear_has_voice_level(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 stream_id_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::std::string* name_; + ::std::string* subject_; + ::bgs::protocol::club::v1::client::StreamAccess* access_; + bool stream_subscription_removed_; + int voice_level_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamStateAssignment* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message { + public: + StreamTypingIndicator(); + virtual ~StreamTypingIndicator(); + + StreamTypingIndicator(const StreamTypingIndicator& from); + + inline StreamTypingIndicator& operator=(const StreamTypingIndicator& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const StreamTypingIndicator& default_instance(); + + void Swap(StreamTypingIndicator* other); + + // implements Message ---------------------------------------------- + + StreamTypingIndicator* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.MemberId author_id = 1; + inline bool has_author_id() const; + inline void clear_author_id(); + static const int kAuthorIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::MemberId& author_id() const; + inline ::bgs::protocol::club::v1::MemberId* mutable_author_id(); + inline ::bgs::protocol::club::v1::MemberId* release_author_id(); + inline void set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id); + + // optional .bgs.protocol.TypingIndicator indicator = 2; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 2; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // optional uint64 epoch = 3; + inline bool has_epoch() const; + inline void clear_epoch(); + static const int kEpochFieldNumber = 3; + inline ::google::protobuf::uint64 epoch() const; + inline void set_epoch(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicator) + private: + inline void set_has_author_id(); + inline void clear_has_author_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + inline void set_has_epoch(); + inline void clear_has_epoch(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::MemberId* author_id_; + ::google::protobuf::uint64 epoch_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + + void InitAsDefaultInstance(); + static StreamTypingIndicator* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// StreamPosition + +// repeated uint64 stream_id = 1 [packed = true]; +inline int StreamPosition::stream_id_size() const { + return stream_id_.size(); +} +inline void StreamPosition::clear_stream_id() { + stream_id_.Clear(); +} +inline ::google::protobuf::uint64 StreamPosition::stream_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return stream_id_.Get(index); +} +inline void StreamPosition::set_stream_id(int index, ::google::protobuf::uint64 value) { + stream_id_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamPosition.stream_id) +} +inline void StreamPosition::add_stream_id(::google::protobuf::uint64 value) { + stream_id_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamPosition.stream_id) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& +StreamPosition::stream_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return stream_id_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* +StreamPosition::mutable_stream_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamPosition.stream_id) + return &stream_id_; +} + +// ------------------------------------------------------------------- + +// StreamAccess + +// repeated uint32 role = 1 [packed = true]; +inline int StreamAccess::role_size() const { + return role_.size(); +} +inline void StreamAccess::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 StreamAccess::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAccess.role) + return role_.Get(index); +} +inline void StreamAccess::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAccess.role) +} +inline void StreamAccess::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamAccess.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +StreamAccess::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAccess.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +StreamAccess::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAccess.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// CreateStreamOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int CreateStreamOptions::attribute_size() const { + return attribute_.size(); +} +inline void CreateStreamOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& CreateStreamOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +CreateStreamOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +CreateStreamOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool CreateStreamOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateStreamOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateStreamOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateStreamOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CreateStreamOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.name) + return *name_; +} +inline void CreateStreamOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline void CreateStreamOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline void CreateStreamOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} +inline ::std::string* CreateStreamOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.name) + return name_; +} +inline ::std::string* CreateStreamOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateStreamOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.name) +} + +// optional string subject = 3; +inline bool CreateStreamOptions::has_subject() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CreateStreamOptions::set_has_subject() { + _has_bits_[0] |= 0x00000004u; +} +inline void CreateStreamOptions::clear_has_subject() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CreateStreamOptions::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& CreateStreamOptions::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.subject) + return *subject_; +} +inline void CreateStreamOptions::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline void CreateStreamOptions::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline void CreateStreamOptions::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} +inline ::std::string* CreateStreamOptions::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.subject) + return subject_; +} +inline ::std::string* CreateStreamOptions::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; +inline bool CreateStreamOptions::has_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CreateStreamOptions::set_has_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void CreateStreamOptions::clear_has_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CreateStreamOptions::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& CreateStreamOptions::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; +inline bool CreateStreamOptions::has_voice_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CreateStreamOptions::set_has_voice_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void CreateStreamOptions::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CreateStreamOptions::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel CreateStreamOptions::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void CreateStreamOptions::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level) +} + +// ------------------------------------------------------------------- + +// Stream + +// optional uint64 club_id = 1; +inline bool Stream::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Stream::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Stream::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Stream::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 Stream::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.club_id) + return club_id_; +} +inline void Stream::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.club_id) +} + +// optional uint64 id = 2; +inline bool Stream::has_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Stream::set_has_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void Stream::clear_has_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Stream::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Stream::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.id) + return id_; +} +inline void Stream::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 3; +inline int Stream::attribute_size() const { + return attribute_.size(); +} +inline void Stream::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Stream::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Stream::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Stream::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Stream::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Stream.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Stream::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Stream.attribute) + return &attribute_; +} + +// optional string name = 4; +inline bool Stream::has_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Stream::set_has_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Stream::clear_has_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Stream::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Stream::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.name) + return *name_; +} +inline void Stream::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.name) +} +inline void Stream::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.name) +} +inline void Stream::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.name) +} +inline ::std::string* Stream::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.name) + return name_; +} +inline ::std::string* Stream::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Stream::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.name) +} + +// optional string subject = 5; +inline bool Stream::has_subject() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Stream::set_has_subject() { + _has_bits_[0] |= 0x00000010u; +} +inline void Stream::clear_has_subject() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Stream::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& Stream::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.subject) + return *subject_; +} +inline void Stream::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.subject) +} +inline void Stream::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.subject) +} +inline void Stream::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.subject) +} +inline ::std::string* Stream::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.subject) + return subject_; +} +inline ::std::string* Stream::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Stream::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 6; +inline bool Stream::has_access() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Stream::set_has_access() { + _has_bits_[0] |= 0x00000020u; +} +inline void Stream::clear_has_access() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Stream::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& Stream::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void Stream::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; +inline bool Stream::has_voice_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Stream::set_has_voice_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void Stream::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Stream::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel Stream::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void Stream::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.voice_level) +} + +// optional uint64 creation_time = 8; +inline bool Stream::has_creation_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Stream::set_has_creation_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void Stream::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Stream::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Stream::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.creation_time) + return creation_time_; +} +inline void Stream::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.creation_time) +} + +// ------------------------------------------------------------------- + +// StreamDescription + +// optional uint64 id = 2; +inline bool StreamDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamDescription::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 StreamDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.id) + return id_; +} +inline void StreamDescription::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.id) +} + +// optional string name = 4; +inline bool StreamDescription::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamDescription::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamDescription::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamDescription::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamDescription::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.name) + return *name_; +} +inline void StreamDescription::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline void StreamDescription::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline void StreamDescription::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamDescription.name) +} +inline ::std::string* StreamDescription::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamDescription.name) + return name_; +} +inline ::std::string* StreamDescription::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamDescription::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamDescription.name) +} + +// ------------------------------------------------------------------- + +// MentionContent + +// optional bool all = 1; +inline bool MentionContent::has_all() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MentionContent::set_has_all() { + _has_bits_[0] |= 0x00000001u; +} +inline void MentionContent::clear_has_all() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MentionContent::clear_all() { + all_ = false; + clear_has_all(); +} +inline bool MentionContent::all() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.all) + return all_; +} +inline void MentionContent::set_all(bool value) { + set_has_all(); + all_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.all) +} + +// optional bool here = 2; +inline bool MentionContent::has_here() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MentionContent::set_has_here() { + _has_bits_[0] |= 0x00000002u; +} +inline void MentionContent::clear_has_here() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MentionContent::clear_here() { + here_ = false; + clear_has_here(); +} +inline bool MentionContent::here() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.here) + return here_; +} +inline void MentionContent::set_here(bool value) { + set_has_here(); + here_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.here) +} + +// repeated .bgs.protocol.club.v1.MemberId member_id = 3; +inline int MentionContent::member_id_size() const { + return member_id_.size(); +} +inline void MentionContent::clear_member_id() { + member_id_.Clear(); +} +inline const ::bgs::protocol::club::v1::MemberId& MentionContent::member_id(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Get(index); +} +inline ::bgs::protocol::club::v1::MemberId* MentionContent::mutable_member_id(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Mutable(index); +} +inline ::bgs::protocol::club::v1::MemberId* MentionContent::add_member_id() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& +MentionContent::member_id() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.member_id) + return member_id_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* +MentionContent::mutable_member_id() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.member_id) + return &member_id_; +} + +// repeated uint32 role = 4 [packed = true]; +inline int MentionContent::role_size() const { + return role_.size(); +} +inline void MentionContent::clear_role() { + role_.Clear(); +} +inline ::google::protobuf::uint32 MentionContent::role(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.role) + return role_.Get(index); +} +inline void MentionContent::set_role(int index, ::google::protobuf::uint32 value) { + role_.Set(index, value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.role) +} +inline void MentionContent::add_role(::google::protobuf::uint32 value) { + role_.Add(value); + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.role) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +MentionContent::role() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.role) + return role_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +MentionContent::mutable_role() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.role) + return &role_; +} + +// ------------------------------------------------------------------- + +// CreateMessageOptions + +// optional string content = 2; +inline bool CreateMessageOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CreateMessageOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void CreateMessageOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CreateMessageOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& CreateMessageOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.content) + return *content_; +} +inline void CreateMessageOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline void CreateMessageOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline void CreateMessageOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} +inline ::std::string* CreateMessageOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.content) + return content_; +} +inline ::std::string* CreateMessageOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CreateMessageOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.content) +} + +// optional .bgs.protocol.club.v1.client.MentionContent mention = 3; +inline bool CreateMessageOptions::has_mention() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CreateMessageOptions::set_has_mention() { + _has_bits_[0] |= 0x00000002u; +} +inline void CreateMessageOptions::clear_has_mention() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CreateMessageOptions::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::MentionContent& CreateMessageOptions::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; + mention_ = NULL; + return temp; +} +inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.mention) +} + +// ------------------------------------------------------------------- + +// ClubStreamMessageContainer + +// repeated .bgs.protocol.club.v1.client.StreamMessage message = 1; +inline int ClubStreamMessageContainer::message_size() const { + return message_.size(); +} +inline void ClubStreamMessageContainer::clear_message() { + message_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& ClubStreamMessageContainer::message(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Get(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::add_message() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >& +ClubStreamMessageContainer::message() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return message_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >* +ClubStreamMessageContainer::mutable_message() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message) + return &message_; +} + +// ------------------------------------------------------------------- + +// ContentChain + +// optional string content = 5; +inline bool ContentChain::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ContentChain::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void ContentChain::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ContentChain::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& ContentChain::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.content) + return *content_; +} +inline void ContentChain::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.content) +} +inline void ContentChain::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ContentChain.content) +} +inline void ContentChain::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ContentChain.content) +} +inline ::std::string* ContentChain::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.content) + return content_; +} +inline ::std::string* ContentChain::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ContentChain::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.content) +} + +// repeated .bgs.protocol.EmbedInfo embed = 6; +inline int ContentChain::embed_size() const { + return embed_.size(); +} +inline void ContentChain::clear_embed() { + embed_.Clear(); +} +inline const ::bgs::protocol::EmbedInfo& ContentChain::embed(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Get(index); +} +inline ::bgs::protocol::EmbedInfo* ContentChain::mutable_embed(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Mutable(index); +} +inline ::bgs::protocol::EmbedInfo* ContentChain::add_embed() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& +ContentChain::embed() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ContentChain.embed) + return embed_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* +ContentChain::mutable_embed() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ContentChain.embed) + return &embed_; +} + +// optional .bgs.protocol.club.v1.client.MentionContent mention = 7; +inline bool ContentChain::has_mention() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ContentChain::set_has_mention() { + _has_bits_[0] |= 0x00000004u; +} +inline void ContentChain::clear_has_mention() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ContentChain::clear_mention() { + if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear(); + clear_has_mention(); +} +inline const ::bgs::protocol::club::v1::client::MentionContent& ContentChain::mention() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.mention) + return mention_ != NULL ? *mention_ : *default_instance_->mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::mutable_mention() { + set_has_mention(); + if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.mention) + return mention_; +} +inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::release_mention() { + clear_has_mention(); + ::bgs::protocol::club::v1::client::MentionContent* temp = mention_; + mention_ = NULL; + return temp; +} +inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention) { + delete mention_; + mention_ = mention; + if (mention) { + set_has_mention(); + } else { + clear_has_mention(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.mention) +} + +// optional uint64 edit_time = 8; +inline bool ContentChain::has_edit_time() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ContentChain::set_has_edit_time() { + _has_bits_[0] |= 0x00000008u; +} +inline void ContentChain::clear_has_edit_time() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ContentChain::clear_edit_time() { + edit_time_ = GOOGLE_ULONGLONG(0); + clear_has_edit_time(); +} +inline ::google::protobuf::uint64 ContentChain::edit_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.edit_time) + return edit_time_; +} +inline void ContentChain::set_edit_time(::google::protobuf::uint64 value) { + set_has_edit_time(); + edit_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.edit_time) +} + +// ------------------------------------------------------------------- + +// StreamMessage + +// optional .bgs.protocol.MessageId id = 3; +inline bool StreamMessage::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMessage::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMessage::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMessage::clear_id() { + if (id_ != NULL) id_->::bgs::protocol::MessageId::Clear(); + clear_has_id(); +} +inline const ::bgs::protocol::MessageId& StreamMessage::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.id) + return id_ != NULL ? *id_ : *default_instance_->id_; +} +inline ::bgs::protocol::MessageId* StreamMessage::mutable_id() { + set_has_id(); + if (id_ == NULL) id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.id) + return id_; +} +inline ::bgs::protocol::MessageId* StreamMessage::release_id() { + clear_has_id(); + ::bgs::protocol::MessageId* temp = id_; + id_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_id(::bgs::protocol::MessageId* id) { + delete id_; + id_ = id; + if (id) { + set_has_id(); + } else { + clear_has_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; +inline bool StreamMessage::has_author() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMessage::set_has_author() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMessage::clear_has_author() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMessage::clear_author() { + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_author(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::author() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.author) + return author_ != NULL ? *author_ : *default_instance_->author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_author() { + set_has_author(); + if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.author) + return author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_author() { + clear_has_author(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; + author_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { + delete author_; + author_ = author; + if (author) { + set_has_author(); + } else { + clear_has_author(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.author) +} + +// repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6; +inline int StreamMessage::content_chain_size() const { + return content_chain_.size(); +} +inline void StreamMessage::clear_content_chain() { + content_chain_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::ContentChain& StreamMessage::content_chain(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Get(index); +} +inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::mutable_content_chain(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::add_content_chain() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >& +StreamMessage::content_chain() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return content_chain_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >* +StreamMessage::mutable_content_chain() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamMessage.content_chain) + return &content_chain_; +} + +// optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15; +inline bool StreamMessage::has_destroyer() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMessage::set_has_destroyer() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMessage::clear_has_destroyer() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMessage::clear_destroyer() { + if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_destroyer(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::destroyer() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyer) + return destroyer_ != NULL ? *destroyer_ : *default_instance_->destroyer_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_destroyer() { + set_has_destroyer(); + if (destroyer_ == NULL) destroyer_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.destroyer) + return destroyer_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_destroyer() { + clear_has_destroyer(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = destroyer_; + destroyer_ = NULL; + return temp; +} +inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer) { + delete destroyer_; + destroyer_ = destroyer; + if (destroyer) { + set_has_destroyer(); + } else { + clear_has_destroyer(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.destroyer) +} + +// optional bool destroyed = 16; +inline bool StreamMessage::has_destroyed() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMessage::set_has_destroyed() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMessage::clear_has_destroyed() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMessage::clear_destroyed() { + destroyed_ = false; + clear_has_destroyed(); +} +inline bool StreamMessage::destroyed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyed) + return destroyed_; +} +inline void StreamMessage::set_destroyed(bool value) { + set_has_destroyed(); + destroyed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroyed) +} + +// optional uint64 destroy_time = 17; +inline bool StreamMessage::has_destroy_time() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamMessage::set_has_destroy_time() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamMessage::clear_has_destroy_time() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamMessage::clear_destroy_time() { + destroy_time_ = GOOGLE_ULONGLONG(0); + clear_has_destroy_time(); +} +inline ::google::protobuf::uint64 StreamMessage::destroy_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroy_time) + return destroy_time_; +} +inline void StreamMessage::set_destroy_time(::google::protobuf::uint64 value) { + set_has_destroy_time(); + destroy_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroy_time) +} + +// ------------------------------------------------------------------- + +// StreamMention + +// optional uint64 club_id = 1; +inline bool StreamMention::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMention::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMention::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMention::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMention::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_id) + return club_id_; +} +inline void StreamMention::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamMention::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMention::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMention::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMention::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMention::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.stream_id) + return stream_id_; +} +inline void StreamMention::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.stream_id) +} + +// optional .bgs.protocol.MessageId message_id = 3; +inline bool StreamMention::has_message_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMention::set_has_message_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMention::clear_has_message_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMention::clear_message_id() { + if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); + clear_has_message_id(); +} +inline const ::bgs::protocol::MessageId& StreamMention::message_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message_id) + return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; +} +inline ::bgs::protocol::MessageId* StreamMention::mutable_message_id() { + set_has_message_id(); + if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message_id) + return message_id_; +} +inline ::bgs::protocol::MessageId* StreamMention::release_message_id() { + clear_has_message_id(); + ::bgs::protocol::MessageId* temp = message_id_; + message_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { + delete message_id_; + message_id_ = message_id; + if (message_id) { + set_has_message_id(); + } else { + clear_has_message_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message_id) +} + +// optional .bgs.protocol.club.v1.client.MemberDescription author = 4; +inline bool StreamMention::has_author() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamMention::set_has_author() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamMention::clear_has_author() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamMention::clear_author() { + if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear(); + clear_has_author(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMention::author() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.author) + return author_ != NULL ? *author_ : *default_instance_->author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::mutable_author() { + set_has_author(); + if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.author) + return author_; +} +inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::release_author() { + clear_has_author(); + ::bgs::protocol::club::v1::client::MemberDescription* temp = author_; + author_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author) { + delete author_; + author_ = author; + if (author) { + set_has_author(); + } else { + clear_has_author(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.author) +} + +// optional bool destroyed = 5; +inline bool StreamMention::has_destroyed() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamMention::set_has_destroyed() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamMention::clear_has_destroyed() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamMention::clear_destroyed() { + destroyed_ = false; + clear_has_destroyed(); +} +inline bool StreamMention::destroyed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.destroyed) + return destroyed_; +} +inline void StreamMention::set_destroyed(bool value) { + set_has_destroyed(); + destroyed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.destroyed) +} + +// optional .bgs.protocol.TimeSeriesId mention_id = 6; +inline bool StreamMention::has_mention_id() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamMention::set_has_mention_id() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamMention::clear_has_mention_id() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamMention::clear_mention_id() { + if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); + clear_has_mention_id(); +} +inline const ::bgs::protocol::TimeSeriesId& StreamMention::mention_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.mention_id) + return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMention::mutable_mention_id() { + set_has_mention_id(); + if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.mention_id) + return mention_id_; +} +inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() { + clear_has_mention_id(); + ::bgs::protocol::TimeSeriesId* temp = mention_id_; + mention_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { + delete mention_id_; + mention_id_ = mention_id; + if (mention_id) { + set_has_mention_id(); + } else { + clear_has_mention_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.mention_id) +} + +// optional .bgs.protocol.club.v1.MemberId member_id = 7; +inline bool StreamMention::has_member_id() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void StreamMention::set_has_member_id() { + _has_bits_[0] |= 0x00000040u; +} +inline void StreamMention::clear_has_member_id() { + _has_bits_[0] &= ~0x00000040u; +} +inline void StreamMention::clear_member_id() { + if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_member_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamMention::member_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.member_id) + return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMention::mutable_member_id() { + set_has_member_id(); + if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.member_id) + return member_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamMention::release_member_id() { + clear_has_member_id(); + ::bgs::protocol::club::v1::MemberId* temp = member_id_; + member_id_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { + delete member_id_; + member_id_ = member_id; + if (member_id) { + set_has_member_id(); + } else { + clear_has_member_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.member_id) +} + +// optional .bgs.protocol.club.v1.client.StreamMessage message = 8; +inline bool StreamMention::has_message() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void StreamMention::set_has_message() { + _has_bits_[0] |= 0x00000080u; +} +inline void StreamMention::clear_has_message() { + _has_bits_[0] &= ~0x00000080u; +} +inline void StreamMention::clear_message() { + if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear(); + clear_has_message(); +} +inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMention::message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message) + return message_ != NULL ? *message_ : *default_instance_->message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::mutable_message() { + set_has_message(); + if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message) + return message_; +} +inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::release_message() { + clear_has_message(); + ::bgs::protocol::club::v1::client::StreamMessage* temp = message_; + message_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message) { + delete message_; + message_ = message; + if (message) { + set_has_message(); + } else { + clear_has_message(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message) +} + +// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; +inline bool StreamMention::has_club_type() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void StreamMention::set_has_club_type() { + _has_bits_[0] |= 0x00000100u; +} +inline void StreamMention::clear_has_club_type() { + _has_bits_[0] &= ~0x00000100u; +} +inline void StreamMention::clear_club_type() { + if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_club_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_type) + return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() { + set_has_club_type(); + if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.club_type) + return club_type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() { + clear_has_club_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = club_type_; + club_type_ = NULL; + return temp; +} +inline void StreamMention::set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type) { + delete club_type_; + club_type_ = club_type; + if (club_type) { + set_has_club_type(); + } else { + clear_has_club_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.club_type) +} + +// ------------------------------------------------------------------- + +// StreamView + +// optional uint64 club_id = 1; +inline bool StreamView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.club_id) + return club_id_; +} +inline void StreamView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamView::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamView::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamView::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamView::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamView::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.stream_id) + return stream_id_; +} +inline void StreamView::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.stream_id) +} + +// optional .bgs.protocol.ViewMarker marker = 3; +inline bool StreamView::has_marker() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamView::set_has_marker() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamView::clear_has_marker() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& StreamView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* StreamView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* StreamView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void StreamView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamView.marker) +} + +// ------------------------------------------------------------------- + +// StreamAdvanceViewTime + +// optional uint64 stream_id = 1; +inline bool StreamAdvanceViewTime::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamAdvanceViewTime::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamAdvanceViewTime::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamAdvanceViewTime::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTime::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id) + return stream_id_; +} +inline void StreamAdvanceViewTime::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id) +} + +// optional uint64 view_time = 2; +inline bool StreamAdvanceViewTime::has_view_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamAdvanceViewTime::set_has_view_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamAdvanceViewTime::clear_has_view_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamAdvanceViewTime::clear_view_time() { + view_time_ = GOOGLE_ULONGLONG(0); + clear_has_view_time(); +} +inline ::google::protobuf::uint64 StreamAdvanceViewTime::view_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time) + return view_time_; +} +inline void StreamAdvanceViewTime::set_view_time(::google::protobuf::uint64 value) { + set_has_view_time(); + view_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time) +} + +// ------------------------------------------------------------------- + +// StreamEventTime + +// optional uint64 stream_id = 1; +inline bool StreamEventTime::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamEventTime::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamEventTime::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamEventTime::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamEventTime::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.stream_id) + return stream_id_; +} +inline void StreamEventTime::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.stream_id) +} + +// optional uint64 event_time = 2; +inline bool StreamEventTime::has_event_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamEventTime::set_has_event_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamEventTime::clear_has_event_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamEventTime::clear_event_time() { + event_time_ = GOOGLE_ULONGLONG(0); + clear_has_event_time(); +} +inline ::google::protobuf::uint64 StreamEventTime::event_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.event_time) + return event_time_; +} +inline void StreamEventTime::set_event_time(::google::protobuf::uint64 value) { + set_has_event_time(); + event_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.event_time) +} + +// ------------------------------------------------------------------- + +// StreamMentionView + +// optional uint64 club_id = 1; +inline bool StreamMentionView::has_club_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamMentionView::set_has_club_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamMentionView::clear_has_club_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamMentionView::clear_club_id() { + club_id_ = GOOGLE_ULONGLONG(0); + clear_has_club_id(); +} +inline ::google::protobuf::uint64 StreamMentionView::club_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.club_id) + return club_id_; +} +inline void StreamMentionView::set_club_id(::google::protobuf::uint64 value) { + set_has_club_id(); + club_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.club_id) +} + +// optional uint64 stream_id = 2; +inline bool StreamMentionView::has_stream_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamMentionView::set_has_stream_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamMentionView::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamMentionView::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamMentionView::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.stream_id) + return stream_id_; +} +inline void StreamMentionView::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.stream_id) +} + +// optional .bgs.protocol.ViewMarker marker = 3; +inline bool StreamMentionView::has_marker() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamMentionView::set_has_marker() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamMentionView::clear_has_marker() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamMentionView::clear_marker() { + if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_marker(); +} +inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.marker) + return marker_ != NULL ? *marker_ : *default_instance_->marker_; +} +inline ::bgs::protocol::ViewMarker* StreamMentionView::mutable_marker() { + set_has_marker(); + if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMentionView.marker) + return marker_; +} +inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() { + clear_has_marker(); + ::bgs::protocol::ViewMarker* temp = marker_; + marker_ = NULL; + return temp; +} +inline void StreamMentionView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { + delete marker_; + marker_ = marker; + if (marker) { + set_has_marker(); + } else { + clear_has_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMentionView.marker) +} + +// ------------------------------------------------------------------- + +// StreamStateOptions + +// repeated .bgs.protocol.v2.Attribute attribute = 1; +inline int StreamStateOptions::attribute_size() const { + return attribute_.size(); +} +inline void StreamStateOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& StreamStateOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +StreamStateOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +StreamStateOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute) + return &attribute_; +} + +// optional string name = 2; +inline bool StreamStateOptions::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamStateOptions::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamStateOptions::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamStateOptions::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamStateOptions::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.name) + return *name_; +} +inline void StreamStateOptions::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline void StreamStateOptions::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline void StreamStateOptions::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.name) +} +inline ::std::string* StreamStateOptions::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.name) + return name_; +} +inline ::std::string* StreamStateOptions::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateOptions::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.name) +} + +// optional string subject = 3; +inline bool StreamStateOptions::has_subject() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateOptions::set_has_subject() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateOptions::clear_has_subject() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateOptions::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& StreamStateOptions::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.subject) + return *subject_; +} +inline void StreamStateOptions::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline void StreamStateOptions::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline void StreamStateOptions::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} +inline ::std::string* StreamStateOptions::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.subject) + return subject_; +} +inline ::std::string* StreamStateOptions::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateOptions::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 4; +inline bool StreamStateOptions::has_access() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateOptions::set_has_access() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateOptions::clear_has_access() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateOptions::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateOptions::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.access) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5; +inline bool StreamStateOptions::has_voice_level() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamStateOptions::set_has_voice_level() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamStateOptions::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamStateOptions::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateOptions::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void StreamStateOptions::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.voice_level) +} + +// ------------------------------------------------------------------- + +// StreamStateAssignment + +// optional uint64 stream_id = 1; +inline bool StreamStateAssignment::has_stream_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamStateAssignment::set_has_stream_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamStateAssignment::clear_has_stream_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamStateAssignment::clear_stream_id() { + stream_id_ = GOOGLE_ULONGLONG(0); + clear_has_stream_id(); +} +inline ::google::protobuf::uint64 StreamStateAssignment::stream_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id) + return stream_id_; +} +inline void StreamStateAssignment::set_stream_id(::google::protobuf::uint64 value) { + set_has_stream_id(); + stream_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int StreamStateAssignment::attribute_size() const { + return attribute_.size(); +} +inline void StreamStateAssignment::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& StreamStateAssignment::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +StreamStateAssignment::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +StreamStateAssignment::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute) + return &attribute_; +} + +// optional string name = 3; +inline bool StreamStateAssignment::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamStateAssignment::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamStateAssignment::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamStateAssignment::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& StreamStateAssignment::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.name) + return *name_; +} +inline void StreamStateAssignment::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline void StreamStateAssignment::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline void StreamStateAssignment::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} +inline ::std::string* StreamStateAssignment::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.name) + return name_; +} +inline ::std::string* StreamStateAssignment::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateAssignment::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.name) +} + +// optional string subject = 4; +inline bool StreamStateAssignment::has_subject() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void StreamStateAssignment::set_has_subject() { + _has_bits_[0] |= 0x00000008u; +} +inline void StreamStateAssignment::clear_has_subject() { + _has_bits_[0] &= ~0x00000008u; +} +inline void StreamStateAssignment::clear_subject() { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_->clear(); + } + clear_has_subject(); +} +inline const ::std::string& StreamStateAssignment::subject() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.subject) + return *subject_; +} +inline void StreamStateAssignment::set_subject(const ::std::string& value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline void StreamStateAssignment::set_subject(const char* value) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline void StreamStateAssignment::set_subject(const char* value, size_t size) { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + subject_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} +inline ::std::string* StreamStateAssignment::mutable_subject() { + set_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + subject_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.subject) + return subject_; +} +inline ::std::string* StreamStateAssignment::release_subject() { + clear_has_subject(); + if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = subject_; + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) { + if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete subject_; + } + if (subject) { + set_has_subject(); + subject_ = subject; + } else { + clear_has_subject(); + subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.subject) +} + +// optional .bgs.protocol.club.v1.client.StreamAccess access = 5; +inline bool StreamStateAssignment::has_access() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void StreamStateAssignment::set_has_access() { + _has_bits_[0] |= 0x00000010u; +} +inline void StreamStateAssignment::clear_has_access() { + _has_bits_[0] &= ~0x00000010u; +} +inline void StreamStateAssignment::clear_access() { + if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear(); + clear_has_access(); +} +inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateAssignment::access() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.access) + return access_ != NULL ? *access_ : *default_instance_->access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::mutable_access() { + set_has_access(); + if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.access) + return access_; +} +inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::release_access() { + clear_has_access(); + ::bgs::protocol::club::v1::client::StreamAccess* temp = access_; + access_ = NULL; + return temp; +} +inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access) { + delete access_; + access_ = access; + if (access) { + set_has_access(); + } else { + clear_has_access(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.access) +} + +// optional bool stream_subscription_removed = 6; +inline bool StreamStateAssignment::has_stream_subscription_removed() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void StreamStateAssignment::set_has_stream_subscription_removed() { + _has_bits_[0] |= 0x00000020u; +} +inline void StreamStateAssignment::clear_has_stream_subscription_removed() { + _has_bits_[0] &= ~0x00000020u; +} +inline void StreamStateAssignment::clear_stream_subscription_removed() { + stream_subscription_removed_ = false; + clear_has_stream_subscription_removed(); +} +inline bool StreamStateAssignment::stream_subscription_removed() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed) + return stream_subscription_removed_; +} +inline void StreamStateAssignment::set_stream_subscription_removed(bool value) { + set_has_stream_subscription_removed(); + stream_subscription_removed_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed) +} + +// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7; +inline bool StreamStateAssignment::has_voice_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void StreamStateAssignment::set_has_voice_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void StreamStateAssignment::clear_has_voice_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void StreamStateAssignment::clear_voice_level() { + voice_level_ = 0; + clear_has_voice_level(); +} +inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateAssignment::voice_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level) + return static_cast< ::bgs::protocol::club::v1::client::StreamVoiceLevel >(voice_level_); +} +inline void StreamStateAssignment::set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value) { + assert(::bgs::protocol::club::v1::client::StreamVoiceLevel_IsValid(value)); + set_has_voice_level(); + voice_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level) +} + +// ------------------------------------------------------------------- + +// StreamTypingIndicator + +// optional .bgs.protocol.club.v1.MemberId author_id = 1; +inline bool StreamTypingIndicator::has_author_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void StreamTypingIndicator::set_has_author_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void StreamTypingIndicator::clear_has_author_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void StreamTypingIndicator::clear_author_id() { + if (author_id_ != NULL) author_id_->::bgs::protocol::club::v1::MemberId::Clear(); + clear_has_author_id(); +} +inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicator::author_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) + return author_id_ != NULL ? *author_id_ : *default_instance_->author_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::mutable_author_id() { + set_has_author_id(); + if (author_id_ == NULL) author_id_ = new ::bgs::protocol::club::v1::MemberId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) + return author_id_; +} +inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::release_author_id() { + clear_has_author_id(); + ::bgs::protocol::club::v1::MemberId* temp = author_id_; + author_id_ = NULL; + return temp; +} +inline void StreamTypingIndicator::set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id) { + delete author_id_; + author_id_ = author_id; + if (author_id) { + set_has_author_id(); + } else { + clear_has_author_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 2; +inline bool StreamTypingIndicator::has_indicator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void StreamTypingIndicator::set_has_indicator() { + _has_bits_[0] |= 0x00000002u; +} +inline void StreamTypingIndicator::clear_has_indicator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void StreamTypingIndicator::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator StreamTypingIndicator::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void StreamTypingIndicator::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator) +} + +// optional uint64 epoch = 3; +inline bool StreamTypingIndicator::has_epoch() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void StreamTypingIndicator::set_has_epoch() { + _has_bits_[0] |= 0x00000004u; +} +inline void StreamTypingIndicator::clear_has_epoch() { + _has_bits_[0] &= ~0x00000004u; +} +inline void StreamTypingIndicator::clear_epoch() { + epoch_ = GOOGLE_ULONGLONG(0); + clear_has_epoch(); +} +inline ::google::protobuf::uint64 StreamTypingIndicator::epoch() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch) + return epoch_; +} +inline void StreamTypingIndicator::set_epoch(::google::protobuf::uint64 value) { + set_has_epoch(); + epoch_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v1/club_types.pb.cc b/src/server/proto/Client/api/client/v1/club_types.pb.cc new file mode 100644 index 00000000000..f1ff28e39bf --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_types.pb.cc @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v1/club_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v1/club_types.proto"); + GOOGLE_CHECK(file != NULL); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { +} + +void protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club_membership::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmembership_5ftypes_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frange_5fset_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5finvitation_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fban_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fname_5fgenerator_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); + ::protobuf_AddDesc_invitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); + ::protobuf_AddDesc_voice_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\036api/client/v1/club_types.proto\022\033bgs.pr" + "otocol.club.v1.client\032)api/client/v1/clu" + "b_membership_types.proto\032\035api/client/v1/" + "club_enum.proto\032\035api/client/v1/club_role" + ".proto\032\"api/client/v1/club_range_set.pro" + "to\032\035api/client/v1/club_core.proto\032\037api/c" + "lient/v1/club_member.proto\032#api/client/v" + "1/club_invitation.proto\032\034api/client/v1/c" + "lub_ban.proto\032\037api/client/v1/club_stream" + ".proto\032\'api/client/v1/club_name_generato" + "r.proto\032\035api/common/v1/club_core.proto\032\035" + "api/common/v1/club_enum.proto\032\034api/commo" + "n/v1/club_tag.proto\032\035api/common/v1/club_" + "type.proto\032#api/common/v2/attribute_type" + "s.proto\032\023account_types.proto\032\026event_view" + "_types.proto\032\026invitation_types.proto\032\023me" + "ssage_types.proto\032\017ets_types.proto\032\021voic" + "e_types.proto\032\017rpc_types.protoB\002H\002P\000P\001P\002" + "P\003P\004P\005P\006P\007P\010P\tP\nP\013P\014P\rP\016P\017P\020P\021P\022P\023P\024P\025", 758); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v1/club_types.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv1_2fclub_5ftypes_2eproto_; +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v1/club_types.pb.h b/src/server/proto/Client/api/client/v1/club_types.pb.h new file mode 100644 index 00000000000..9ad78486e2b --- /dev/null +++ b/src/server/proto/Client/api/client/v1/club_types.pb.h @@ -0,0 +1,85 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v1/club_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include "api/client/v1/club_membership_types.pb.h" // IWYU pragma: export +#include "api/client/v1/club_enum.pb.h" // IWYU pragma: export +#include "api/client/v1/club_role.pb.h" // IWYU pragma: export +#include "api/client/v1/club_range_set.pb.h" // IWYU pragma: export +#include "api/client/v1/club_core.pb.h" // IWYU pragma: export +#include "api/client/v1/club_member.pb.h" // IWYU pragma: export +#include "api/client/v1/club_invitation.pb.h" // IWYU pragma: export +#include "api/client/v1/club_ban.pb.h" // IWYU pragma: export +#include "api/client/v1/club_stream.pb.h" // IWYU pragma: export +#include "api/client/v1/club_name_generator.pb.h" // IWYU pragma: export +#include "api/common/v1/club_core.pb.h" // IWYU pragma: export +#include "api/common/v1/club_enum.pb.h" // IWYU pragma: export +#include "api/common/v1/club_tag.pb.h" // IWYU pragma: export +#include "api/common/v1/club_type.pb.h" // IWYU pragma: export +#include "api/common/v2/attribute_types.pb.h" // IWYU pragma: export +#include "account_types.pb.h" // IWYU pragma: export +#include "event_view_types.pb.h" // IWYU pragma: export +#include "invitation_types.pb.h" // IWYU pragma: export +#include "message_types.pb.h" // IWYU pragma: export +#include "ets_types.pb.h" // IWYU pragma: export +#include "voice_types.pb.h" // IWYU pragma: export +#include "rpc_types.pb.h" // IWYU pragma: export +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5ftypes_2eproto(); + +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/attribute_types.pb.cc b/src/server/proto/Client/api/client/v2/attribute_types.pb.cc deleted file mode 100644 index b0c4fc4e402..00000000000 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.cc +++ /dev/null @@ -1,482 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "api/client/v2/attribute_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace v2 { - -namespace { - -const ::google::protobuf::Descriptor* Variant_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Variant_reflection_ = NULL; -struct VariantOneofInstance { - bool bool_value_; - ::google::protobuf::int64 int_value_; - double float_value_; - const ::std::string* string_value_; - const ::std::string* blob_value_; - ::google::protobuf::uint64 uint_value_; -}* Variant_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* Attribute_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Attribute_reflection_ = NULL; -const ::google::protobuf::Descriptor* AttributeFilter_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AttributeFilter_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "api/client/v2/attribute_types.proto"); - GOOGLE_CHECK(file != NULL); - Variant_descriptor_ = file->message_type(0); - static const int Variant_offsets_[7] = { - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, bool_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, int_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, float_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, string_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, blob_value_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, uint_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, type_), - }; - Variant_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Variant_descriptor_, - Variant::default_instance_, - Variant_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _unknown_fields_), - -1, - Variant_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Variant)); - Attribute_descriptor_ = file->message_type(1); - static const int Attribute_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, value_), - }; - Attribute_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Attribute_descriptor_, - Attribute::default_instance_, - Attribute_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Attribute)); - AttributeFilter_descriptor_ = file->message_type(2); - static const int AttributeFilter_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, op_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, attribute_), - }; - AttributeFilter_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AttributeFilter_descriptor_, - AttributeFilter::default_instance_, - AttributeFilter_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AttributeFilter)); - AttributeFilter_Operation_descriptor_ = AttributeFilter_descriptor_->enum_type(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Variant_descriptor_, &Variant::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Attribute_descriptor_, &Attribute::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AttributeFilter_descriptor_, &AttributeFilter::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - delete Variant::default_instance_; - delete Variant_default_oneof_instance_; - delete Variant_reflection_; - delete Attribute::default_instance_; - delete Attribute_reflection_; - delete AttributeFilter::default_instance_; - delete AttributeFilter_reflection_; -} - -void protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n#api/client/v2/attribute_types.proto\022\017b" - "gs.protocol.v2\"\227\001\n\007Variant\022\024\n\nbool_value" - "\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\025\n\013float_v" - "alue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000\022\024\n\n" - "blob_value\030\005 \001(\014H\000\022\024\n\nuint_value\030\006 \001(\004H\000" - "B\006\n\004type\"B\n\tAttribute\022\014\n\004name\030\001 \001(\t\022\'\n\005v" - "alue\030\002 \001(\0132\030.bgs.protocol.v2.Variant\"\320\001\n" - "\017AttributeFilter\0226\n\002op\030\001 \001(\0162*.bgs.proto" - "col.v2.AttributeFilter.Operation\022-\n\tattr" - "ibute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"" - "V\n\tOperation\022\016\n\nMATCH_NONE\020\000\022\r\n\tMATCH_AN" - "Y\020\001\022\r\n\tMATCH_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPE" - "CIFIC\020\003B\002H\002", 491); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "api/client/v2/attribute_types.proto", &protobuf_RegisterTypes); - Variant::default_instance_ = new Variant(); - Variant_default_oneof_instance_ = new VariantOneofInstance; - Attribute::default_instance_ = new Attribute(); - AttributeFilter::default_instance_ = new AttributeFilter(); - Variant::default_instance_->InitAsDefaultInstance(); - Attribute::default_instance_->InitAsDefaultInstance(); - AttributeFilter::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto { - StaticDescriptorInitializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto() { - protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - } -} static_descriptor_initializer_api_2fclient_2fv2_2fattribute_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int Variant::kBoolValueFieldNumber; -const int Variant::kIntValueFieldNumber; -const int Variant::kFloatValueFieldNumber; -const int Variant::kStringValueFieldNumber; -const int Variant::kBlobValueFieldNumber; -const int Variant::kUintValueFieldNumber; -#endif // !_MSC_VER - -Variant::Variant() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.Variant) -} - -void Variant::InitAsDefaultInstance() { - Variant_default_oneof_instance_->bool_value_ = false; - Variant_default_oneof_instance_->int_value_ = GOOGLE_LONGLONG(0); - Variant_default_oneof_instance_->float_value_ = 0; - Variant_default_oneof_instance_->string_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Variant_default_oneof_instance_->blob_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Variant_default_oneof_instance_->uint_value_ = GOOGLE_ULONGLONG(0); -} - -Variant::Variant(const Variant& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Variant) -} - -void Variant::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_type(); -} - -Variant::~Variant() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.Variant) - SharedDtor(); -} - -void Variant::SharedDtor() { - if (has_type()) { - clear_type(); - } - if (this != default_instance_) { - } -} - -void Variant::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Variant::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Variant_descriptor_; -} - -const Variant& Variant::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -Variant* Variant::default_instance_ = NULL; - -Variant* Variant::New() const { - return new Variant; -} - -void Variant::clear_type() { - switch(type_case()) { - case kBoolValue: { - // No need to clear - break; - } - case kIntValue: { - // No need to clear - break; - } - case kFloatValue: { - // No need to clear - break; - } - case kStringValue: { - delete type_.string_value_; - break; - } - case kBlobValue: { - delete type_.blob_value_; - break; - } - case kUintValue: { - // No need to clear - break; - } - case TYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPE_NOT_SET; -} - -void Variant::Swap(Variant* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Variant::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Variant_descriptor_; - metadata.reflection = Variant_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Attribute::kNameFieldNumber; -const int Attribute::kValueFieldNumber; -#endif // !_MSC_VER - -Attribute::Attribute() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.Attribute) -} - -void Attribute::InitAsDefaultInstance() { - value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance()); -} - -Attribute::Attribute(const Attribute& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Attribute) -} - -void Attribute::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Attribute::~Attribute() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.Attribute) - SharedDtor(); -} - -void Attribute::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (this != default_instance_) { - delete value_; - } -} - -void Attribute::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Attribute::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Attribute_descriptor_; -} - -const Attribute& Attribute::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -Attribute* Attribute::default_instance_ = NULL; - -Attribute* Attribute::New() const { - return new Attribute; -} - -void Attribute::Swap(Attribute* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Attribute::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Attribute_descriptor_; - metadata.reflection = Attribute_reflection_; - return metadata; -} - -// =================================================================== - -const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor() { - protobuf_AssignDescriptorsOnce(); - return AttributeFilter_Operation_descriptor_; -} -bool AttributeFilter_Operation_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#ifndef _MSC_VER -const AttributeFilter_Operation AttributeFilter::MATCH_NONE; -const AttributeFilter_Operation AttributeFilter::MATCH_ANY; -const AttributeFilter_Operation AttributeFilter::MATCH_ALL; -const AttributeFilter_Operation AttributeFilter::MATCH_ALL_MOST_SPECIFIC; -const AttributeFilter_Operation AttributeFilter::Operation_MIN; -const AttributeFilter_Operation AttributeFilter::Operation_MAX; -const int AttributeFilter::Operation_ARRAYSIZE; -#endif // _MSC_VER -#ifndef _MSC_VER -const int AttributeFilter::kOpFieldNumber; -const int AttributeFilter::kAttributeFieldNumber; -#endif // !_MSC_VER - -AttributeFilter::AttributeFilter() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.v2.AttributeFilter) -} - -void AttributeFilter::InitAsDefaultInstance() { -} - -AttributeFilter::AttributeFilter(const AttributeFilter& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.AttributeFilter) -} - -void AttributeFilter::SharedCtor() { - _cached_size_ = 0; - op_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AttributeFilter::~AttributeFilter() { - // @@protoc_insertion_point(destructor:bgs.protocol.v2.AttributeFilter) - SharedDtor(); -} - -void AttributeFilter::SharedDtor() { - if (this != default_instance_) { - } -} - -void AttributeFilter::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AttributeFilter::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AttributeFilter_descriptor_; -} - -const AttributeFilter& AttributeFilter::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - return *default_instance_; -} - -AttributeFilter* AttributeFilter::default_instance_ = NULL; - -AttributeFilter* AttributeFilter::New() const { - return new AttributeFilter; -} - -void AttributeFilter::Swap(AttributeFilter* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AttributeFilter::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AttributeFilter_descriptor_; - metadata.reflection = AttributeFilter_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v2 -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/attribute_types.pb.h b/src/server/proto/Client/api/client/v2/attribute_types.pb.h deleted file mode 100644 index 80e1bdb5f0c..00000000000 --- a/src/server/proto/Client/api/client/v2/attribute_types.pb.h +++ /dev/null @@ -1,857 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api/client/v2/attribute_types.proto - -#ifndef PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED -#define PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace v2 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); -void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); -void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - -class Variant; -class Attribute; -class AttributeFilter; - -enum AttributeFilter_Operation { - AttributeFilter_Operation_MATCH_NONE = 0, - AttributeFilter_Operation_MATCH_ANY = 1, - AttributeFilter_Operation_MATCH_ALL = 2, - AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC = 3 -}; -TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value); -const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN = AttributeFilter_Operation_MATCH_NONE; -const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; -const int AttributeFilter_Operation_Operation_ARRAYSIZE = AttributeFilter_Operation_Operation_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor(); -inline const ::std::string& AttributeFilter_Operation_Name(AttributeFilter_Operation value) { - return ::google::protobuf::internal::NameOfEnum( - AttributeFilter_Operation_descriptor(), value); -} -inline bool AttributeFilter_Operation_Parse( - const ::std::string& name, AttributeFilter_Operation* value) { - return ::google::protobuf::internal::ParseNamedEnum( - AttributeFilter_Operation_descriptor(), name, value); -} -// =================================================================== - -class TC_PROTO_API Variant : public ::google::protobuf::Message { - public: - Variant(); - virtual ~Variant(); - - Variant(const Variant& from); - - inline Variant& operator=(const Variant& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Variant& default_instance(); - - enum TypeCase { - kBoolValue = 1, - kIntValue = 2, - kFloatValue = 3, - kStringValue = 4, - kBlobValue = 5, - kUintValue = 6, - TYPE_NOT_SET = 0, - }; - - void Swap(Variant* other); - - // implements Message ---------------------------------------------- - - Variant* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional bool bool_value = 1; - inline bool has_bool_value() const; - inline void clear_bool_value(); - static const int kBoolValueFieldNumber = 1; - inline bool bool_value() const; - inline void set_bool_value(bool value); - - // optional int64 int_value = 2; - inline bool has_int_value() const; - inline void clear_int_value(); - static const int kIntValueFieldNumber = 2; - inline ::google::protobuf::int64 int_value() const; - inline void set_int_value(::google::protobuf::int64 value); - - // optional double float_value = 3; - inline bool has_float_value() const; - inline void clear_float_value(); - static const int kFloatValueFieldNumber = 3; - inline double float_value() const; - inline void set_float_value(double value); - - // optional string string_value = 4; - inline bool has_string_value() const; - inline void clear_string_value(); - static const int kStringValueFieldNumber = 4; - inline const ::std::string& string_value() const; - inline void set_string_value(const ::std::string& value); - inline void set_string_value(const char* value); - inline void set_string_value(const char* value, size_t size); - inline ::std::string* mutable_string_value(); - inline ::std::string* release_string_value(); - inline void set_allocated_string_value(::std::string* string_value); - - // optional bytes blob_value = 5; - inline bool has_blob_value() const; - inline void clear_blob_value(); - static const int kBlobValueFieldNumber = 5; - inline const ::std::string& blob_value() const; - inline void set_blob_value(const ::std::string& value); - inline void set_blob_value(const char* value); - inline void set_blob_value(const void* value, size_t size); - inline ::std::string* mutable_blob_value(); - inline ::std::string* release_blob_value(); - inline void set_allocated_blob_value(::std::string* blob_value); - - // optional uint64 uint_value = 6; - inline bool has_uint_value() const; - inline void clear_uint_value(); - static const int kUintValueFieldNumber = 6; - inline ::google::protobuf::uint64 uint_value() const; - inline void set_uint_value(::google::protobuf::uint64 value); - - inline TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Variant) - private: - inline void set_has_bool_value(); - inline void set_has_int_value(); - inline void set_has_float_value(); - inline void set_has_string_value(); - inline void set_has_blob_value(); - inline void set_has_uint_value(); - - inline bool has_type(); - void clear_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - union TypeUnion { - bool bool_value_; - ::google::protobuf::int64 int_value_; - double float_value_; - ::std::string* string_value_; - ::std::string* blob_value_; - ::google::protobuf::uint64 uint_value_; - } type_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Variant* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Attribute : public ::google::protobuf::Message { - public: - Attribute(); - virtual ~Attribute(); - - Attribute(const Attribute& from); - - inline Attribute& operator=(const Attribute& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Attribute& default_instance(); - - void Swap(Attribute* other); - - // implements Message ---------------------------------------------- - - Attribute* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string name = 1; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 1; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional .bgs.protocol.v2.Variant value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline const ::bgs::protocol::v2::Variant& value() const; - inline ::bgs::protocol::v2::Variant* mutable_value(); - inline ::bgs::protocol::v2::Variant* release_value(); - inline void set_allocated_value(::bgs::protocol::v2::Variant* value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Attribute) - private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* name_; - ::bgs::protocol::v2::Variant* value_; - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Attribute* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AttributeFilter : public ::google::protobuf::Message { - public: - AttributeFilter(); - virtual ~AttributeFilter(); - - AttributeFilter(const AttributeFilter& from); - - inline AttributeFilter& operator=(const AttributeFilter& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AttributeFilter& default_instance(); - - void Swap(AttributeFilter* other); - - // implements Message ---------------------------------------------- - - AttributeFilter* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - typedef AttributeFilter_Operation Operation; - static const Operation MATCH_NONE = AttributeFilter_Operation_MATCH_NONE; - static const Operation MATCH_ANY = AttributeFilter_Operation_MATCH_ANY; - static const Operation MATCH_ALL = AttributeFilter_Operation_MATCH_ALL; - static const Operation MATCH_ALL_MOST_SPECIFIC = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; - static inline bool Operation_IsValid(int value) { - return AttributeFilter_Operation_IsValid(value); - } - static const Operation Operation_MIN = - AttributeFilter_Operation_Operation_MIN; - static const Operation Operation_MAX = - AttributeFilter_Operation_Operation_MAX; - static const int Operation_ARRAYSIZE = - AttributeFilter_Operation_Operation_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Operation_descriptor() { - return AttributeFilter_Operation_descriptor(); - } - static inline const ::std::string& Operation_Name(Operation value) { - return AttributeFilter_Operation_Name(value); - } - static inline bool Operation_Parse(const ::std::string& name, - Operation* value) { - return AttributeFilter_Operation_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; - inline bool has_op() const; - inline void clear_op(); - static const int kOpFieldNumber = 1; - inline ::bgs::protocol::v2::AttributeFilter_Operation op() const; - inline void set_op(::bgs::protocol::v2::AttributeFilter_Operation value); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.v2.AttributeFilter) - private: - inline void set_has_op(); - inline void clear_has_op(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - int op_; - friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static AttributeFilter* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// Variant - -// optional bool bool_value = 1; -inline bool Variant::has_bool_value() const { - return type_case() == kBoolValue; -} -inline void Variant::set_has_bool_value() { - _oneof_case_[0] = kBoolValue; -} -inline void Variant::clear_bool_value() { - if (has_bool_value()) { - type_.bool_value_ = false; - clear_has_type(); - } -} -inline bool Variant::bool_value() const { - if (has_bool_value()) { - return type_.bool_value_; - } - return false; -} -inline void Variant::set_bool_value(bool value) { - if (!has_bool_value()) { - clear_type(); - set_has_bool_value(); - } - type_.bool_value_ = value; -} - -// optional int64 int_value = 2; -inline bool Variant::has_int_value() const { - return type_case() == kIntValue; -} -inline void Variant::set_has_int_value() { - _oneof_case_[0] = kIntValue; -} -inline void Variant::clear_int_value() { - if (has_int_value()) { - type_.int_value_ = GOOGLE_LONGLONG(0); - clear_has_type(); - } -} -inline ::google::protobuf::int64 Variant::int_value() const { - if (has_int_value()) { - return type_.int_value_; - } - return GOOGLE_LONGLONG(0); -} -inline void Variant::set_int_value(::google::protobuf::int64 value) { - if (!has_int_value()) { - clear_type(); - set_has_int_value(); - } - type_.int_value_ = value; -} - -// optional double float_value = 3; -inline bool Variant::has_float_value() const { - return type_case() == kFloatValue; -} -inline void Variant::set_has_float_value() { - _oneof_case_[0] = kFloatValue; -} -inline void Variant::clear_float_value() { - if (has_float_value()) { - type_.float_value_ = 0; - clear_has_type(); - } -} -inline double Variant::float_value() const { - if (has_float_value()) { - return type_.float_value_; - } - return 0; -} -inline void Variant::set_float_value(double value) { - if (!has_float_value()) { - clear_type(); - set_has_float_value(); - } - type_.float_value_ = value; -} - -// optional string string_value = 4; -inline bool Variant::has_string_value() const { - return type_case() == kStringValue; -} -inline void Variant::set_has_string_value() { - _oneof_case_[0] = kStringValue; -} -inline void Variant::clear_string_value() { - if (has_string_value()) { - delete type_.string_value_; - clear_has_type(); - } -} -inline const ::std::string& Variant::string_value() const { - if (has_string_value()) { - return *type_.string_value_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Variant::set_string_value(const ::std::string& value) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign(value); -} -inline void Variant::set_string_value(const char* value) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign(value); -} -inline void Variant::set_string_value(const char* value, size_t size) { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - type_.string_value_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Variant::mutable_string_value() { - if (!has_string_value()) { - clear_type(); - set_has_string_value(); - type_.string_value_ = new ::std::string; - } - return type_.string_value_; -} -inline ::std::string* Variant::release_string_value() { - if (has_string_value()) { - clear_has_type(); - ::std::string* temp = type_.string_value_; - type_.string_value_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Variant::set_allocated_string_value(::std::string* string_value) { - clear_type(); - if (string_value) { - set_has_string_value(); - type_.string_value_ = string_value; - } -} - -// optional bytes blob_value = 5; -inline bool Variant::has_blob_value() const { - return type_case() == kBlobValue; -} -inline void Variant::set_has_blob_value() { - _oneof_case_[0] = kBlobValue; -} -inline void Variant::clear_blob_value() { - if (has_blob_value()) { - delete type_.blob_value_; - clear_has_type(); - } -} -inline const ::std::string& Variant::blob_value() const { - if (has_blob_value()) { - return *type_.blob_value_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Variant::set_blob_value(const ::std::string& value) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign(value); -} -inline void Variant::set_blob_value(const char* value) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign(value); -} -inline void Variant::set_blob_value(const void* value, size_t size) { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - type_.blob_value_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Variant::mutable_blob_value() { - if (!has_blob_value()) { - clear_type(); - set_has_blob_value(); - type_.blob_value_ = new ::std::string; - } - return type_.blob_value_; -} -inline ::std::string* Variant::release_blob_value() { - if (has_blob_value()) { - clear_has_type(); - ::std::string* temp = type_.blob_value_; - type_.blob_value_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Variant::set_allocated_blob_value(::std::string* blob_value) { - clear_type(); - if (blob_value) { - set_has_blob_value(); - type_.blob_value_ = blob_value; - } -} - -// optional uint64 uint_value = 6; -inline bool Variant::has_uint_value() const { - return type_case() == kUintValue; -} -inline void Variant::set_has_uint_value() { - _oneof_case_[0] = kUintValue; -} -inline void Variant::clear_uint_value() { - if (has_uint_value()) { - type_.uint_value_ = GOOGLE_ULONGLONG(0); - clear_has_type(); - } -} -inline ::google::protobuf::uint64 Variant::uint_value() const { - if (has_uint_value()) { - return type_.uint_value_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Variant::set_uint_value(::google::protobuf::uint64 value) { - if (!has_uint_value()) { - clear_type(); - set_has_uint_value(); - } - type_.uint_value_ = value; -} - -inline bool Variant::has_type() { - return type_case() != TYPE_NOT_SET; -} -inline void Variant::clear_has_type() { - _oneof_case_[0] = TYPE_NOT_SET; -} -inline Variant::TypeCase Variant::type_case() const { - return Variant::TypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Attribute - -// optional string name = 1; -inline bool Attribute::has_name() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Attribute::set_has_name() { - _has_bits_[0] |= 0x00000001u; -} -inline void Attribute::clear_has_name() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Attribute::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& Attribute::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.name) - return *name_; -} -inline void Attribute::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.v2.Attribute.name) -} -inline void Attribute::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.v2.Attribute.name) -} -inline void Attribute::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.v2.Attribute.name) -} -inline ::std::string* Attribute::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.name) - return name_; -} -inline ::std::string* Attribute::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Attribute::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.name) -} - -// optional .bgs.protocol.v2.Variant value = 2; -inline bool Attribute::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Attribute::set_has_value() { - _has_bits_[0] |= 0x00000002u; -} -inline void Attribute::clear_has_value() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Attribute::clear_value() { - if (value_ != NULL) value_->::bgs::protocol::v2::Variant::Clear(); - clear_has_value(); -} -inline const ::bgs::protocol::v2::Variant& Attribute::value() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.value) - return value_ != NULL ? *value_ : *default_instance_->value_; -} -inline ::bgs::protocol::v2::Variant* Attribute::mutable_value() { - set_has_value(); - if (value_ == NULL) value_ = new ::bgs::protocol::v2::Variant; - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.value) - return value_; -} -inline ::bgs::protocol::v2::Variant* Attribute::release_value() { - clear_has_value(); - ::bgs::protocol::v2::Variant* temp = value_; - value_ = NULL; - return temp; -} -inline void Attribute::set_allocated_value(::bgs::protocol::v2::Variant* value) { - delete value_; - value_ = value; - if (value) { - set_has_value(); - } else { - clear_has_value(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.value) -} - -// ------------------------------------------------------------------- - -// AttributeFilter - -// optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; -inline bool AttributeFilter::has_op() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AttributeFilter::set_has_op() { - _has_bits_[0] |= 0x00000001u; -} -inline void AttributeFilter::clear_has_op() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AttributeFilter::clear_op() { - op_ = 0; - clear_has_op(); -} -inline ::bgs::protocol::v2::AttributeFilter_Operation AttributeFilter::op() const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.op) - return static_cast< ::bgs::protocol::v2::AttributeFilter_Operation >(op_); -} -inline void AttributeFilter::set_op(::bgs::protocol::v2::AttributeFilter_Operation value) { - assert(::bgs::protocol::v2::AttributeFilter_Operation_IsValid(value)); - set_has_op(); - op_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.v2.AttributeFilter.op) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int AttributeFilter::attribute_size() const { - return attribute_.size(); -} -inline void AttributeFilter::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& AttributeFilter::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* AttributeFilter::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* AttributeFilter::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -AttributeFilter::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.v2.AttributeFilter.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -AttributeFilter::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.v2.AttributeFilter.attribute) - return &attribute_; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v2 -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::v2::AttributeFilter_Operation> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation>() { - return ::bgs::protocol::v2::AttributeFilter_Operation_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/notification_service.pb.cc b/src/server/proto/Client/api/client/v2/notification_service.pb.cc new file mode 100644 index 00000000000..f0ee91d465a --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_service.pb.cc @@ -0,0 +1,241 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/notification_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SendNotificationRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendNotificationRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* NotificationService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/notification_service.proto"); + GOOGLE_CHECK(file != NULL); + SendNotificationRequest_descriptor_ = file->message_type(0); + static const int SendNotificationRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, options_), + }; + SendNotificationRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendNotificationRequest_descriptor_, + SendNotificationRequest::default_instance_, + SendNotificationRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendNotificationRequest)); + NotificationService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendNotificationRequest_descriptor_, &SendNotificationRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + delete SendNotificationRequest::default_instance_; + delete SendNotificationRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::notification::v2::client::protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n(api/client/v2/notification_service.pro" + "to\022#bgs.protocol.notification.v2.client\032" + "&api/client/v2/notification_types.proto\032" + "\017rpc_types.proto\"h\n\027SendNotificationRequ" + "est\022M\n\007options\030\002 \001(\0132<.bgs.protocol.noti" + "fication.v2.client.SendNotificationOptio" + "ns2\337\001\n\023NotificationService\022p\n\020SendNotifi" + "cation\022<.bgs.protocol.notification.v2.cl" + "ient.SendNotificationRequest\032\024.bgs.proto" + "col.NoData\"\010\202\371+\004\010\001\020\001\032V\202\371+J\n8bnet.protoco" + "l.notification.v2.client.NotificationSer" + "vice*\014notificationH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 475); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/notification_service.proto", &protobuf_RegisterTypes); + SendNotificationRequest::default_instance_ = new SendNotificationRequest(); + SendNotificationRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fnotification_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int SendNotificationRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendNotificationRequest::SendNotificationRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.SendNotificationRequest) +} + +void SendNotificationRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::notification::v2::client::SendNotificationOptions*>(&::bgs::protocol::notification::v2::client::SendNotificationOptions::default_instance()); +} + +SendNotificationRequest::SendNotificationRequest(const SendNotificationRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.SendNotificationRequest) +} + +void SendNotificationRequest::SharedCtor() { + _cached_size_ = 0; + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendNotificationRequest::~SendNotificationRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.SendNotificationRequest) + SharedDtor(); +} + +void SendNotificationRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void SendNotificationRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendNotificationRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendNotificationRequest_descriptor_; +} + +const SendNotificationRequest& SendNotificationRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + return *default_instance_; +} + +SendNotificationRequest* SendNotificationRequest::default_instance_ = NULL; + +SendNotificationRequest* SendNotificationRequest::New() const { + return new SendNotificationRequest; +} + +void SendNotificationRequest::Swap(SendNotificationRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendNotificationRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendNotificationRequest_descriptor_; + metadata.reflection = SendNotificationRequest_reflection_; + return metadata; +} + +// =================================================================== + +NotificationService::NotificationService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +NotificationService::~NotificationService() { +} + +google::protobuf::ServiceDescriptor const* NotificationService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return NotificationService_descriptor_; +} + +void NotificationService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSendNotification(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 NotificationService::HandleSendNotification(::bgs::protocol::notification::v2::client::SendNotificationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("NotificationService.SendNotification", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void NotificationService::ParseAndHandleSendNotification(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::notification::v2::client::SendNotificationRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("NotificationService.SendNotification"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("NotificationService.SendNotification", "bgs.protocol.notification.v2.client.SendNotificationRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "NotificationService.SendNotification", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSendNotification(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/notification_service.pb.h b/src/server/proto/Client/api/client/v2/notification_service.pb.h new file mode 100644 index 00000000000..e0d380d44e2 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_service.pb.h @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/client/v2/notification_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + +class SendNotificationRequest; + +// =================================================================== + +class TC_PROTO_API SendNotificationRequest : public ::google::protobuf::Message { + public: + SendNotificationRequest(); + virtual ~SendNotificationRequest(); + + SendNotificationRequest(const SendNotificationRequest& from); + + inline SendNotificationRequest& operator=(const SendNotificationRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendNotificationRequest& default_instance(); + + void Swap(SendNotificationRequest* other); + + // implements Message ---------------------------------------------- + + SendNotificationRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.notification.v2.client.SendNotificationOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::notification::v2::client::SendNotificationOptions& options() const; + inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* mutable_options(); + inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::notification::v2::client::SendNotificationOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.SendNotificationRequest) + private: + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::notification::v2::client::SendNotificationOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendNotificationRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API NotificationService : public ServiceBase +{ + public: + + explicit NotificationService(bool use_original_hash); + NotificationService(NotificationService const&) = delete; + NotificationService(NotificationService&&) = delete; + NotificationService& operator=(NotificationService const&) = delete; + NotificationService& operator=(NotificationService&&) = delete; + virtual ~NotificationService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSendNotification(::bgs::protocol::notification::v2::client::SendNotificationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSendNotification(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SendNotificationRequest + +// optional .bgs.protocol.notification.v2.client.SendNotificationOptions options = 2; +inline bool SendNotificationRequest::has_options() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendNotificationRequest::set_has_options() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendNotificationRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendNotificationRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::notification::v2::client::SendNotificationOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::notification::v2::client::SendNotificationOptions& SendNotificationRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* SendNotificationRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::notification::v2::client::SendNotificationOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationRequest.options) + return options_; +} +inline ::bgs::protocol::notification::v2::client::SendNotificationOptions* SendNotificationRequest::release_options() { + clear_has_options(); + ::bgs::protocol::notification::v2::client::SendNotificationOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendNotificationRequest::set_allocated_options(::bgs::protocol::notification::v2::client::SendNotificationOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationRequest.options) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fnotification_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/notification_types.pb.cc b/src/server/proto/Client/api/client/v2/notification_types.pb.cc new file mode 100644 index 00000000000..dc2f7a023e1 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_types.pb.cc @@ -0,0 +1,566 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/notification_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* UserDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UserDescription_reflection_ = NULL; +const ::google::protobuf::Descriptor* Filter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Filter_reflection_ = NULL; +struct FilterOneofInstance { + ::google::protobuf::uint32 title_id_; + const ::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle_; + const ::bgs::protocol::account::v2::GameAccountHandle* game_account_; +}* Filter_default_oneof_instance_ = NULL; +const ::google::protobuf::Descriptor* SendNotificationOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendNotificationOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* Notification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Notification_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/notification_types.proto"); + GOOGLE_CHECK(file != NULL); + UserDescription_descriptor_ = file->message_type(0); + static const int UserDescription_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, account_id_), + }; + UserDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UserDescription_descriptor_, + UserDescription::default_instance_, + UserDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UserDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UserDescription)); + Filter_descriptor_ = file->message_type(1); + static const int Filter_offsets_[4] = { + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, title_id_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, deprecated_handle_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Filter_default_oneof_instance_, game_account_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, type_), + }; + Filter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Filter_descriptor_, + Filter::default_instance_, + Filter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _unknown_fields_), + -1, + Filter_default_oneof_instance_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Filter, _oneof_case_[0]), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Filter)); + SendNotificationOptions_descriptor_ = file->message_type(2); + static const int SendNotificationOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, filter_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, attribute_), + }; + SendNotificationOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendNotificationOptions_descriptor_, + SendNotificationOptions::default_instance_, + SendNotificationOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendNotificationOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendNotificationOptions)); + Notification_descriptor_ = file->message_type(3); + static const int Notification_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, sender_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, target_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, attribute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, creation_time_ms_), + }; + Notification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Notification_descriptor_, + Notification::default_instance_, + Notification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Notification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Notification)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UserDescription_descriptor_, &UserDescription::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Filter_descriptor_, &Filter::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendNotificationOptions_descriptor_, &SendNotificationOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Notification_descriptor_, &Notification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + delete UserDescription::default_instance_; + delete UserDescription_reflection_; + delete Filter::default_instance_; + delete Filter_default_oneof_instance_; + delete Filter_reflection_; + delete SendNotificationOptions::default_instance_; + delete SendNotificationOptions_reflection_; + delete Notification::default_instance_; + delete Notification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + ::bgs::protocol::account::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n&api/client/v2/notification_types.proto" + "\022#bgs.protocol.notification.v2.client\032\023a" + "ccount_types.proto\032\017rpc_types.proto\032#api" + "/common/v2/attribute_types.proto\032\'api/co" + "mmon/v2/game_account_handle.proto\"/\n\017Use" + "rDescription\022\034\n\naccount_id\030\001 \001(\004B\010\212\371+\004\022\002" + "\020\000\"\273\001\n\006Filter\022\022\n\010title_id\030\001 \001(\rH\000\022Q\n\021dep" + "recated_handle\030\002 \001(\0132*.bgs.protocol.acco" + "unt.v1.GameAccountHandleB\010\030\001\222\371+\002 \001H\000\022B\n\014" + "game_account\030\003 \001(\0132*.bgs.protocol.accoun" + "t.v2.GameAccountHandleH\000B\006\n\004type\"\307\001\n\027Sen" + "dNotificationOptions\022\033\n\004type\030\001 \001(\tB\r\212\371+\t" + "\"\007\n\005\010\001\020\200\004\022#\n\021target_account_id\030\002 \001(\004B\010\212\371" + "+\004\022\002\020\000\022;\n\006filter\030\003 \001(\0132+.bgs.protocol.no" + "tification.v2.client.Filter\022-\n\tattribute" + "\030\004 \003(\0132\032.bgs.protocol.v2.Attribute\"\200\002\n\014N" + "otification\022\033\n\004type\030\001 \001(\tB\r\212\371+\t\"\007\n\005\010\001\020\200\004" + "\022D\n\006sender\030\002 \001(\01324.bgs.protocol.notifica" + "tion.v2.client.UserDescription\022D\n\006target" + "\030\003 \001(\01324.bgs.protocol.notification.v2.cl" + "ient.UserDescription\022-\n\tattribute\030\004 \003(\0132" + "\032.bgs.protocol.v2.Attribute\022\030\n\020creation_" + "time_ms\030\005 \001(\004B\002H\002", 897); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/notification_types.proto", &protobuf_RegisterTypes); + UserDescription::default_instance_ = new UserDescription(); + Filter::default_instance_ = new Filter(); + Filter_default_oneof_instance_ = new FilterOneofInstance; + SendNotificationOptions::default_instance_ = new SendNotificationOptions(); + Notification::default_instance_ = new Notification(); + UserDescription::default_instance_->InitAsDefaultInstance(); + Filter::default_instance_->InitAsDefaultInstance(); + SendNotificationOptions::default_instance_->InitAsDefaultInstance(); + Notification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fnotification_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int UserDescription::kAccountIdFieldNumber; +#endif // !_MSC_VER + +UserDescription::UserDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.UserDescription) +} + +void UserDescription::InitAsDefaultInstance() { +} + +UserDescription::UserDescription(const UserDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.UserDescription) +} + +void UserDescription::SharedCtor() { + _cached_size_ = 0; + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UserDescription::~UserDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.UserDescription) + SharedDtor(); +} + +void UserDescription::SharedDtor() { + if (this != default_instance_) { + } +} + +void UserDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UserDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UserDescription_descriptor_; +} + +const UserDescription& UserDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +UserDescription* UserDescription::default_instance_ = NULL; + +UserDescription* UserDescription::New() const { + return new UserDescription; +} + +void UserDescription::Swap(UserDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UserDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UserDescription_descriptor_; + metadata.reflection = UserDescription_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Filter::kTitleIdFieldNumber; +const int Filter::kDeprecatedHandleFieldNumber; +const int Filter::kGameAccountFieldNumber; +#endif // !_MSC_VER + +Filter::Filter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.Filter) +} + +void Filter::InitAsDefaultInstance() { + Filter_default_oneof_instance_->title_id_ = 0u; + Filter_default_oneof_instance_->deprecated_handle_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); + Filter_default_oneof_instance_->game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance()); +} + +Filter::Filter(const Filter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.Filter) +} + +void Filter::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + clear_has_type(); +} + +Filter::~Filter() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.Filter) + SharedDtor(); +} + +void Filter::SharedDtor() { + if (has_type()) { + clear_type(); + } + if (this != default_instance_) { + } +} + +void Filter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Filter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Filter_descriptor_; +} + +const Filter& Filter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +Filter* Filter::default_instance_ = NULL; + +Filter* Filter::New() const { + return new Filter; +} + +void Filter::clear_type() { + switch(type_case()) { + case kTitleId: { + // No need to clear + break; + } + case kDeprecatedHandle: { + delete type_.deprecated_handle_; + break; + } + case kGameAccount: { + delete type_.game_account_; + break; + } + case TYPE_NOT_SET: { + break; + } + } + _oneof_case_[0] = TYPE_NOT_SET; +} + +void Filter::Swap(Filter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Filter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Filter_descriptor_; + metadata.reflection = Filter_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendNotificationOptions::kTypeFieldNumber; +const int SendNotificationOptions::kTargetAccountIdFieldNumber; +const int SendNotificationOptions::kFilterFieldNumber; +const int SendNotificationOptions::kAttributeFieldNumber; +#endif // !_MSC_VER + +SendNotificationOptions::SendNotificationOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.SendNotificationOptions) +} + +void SendNotificationOptions::InitAsDefaultInstance() { + filter_ = const_cast< ::bgs::protocol::notification::v2::client::Filter*>(&::bgs::protocol::notification::v2::client::Filter::default_instance()); +} + +SendNotificationOptions::SendNotificationOptions(const SendNotificationOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.SendNotificationOptions) +} + +void SendNotificationOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + target_account_id_ = GOOGLE_ULONGLONG(0); + filter_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendNotificationOptions::~SendNotificationOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.SendNotificationOptions) + SharedDtor(); +} + +void SendNotificationOptions::SharedDtor() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (this != default_instance_) { + delete filter_; + } +} + +void SendNotificationOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendNotificationOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendNotificationOptions_descriptor_; +} + +const SendNotificationOptions& SendNotificationOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +SendNotificationOptions* SendNotificationOptions::default_instance_ = NULL; + +SendNotificationOptions* SendNotificationOptions::New() const { + return new SendNotificationOptions; +} + +void SendNotificationOptions::Swap(SendNotificationOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendNotificationOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendNotificationOptions_descriptor_; + metadata.reflection = SendNotificationOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Notification::kTypeFieldNumber; +const int Notification::kSenderFieldNumber; +const int Notification::kTargetFieldNumber; +const int Notification::kAttributeFieldNumber; +const int Notification::kCreationTimeMsFieldNumber; +#endif // !_MSC_VER + +Notification::Notification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.notification.v2.client.Notification) +} + +void Notification::InitAsDefaultInstance() { + sender_ = const_cast< ::bgs::protocol::notification::v2::client::UserDescription*>(&::bgs::protocol::notification::v2::client::UserDescription::default_instance()); + target_ = const_cast< ::bgs::protocol::notification::v2::client::UserDescription*>(&::bgs::protocol::notification::v2::client::UserDescription::default_instance()); +} + +Notification::Notification(const Notification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.notification.v2.client.Notification) +} + +void Notification::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sender_ = NULL; + target_ = NULL; + creation_time_ms_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Notification::~Notification() { + // @@protoc_insertion_point(destructor:bgs.protocol.notification.v2.client.Notification) + SharedDtor(); +} + +void Notification::SharedDtor() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (this != default_instance_) { + delete sender_; + delete target_; + } +} + +void Notification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Notification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Notification_descriptor_; +} + +const Notification& Notification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + return *default_instance_; +} + +Notification* Notification::default_instance_ = NULL; + +Notification* Notification::New() const { + return new Notification; +} + +void Notification::Swap(Notification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Notification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Notification_descriptor_; + metadata.reflection = Notification_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/notification_types.pb.h b/src/server/proto/Client/api/client/v2/notification_types.pb.h new file mode 100644 index 00000000000..65ec2f8d15c --- /dev/null +++ b/src/server/proto/Client/api/client/v2/notification_types.pb.h @@ -0,0 +1,1009 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/notification_types.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "account_types.pb.h" +#include "rpc_types.pb.h" +#include "api/common/v2/attribute_types.pb.h" +#include "api/common/v2/game_account_handle.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace notification { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + +class UserDescription; +class Filter; +class SendNotificationOptions; +class Notification; + +// =================================================================== + +class TC_PROTO_API UserDescription : public ::google::protobuf::Message { + public: + UserDescription(); + virtual ~UserDescription(); + + UserDescription(const UserDescription& from); + + inline UserDescription& operator=(const UserDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UserDescription& default_instance(); + + void Swap(UserDescription* other); + + // implements Message ---------------------------------------------- + + UserDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 account_id = 1; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.UserDescription) + private: + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static UserDescription* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Filter : public ::google::protobuf::Message { + public: + Filter(); + virtual ~Filter(); + + Filter(const Filter& from); + + inline Filter& operator=(const Filter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Filter& default_instance(); + + enum TypeCase { + kTitleId = 1, + kDeprecatedHandle = 2, + kGameAccount = 3, + TYPE_NOT_SET = 0, + }; + + void Swap(Filter* other); + + // implements Message ---------------------------------------------- + + Filter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 title_id = 1; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 1; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional .bgs.protocol.account.v1.GameAccountHandle deprecated_handle = 2 [deprecated = true]; + inline bool has_deprecated_handle() const PROTOBUF_DEPRECATED; + inline void clear_deprecated_handle() PROTOBUF_DEPRECATED; + static const int kDeprecatedHandleFieldNumber = 2; + inline const ::bgs::protocol::account::v1::GameAccountHandle& deprecated_handle() const PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_deprecated_handle() PROTOBUF_DEPRECATED; + inline ::bgs::protocol::account::v1::GameAccountHandle* release_deprecated_handle() PROTOBUF_DEPRECATED; + inline void set_allocated_deprecated_handle(::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle) PROTOBUF_DEPRECATED; + + // optional .bgs.protocol.account.v2.GameAccountHandle game_account = 3; + inline bool has_game_account() const; + inline void clear_game_account(); + static const int kGameAccountFieldNumber = 3; + inline const ::bgs::protocol::account::v2::GameAccountHandle& game_account() const; + inline ::bgs::protocol::account::v2::GameAccountHandle* mutable_game_account(); + inline ::bgs::protocol::account::v2::GameAccountHandle* release_game_account(); + inline void set_allocated_game_account(::bgs::protocol::account::v2::GameAccountHandle* game_account); + + inline TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.Filter) + private: + inline void set_has_title_id(); + inline void set_has_deprecated_handle(); + inline void set_has_game_account(); + + inline bool has_type(); + void clear_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + union TypeUnion { + ::google::protobuf::uint32 title_id_; + ::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle_; + ::bgs::protocol::account::v2::GameAccountHandle* game_account_; + } type_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Filter* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendNotificationOptions : public ::google::protobuf::Message { + public: + SendNotificationOptions(); + virtual ~SendNotificationOptions(); + + SendNotificationOptions(const SendNotificationOptions& from); + + inline SendNotificationOptions& operator=(const SendNotificationOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendNotificationOptions& default_instance(); + + void Swap(SendNotificationOptions* other); + + // implements Message ---------------------------------------------- + + SendNotificationOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.notification.v2.client.Filter filter = 3; + inline bool has_filter() const; + inline void clear_filter(); + static const int kFilterFieldNumber = 3; + inline const ::bgs::protocol::notification::v2::client::Filter& filter() const; + inline ::bgs::protocol::notification::v2::client::Filter* mutable_filter(); + inline ::bgs::protocol::notification::v2::client::Filter* release_filter(); + inline void set_allocated_filter(::bgs::protocol::notification::v2::client::Filter* filter); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.SendNotificationOptions) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_filter(); + inline void clear_has_filter(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* type_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::notification::v2::client::Filter* filter_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SendNotificationOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Notification : public ::google::protobuf::Message { + public: + Notification(); + virtual ~Notification(); + + Notification(const Notification& from); + + inline Notification& operator=(const Notification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Notification& default_instance(); + + void Swap(Notification* other); + + // implements Message ---------------------------------------------- + + Notification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional .bgs.protocol.notification.v2.client.UserDescription sender = 2; + inline bool has_sender() const; + inline void clear_sender(); + static const int kSenderFieldNumber = 2; + inline const ::bgs::protocol::notification::v2::client::UserDescription& sender() const; + inline ::bgs::protocol::notification::v2::client::UserDescription* mutable_sender(); + inline ::bgs::protocol::notification::v2::client::UserDescription* release_sender(); + inline void set_allocated_sender(::bgs::protocol::notification::v2::client::UserDescription* sender); + + // optional .bgs.protocol.notification.v2.client.UserDescription target = 3; + inline bool has_target() const; + inline void clear_target(); + static const int kTargetFieldNumber = 3; + inline const ::bgs::protocol::notification::v2::client::UserDescription& target() const; + inline ::bgs::protocol::notification::v2::client::UserDescription* mutable_target(); + inline ::bgs::protocol::notification::v2::client::UserDescription* release_target(); + inline void set_allocated_target(::bgs::protocol::notification::v2::client::UserDescription* target); + + // repeated .bgs.protocol.v2.Attribute attribute = 4; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 4; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // optional uint64 creation_time_ms = 5; + inline bool has_creation_time_ms() const; + inline void clear_creation_time_ms(); + static const int kCreationTimeMsFieldNumber = 5; + inline ::google::protobuf::uint64 creation_time_ms() const; + inline void set_creation_time_ms(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v2.client.Notification) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_sender(); + inline void clear_has_sender(); + inline void set_has_target(); + inline void clear_has_target(); + inline void set_has_creation_time_ms(); + inline void clear_has_creation_time_ms(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* type_; + ::bgs::protocol::notification::v2::client::UserDescription* sender_; + ::bgs::protocol::notification::v2::client::UserDescription* target_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + ::google::protobuf::uint64 creation_time_ms_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fnotification_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Notification* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// UserDescription + +// optional uint64 account_id = 1; +inline bool UserDescription::has_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UserDescription::set_has_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void UserDescription::clear_has_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UserDescription::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 UserDescription::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.UserDescription.account_id) + return account_id_; +} +inline void UserDescription::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.UserDescription.account_id) +} + +// ------------------------------------------------------------------- + +// Filter + +// optional uint32 title_id = 1; +inline bool Filter::has_title_id() const { + return type_case() == kTitleId; +} +inline void Filter::set_has_title_id() { + _oneof_case_[0] = kTitleId; +} +inline void Filter::clear_title_id() { + if (has_title_id()) { + type_.title_id_ = 0u; + clear_has_type(); + } +} +inline ::google::protobuf::uint32 Filter::title_id() const { + if (has_title_id()) { + return type_.title_id_; + } + return 0u; +} +inline void Filter::set_title_id(::google::protobuf::uint32 value) { + if (!has_title_id()) { + clear_type(); + set_has_title_id(); + } + type_.title_id_ = value; +} + +// optional .bgs.protocol.account.v1.GameAccountHandle deprecated_handle = 2 [deprecated = true]; +inline bool Filter::has_deprecated_handle() const { + return type_case() == kDeprecatedHandle; +} +inline void Filter::set_has_deprecated_handle() { + _oneof_case_[0] = kDeprecatedHandle; +} +inline void Filter::clear_deprecated_handle() { + if (has_deprecated_handle()) { + delete type_.deprecated_handle_; + clear_has_type(); + } +} +inline const ::bgs::protocol::account::v1::GameAccountHandle& Filter::deprecated_handle() const { + return has_deprecated_handle() ? *type_.deprecated_handle_ + : ::bgs::protocol::account::v1::GameAccountHandle::default_instance(); +} +inline ::bgs::protocol::account::v1::GameAccountHandle* Filter::mutable_deprecated_handle() { + if (!has_deprecated_handle()) { + clear_type(); + set_has_deprecated_handle(); + type_.deprecated_handle_ = new ::bgs::protocol::account::v1::GameAccountHandle; + } + return type_.deprecated_handle_; +} +inline ::bgs::protocol::account::v1::GameAccountHandle* Filter::release_deprecated_handle() { + if (has_deprecated_handle()) { + clear_has_type(); + ::bgs::protocol::account::v1::GameAccountHandle* temp = type_.deprecated_handle_; + type_.deprecated_handle_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Filter::set_allocated_deprecated_handle(::bgs::protocol::account::v1::GameAccountHandle* deprecated_handle) { + clear_type(); + if (deprecated_handle) { + set_has_deprecated_handle(); + type_.deprecated_handle_ = deprecated_handle; + } +} + +// optional .bgs.protocol.account.v2.GameAccountHandle game_account = 3; +inline bool Filter::has_game_account() const { + return type_case() == kGameAccount; +} +inline void Filter::set_has_game_account() { + _oneof_case_[0] = kGameAccount; +} +inline void Filter::clear_game_account() { + if (has_game_account()) { + delete type_.game_account_; + clear_has_type(); + } +} +inline const ::bgs::protocol::account::v2::GameAccountHandle& Filter::game_account() const { + return has_game_account() ? *type_.game_account_ + : ::bgs::protocol::account::v2::GameAccountHandle::default_instance(); +} +inline ::bgs::protocol::account::v2::GameAccountHandle* Filter::mutable_game_account() { + if (!has_game_account()) { + clear_type(); + set_has_game_account(); + type_.game_account_ = new ::bgs::protocol::account::v2::GameAccountHandle; + } + return type_.game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* Filter::release_game_account() { + if (has_game_account()) { + clear_has_type(); + ::bgs::protocol::account::v2::GameAccountHandle* temp = type_.game_account_; + type_.game_account_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Filter::set_allocated_game_account(::bgs::protocol::account::v2::GameAccountHandle* game_account) { + clear_type(); + if (game_account) { + set_has_game_account(); + type_.game_account_ = game_account; + } +} + +inline bool Filter::has_type() { + return type_case() != TYPE_NOT_SET; +} +inline void Filter::clear_has_type() { + _oneof_case_[0] = TYPE_NOT_SET; +} +inline Filter::TypeCase Filter::type_case() const { + return Filter::TypeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// SendNotificationOptions + +// optional string type = 1; +inline bool SendNotificationOptions::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendNotificationOptions::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendNotificationOptions::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendNotificationOptions::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& SendNotificationOptions::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.type) + return *type_; +} +inline void SendNotificationOptions::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline void SendNotificationOptions::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline void SendNotificationOptions::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} +inline ::std::string* SendNotificationOptions::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.type) + return type_; +} +inline ::std::string* SendNotificationOptions::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SendNotificationOptions::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationOptions.type) +} + +// optional uint64 target_account_id = 2; +inline bool SendNotificationOptions::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendNotificationOptions::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendNotificationOptions::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendNotificationOptions::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SendNotificationOptions::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.target_account_id) + return target_account_id_; +} +inline void SendNotificationOptions::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.SendNotificationOptions.target_account_id) +} + +// optional .bgs.protocol.notification.v2.client.Filter filter = 3; +inline bool SendNotificationOptions::has_filter() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SendNotificationOptions::set_has_filter() { + _has_bits_[0] |= 0x00000004u; +} +inline void SendNotificationOptions::clear_has_filter() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SendNotificationOptions::clear_filter() { + if (filter_ != NULL) filter_->::bgs::protocol::notification::v2::client::Filter::Clear(); + clear_has_filter(); +} +inline const ::bgs::protocol::notification::v2::client::Filter& SendNotificationOptions::filter() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) + return filter_ != NULL ? *filter_ : *default_instance_->filter_; +} +inline ::bgs::protocol::notification::v2::client::Filter* SendNotificationOptions::mutable_filter() { + set_has_filter(); + if (filter_ == NULL) filter_ = new ::bgs::protocol::notification::v2::client::Filter; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) + return filter_; +} +inline ::bgs::protocol::notification::v2::client::Filter* SendNotificationOptions::release_filter() { + clear_has_filter(); + ::bgs::protocol::notification::v2::client::Filter* temp = filter_; + filter_ = NULL; + return temp; +} +inline void SendNotificationOptions::set_allocated_filter(::bgs::protocol::notification::v2::client::Filter* filter) { + delete filter_; + filter_ = filter; + if (filter) { + set_has_filter(); + } else { + clear_has_filter(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.SendNotificationOptions.filter) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int SendNotificationOptions::attribute_size() const { + return attribute_.size(); +} +inline void SendNotificationOptions::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& SendNotificationOptions::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* SendNotificationOptions::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* SendNotificationOptions::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +SendNotificationOptions::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +SendNotificationOptions::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v2.client.SendNotificationOptions.attribute) + return &attribute_; +} + +// ------------------------------------------------------------------- + +// Notification + +// optional string type = 1; +inline bool Notification::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Notification::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void Notification::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Notification::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& Notification::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.type) + return *type_; +} +inline void Notification::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.Notification.type) +} +inline void Notification::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v2.client.Notification.type) +} +inline void Notification::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v2.client.Notification.type) +} +inline ::std::string* Notification::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.type) + return type_; +} +inline ::std::string* Notification::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Notification::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.type) +} + +// optional .bgs.protocol.notification.v2.client.UserDescription sender = 2; +inline bool Notification::has_sender() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Notification::set_has_sender() { + _has_bits_[0] |= 0x00000002u; +} +inline void Notification::clear_has_sender() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Notification::clear_sender() { + if (sender_ != NULL) sender_->::bgs::protocol::notification::v2::client::UserDescription::Clear(); + clear_has_sender(); +} +inline const ::bgs::protocol::notification::v2::client::UserDescription& Notification::sender() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.sender) + return sender_ != NULL ? *sender_ : *default_instance_->sender_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::mutable_sender() { + set_has_sender(); + if (sender_ == NULL) sender_ = new ::bgs::protocol::notification::v2::client::UserDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.sender) + return sender_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::release_sender() { + clear_has_sender(); + ::bgs::protocol::notification::v2::client::UserDescription* temp = sender_; + sender_ = NULL; + return temp; +} +inline void Notification::set_allocated_sender(::bgs::protocol::notification::v2::client::UserDescription* sender) { + delete sender_; + sender_ = sender; + if (sender) { + set_has_sender(); + } else { + clear_has_sender(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.sender) +} + +// optional .bgs.protocol.notification.v2.client.UserDescription target = 3; +inline bool Notification::has_target() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Notification::set_has_target() { + _has_bits_[0] |= 0x00000004u; +} +inline void Notification::clear_has_target() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Notification::clear_target() { + if (target_ != NULL) target_->::bgs::protocol::notification::v2::client::UserDescription::Clear(); + clear_has_target(); +} +inline const ::bgs::protocol::notification::v2::client::UserDescription& Notification::target() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.target) + return target_ != NULL ? *target_ : *default_instance_->target_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::mutable_target() { + set_has_target(); + if (target_ == NULL) target_ = new ::bgs::protocol::notification::v2::client::UserDescription; + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.target) + return target_; +} +inline ::bgs::protocol::notification::v2::client::UserDescription* Notification::release_target() { + clear_has_target(); + ::bgs::protocol::notification::v2::client::UserDescription* temp = target_; + target_ = NULL; + return temp; +} +inline void Notification::set_allocated_target(::bgs::protocol::notification::v2::client::UserDescription* target) { + delete target_; + target_ = target; + if (target) { + set_has_target(); + } else { + clear_has_target(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v2.client.Notification.target) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 4; +inline int Notification::attribute_size() const { + return attribute_.size(); +} +inline void Notification::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& Notification::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* Notification::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* Notification::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +Notification::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.notification.v2.client.Notification.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +Notification::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v2.client.Notification.attribute) + return &attribute_; +} + +// optional uint64 creation_time_ms = 5; +inline bool Notification::has_creation_time_ms() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Notification::set_has_creation_time_ms() { + _has_bits_[0] |= 0x00000010u; +} +inline void Notification::clear_has_creation_time_ms() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Notification::clear_creation_time_ms() { + creation_time_ms_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time_ms(); +} +inline ::google::protobuf::uint64 Notification::creation_time_ms() const { + // @@protoc_insertion_point(field_get:bgs.protocol.notification.v2.client.Notification.creation_time_ms) + return creation_time_ms_; +} +inline void Notification::set_creation_time_ms(::google::protobuf::uint64 value) { + set_has_creation_time_ms(); + creation_time_ms_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.notification.v2.client.Notification.creation_time_ms) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace notification +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fnotification_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.cc b/src/server/proto/Client/api/client/v2/report_types.pb.cc index 33794e7fe54..0d16870be2f 100644 --- a/src/server/proto/Client/api/client/v2/report_types.pb.cc +++ b/src/server/proto/Client/api/client/v2/report_types.pb.cc @@ -167,15 +167,15 @@ void protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); + ::bgs::protocol::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n api/client/v2/report_types.proto\022\026bgs." - "protocol.report.v2\032#api/client/v2/attrib" - "ute_types.proto\032\023account_types.proto\032\023me" - "ssage_types.proto\032%global_extensions/fie" + "protocol.report.v2\032\023account_types.proto\032" + "\023message_types.proto\032#api/common/v2/attr" + "ibute_types.proto\032%global_extensions/fie" "ld_options.proto\"C\n\nReportItem\022-\n\nmessag" "e_id\030\001 \001(\0132\027.bgs.protocol.MessageIdH\000B\006\n" "\004type\"\333\001\n\013UserOptions\0225\n\ttarget_id\030\001 \001(\013" diff --git a/src/server/proto/Client/api/client/v2/report_types.pb.h b/src/server/proto/Client/api/client/v2/report_types.pb.h index 3a03f338658..669f0e2d8c9 100644 --- a/src/server/proto/Client/api/client/v2/report_types.pb.h +++ b/src/server/proto/Client/api/client/v2/report_types.pb.h @@ -25,9 +25,9 @@ #include #include #include -#include "api/client/v2/attribute_types.pb.h" #include "account_types.pb.h" #include "message_types.pb.h" +#include "api/common/v2/attribute_types.pb.h" #include "global_extensions/field_options.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) diff --git a/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc b/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc new file mode 100644 index 00000000000..0f6dd426b90 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_listener.pb.cc @@ -0,0 +1,805 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_listener.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/whisper_listener.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* WhisperNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperEchoNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperEchoNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperUpdatedNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperUpdatedNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* TypingIndicatorNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TypingIndicatorNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceViewTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceViewTimeNotification_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceClearTimeNotification_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceClearTimeNotification_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* WhisperListener_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/whisper_listener.proto"); + GOOGLE_CHECK(file != NULL); + WhisperNotification_descriptor_ = file->message_type(0); + static const int WhisperNotification_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, whisper_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, target_battle_tag_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, target_game_account_), + }; + WhisperNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperNotification_descriptor_, + WhisperNotification::default_instance_, + WhisperNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperNotification)); + WhisperEchoNotification_descriptor_ = file->message_type(1); + static const int WhisperEchoNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, whisper_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, message_origin_), + }; + WhisperEchoNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperEchoNotification_descriptor_, + WhisperEchoNotification::default_instance_, + WhisperEchoNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperEchoNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperEchoNotification)); + WhisperUpdatedNotification_descriptor_ = file->message_type(2); + static const int WhisperUpdatedNotification_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, whisper_), + }; + WhisperUpdatedNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperUpdatedNotification_descriptor_, + WhisperUpdatedNotification::default_instance_, + WhisperUpdatedNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperUpdatedNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperUpdatedNotification)); + TypingIndicatorNotification_descriptor_ = file->message_type(3); + static const int TypingIndicatorNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, indicator_), + }; + TypingIndicatorNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TypingIndicatorNotification_descriptor_, + TypingIndicatorNotification::default_instance_, + TypingIndicatorNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TypingIndicatorNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TypingIndicatorNotification)); + AdvanceViewTimeNotification_descriptor_ = file->message_type(4); + static const int AdvanceViewTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, view_time_us_), + }; + AdvanceViewTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceViewTimeNotification_descriptor_, + AdvanceViewTimeNotification::default_instance_, + AdvanceViewTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceViewTimeNotification)); + AdvanceClearTimeNotification_descriptor_ = file->message_type(5); + static const int AdvanceClearTimeNotification_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, subscriber_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, clear_time_us_), + }; + AdvanceClearTimeNotification_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceClearTimeNotification_descriptor_, + AdvanceClearTimeNotification::default_instance_, + AdvanceClearTimeNotification_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeNotification, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceClearTimeNotification)); + WhisperListener_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperNotification_descriptor_, &WhisperNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperEchoNotification_descriptor_, &WhisperEchoNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperUpdatedNotification_descriptor_, &WhisperUpdatedNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TypingIndicatorNotification_descriptor_, &TypingIndicatorNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceViewTimeNotification_descriptor_, &AdvanceViewTimeNotification::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceClearTimeNotification_descriptor_, &AdvanceClearTimeNotification::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + delete WhisperNotification::default_instance_; + delete WhisperNotification_reflection_; + delete WhisperEchoNotification::default_instance_; + delete WhisperEchoNotification_reflection_; + delete WhisperUpdatedNotification::default_instance_; + delete WhisperUpdatedNotification_reflection_; + delete TypingIndicatorNotification::default_instance_; + delete TypingIndicatorNotification_reflection_; + delete AdvanceViewTimeNotification::default_instance_; + delete AdvanceViewTimeNotification_reflection_; + delete AdvanceClearTimeNotification::default_instance_; + delete AdvanceClearTimeNotification_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::account::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + ::bgs::protocol::whisper::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/client/v2/whisper_listener.proto\022\036" + "bgs.protocol.whisper.v2.client\032!api/comm" + "on/v1/message_types.proto\032\'api/common/v2" + "/game_account_handle.proto\032!api/common/v" + "2/whisper_types.proto\032\017rpc_types.proto\"\323" + "\001\n\023WhisperNotification\022\035\n\025subscriber_acc" + "ount_id\030\001 \001(\004\0221\n\007whisper\030\002 \001(\0132 .bgs.pro" + "tocol.whisper.v2.Whisper\022!\n\021target_battl" + "e_tag\030\003 \001(\tB\006\202\371+\002\010\001\022G\n\023target_game_accou" + "nt\030\004 \001(\0132*.bgs.protocol.account.v2.GameA" + "ccountHandle\"\230\001\n\027WhisperEchoNotification" + "\022\035\n\025subscriber_account_id\030\001 \001(\004\0221\n\007whisp" + "er\030\002 \001(\0132 .bgs.protocol.whisper.v2.Whisp" + "er\022+\n\016message_origin\030\003 \001(\rB\023\202\371+\017*\rMessag" + "eOrigin\"n\n\032WhisperUpdatedNotification\022\035\n" + "\025subscriber_account_id\030\001 \001(\004\0221\n\007whisper\030" + "\002 \001(\0132 .bgs.protocol.whisper.v2.Whisper\"" + "\211\001\n\033TypingIndicatorNotification\022\035\n\025subsc" + "riber_account_id\030\001 \001(\004\022\031\n\021target_account" + "_id\030\002 \001(\004\0220\n\tindicator\030\003 \001(\0162\035.bgs.proto" + "col.TypingIndicator\"m\n\033AdvanceViewTimeNo" + "tification\022\035\n\025subscriber_account_id\030\001 \001(" + "\004\022\031\n\021target_account_id\030\002 \001(\004\022\024\n\014view_tim" + "e_us\030\003 \001(\004\"o\n\034AdvanceClearTimeNotificati" + "on\022\035\n\025subscriber_account_id\030\001 \001(\004\022\031\n\021tar" + "get_account_id\030\002 \001(\004\022\025\n\rclear_time_us\030\003 " + "\001(\0042\372\005\n\017WhisperListener\022e\n\tOnWhisper\0223.b" + "gs.protocol.whisper.v2.client.WhisperNot" + "ification\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371" + "+\004\010\0018\001\022k\n\rOnWhisperEcho\0227.bgs.protocol.w" + "hisper.v2.client.WhisperEchoNotification" + "\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022q\n\020O" + "nWhisperUpdated\022:.bgs.protocol.whisper.v" + "2.client.WhisperUpdatedNotification\032\031.bg" + "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\003\022s\n\021OnAdva" + "nceViewTime\022;.bgs.protocol.whisper.v2.cl" + "ient.AdvanceViewTimeNotification\032\031.bgs.p" + "rotocol.NO_RESPONSE\"\006\202\371+\002\010\004\022u\n\022OnAdvance" + "ClearTime\022<.bgs.protocol.whisper.v2.clie" + "nt.AdvanceClearTimeNotification\032\031.bgs.pr" + "otocol.NO_RESPONSE\"\006\202\371+\002\010\005\022s\n\021OnTypingIn" + "dicator\022;.bgs.protocol.whisper.v2.client" + ".TypingIndicatorNotification\032\031.bgs.proto" + "col.NO_RESPONSE\"\006\202\371+\002\010\006\032\?\202\371+3\n/bnet.prot" + "ocol.whisper.v2.client.WhisperListener8\001" + "\212\371+\004\010\001\030\001B\002H\002", 1812); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/whisper_listener.proto", &protobuf_RegisterTypes); + WhisperNotification::default_instance_ = new WhisperNotification(); + WhisperEchoNotification::default_instance_ = new WhisperEchoNotification(); + WhisperUpdatedNotification::default_instance_ = new WhisperUpdatedNotification(); + TypingIndicatorNotification::default_instance_ = new TypingIndicatorNotification(); + AdvanceViewTimeNotification::default_instance_ = new AdvanceViewTimeNotification(); + AdvanceClearTimeNotification::default_instance_ = new AdvanceClearTimeNotification(); + WhisperNotification::default_instance_->InitAsDefaultInstance(); + WhisperEchoNotification::default_instance_->InitAsDefaultInstance(); + WhisperUpdatedNotification::default_instance_->InitAsDefaultInstance(); + TypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); + AdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); + AdvanceClearTimeNotification::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fwhisper_5flistener_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int WhisperNotification::kSubscriberAccountIdFieldNumber; +const int WhisperNotification::kWhisperFieldNumber; +const int WhisperNotification::kTargetBattleTagFieldNumber; +const int WhisperNotification::kTargetGameAccountFieldNumber; +#endif // !_MSC_VER + +WhisperNotification::WhisperNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperNotification) +} + +void WhisperNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); + target_game_account_ = const_cast< ::bgs::protocol::account::v2::GameAccountHandle*>(&::bgs::protocol::account::v2::GameAccountHandle::default_instance()); +} + +WhisperNotification::WhisperNotification(const WhisperNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperNotification) +} + +void WhisperNotification::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + target_game_account_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperNotification::~WhisperNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperNotification) + SharedDtor(); +} + +void WhisperNotification::SharedDtor() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (this != default_instance_) { + delete whisper_; + delete target_game_account_; + } +} + +void WhisperNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperNotification_descriptor_; +} + +const WhisperNotification& WhisperNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperNotification* WhisperNotification::default_instance_ = NULL; + +WhisperNotification* WhisperNotification::New() const { + return new WhisperNotification; +} + +void WhisperNotification::Swap(WhisperNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperNotification_descriptor_; + metadata.reflection = WhisperNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperEchoNotification::kSubscriberAccountIdFieldNumber; +const int WhisperEchoNotification::kWhisperFieldNumber; +const int WhisperEchoNotification::kMessageOriginFieldNumber; +#endif // !_MSC_VER + +WhisperEchoNotification::WhisperEchoNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) +} + +void WhisperEchoNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +WhisperEchoNotification::WhisperEchoNotification(const WhisperEchoNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) +} + +void WhisperEchoNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + message_origin_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperEchoNotification::~WhisperEchoNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperEchoNotification) + SharedDtor(); +} + +void WhisperEchoNotification::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void WhisperEchoNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperEchoNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperEchoNotification_descriptor_; +} + +const WhisperEchoNotification& WhisperEchoNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperEchoNotification* WhisperEchoNotification::default_instance_ = NULL; + +WhisperEchoNotification* WhisperEchoNotification::New() const { + return new WhisperEchoNotification; +} + +void WhisperEchoNotification::Swap(WhisperEchoNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperEchoNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperEchoNotification_descriptor_; + metadata.reflection = WhisperEchoNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperUpdatedNotification::kSubscriberAccountIdFieldNumber; +const int WhisperUpdatedNotification::kWhisperFieldNumber; +#endif // !_MSC_VER + +WhisperUpdatedNotification::WhisperUpdatedNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) +} + +void WhisperUpdatedNotification::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +WhisperUpdatedNotification::WhisperUpdatedNotification(const WhisperUpdatedNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) +} + +void WhisperUpdatedNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + whisper_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperUpdatedNotification::~WhisperUpdatedNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) + SharedDtor(); +} + +void WhisperUpdatedNotification::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void WhisperUpdatedNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperUpdatedNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperUpdatedNotification_descriptor_; +} + +const WhisperUpdatedNotification& WhisperUpdatedNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +WhisperUpdatedNotification* WhisperUpdatedNotification::default_instance_ = NULL; + +WhisperUpdatedNotification* WhisperUpdatedNotification::New() const { + return new WhisperUpdatedNotification; +} + +void WhisperUpdatedNotification::Swap(WhisperUpdatedNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperUpdatedNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperUpdatedNotification_descriptor_; + metadata.reflection = WhisperUpdatedNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int TypingIndicatorNotification::kSubscriberAccountIdFieldNumber; +const int TypingIndicatorNotification::kTargetAccountIdFieldNumber; +const int TypingIndicatorNotification::kIndicatorFieldNumber; +#endif // !_MSC_VER + +TypingIndicatorNotification::TypingIndicatorNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) +} + +void TypingIndicatorNotification::InitAsDefaultInstance() { +} + +TypingIndicatorNotification::TypingIndicatorNotification(const TypingIndicatorNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) +} + +void TypingIndicatorNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TypingIndicatorNotification::~TypingIndicatorNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) + SharedDtor(); +} + +void TypingIndicatorNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void TypingIndicatorNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TypingIndicatorNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TypingIndicatorNotification_descriptor_; +} + +const TypingIndicatorNotification& TypingIndicatorNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +TypingIndicatorNotification* TypingIndicatorNotification::default_instance_ = NULL; + +TypingIndicatorNotification* TypingIndicatorNotification::New() const { + return new TypingIndicatorNotification; +} + +void TypingIndicatorNotification::Swap(TypingIndicatorNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TypingIndicatorNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TypingIndicatorNotification_descriptor_; + metadata.reflection = TypingIndicatorNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceViewTimeNotification::kSubscriberAccountIdFieldNumber; +const int AdvanceViewTimeNotification::kTargetAccountIdFieldNumber; +const int AdvanceViewTimeNotification::kViewTimeUsFieldNumber; +#endif // !_MSC_VER + +AdvanceViewTimeNotification::AdvanceViewTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) +} + +void AdvanceViewTimeNotification::InitAsDefaultInstance() { +} + +AdvanceViewTimeNotification::AdvanceViewTimeNotification(const AdvanceViewTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) +} + +void AdvanceViewTimeNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + view_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceViewTimeNotification::~AdvanceViewTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) + SharedDtor(); +} + +void AdvanceViewTimeNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceViewTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceViewTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceViewTimeNotification_descriptor_; +} + +const AdvanceViewTimeNotification& AdvanceViewTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +AdvanceViewTimeNotification* AdvanceViewTimeNotification::default_instance_ = NULL; + +AdvanceViewTimeNotification* AdvanceViewTimeNotification::New() const { + return new AdvanceViewTimeNotification; +} + +void AdvanceViewTimeNotification::Swap(AdvanceViewTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceViewTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceViewTimeNotification_descriptor_; + metadata.reflection = AdvanceViewTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceClearTimeNotification::kSubscriberAccountIdFieldNumber; +const int AdvanceClearTimeNotification::kTargetAccountIdFieldNumber; +const int AdvanceClearTimeNotification::kClearTimeUsFieldNumber; +#endif // !_MSC_VER + +AdvanceClearTimeNotification::AdvanceClearTimeNotification() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) +} + +void AdvanceClearTimeNotification::InitAsDefaultInstance() { +} + +AdvanceClearTimeNotification::AdvanceClearTimeNotification(const AdvanceClearTimeNotification& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) +} + +void AdvanceClearTimeNotification::SharedCtor() { + _cached_size_ = 0; + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_time_us_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceClearTimeNotification::~AdvanceClearTimeNotification() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) + SharedDtor(); +} + +void AdvanceClearTimeNotification::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceClearTimeNotification::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceClearTimeNotification::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceClearTimeNotification_descriptor_; +} + +const AdvanceClearTimeNotification& AdvanceClearTimeNotification::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + return *default_instance_; +} + +AdvanceClearTimeNotification* AdvanceClearTimeNotification::default_instance_ = NULL; + +AdvanceClearTimeNotification* AdvanceClearTimeNotification::New() const { + return new AdvanceClearTimeNotification; +} + +void AdvanceClearTimeNotification::Swap(AdvanceClearTimeNotification* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceClearTimeNotification::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceClearTimeNotification_descriptor_; + metadata.reflection = AdvanceClearTimeNotification_reflection_; + return metadata; +} + +// =================================================================== + +WhisperListener::WhisperListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +WhisperListener::~WhisperListener() { +} + +google::protobuf::ServiceDescriptor const* WhisperListener::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperListener_descriptor_; +} + +void WhisperListener::OnWhisper(::bgs::protocol::whisper::v2::client::WhisperNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisper", "bgs.protocol.whisper.v2.client.WhisperNotification", request); + SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnWhisperEcho(::bgs::protocol::whisper::v2::client::WhisperEchoNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisperEcho", "bgs.protocol.whisper.v2.client.WhisperEchoNotification", request); + SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnWhisperUpdated(::bgs::protocol::whisper::v2::client::WhisperUpdatedNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnWhisperUpdated", "bgs.protocol.whisper.v2.client.WhisperUpdatedNotification", request); + SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnAdvanceViewTime", "bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification", request); + SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnAdvanceClearTime", "bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification", request); + SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::OnTypingIndicator(::bgs::protocol::whisper::v2::client::TypingIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { + LogCallClientMethod("WhisperListener.OnTypingIndicator", "bgs.protocol.whisper.v2.client.TypingIndicatorNotification", request); + SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); +} + +void WhisperListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { + LogDisallowedMethod(methodId); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/whisper_listener.pb.h b/src/server/proto/Client/api/client/v2/whisper_listener.pb.h new file mode 100644 index 00000000000..049d2b6155d --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_listener.pb.h @@ -0,0 +1,1209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_listener.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/message_types.pb.h" +#include "api/common/v2/game_account_handle.pb.h" +#include "api/common/v2/whisper_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + +class WhisperNotification; +class WhisperEchoNotification; +class WhisperUpdatedNotification; +class TypingIndicatorNotification; +class AdvanceViewTimeNotification; +class AdvanceClearTimeNotification; + +// =================================================================== + +class TC_PROTO_API WhisperNotification : public ::google::protobuf::Message { + public: + WhisperNotification(); + virtual ~WhisperNotification(); + + WhisperNotification(const WhisperNotification& from); + + inline WhisperNotification& operator=(const WhisperNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperNotification& default_instance(); + + void Swap(WhisperNotification* other); + + // implements Message ---------------------------------------------- + + WhisperNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // optional string target_battle_tag = 3; + inline bool has_target_battle_tag() const; + inline void clear_target_battle_tag(); + static const int kTargetBattleTagFieldNumber = 3; + inline const ::std::string& target_battle_tag() const; + inline void set_target_battle_tag(const ::std::string& value); + inline void set_target_battle_tag(const char* value); + inline void set_target_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_target_battle_tag(); + inline ::std::string* release_target_battle_tag(); + inline void set_allocated_target_battle_tag(::std::string* target_battle_tag); + + // optional .bgs.protocol.account.v2.GameAccountHandle target_game_account = 4; + inline bool has_target_game_account() const; + inline void clear_target_game_account(); + static const int kTargetGameAccountFieldNumber = 4; + inline const ::bgs::protocol::account::v2::GameAccountHandle& target_game_account() const; + inline ::bgs::protocol::account::v2::GameAccountHandle* mutable_target_game_account(); + inline ::bgs::protocol::account::v2::GameAccountHandle* release_target_game_account(); + inline void set_allocated_target_game_account(::bgs::protocol::account::v2::GameAccountHandle* target_game_account); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + inline void set_has_target_battle_tag(); + inline void clear_has_target_battle_tag(); + inline void set_has_target_game_account(); + inline void clear_has_target_game_account(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + ::std::string* target_battle_tag_; + ::bgs::protocol::account::v2::GameAccountHandle* target_game_account_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperEchoNotification : public ::google::protobuf::Message { + public: + WhisperEchoNotification(); + virtual ~WhisperEchoNotification(); + + WhisperEchoNotification(const WhisperEchoNotification& from); + + inline WhisperEchoNotification& operator=(const WhisperEchoNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperEchoNotification& default_instance(); + + void Swap(WhisperEchoNotification* other); + + // implements Message ---------------------------------------------- + + WhisperEchoNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // optional uint32 message_origin = 3; + inline bool has_message_origin() const; + inline void clear_message_origin(); + static const int kMessageOriginFieldNumber = 3; + inline ::google::protobuf::uint32 message_origin() const; + inline void set_message_origin(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperEchoNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + inline void set_has_message_origin(); + inline void clear_has_message_origin(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + ::google::protobuf::uint32 message_origin_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperEchoNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperUpdatedNotification : public ::google::protobuf::Message { + public: + WhisperUpdatedNotification(); + virtual ~WhisperUpdatedNotification(); + + WhisperUpdatedNotification(const WhisperUpdatedNotification& from); + + inline WhisperUpdatedNotification& operator=(const WhisperUpdatedNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperUpdatedNotification& default_instance(); + + void Swap(WhisperUpdatedNotification* other); + + // implements Message ---------------------------------------------- + + WhisperUpdatedNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 2; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_whisper(); + inline void clear_has_whisper(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static WhisperUpdatedNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API TypingIndicatorNotification : public ::google::protobuf::Message { + public: + TypingIndicatorNotification(); + virtual ~TypingIndicatorNotification(); + + TypingIndicatorNotification(const TypingIndicatorNotification& from); + + inline TypingIndicatorNotification& operator=(const TypingIndicatorNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TypingIndicatorNotification& default_instance(); + + void Swap(TypingIndicatorNotification* other); + + // implements Message ---------------------------------------------- + + TypingIndicatorNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 3; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 3; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.TypingIndicatorNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static TypingIndicatorNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceViewTimeNotification : public ::google::protobuf::Message { + public: + AdvanceViewTimeNotification(); + virtual ~AdvanceViewTimeNotification(); + + AdvanceViewTimeNotification(const AdvanceViewTimeNotification& from); + + inline AdvanceViewTimeNotification& operator=(const AdvanceViewTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceViewTimeNotification& default_instance(); + + void Swap(AdvanceViewTimeNotification* other); + + // implements Message ---------------------------------------------- + + AdvanceViewTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional uint64 view_time_us = 3; + inline bool has_view_time_us() const; + inline void clear_view_time_us(); + static const int kViewTimeUsFieldNumber = 3; + inline ::google::protobuf::uint64 view_time_us() const; + inline void set_view_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_view_time_us(); + inline void clear_has_view_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + ::google::protobuf::uint64 view_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceViewTimeNotification* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceClearTimeNotification : public ::google::protobuf::Message { + public: + AdvanceClearTimeNotification(); + virtual ~AdvanceClearTimeNotification(); + + AdvanceClearTimeNotification(const AdvanceClearTimeNotification& from); + + inline AdvanceClearTimeNotification& operator=(const AdvanceClearTimeNotification& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceClearTimeNotification& default_instance(); + + void Swap(AdvanceClearTimeNotification* other); + + // implements Message ---------------------------------------------- + + AdvanceClearTimeNotification* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 subscriber_account_id = 1; + inline bool has_subscriber_account_id() const; + inline void clear_subscriber_account_id(); + static const int kSubscriberAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 subscriber_account_id() const; + inline void set_subscriber_account_id(::google::protobuf::uint64 value); + + // optional uint64 target_account_id = 2; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional uint64 clear_time_us = 3; + inline bool has_clear_time_us() const; + inline void clear_clear_time_us(); + static const int kClearTimeUsFieldNumber = 3; + inline ::google::protobuf::uint64 clear_time_us() const; + inline void set_clear_time_us(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification) + private: + inline void set_has_subscriber_account_id(); + inline void clear_has_subscriber_account_id(); + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_clear_time_us(); + inline void clear_has_clear_time_us(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 subscriber_account_id_; + ::google::protobuf::uint64 target_account_id_; + ::google::protobuf::uint64 clear_time_us_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5flistener_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceClearTimeNotification* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API WhisperListener : public ServiceBase +{ + public: + + explicit WhisperListener(bool use_original_hash); + WhisperListener(WhisperListener const&) = delete; + WhisperListener(WhisperListener&&) = delete; + WhisperListener& operator=(WhisperListener const&) = delete; + WhisperListener& operator=(WhisperListener&&) = delete; + virtual ~WhisperListener(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + // client methods -------------------------------------------------- + void OnWhisper(::bgs::protocol::whisper::v2::client::WhisperNotification const* request, bool client = false, bool server = false); + void OnWhisperEcho(::bgs::protocol::whisper::v2::client::WhisperEchoNotification const* request, bool client = false, bool server = false); + void OnWhisperUpdated(::bgs::protocol::whisper::v2::client::WhisperUpdatedNotification const* request, bool client = false, bool server = false); + void OnAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeNotification const* request, bool client = false, bool server = false); + void OnAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeNotification const* request, bool client = false, bool server = false); + void OnTypingIndicator(::bgs::protocol::whisper::v2::client::TypingIndicatorNotification const* request, bool client = false, bool server = false); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; +}; + +// =================================================================== + +// =================================================================== + +// WhisperNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.whisper) +} + +// optional string target_battle_tag = 3; +inline bool WhisperNotification::has_target_battle_tag() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperNotification::set_has_target_battle_tag() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperNotification::clear_has_target_battle_tag() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperNotification::clear_target_battle_tag() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_->clear(); + } + clear_has_target_battle_tag(); +} +inline const ::std::string& WhisperNotification::target_battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) + return *target_battle_tag_; +} +inline void WhisperNotification::set_target_battle_tag(const ::std::string& value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline void WhisperNotification::set_target_battle_tag(const char* value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline void WhisperNotification::set_target_battle_tag(const char* value, size_t size) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} +inline ::std::string* WhisperNotification::mutable_target_battle_tag() { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) + return target_battle_tag_; +} +inline ::std::string* WhisperNotification::release_target_battle_tag() { + clear_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = target_battle_tag_; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void WhisperNotification::set_allocated_target_battle_tag(::std::string* target_battle_tag) { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (target_battle_tag) { + set_has_target_battle_tag(); + target_battle_tag_ = target_battle_tag; + } else { + clear_has_target_battle_tag(); + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.target_battle_tag) +} + +// optional .bgs.protocol.account.v2.GameAccountHandle target_game_account = 4; +inline bool WhisperNotification::has_target_game_account() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void WhisperNotification::set_has_target_game_account() { + _has_bits_[0] |= 0x00000008u; +} +inline void WhisperNotification::clear_has_target_game_account() { + _has_bits_[0] &= ~0x00000008u; +} +inline void WhisperNotification::clear_target_game_account() { + if (target_game_account_ != NULL) target_game_account_->::bgs::protocol::account::v2::GameAccountHandle::Clear(); + clear_has_target_game_account(); +} +inline const ::bgs::protocol::account::v2::GameAccountHandle& WhisperNotification::target_game_account() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) + return target_game_account_ != NULL ? *target_game_account_ : *default_instance_->target_game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* WhisperNotification::mutable_target_game_account() { + set_has_target_game_account(); + if (target_game_account_ == NULL) target_game_account_ = new ::bgs::protocol::account::v2::GameAccountHandle; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) + return target_game_account_; +} +inline ::bgs::protocol::account::v2::GameAccountHandle* WhisperNotification::release_target_game_account() { + clear_has_target_game_account(); + ::bgs::protocol::account::v2::GameAccountHandle* temp = target_game_account_; + target_game_account_ = NULL; + return temp; +} +inline void WhisperNotification::set_allocated_target_game_account(::bgs::protocol::account::v2::GameAccountHandle* target_game_account) { + delete target_game_account_; + target_game_account_ = target_game_account; + if (target_game_account) { + set_has_target_game_account(); + } else { + clear_has_target_game_account(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperNotification.target_game_account) +} + +// ------------------------------------------------------------------- + +// WhisperEchoNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperEchoNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperEchoNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperEchoNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperEchoNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperEchoNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperEchoNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperEchoNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperEchoNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperEchoNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperEchoNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperEchoNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperEchoNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperEchoNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperEchoNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperEchoNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperEchoNotification.whisper) +} + +// optional uint32 message_origin = 3; +inline bool WhisperEchoNotification::has_message_origin() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperEchoNotification::set_has_message_origin() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperEchoNotification::clear_has_message_origin() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperEchoNotification::clear_message_origin() { + message_origin_ = 0u; + clear_has_message_origin(); +} +inline ::google::protobuf::uint32 WhisperEchoNotification::message_origin() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperEchoNotification.message_origin) + return message_origin_; +} +inline void WhisperEchoNotification::set_message_origin(::google::protobuf::uint32 value) { + set_has_message_origin(); + message_origin_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperEchoNotification.message_origin) +} + +// ------------------------------------------------------------------- + +// WhisperUpdatedNotification + +// optional uint64 subscriber_account_id = 1; +inline bool WhisperUpdatedNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperUpdatedNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperUpdatedNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperUpdatedNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 WhisperUpdatedNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void WhisperUpdatedNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.subscriber_account_id) +} + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 2; +inline bool WhisperUpdatedNotification::has_whisper() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperUpdatedNotification::set_has_whisper() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperUpdatedNotification::clear_has_whisper() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperUpdatedNotification::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& WhisperUpdatedNotification::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperUpdatedNotification::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* WhisperUpdatedNotification::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void WhisperUpdatedNotification::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.WhisperUpdatedNotification.whisper) +} + +// ------------------------------------------------------------------- + +// TypingIndicatorNotification + +// optional uint64 subscriber_account_id = 1; +inline bool TypingIndicatorNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TypingIndicatorNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void TypingIndicatorNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TypingIndicatorNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 TypingIndicatorNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void TypingIndicatorNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool TypingIndicatorNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void TypingIndicatorNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void TypingIndicatorNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void TypingIndicatorNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 TypingIndicatorNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.target_account_id) + return target_account_id_; +} +inline void TypingIndicatorNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.target_account_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 3; +inline bool TypingIndicatorNotification::has_indicator() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void TypingIndicatorNotification::set_has_indicator() { + _has_bits_[0] |= 0x00000004u; +} +inline void TypingIndicatorNotification::clear_has_indicator() { + _has_bits_[0] &= ~0x00000004u; +} +inline void TypingIndicatorNotification::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator TypingIndicatorNotification::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void TypingIndicatorNotification::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.TypingIndicatorNotification.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceViewTimeNotification + +// optional uint64 subscriber_account_id = 1; +inline bool AdvanceViewTimeNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceViewTimeNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceViewTimeNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void AdvanceViewTimeNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool AdvanceViewTimeNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceViewTimeNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceViewTimeNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.target_account_id) + return target_account_id_; +} +inline void AdvanceViewTimeNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.target_account_id) +} + +// optional uint64 view_time_us = 3; +inline bool AdvanceViewTimeNotification::has_view_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceViewTimeNotification::set_has_view_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceViewTimeNotification::clear_has_view_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceViewTimeNotification::clear_view_time_us() { + view_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_view_time_us(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeNotification::view_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.view_time_us) + return view_time_us_; +} +inline void AdvanceViewTimeNotification::set_view_time_us(::google::protobuf::uint64 value) { + set_has_view_time_us(); + view_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeNotification.view_time_us) +} + +// ------------------------------------------------------------------- + +// AdvanceClearTimeNotification + +// optional uint64 subscriber_account_id = 1; +inline bool AdvanceClearTimeNotification::has_subscriber_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_subscriber_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceClearTimeNotification::clear_has_subscriber_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceClearTimeNotification::clear_subscriber_account_id() { + subscriber_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_subscriber_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::subscriber_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.subscriber_account_id) + return subscriber_account_id_; +} +inline void AdvanceClearTimeNotification::set_subscriber_account_id(::google::protobuf::uint64 value) { + set_has_subscriber_account_id(); + subscriber_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.subscriber_account_id) +} + +// optional uint64 target_account_id = 2; +inline bool AdvanceClearTimeNotification::has_target_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_target_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void AdvanceClearTimeNotification::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void AdvanceClearTimeNotification::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.target_account_id) + return target_account_id_; +} +inline void AdvanceClearTimeNotification::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.target_account_id) +} + +// optional uint64 clear_time_us = 3; +inline bool AdvanceClearTimeNotification::has_clear_time_us() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void AdvanceClearTimeNotification::set_has_clear_time_us() { + _has_bits_[0] |= 0x00000004u; +} +inline void AdvanceClearTimeNotification::clear_has_clear_time_us() { + _has_bits_[0] &= ~0x00000004u; +} +inline void AdvanceClearTimeNotification::clear_clear_time_us() { + clear_time_us_ = GOOGLE_ULONGLONG(0); + clear_has_clear_time_us(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeNotification::clear_time_us() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.clear_time_us) + return clear_time_us_; +} +inline void AdvanceClearTimeNotification::set_clear_time_us(::google::protobuf::uint64 value) { + set_has_clear_time_us(); + clear_time_us_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeNotification.clear_time_us) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fwhisper_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/client/v2/whisper_service.pb.cc b/src/server/proto/Client/api/client/v2/whisper_service.pb.cc new file mode 100644 index 00000000000..ac02bc39eaf --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_service.pb.cc @@ -0,0 +1,1291 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_service.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/client/v2/whisper_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include "BattlenetRpcErrorCodes.h" +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +namespace { + +const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SubscribeResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UnsubscribeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetWhisperHistoryRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetWhisperHistoryRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* GetWhisperHistoryResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetWhisperHistoryResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperResponse_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperResponse_reflection_ = NULL; +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SetTypingIndicatorRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceViewTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceViewTimeRequest_reflection_ = NULL; +const ::google::protobuf::Descriptor* AdvanceClearTimeRequest_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AdvanceClearTimeRequest_reflection_ = NULL; +const ::google::protobuf::ServiceDescriptor* WhisperService_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/client/v2/whisper_service.proto"); + GOOGLE_CHECK(file != NULL); + SubscribeRequest_descriptor_ = file->message_type(0); + static const int SubscribeRequest_offsets_[1] = { + }; + SubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeRequest_descriptor_, + SubscribeRequest::default_instance_, + SubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeRequest)); + SubscribeResponse_descriptor_ = file->message_type(1); + static const int SubscribeResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, view_), + }; + SubscribeResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SubscribeResponse_descriptor_, + SubscribeResponse::default_instance_, + SubscribeResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SubscribeResponse)); + UnsubscribeRequest_descriptor_ = file->message_type(2); + static const int UnsubscribeRequest_offsets_[1] = { + }; + UnsubscribeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UnsubscribeRequest_descriptor_, + UnsubscribeRequest::default_instance_, + UnsubscribeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UnsubscribeRequest)); + GetWhisperHistoryRequest_descriptor_ = file->message_type(3); + static const int GetWhisperHistoryRequest_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, options_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, continuation_), + }; + GetWhisperHistoryRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetWhisperHistoryRequest_descriptor_, + GetWhisperHistoryRequest::default_instance_, + GetWhisperHistoryRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetWhisperHistoryRequest)); + GetWhisperHistoryResponse_descriptor_ = file->message_type(4); + static const int GetWhisperHistoryResponse_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, whispers_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, continuation_), + }; + GetWhisperHistoryResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetWhisperHistoryResponse_descriptor_, + GetWhisperHistoryResponse::default_instance_, + GetWhisperHistoryResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetWhisperHistoryResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetWhisperHistoryResponse)); + SendWhisperRequest_descriptor_ = file->message_type(5); + static const int SendWhisperRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, options_), + }; + SendWhisperRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperRequest_descriptor_, + SendWhisperRequest::default_instance_, + SendWhisperRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperRequest)); + SendWhisperResponse_descriptor_ = file->message_type(6); + static const int SendWhisperResponse_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, whisper_), + }; + SendWhisperResponse_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperResponse_descriptor_, + SendWhisperResponse::default_instance_, + SendWhisperResponse_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperResponse, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperResponse)); + SetTypingIndicatorRequest_descriptor_ = file->message_type(7); + static const int SetTypingIndicatorRequest_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, indicator_), + }; + SetTypingIndicatorRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SetTypingIndicatorRequest_descriptor_, + SetTypingIndicatorRequest::default_instance_, + SetTypingIndicatorRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SetTypingIndicatorRequest)); + AdvanceViewTimeRequest_descriptor_ = file->message_type(8); + static const int AdvanceViewTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, target_account_id_), + }; + AdvanceViewTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceViewTimeRequest_descriptor_, + AdvanceViewTimeRequest::default_instance_, + AdvanceViewTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceViewTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceViewTimeRequest)); + AdvanceClearTimeRequest_descriptor_ = file->message_type(9); + static const int AdvanceClearTimeRequest_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, target_account_id_), + }; + AdvanceClearTimeRequest_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AdvanceClearTimeRequest_descriptor_, + AdvanceClearTimeRequest::default_instance_, + AdvanceClearTimeRequest_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceClearTimeRequest, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AdvanceClearTimeRequest)); + WhisperService_descriptor_ = file->service(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetWhisperHistoryRequest_descriptor_, &GetWhisperHistoryRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetWhisperHistoryResponse_descriptor_, &GetWhisperHistoryResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperRequest_descriptor_, &SendWhisperRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperResponse_descriptor_, &SendWhisperResponse::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SetTypingIndicatorRequest_descriptor_, &SetTypingIndicatorRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceViewTimeRequest_descriptor_, &AdvanceViewTimeRequest::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AdvanceClearTimeRequest_descriptor_, &AdvanceClearTimeRequest::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + delete SubscribeRequest::default_instance_; + delete SubscribeRequest_reflection_; + delete SubscribeResponse::default_instance_; + delete SubscribeResponse_reflection_; + delete UnsubscribeRequest::default_instance_; + delete UnsubscribeRequest_reflection_; + delete GetWhisperHistoryRequest::default_instance_; + delete GetWhisperHistoryRequest_reflection_; + delete GetWhisperHistoryResponse::default_instance_; + delete GetWhisperHistoryResponse_reflection_; + delete SendWhisperRequest::default_instance_; + delete SendWhisperRequest_reflection_; + delete SendWhisperResponse::default_instance_; + delete SendWhisperResponse_reflection_; + delete SetTypingIndicatorRequest::default_instance_; + delete SetTypingIndicatorRequest_reflection_; + delete AdvanceViewTimeRequest::default_instance_; + delete AdvanceViewTimeRequest_reflection_; + delete AdvanceClearTimeRequest::default_instance_; + delete AdvanceClearTimeRequest_reflection_; +} + +void protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::whisper::v2::protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/client/v2/whisper_service.proto\022\036b" + "gs.protocol.whisper.v2.client\032$api/commo" + "n/v1/event_view_types.proto\032!api/common/" + "v1/message_types.proto\032!api/common/v2/wh" + "isper_types.proto\032\017rpc_types.proto\"\022\n\020Su" + "bscribeRequest\"G\n\021SubscribeResponse\0222\n\004v" + "iew\030\001 \003(\0132$.bgs.protocol.whisper.v2.Whis" + "perView\"\024\n\022UnsubscribeRequest\"{\n\030GetWhis" + "perHistoryRequest\022\031\n\021target_account_id\030\001" + " \001(\004\022.\n\007options\030\002 \001(\0132\035.bgs.protocol.Get" + "EventOptions\022\024\n\014continuation\030\004 \001(\004\"e\n\031Ge" + "tWhisperHistoryResponse\0222\n\010whispers\030\001 \003(" + "\0132 .bgs.protocol.whisper.v2.Whisper\022\024\n\014c" + "ontinuation\030\002 \001(\004\"m\n\022SendWhisperRequest\022" + "\031\n\021target_account_id\030\001 \001(\004\022<\n\007options\030\002 " + "\001(\0132+.bgs.protocol.whisper.v2.SendWhispe" + "rOptions\"H\n\023SendWhisperResponse\0221\n\007whisp" + "er\030\001 \001(\0132 .bgs.protocol.whisper.v2.Whisp" + "er\"h\n\031SetTypingIndicatorRequest\022\031\n\021targe" + "t_account_id\030\001 \001(\004\0220\n\tindicator\030\002 \001(\0162\035." + "bgs.protocol.TypingIndicator\"3\n\026AdvanceV" + "iewTimeRequest\022\031\n\021target_account_id\030\001 \001(" + "\004\"4\n\027AdvanceClearTimeRequest\022\031\n\021target_a" + "ccount_id\030\001 \001(\0042\231\007\n\016WhisperService\022z\n\tSu" + "bscribe\0220.bgs.protocol.whisper.v2.client" + ".SubscribeRequest\0321.bgs.protocol.whisper" + ".v2.client.SubscribeResponse\"\010\202\371+\004\010\001\020\001\022a" + "\n\013Unsubscribe\0222.bgs.protocol.whisper.v2." + "client.UnsubscribeRequest\032\024.bgs.protocol" + ".NoData\"\010\202\371+\004\010\002\020\001\022\222\001\n\021GetWhisperHistory\022" + "8.bgs.protocol.whisper.v2.client.GetWhis" + "perHistoryRequest\0329.bgs.protocol.whisper" + ".v2.client.GetWhisperHistoryResponse\"\010\202\371" + "+\004\010\003\020\001\022\200\001\n\013SendWhisper\0222.bgs.protocol.wh" + "isper.v2.client.SendWhisperRequest\0323.bgs" + ".protocol.whisper.v2.client.SendWhisperR" + "esponse\"\010\202\371+\004\010\004\020\001\022i\n\017AdvanceViewTime\0226.b" + "gs.protocol.whisper.v2.client.AdvanceVie" + "wTimeRequest\032\024.bgs.protocol.NoData\"\010\202\371+\004" + "\010\005\020\001\022k\n\020AdvanceClearTime\0227.bgs.protocol." + "whisper.v2.client.AdvanceClearTimeReques" + "t\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001\022o\n\022Set" + "TypingIndicator\0229.bgs.protocol.whisper.v" + "2.client.SetTypingIndicatorRequest\032\024.bgs" + ".protocol.NoData\"\010\202\371+\004\010\007\020\001\032G\202\371+;\n.bnet.p" + "rotocol.whisper.v2.client.WhisperService" + "*\007whisperH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 1866); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/client/v2/whisper_service.proto", &protobuf_RegisterTypes); + SubscribeRequest::default_instance_ = new SubscribeRequest(); + SubscribeResponse::default_instance_ = new SubscribeResponse(); + UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); + GetWhisperHistoryRequest::default_instance_ = new GetWhisperHistoryRequest(); + GetWhisperHistoryResponse::default_instance_ = new GetWhisperHistoryResponse(); + SendWhisperRequest::default_instance_ = new SendWhisperRequest(); + SendWhisperResponse::default_instance_ = new SendWhisperResponse(); + SetTypingIndicatorRequest::default_instance_ = new SetTypingIndicatorRequest(); + AdvanceViewTimeRequest::default_instance_ = new AdvanceViewTimeRequest(); + AdvanceClearTimeRequest::default_instance_ = new AdvanceClearTimeRequest(); + SubscribeRequest::default_instance_->InitAsDefaultInstance(); + SubscribeResponse::default_instance_->InitAsDefaultInstance(); + UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); + GetWhisperHistoryRequest::default_instance_->InitAsDefaultInstance(); + GetWhisperHistoryResponse::default_instance_->InitAsDefaultInstance(); + SendWhisperRequest::default_instance_->InitAsDefaultInstance(); + SendWhisperResponse::default_instance_->InitAsDefaultInstance(); + SetTypingIndicatorRequest::default_instance_->InitAsDefaultInstance(); + AdvanceViewTimeRequest::default_instance_->InitAsDefaultInstance(); + AdvanceClearTimeRequest::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto { + StaticDescriptorInitializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto() { + protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + } +} static_descriptor_initializer_api_2fclient_2fv2_2fwhisper_5fservice_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +SubscribeRequest::SubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SubscribeRequest) +} + +void SubscribeRequest::InitAsDefaultInstance() { +} + +SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SubscribeRequest) +} + +void SubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeRequest::~SubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SubscribeRequest) + SharedDtor(); +} + +void SubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeRequest_descriptor_; +} + +const SubscribeRequest& SubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeRequest* SubscribeRequest::default_instance_ = NULL; + +SubscribeRequest* SubscribeRequest::New() const { + return new SubscribeRequest; +} + +void SubscribeRequest::Swap(SubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeRequest_descriptor_; + metadata.reflection = SubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SubscribeResponse::kViewFieldNumber; +#endif // !_MSC_VER + +SubscribeResponse::SubscribeResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SubscribeResponse) +} + +void SubscribeResponse::InitAsDefaultInstance() { +} + +SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SubscribeResponse) +} + +void SubscribeResponse::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SubscribeResponse::~SubscribeResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SubscribeResponse) + SharedDtor(); +} + +void SubscribeResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void SubscribeResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SubscribeResponse_descriptor_; +} + +const SubscribeResponse& SubscribeResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SubscribeResponse* SubscribeResponse::default_instance_ = NULL; + +SubscribeResponse* SubscribeResponse::New() const { + return new SubscribeResponse; +} + +void SubscribeResponse::Swap(SubscribeResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SubscribeResponse_descriptor_; + metadata.reflection = SubscribeResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +UnsubscribeRequest::UnsubscribeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::InitAsDefaultInstance() { +} + +UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) +} + +void UnsubscribeRequest::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UnsubscribeRequest::~UnsubscribeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.UnsubscribeRequest) + SharedDtor(); +} + +void UnsubscribeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void UnsubscribeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UnsubscribeRequest_descriptor_; +} + +const UnsubscribeRequest& UnsubscribeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; + +UnsubscribeRequest* UnsubscribeRequest::New() const { + return new UnsubscribeRequest; +} + +void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UnsubscribeRequest_descriptor_; + metadata.reflection = UnsubscribeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetWhisperHistoryRequest::kTargetAccountIdFieldNumber; +const int GetWhisperHistoryRequest::kOptionsFieldNumber; +const int GetWhisperHistoryRequest::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetWhisperHistoryRequest::GetWhisperHistoryRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) +} + +void GetWhisperHistoryRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); +} + +GetWhisperHistoryRequest::GetWhisperHistoryRequest(const GetWhisperHistoryRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) +} + +void GetWhisperHistoryRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetWhisperHistoryRequest::~GetWhisperHistoryRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) + SharedDtor(); +} + +void GetWhisperHistoryRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void GetWhisperHistoryRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetWhisperHistoryRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetWhisperHistoryRequest_descriptor_; +} + +const GetWhisperHistoryRequest& GetWhisperHistoryRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +GetWhisperHistoryRequest* GetWhisperHistoryRequest::default_instance_ = NULL; + +GetWhisperHistoryRequest* GetWhisperHistoryRequest::New() const { + return new GetWhisperHistoryRequest; +} + +void GetWhisperHistoryRequest::Swap(GetWhisperHistoryRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetWhisperHistoryRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetWhisperHistoryRequest_descriptor_; + metadata.reflection = GetWhisperHistoryRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetWhisperHistoryResponse::kWhispersFieldNumber; +const int GetWhisperHistoryResponse::kContinuationFieldNumber; +#endif // !_MSC_VER + +GetWhisperHistoryResponse::GetWhisperHistoryResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) +} + +void GetWhisperHistoryResponse::InitAsDefaultInstance() { +} + +GetWhisperHistoryResponse::GetWhisperHistoryResponse(const GetWhisperHistoryResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) +} + +void GetWhisperHistoryResponse::SharedCtor() { + _cached_size_ = 0; + continuation_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetWhisperHistoryResponse::~GetWhisperHistoryResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) + SharedDtor(); +} + +void GetWhisperHistoryResponse::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetWhisperHistoryResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetWhisperHistoryResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetWhisperHistoryResponse_descriptor_; +} + +const GetWhisperHistoryResponse& GetWhisperHistoryResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +GetWhisperHistoryResponse* GetWhisperHistoryResponse::default_instance_ = NULL; + +GetWhisperHistoryResponse* GetWhisperHistoryResponse::New() const { + return new GetWhisperHistoryResponse; +} + +void GetWhisperHistoryResponse::Swap(GetWhisperHistoryResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetWhisperHistoryResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetWhisperHistoryResponse_descriptor_; + metadata.reflection = GetWhisperHistoryResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperRequest::kTargetAccountIdFieldNumber; +const int SendWhisperRequest::kOptionsFieldNumber; +#endif // !_MSC_VER + +SendWhisperRequest::SendWhisperRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) +} + +void SendWhisperRequest::InitAsDefaultInstance() { + options_ = const_cast< ::bgs::protocol::whisper::v2::SendWhisperOptions*>(&::bgs::protocol::whisper::v2::SendWhisperOptions::default_instance()); +} + +SendWhisperRequest::SendWhisperRequest(const SendWhisperRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) +} + +void SendWhisperRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + options_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperRequest::~SendWhisperRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SendWhisperRequest) + SharedDtor(); +} + +void SendWhisperRequest::SharedDtor() { + if (this != default_instance_) { + delete options_; + } +} + +void SendWhisperRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperRequest_descriptor_; +} + +const SendWhisperRequest& SendWhisperRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SendWhisperRequest* SendWhisperRequest::default_instance_ = NULL; + +SendWhisperRequest* SendWhisperRequest::New() const { + return new SendWhisperRequest; +} + +void SendWhisperRequest::Swap(SendWhisperRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperRequest_descriptor_; + metadata.reflection = SendWhisperRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperResponse::kWhisperFieldNumber; +#endif // !_MSC_VER + +SendWhisperResponse::SendWhisperResponse() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) +} + +void SendWhisperResponse::InitAsDefaultInstance() { + whisper_ = const_cast< ::bgs::protocol::whisper::v2::Whisper*>(&::bgs::protocol::whisper::v2::Whisper::default_instance()); +} + +SendWhisperResponse::SendWhisperResponse(const SendWhisperResponse& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) +} + +void SendWhisperResponse::SharedCtor() { + _cached_size_ = 0; + whisper_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperResponse::~SendWhisperResponse() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SendWhisperResponse) + SharedDtor(); +} + +void SendWhisperResponse::SharedDtor() { + if (this != default_instance_) { + delete whisper_; + } +} + +void SendWhisperResponse::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperResponse::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperResponse_descriptor_; +} + +const SendWhisperResponse& SendWhisperResponse::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SendWhisperResponse* SendWhisperResponse::default_instance_ = NULL; + +SendWhisperResponse* SendWhisperResponse::New() const { + return new SendWhisperResponse; +} + +void SendWhisperResponse::Swap(SendWhisperResponse* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperResponse::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperResponse_descriptor_; + metadata.reflection = SendWhisperResponse_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SetTypingIndicatorRequest::kTargetAccountIdFieldNumber; +const int SetTypingIndicatorRequest::kIndicatorFieldNumber; +#endif // !_MSC_VER + +SetTypingIndicatorRequest::SetTypingIndicatorRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::InitAsDefaultInstance() { +} + +SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) +} + +void SetTypingIndicatorRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + indicator_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) + SharedDtor(); +} + +void SetTypingIndicatorRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void SetTypingIndicatorRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SetTypingIndicatorRequest_descriptor_; +} + +const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::default_instance_ = NULL; + +SetTypingIndicatorRequest* SetTypingIndicatorRequest::New() const { + return new SetTypingIndicatorRequest; +} + +void SetTypingIndicatorRequest::Swap(SetTypingIndicatorRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SetTypingIndicatorRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SetTypingIndicatorRequest_descriptor_; + metadata.reflection = SetTypingIndicatorRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceViewTimeRequest::kTargetAccountIdFieldNumber; +#endif // !_MSC_VER + +AdvanceViewTimeRequest::AdvanceViewTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) +} + +void AdvanceViewTimeRequest::InitAsDefaultInstance() { +} + +AdvanceViewTimeRequest::AdvanceViewTimeRequest(const AdvanceViewTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) +} + +void AdvanceViewTimeRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceViewTimeRequest::~AdvanceViewTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) + SharedDtor(); +} + +void AdvanceViewTimeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceViewTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceViewTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceViewTimeRequest_descriptor_; +} + +const AdvanceViewTimeRequest& AdvanceViewTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceViewTimeRequest* AdvanceViewTimeRequest::default_instance_ = NULL; + +AdvanceViewTimeRequest* AdvanceViewTimeRequest::New() const { + return new AdvanceViewTimeRequest; +} + +void AdvanceViewTimeRequest::Swap(AdvanceViewTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceViewTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceViewTimeRequest_descriptor_; + metadata.reflection = AdvanceViewTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int AdvanceClearTimeRequest::kTargetAccountIdFieldNumber; +#endif // !_MSC_VER + +AdvanceClearTimeRequest::AdvanceClearTimeRequest() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) +} + +void AdvanceClearTimeRequest::InitAsDefaultInstance() { +} + +AdvanceClearTimeRequest::AdvanceClearTimeRequest(const AdvanceClearTimeRequest& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) +} + +void AdvanceClearTimeRequest::SharedCtor() { + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AdvanceClearTimeRequest::~AdvanceClearTimeRequest() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) + SharedDtor(); +} + +void AdvanceClearTimeRequest::SharedDtor() { + if (this != default_instance_) { + } +} + +void AdvanceClearTimeRequest::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AdvanceClearTimeRequest::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AdvanceClearTimeRequest_descriptor_; +} + +const AdvanceClearTimeRequest& AdvanceClearTimeRequest::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + return *default_instance_; +} + +AdvanceClearTimeRequest* AdvanceClearTimeRequest::default_instance_ = NULL; + +AdvanceClearTimeRequest* AdvanceClearTimeRequest::New() const { + return new AdvanceClearTimeRequest; +} + +void AdvanceClearTimeRequest::Swap(AdvanceClearTimeRequest* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AdvanceClearTimeRequest::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AdvanceClearTimeRequest_descriptor_; + metadata.reflection = AdvanceClearTimeRequest_reflection_; + return metadata; +} + +// =================================================================== + +WhisperService::WhisperService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { +} + +WhisperService::~WhisperService() { +} + +google::protobuf::ServiceDescriptor const* WhisperService::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperService_descriptor_; +} + +void WhisperService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { + switch(methodId & 0x3FFFFFFF) { + case 1: + ParseAndHandleSubscribe(token, methodId, buffer); + break; + case 2: + ParseAndHandleUnsubscribe(token, methodId, buffer); + break; + case 3: + ParseAndHandleGetWhisperHistory(token, methodId, buffer); + break; + case 4: + ParseAndHandleSendWhisper(token, methodId, buffer); + break; + case 5: + ParseAndHandleAdvanceViewTime(token, methodId, buffer); + break; + case 6: + ParseAndHandleAdvanceClearTime(token, methodId, buffer); + break; + case 7: + ParseAndHandleSetTypingIndicator(token, methodId, buffer); + break; + default: + LogInvalidMethod(methodId); + SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); + break; + } +} + +uint32 WhisperService::HandleSubscribe(::bgs::protocol::whisper::v2::client::SubscribeRequest const* request, ::bgs::protocol::whisper::v2::client::SubscribeResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.Subscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleUnsubscribe(::bgs::protocol::whisper::v2::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.Unsubscribe", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleGetWhisperHistory(::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest const* request, ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.GetWhisperHistory", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleSendWhisper(::bgs::protocol::whisper::v2::client::SendWhisperRequest const* request, ::bgs::protocol::whisper::v2::client::SendWhisperResponse* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.SendWhisper", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.AdvanceViewTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.AdvanceClearTime", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +uint32 WhisperService::HandleSetTypingIndicator(::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { + LogUnimplementedServerMethod("WhisperService.SetTypingIndicator", request); + return ERROR_RPC_NOT_IMPLEMENTED; +} + +void WhisperService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.Subscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.Subscribe", "bgs.protocol.whisper.v2.client.SubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.Subscribe", ::bgs::protocol::whisper::v2::client::SubscribeResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::SubscribeResponse response; + uint32 status = HandleSubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::UnsubscribeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.Unsubscribe"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.Unsubscribe", "bgs.protocol.whisper.v2.client.UnsubscribeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleUnsubscribe(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleGetWhisperHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.GetWhisperHistory"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.GetWhisperHistory", "bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.GetWhisperHistory", ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse response; + uint32 status = HandleGetWhisperHistory(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleSendWhisper(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SendWhisperRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.SendWhisper"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.SendWhisper", "bgs.protocol.whisper.v2.client.SendWhisperRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.SendWhisper", ::bgs::protocol::whisper::v2::client::SendWhisperResponse::descriptor()); + ::bgs::protocol::whisper::v2::client::SendWhisperResponse response; + uint32 status = HandleSendWhisper(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleAdvanceViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.AdvanceViewTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.AdvanceViewTime", "bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.AdvanceViewTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceViewTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleAdvanceClearTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.AdvanceClearTime"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.AdvanceClearTime", "bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.AdvanceClearTime", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleAdvanceClearTime(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +void WhisperService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { + ::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest request; + if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { + LogFailedParsingRequest("WhisperService.SetTypingIndicator"); + SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); + return; + } + LogCallServerMethod("WhisperService.SetTypingIndicator", "bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest", &request); + std::function continuation = CreateServerContinuation(token, methodId, "WhisperService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); + ::bgs::protocol::NoData response; + uint32 status = HandleSetTypingIndicator(&request, &response, continuation); + if (continuation) + continuation(this, status, &response); +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/client/v2/whisper_service.pb.h b/src/server/proto/Client/api/client/v2/whisper_service.pb.h new file mode 100644 index 00000000000..f7eeccbea43 --- /dev/null +++ b/src/server/proto/Client/api/client/v2/whisper_service.pb.h @@ -0,0 +1,1236 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/client/v2/whisper_service.proto + +#ifndef PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED +#define PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/event_view_types.pb.h" +#include "api/common/v1/message_types.pb.h" +#include "api/common/v2/whisper_types.pb.h" +#include "rpc_types.pb.h" +#include "ServiceBase.h" +#include "MessageBuffer.h" +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { +namespace client { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); +void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); +void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + +class SubscribeRequest; +class SubscribeResponse; +class UnsubscribeRequest; +class GetWhisperHistoryRequest; +class GetWhisperHistoryResponse; +class SendWhisperRequest; +class SendWhisperResponse; +class SetTypingIndicatorRequest; +class AdvanceViewTimeRequest; +class AdvanceClearTimeRequest; + +// =================================================================== + +class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { + public: + SubscribeRequest(); + virtual ~SubscribeRequest(); + + SubscribeRequest(const SubscribeRequest& from); + + inline SubscribeRequest& operator=(const SubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeRequest& default_instance(); + + void Swap(SubscribeRequest* other); + + // implements Message ---------------------------------------------- + + SubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { + public: + SubscribeResponse(); + virtual ~SubscribeResponse(); + + SubscribeResponse(const SubscribeResponse& from); + + inline SubscribeResponse& operator=(const SubscribeResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SubscribeResponse& default_instance(); + + void Swap(SubscribeResponse* other); + + // implements Message ---------------------------------------------- + + SubscribeResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.whisper.v2.WhisperView view = 1; + inline int view_size() const; + inline void clear_view(); + static const int kViewFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::WhisperView& view(int index) const; + inline ::bgs::protocol::whisper::v2::WhisperView* mutable_view(int index); + inline ::bgs::protocol::whisper::v2::WhisperView* add_view(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >& + view() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >* + mutable_view(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SubscribeResponse) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView > view_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SubscribeResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { + public: + UnsubscribeRequest(); + virtual ~UnsubscribeRequest(); + + UnsubscribeRequest(const UnsubscribeRequest& from); + + inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UnsubscribeRequest& default_instance(); + + void Swap(UnsubscribeRequest* other); + + // implements Message ---------------------------------------------- + + UnsubscribeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.UnsubscribeRequest) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static UnsubscribeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetWhisperHistoryRequest : public ::google::protobuf::Message { + public: + GetWhisperHistoryRequest(); + virtual ~GetWhisperHistoryRequest(); + + GetWhisperHistoryRequest(const GetWhisperHistoryRequest& from); + + inline GetWhisperHistoryRequest& operator=(const GetWhisperHistoryRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetWhisperHistoryRequest& default_instance(); + + void Swap(GetWhisperHistoryRequest* other); + + // implements Message ---------------------------------------------- + + GetWhisperHistoryRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.GetEventOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::GetEventOptions& options() const; + inline ::bgs::protocol::GetEventOptions* mutable_options(); + inline ::bgs::protocol::GetEventOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); + + // optional uint64 continuation = 4; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 4; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_options(); + inline void clear_has_options(); + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::GetEventOptions* options_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetWhisperHistoryRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API GetWhisperHistoryResponse : public ::google::protobuf::Message { + public: + GetWhisperHistoryResponse(); + virtual ~GetWhisperHistoryResponse(); + + GetWhisperHistoryResponse(const GetWhisperHistoryResponse& from); + + inline GetWhisperHistoryResponse& operator=(const GetWhisperHistoryResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetWhisperHistoryResponse& default_instance(); + + void Swap(GetWhisperHistoryResponse* other); + + // implements Message ---------------------------------------------- + + GetWhisperHistoryResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .bgs.protocol.whisper.v2.Whisper whispers = 1; + inline int whispers_size() const; + inline void clear_whispers(); + static const int kWhispersFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::Whisper& whispers(int index) const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whispers(int index); + inline ::bgs::protocol::whisper::v2::Whisper* add_whispers(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >& + whispers() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >* + mutable_whispers(); + + // optional uint64 continuation = 2; + inline bool has_continuation() const; + inline void clear_continuation(); + static const int kContinuationFieldNumber = 2; + inline ::google::protobuf::uint64 continuation() const; + inline void set_continuation(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse) + private: + inline void set_has_continuation(); + inline void clear_has_continuation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper > whispers_; + ::google::protobuf::uint64 continuation_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static GetWhisperHistoryResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperRequest : public ::google::protobuf::Message { + public: + SendWhisperRequest(); + virtual ~SendWhisperRequest(); + + SendWhisperRequest(const SendWhisperRequest& from); + + inline SendWhisperRequest& operator=(const SendWhisperRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperRequest& default_instance(); + + void Swap(SendWhisperRequest* other); + + // implements Message ---------------------------------------------- + + SendWhisperRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.whisper.v2.SendWhisperOptions options = 2; + inline bool has_options() const; + inline void clear_options(); + static const int kOptionsFieldNumber = 2; + inline const ::bgs::protocol::whisper::v2::SendWhisperOptions& options() const; + inline ::bgs::protocol::whisper::v2::SendWhisperOptions* mutable_options(); + inline ::bgs::protocol::whisper::v2::SendWhisperOptions* release_options(); + inline void set_allocated_options(::bgs::protocol::whisper::v2::SendWhisperOptions* options); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SendWhisperRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_options(); + inline void clear_has_options(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::whisper::v2::SendWhisperOptions* options_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperResponse : public ::google::protobuf::Message { + public: + SendWhisperResponse(); + virtual ~SendWhisperResponse(); + + SendWhisperResponse(const SendWhisperResponse& from); + + inline SendWhisperResponse& operator=(const SendWhisperResponse& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperResponse& default_instance(); + + void Swap(SendWhisperResponse* other); + + // implements Message ---------------------------------------------- + + SendWhisperResponse* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.whisper.v2.Whisper whisper = 1; + inline bool has_whisper() const; + inline void clear_whisper(); + static const int kWhisperFieldNumber = 1; + inline const ::bgs::protocol::whisper::v2::Whisper& whisper() const; + inline ::bgs::protocol::whisper::v2::Whisper* mutable_whisper(); + inline ::bgs::protocol::whisper::v2::Whisper* release_whisper(); + inline void set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SendWhisperResponse) + private: + inline void set_has_whisper(); + inline void clear_has_whisper(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::whisper::v2::Whisper* whisper_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperResponse* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Message { + public: + SetTypingIndicatorRequest(); + virtual ~SetTypingIndicatorRequest(); + + SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from); + + inline SetTypingIndicatorRequest& operator=(const SetTypingIndicatorRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SetTypingIndicatorRequest& default_instance(); + + void Swap(SetTypingIndicatorRequest* other); + + // implements Message ---------------------------------------------- + + SetTypingIndicatorRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.TypingIndicator indicator = 2; + inline bool has_indicator() const; + inline void clear_indicator(); + static const int kIndicatorFieldNumber = 2; + inline ::bgs::protocol::TypingIndicator indicator() const; + inline void set_indicator(::bgs::protocol::TypingIndicator value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_indicator(); + inline void clear_has_indicator(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + int indicator_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static SetTypingIndicatorRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceViewTimeRequest : public ::google::protobuf::Message { + public: + AdvanceViewTimeRequest(); + virtual ~AdvanceViewTimeRequest(); + + AdvanceViewTimeRequest(const AdvanceViewTimeRequest& from); + + inline AdvanceViewTimeRequest& operator=(const AdvanceViewTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceViewTimeRequest& default_instance(); + + void Swap(AdvanceViewTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceViewTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceViewTimeRequest* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AdvanceClearTimeRequest : public ::google::protobuf::Message { + public: + AdvanceClearTimeRequest(); + virtual ~AdvanceClearTimeRequest(); + + AdvanceClearTimeRequest(const AdvanceClearTimeRequest& from); + + inline AdvanceClearTimeRequest& operator=(const AdvanceClearTimeRequest& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AdvanceClearTimeRequest& default_instance(); + + void Swap(AdvanceClearTimeRequest* other); + + // implements Message ---------------------------------------------- + + AdvanceClearTimeRequest* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_AssignDesc_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fwhisper_5fservice_2eproto(); + + void InitAsDefaultInstance(); + static AdvanceClearTimeRequest* default_instance_; +}; +// =================================================================== + +class TC_PROTO_API WhisperService : public ServiceBase +{ + public: + + explicit WhisperService(bool use_original_hash); + WhisperService(WhisperService const&) = delete; + WhisperService(WhisperService&&) = delete; + WhisperService& operator=(WhisperService const&) = delete; + WhisperService& operator=(WhisperService&&) = delete; + virtual ~WhisperService(); + + typedef std::integral_constant OriginalHash; + typedef std::integral_constant NameHash; + + static google::protobuf::ServiceDescriptor const* descriptor(); + + void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; + + protected: + // server methods -------------------------------------------------- + virtual uint32 HandleSubscribe(::bgs::protocol::whisper::v2::client::SubscribeRequest const* request, ::bgs::protocol::whisper::v2::client::SubscribeResponse* response, std::function& continuation); + virtual uint32 HandleUnsubscribe(::bgs::protocol::whisper::v2::client::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleGetWhisperHistory(::bgs::protocol::whisper::v2::client::GetWhisperHistoryRequest const* request, ::bgs::protocol::whisper::v2::client::GetWhisperHistoryResponse* response, std::function& continuation); + virtual uint32 HandleSendWhisper(::bgs::protocol::whisper::v2::client::SendWhisperRequest const* request, ::bgs::protocol::whisper::v2::client::SendWhisperResponse* response, std::function& continuation); + virtual uint32 HandleAdvanceViewTime(::bgs::protocol::whisper::v2::client::AdvanceViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleAdvanceClearTime(::bgs::protocol::whisper::v2::client::AdvanceClearTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + virtual uint32 HandleSetTypingIndicator(::bgs::protocol::whisper::v2::client::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); + + private: + void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleGetWhisperHistory(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSendWhisper(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleAdvanceClearTime(uint32 token, uint32 methodId, MessageBuffer& buffer); + void ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer); +}; + +// =================================================================== + +// =================================================================== + +// SubscribeRequest + +// ------------------------------------------------------------------- + +// SubscribeResponse + +// repeated .bgs.protocol.whisper.v2.WhisperView view = 1; +inline int SubscribeResponse::view_size() const { + return view_.size(); +} +inline void SubscribeResponse::clear_view() { + view_.Clear(); +} +inline const ::bgs::protocol::whisper::v2::WhisperView& SubscribeResponse::view(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Get(index); +} +inline ::bgs::protocol::whisper::v2::WhisperView* SubscribeResponse::mutable_view(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Mutable(index); +} +inline ::bgs::protocol::whisper::v2::WhisperView* SubscribeResponse::add_view() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >& +SubscribeResponse::view() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return view_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::WhisperView >* +SubscribeResponse::mutable_view() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.client.SubscribeResponse.view) + return &view_; +} + +// ------------------------------------------------------------------- + +// UnsubscribeRequest + +// ------------------------------------------------------------------- + +// GetWhisperHistoryRequest + +// optional uint64 target_account_id = 1; +inline bool GetWhisperHistoryRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetWhisperHistoryRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetWhisperHistoryRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.target_account_id) + return target_account_id_; +} +inline void GetWhisperHistoryRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.target_account_id) +} + +// optional .bgs.protocol.GetEventOptions options = 2; +inline bool GetWhisperHistoryRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetWhisperHistoryRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetWhisperHistoryRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::GetEventOptions& GetWhisperHistoryRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::GetEventOptions* GetWhisperHistoryRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) + return options_; +} +inline ::bgs::protocol::GetEventOptions* GetWhisperHistoryRequest::release_options() { + clear_has_options(); + ::bgs::protocol::GetEventOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void GetWhisperHistoryRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.options) +} + +// optional uint64 continuation = 4; +inline bool GetWhisperHistoryRequest::has_continuation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetWhisperHistoryRequest::set_has_continuation() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetWhisperHistoryRequest::clear_has_continuation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetWhisperHistoryRequest::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryRequest::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.continuation) + return continuation_; +} +inline void GetWhisperHistoryRequest::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryRequest.continuation) +} + +// ------------------------------------------------------------------- + +// GetWhisperHistoryResponse + +// repeated .bgs.protocol.whisper.v2.Whisper whispers = 1; +inline int GetWhisperHistoryResponse::whispers_size() const { + return whispers_.size(); +} +inline void GetWhisperHistoryResponse::clear_whispers() { + whispers_.Clear(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& GetWhisperHistoryResponse::whispers(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Get(index); +} +inline ::bgs::protocol::whisper::v2::Whisper* GetWhisperHistoryResponse::mutable_whispers(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Mutable(index); +} +inline ::bgs::protocol::whisper::v2::Whisper* GetWhisperHistoryResponse::add_whispers() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >& +GetWhisperHistoryResponse::whispers() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return whispers_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::whisper::v2::Whisper >* +GetWhisperHistoryResponse::mutable_whispers() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.whispers) + return &whispers_; +} + +// optional uint64 continuation = 2; +inline bool GetWhisperHistoryResponse::has_continuation() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetWhisperHistoryResponse::set_has_continuation() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetWhisperHistoryResponse::clear_has_continuation() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetWhisperHistoryResponse::clear_continuation() { + continuation_ = GOOGLE_ULONGLONG(0); + clear_has_continuation(); +} +inline ::google::protobuf::uint64 GetWhisperHistoryResponse::continuation() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.continuation) + return continuation_; +} +inline void GetWhisperHistoryResponse::set_continuation(::google::protobuf::uint64 value) { + set_has_continuation(); + continuation_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.GetWhisperHistoryResponse.continuation) +} + +// ------------------------------------------------------------------- + +// SendWhisperRequest + +// optional uint64 target_account_id = 1; +inline bool SendWhisperRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SendWhisperRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperRequest.target_account_id) + return target_account_id_; +} +inline void SendWhisperRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SendWhisperRequest.target_account_id) +} + +// optional .bgs.protocol.whisper.v2.SendWhisperOptions options = 2; +inline bool SendWhisperRequest::has_options() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SendWhisperRequest::set_has_options() { + _has_bits_[0] |= 0x00000002u; +} +inline void SendWhisperRequest::clear_has_options() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SendWhisperRequest::clear_options() { + if (options_ != NULL) options_->::bgs::protocol::whisper::v2::SendWhisperOptions::Clear(); + clear_has_options(); +} +inline const ::bgs::protocol::whisper::v2::SendWhisperOptions& SendWhisperRequest::options() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) + return options_ != NULL ? *options_ : *default_instance_->options_; +} +inline ::bgs::protocol::whisper::v2::SendWhisperOptions* SendWhisperRequest::mutable_options() { + set_has_options(); + if (options_ == NULL) options_ = new ::bgs::protocol::whisper::v2::SendWhisperOptions; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) + return options_; +} +inline ::bgs::protocol::whisper::v2::SendWhisperOptions* SendWhisperRequest::release_options() { + clear_has_options(); + ::bgs::protocol::whisper::v2::SendWhisperOptions* temp = options_; + options_ = NULL; + return temp; +} +inline void SendWhisperRequest::set_allocated_options(::bgs::protocol::whisper::v2::SendWhisperOptions* options) { + delete options_; + options_ = options; + if (options) { + set_has_options(); + } else { + clear_has_options(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.SendWhisperRequest.options) +} + +// ------------------------------------------------------------------- + +// SendWhisperResponse + +// optional .bgs.protocol.whisper.v2.Whisper whisper = 1; +inline bool SendWhisperResponse::has_whisper() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperResponse::set_has_whisper() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperResponse::clear_has_whisper() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperResponse::clear_whisper() { + if (whisper_ != NULL) whisper_->::bgs::protocol::whisper::v2::Whisper::Clear(); + clear_has_whisper(); +} +inline const ::bgs::protocol::whisper::v2::Whisper& SendWhisperResponse::whisper() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) + return whisper_ != NULL ? *whisper_ : *default_instance_->whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* SendWhisperResponse::mutable_whisper() { + set_has_whisper(); + if (whisper_ == NULL) whisper_ = new ::bgs::protocol::whisper::v2::Whisper; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) + return whisper_; +} +inline ::bgs::protocol::whisper::v2::Whisper* SendWhisperResponse::release_whisper() { + clear_has_whisper(); + ::bgs::protocol::whisper::v2::Whisper* temp = whisper_; + whisper_ = NULL; + return temp; +} +inline void SendWhisperResponse::set_allocated_whisper(::bgs::protocol::whisper::v2::Whisper* whisper) { + delete whisper_; + whisper_ = whisper; + if (whisper) { + set_has_whisper(); + } else { + clear_has_whisper(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.client.SendWhisperResponse.whisper) +} + +// ------------------------------------------------------------------- + +// SetTypingIndicatorRequest + +// optional uint64 target_account_id = 1; +inline bool SetTypingIndicatorRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SetTypingIndicatorRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 SetTypingIndicatorRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.target_account_id) + return target_account_id_; +} +inline void SetTypingIndicatorRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.target_account_id) +} + +// optional .bgs.protocol.TypingIndicator indicator = 2; +inline bool SetTypingIndicatorRequest::has_indicator() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SetTypingIndicatorRequest::set_has_indicator() { + _has_bits_[0] |= 0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_has_indicator() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SetTypingIndicatorRequest::clear_indicator() { + indicator_ = 0; + clear_has_indicator(); +} +inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.indicator) + return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); +} +inline void SetTypingIndicatorRequest::set_indicator(::bgs::protocol::TypingIndicator value) { + assert(::bgs::protocol::TypingIndicator_IsValid(value)); + set_has_indicator(); + indicator_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.SetTypingIndicatorRequest.indicator) +} + +// ------------------------------------------------------------------- + +// AdvanceViewTimeRequest + +// optional uint64 target_account_id = 1; +inline bool AdvanceViewTimeRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceViewTimeRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceViewTimeRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceViewTimeRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceViewTimeRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest.target_account_id) + return target_account_id_; +} +inline void AdvanceViewTimeRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceViewTimeRequest.target_account_id) +} + +// ------------------------------------------------------------------- + +// AdvanceClearTimeRequest + +// optional uint64 target_account_id = 1; +inline bool AdvanceClearTimeRequest::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AdvanceClearTimeRequest::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AdvanceClearTimeRequest::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AdvanceClearTimeRequest::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 AdvanceClearTimeRequest::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest.target_account_id) + return target_account_id_; +} +inline void AdvanceClearTimeRequest::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.client.AdvanceClearTimeRequest.target_account_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fclient_2fv2_2fwhisper_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_core.pb.cc b/src/server/proto/Client/api/common/v1/club_core.pb.cc new file mode 100644 index 00000000000..73a0bde3faf --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_core.pb.cc @@ -0,0 +1,344 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_core.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_core.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* AvatarId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AvatarId_reflection_ = NULL; +const ::google::protobuf::Descriptor* ClubDescription_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ClubDescription_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_core.proto"); + GOOGLE_CHECK(file != NULL); + AvatarId_descriptor_ = file->message_type(0); + static const int AvatarId_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, id_), + }; + AvatarId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AvatarId_descriptor_, + AvatarId::default_instance_, + AvatarId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AvatarId)); + ClubDescription_descriptor_ = file->message_type(1); + static const int ClubDescription_offsets_[13] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, avatar_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, privacy_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, visibility_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, member_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, leader_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, timezone_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, locale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, tag_), + }; + ClubDescription_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ClubDescription_descriptor_, + ClubDescription::default_instance_, + ClubDescription_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ClubDescription)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AvatarId_descriptor_, &AvatarId::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ClubDescription_descriptor_, &ClubDescription::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + delete AvatarId::default_instance_; + delete AvatarId_reflection_; + delete ClubDescription::default_instance_; + delete ClubDescription_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + ::bgs::protocol::club::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + ::bgs::protocol::club::v1::client::protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fmember_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_core.proto\022\024bgs.pro" + "tocol.club.v1\032\034api/common/v1/club_tag.pr" + "oto\032\035api/common/v1/club_type.proto\032\035api/" + "common/v1/club_enum.proto\032\037api/client/v1" + "/club_member.proto\"\026\n\010AvatarId\022\n\n\002id\030\001 \001" + "(\r\"\341\003\n\017ClubDescription\022\n\n\002id\030\001 \001(\004\0222\n\004ty" + "pe\030\002 \001(\0132$.bgs.protocol.club.v1.UniqueCl" + "ubType\022\014\n\004name\030\003 \001(\t\022\023\n\013description\030\004 \001(" + "\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol.club.v1" + ".AvatarId\0229\n\rprivacy_level\030\006 \001(\0162\".bgs.p" + "rotocol.club.v1.PrivacyLevel\022\?\n\020visibili" + "ty_level\030\007 \001(\0162%.bgs.protocol.club.v1.Vi" + "sibilityLevel\022\024\n\014member_count\030\010 \001(\r\022>\n\006l" + "eader\030\t \003(\0132..bgs.protocol.club.v1.clien" + "t.MemberDescription\022\025\n\rcreation_time\030\n \001" + "(\004\022\020\n\010timezone\030\013 \001(\t\022\016\n\006locale\030\014 \001(\t\0220\n\003" + "tag\030\r \003(\0132#.bgs.protocol.club.v1.TagIden" + "tifierB\002H\002", 690); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_core.proto", &protobuf_RegisterTypes); + AvatarId::default_instance_ = new AvatarId(); + ClubDescription::default_instance_ = new ClubDescription(); + AvatarId::default_instance_->InitAsDefaultInstance(); + ClubDescription::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fcore_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int AvatarId::kIdFieldNumber; +#endif // !_MSC_VER + +AvatarId::AvatarId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AvatarId) +} + +void AvatarId::InitAsDefaultInstance() { +} + +AvatarId::AvatarId(const AvatarId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AvatarId) +} + +void AvatarId::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AvatarId::~AvatarId() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AvatarId) + SharedDtor(); +} + +void AvatarId::SharedDtor() { + if (this != default_instance_) { + } +} + +void AvatarId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AvatarId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AvatarId_descriptor_; +} + +const AvatarId& AvatarId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +AvatarId* AvatarId::default_instance_ = NULL; + +AvatarId* AvatarId::New() const { + return new AvatarId; +} + +void AvatarId::Swap(AvatarId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AvatarId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AvatarId_descriptor_; + metadata.reflection = AvatarId_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ClubDescription::kIdFieldNumber; +const int ClubDescription::kTypeFieldNumber; +const int ClubDescription::kNameFieldNumber; +const int ClubDescription::kDescriptionFieldNumber; +const int ClubDescription::kAvatarFieldNumber; +const int ClubDescription::kPrivacyLevelFieldNumber; +const int ClubDescription::kVisibilityLevelFieldNumber; +const int ClubDescription::kMemberCountFieldNumber; +const int ClubDescription::kLeaderFieldNumber; +const int ClubDescription::kCreationTimeFieldNumber; +const int ClubDescription::kTimezoneFieldNumber; +const int ClubDescription::kLocaleFieldNumber; +const int ClubDescription::kTagFieldNumber; +#endif // !_MSC_VER + +ClubDescription::ClubDescription() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubDescription) +} + +void ClubDescription::InitAsDefaultInstance() { + type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); + avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); +} + +ClubDescription::ClubDescription(const ClubDescription& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubDescription) +} + +void ClubDescription::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + type_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + avatar_ = NULL; + privacy_level_ = 0; + visibility_level_ = 0; + member_count_ = 0u; + creation_time_ = GOOGLE_ULONGLONG(0); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ClubDescription::~ClubDescription() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubDescription) + SharedDtor(); +} + +void ClubDescription::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (this != default_instance_) { + delete type_; + delete avatar_; + } +} + +void ClubDescription::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ClubDescription::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ClubDescription_descriptor_; +} + +const ClubDescription& ClubDescription::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + return *default_instance_; +} + +ClubDescription* ClubDescription::default_instance_ = NULL; + +ClubDescription* ClubDescription::New() const { + return new ClubDescription; +} + +void ClubDescription::Swap(ClubDescription* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ClubDescription::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ClubDescription_descriptor_; + metadata.reflection = ClubDescription_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_core.pb.h b/src/server/proto/Client/api/common/v1/club_core.pb.h new file mode 100644 index 00000000000..2967858faa7 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_core.pb.h @@ -0,0 +1,949 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_core.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/club_tag.pb.h" +#include "api/common/v1/club_type.pb.h" +#include "api/common/v1/club_enum.pb.h" +#include "api/client/v1/club_member.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + +class AvatarId; +class ClubDescription; + +// =================================================================== + +class TC_PROTO_API AvatarId : public ::google::protobuf::Message { + public: + AvatarId(); + virtual ~AvatarId(); + + AvatarId(const AvatarId& from); + + inline AvatarId& operator=(const AvatarId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AvatarId& default_instance(); + + void Swap(AvatarId* other); + + // implements Message ---------------------------------------------- + + AvatarId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AvatarId) + private: + inline void set_has_id(); + inline void clear_has_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static AvatarId* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ClubDescription : public ::google::protobuf::Message { + public: + ClubDescription(); + virtual ~ClubDescription(); + + ClubDescription(const ClubDescription& from); + + inline ClubDescription& operator=(const ClubDescription& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ClubDescription& default_instance(); + + void Swap(ClubDescription* other); + + // implements Message ---------------------------------------------- + + ClubDescription* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.club.v1.UniqueClubType type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; + inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); + inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); + inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 4; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 4; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.club.v1.AvatarId avatar = 5; + inline bool has_avatar() const; + inline void clear_avatar(); + static const int kAvatarFieldNumber = 5; + inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; + inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); + inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); + inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); + + // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; + inline bool has_privacy_level() const; + inline void clear_privacy_level(); + static const int kPrivacyLevelFieldNumber = 6; + inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; + inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); + + // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; + inline bool has_visibility_level() const; + inline void clear_visibility_level(); + static const int kVisibilityLevelFieldNumber = 7; + inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; + inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); + + // optional uint32 member_count = 8; + inline bool has_member_count() const; + inline void clear_member_count(); + static const int kMemberCountFieldNumber = 8; + inline ::google::protobuf::uint32 member_count() const; + inline void set_member_count(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.club.v1.client.MemberDescription leader = 9; + inline int leader_size() const; + inline void clear_leader(); + static const int kLeaderFieldNumber = 9; + inline const ::bgs::protocol::club::v1::client::MemberDescription& leader(int index) const; + inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_leader(int index); + inline ::bgs::protocol::club::v1::client::MemberDescription* add_leader(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& + leader() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* + mutable_leader(); + + // optional uint64 creation_time = 10; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 10; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional string timezone = 11; + inline bool has_timezone() const; + inline void clear_timezone(); + static const int kTimezoneFieldNumber = 11; + inline const ::std::string& timezone() const; + inline void set_timezone(const ::std::string& value); + inline void set_timezone(const char* value); + inline void set_timezone(const char* value, size_t size); + inline ::std::string* mutable_timezone(); + inline ::std::string* release_timezone(); + inline void set_allocated_timezone(::std::string* timezone); + + // optional string locale = 12; + inline bool has_locale() const; + inline void clear_locale(); + static const int kLocaleFieldNumber = 12; + inline const ::std::string& locale() const; + inline void set_locale(const ::std::string& value); + inline void set_locale(const char* value); + inline void set_locale(const char* value, size_t size); + inline ::std::string* mutable_locale(); + inline ::std::string* release_locale(); + inline void set_allocated_locale(::std::string* locale); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 13; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubDescription) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_avatar(); + inline void clear_has_avatar(); + inline void set_has_privacy_level(); + inline void clear_has_privacy_level(); + inline void set_has_visibility_level(); + inline void clear_has_visibility_level(); + inline void set_has_member_count(); + inline void clear_has_member_count(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_timezone(); + inline void clear_has_timezone(); + inline void set_has_locale(); + inline void clear_has_locale(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::club::v1::UniqueClubType* type_; + ::std::string* name_; + ::std::string* description_; + ::bgs::protocol::club::v1::AvatarId* avatar_; + int privacy_level_; + int visibility_level_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_; + ::google::protobuf::uint64 creation_time_; + ::std::string* timezone_; + ::std::string* locale_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::uint32 member_count_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fcore_2eproto(); + + void InitAsDefaultInstance(); + static ClubDescription* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// AvatarId + +// optional uint32 id = 1; +inline bool AvatarId::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AvatarId::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void AvatarId::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AvatarId::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 AvatarId::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AvatarId.id) + return id_; +} +inline void AvatarId::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AvatarId.id) +} + +// ------------------------------------------------------------------- + +// ClubDescription + +// optional uint64 id = 1; +inline bool ClubDescription::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ClubDescription::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void ClubDescription::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ClubDescription::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 ClubDescription::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.id) + return id_; +} +inline void ClubDescription::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.id) +} + +// optional .bgs.protocol.club.v1.UniqueClubType type = 2; +inline bool ClubDescription::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ClubDescription::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void ClubDescription::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ClubDescription::clear_type() { + if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); + clear_has_type(); +} +inline const ::bgs::protocol::club::v1::UniqueClubType& ClubDescription::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.type) + return type_ != NULL ? *type_ : *default_instance_->type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::mutable_type() { + set_has_type(); + if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.type) + return type_; +} +inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::release_type() { + clear_has_type(); + ::bgs::protocol::club::v1::UniqueClubType* temp = type_; + type_ = NULL; + return temp; +} +inline void ClubDescription::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { + delete type_; + type_ = type; + if (type) { + set_has_type(); + } else { + clear_has_type(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.type) +} + +// optional string name = 3; +inline bool ClubDescription::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ClubDescription::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void ClubDescription::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ClubDescription::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& ClubDescription::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.name) + return *name_; +} +inline void ClubDescription::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.name) +} +inline void ClubDescription::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.name) +} +inline void ClubDescription::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.name) +} +inline ::std::string* ClubDescription::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.name) + return name_; +} +inline ::std::string* ClubDescription::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.name) +} + +// optional string description = 4; +inline bool ClubDescription::has_description() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ClubDescription::set_has_description() { + _has_bits_[0] |= 0x00000008u; +} +inline void ClubDescription::clear_has_description() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ClubDescription::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& ClubDescription::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.description) + return *description_; +} +inline void ClubDescription::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.description) +} +inline void ClubDescription::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.description) +} +inline void ClubDescription::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.description) +} +inline ::std::string* ClubDescription::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.description) + return description_; +} +inline ::std::string* ClubDescription::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.description) +} + +// optional .bgs.protocol.club.v1.AvatarId avatar = 5; +inline bool ClubDescription::has_avatar() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ClubDescription::set_has_avatar() { + _has_bits_[0] |= 0x00000010u; +} +inline void ClubDescription::clear_has_avatar() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ClubDescription::clear_avatar() { + if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); + clear_has_avatar(); +} +inline const ::bgs::protocol::club::v1::AvatarId& ClubDescription::avatar() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.avatar) + return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::mutable_avatar() { + set_has_avatar(); + if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.avatar) + return avatar_; +} +inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::release_avatar() { + clear_has_avatar(); + ::bgs::protocol::club::v1::AvatarId* temp = avatar_; + avatar_ = NULL; + return temp; +} +inline void ClubDescription::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { + delete avatar_; + avatar_ = avatar; + if (avatar) { + set_has_avatar(); + } else { + clear_has_avatar(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.avatar) +} + +// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; +inline bool ClubDescription::has_privacy_level() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ClubDescription::set_has_privacy_level() { + _has_bits_[0] |= 0x00000020u; +} +inline void ClubDescription::clear_has_privacy_level() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ClubDescription::clear_privacy_level() { + privacy_level_ = 0; + clear_has_privacy_level(); +} +inline ::bgs::protocol::club::v1::PrivacyLevel ClubDescription::privacy_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.privacy_level) + return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); +} +inline void ClubDescription::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { + assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); + set_has_privacy_level(); + privacy_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.privacy_level) +} + +// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; +inline bool ClubDescription::has_visibility_level() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ClubDescription::set_has_visibility_level() { + _has_bits_[0] |= 0x00000040u; +} +inline void ClubDescription::clear_has_visibility_level() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ClubDescription::clear_visibility_level() { + visibility_level_ = 0; + clear_has_visibility_level(); +} +inline ::bgs::protocol::club::v1::VisibilityLevel ClubDescription::visibility_level() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.visibility_level) + return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); +} +inline void ClubDescription::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { + assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); + set_has_visibility_level(); + visibility_level_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.visibility_level) +} + +// optional uint32 member_count = 8; +inline bool ClubDescription::has_member_count() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ClubDescription::set_has_member_count() { + _has_bits_[0] |= 0x00000080u; +} +inline void ClubDescription::clear_has_member_count() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ClubDescription::clear_member_count() { + member_count_ = 0u; + clear_has_member_count(); +} +inline ::google::protobuf::uint32 ClubDescription::member_count() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.member_count) + return member_count_; +} +inline void ClubDescription::set_member_count(::google::protobuf::uint32 value) { + set_has_member_count(); + member_count_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.member_count) +} + +// repeated .bgs.protocol.club.v1.client.MemberDescription leader = 9; +inline int ClubDescription::leader_size() const { + return leader_.size(); +} +inline void ClubDescription::clear_leader() { + leader_.Clear(); +} +inline const ::bgs::protocol::club::v1::client::MemberDescription& ClubDescription::leader(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Get(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubDescription::mutable_leader(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Mutable(index); +} +inline ::bgs::protocol::club::v1::client::MemberDescription* ClubDescription::add_leader() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.leader) + return leader_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >& +ClubDescription::leader() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.leader) + return leader_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >* +ClubDescription::mutable_leader() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.leader) + return &leader_; +} + +// optional uint64 creation_time = 10; +inline bool ClubDescription::has_creation_time() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void ClubDescription::set_has_creation_time() { + _has_bits_[0] |= 0x00000200u; +} +inline void ClubDescription::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000200u; +} +inline void ClubDescription::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 ClubDescription::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.creation_time) + return creation_time_; +} +inline void ClubDescription::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.creation_time) +} + +// optional string timezone = 11; +inline bool ClubDescription::has_timezone() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void ClubDescription::set_has_timezone() { + _has_bits_[0] |= 0x00000400u; +} +inline void ClubDescription::clear_has_timezone() { + _has_bits_[0] &= ~0x00000400u; +} +inline void ClubDescription::clear_timezone() { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_->clear(); + } + clear_has_timezone(); +} +inline const ::std::string& ClubDescription::timezone() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.timezone) + return *timezone_; +} +inline void ClubDescription::set_timezone(const ::std::string& value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline void ClubDescription::set_timezone(const char* value) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline void ClubDescription::set_timezone(const char* value, size_t size) { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + timezone_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.timezone) +} +inline ::std::string* ClubDescription::mutable_timezone() { + set_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + timezone_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.timezone) + return timezone_; +} +inline ::std::string* ClubDescription::release_timezone() { + clear_has_timezone(); + if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = timezone_; + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_timezone(::std::string* timezone) { + if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete timezone_; + } + if (timezone) { + set_has_timezone(); + timezone_ = timezone; + } else { + clear_has_timezone(); + timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.timezone) +} + +// optional string locale = 12; +inline bool ClubDescription::has_locale() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void ClubDescription::set_has_locale() { + _has_bits_[0] |= 0x00000800u; +} +inline void ClubDescription::clear_has_locale() { + _has_bits_[0] &= ~0x00000800u; +} +inline void ClubDescription::clear_locale() { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_->clear(); + } + clear_has_locale(); +} +inline const ::std::string& ClubDescription::locale() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.locale) + return *locale_; +} +inline void ClubDescription::set_locale(const ::std::string& value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.locale) +} +inline void ClubDescription::set_locale(const char* value) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.locale) +} +inline void ClubDescription::set_locale(const char* value, size_t size) { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + locale_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.locale) +} +inline ::std::string* ClubDescription::mutable_locale() { + set_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + locale_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.locale) + return locale_; +} +inline ::std::string* ClubDescription::release_locale() { + clear_has_locale(); + if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = locale_; + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void ClubDescription::set_allocated_locale(::std::string* locale) { + if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete locale_; + } + if (locale) { + set_has_locale(); + locale_ = locale; + } else { + clear_has_locale(); + locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.locale) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; +inline int ClubDescription::tag_size() const { + return tag_.size(); +} +inline void ClubDescription::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& ClubDescription::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +ClubDescription::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +ClubDescription::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.tag) + return &tag_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fcore_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_enum.pb.cc b/src/server/proto/Client/api/common/v1/club_enum.pb.cc new file mode 100644 index 00000000000..49db759bc21 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_enum.pb.cc @@ -0,0 +1,140 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_enum.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_enum.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_enum.proto"); + GOOGLE_CHECK(file != NULL); + PrivacyLevel_descriptor_ = file->enum_type(0); + VisibilityLevel_descriptor_ = file->enum_type(1); + JoinClubSource_descriptor_ = file->enum_type(2); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_enum.proto\022\024bgs.pro" + "tocol.club.v1*\202\001\n\014PrivacyLevel\022\030\n\024PRIVAC" + "Y_LEVEL_CLOSED\020\000\022!\n\035PRIVACY_LEVEL_OPEN_I" + "NVITATION\020\001\022\035\n\031PRIVACY_LEVEL_OPEN_TICKET" + "\020\002\022\026\n\022PRIVACY_LEVEL_OPEN\020\003*L\n\017Visibility" + "Level\022\034\n\030VISIBILITY_LEVEL_PRIVATE\020\000\022\033\n\027V" + "ISIBILITY_LEVEL_PUBLIC\020\001*w\n\016JoinClubSour" + "ce\022\031\n\025JOIN_CLUB_SOURCE_NONE\020\000\022 \n\034JOIN_CL" + "UB_SOURCE_CLUB_FINDER\020\001\022(\n$JOIN_CLUB_SOU" + "RCE_CLUB_RECOMMENDATION\020\002B\002H\002", 389); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_enum.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fenum_2eproto_; +const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return PrivacyLevel_descriptor_; +} +bool PrivacyLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VisibilityLevel_descriptor_; +} +bool VisibilityLevel_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor() { + protobuf_AssignDescriptorsOnce(); + return JoinClubSource_descriptor_; +} +bool JoinClubSource_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_enum.pb.h b/src/server/proto/Client/api/common/v1/club_enum.pb.h new file mode 100644 index 00000000000..5bb246ded4d --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_enum.pb.h @@ -0,0 +1,137 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_enum.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fenum_2eproto(); + +enum PrivacyLevel { + PRIVACY_LEVEL_CLOSED = 0, + PRIVACY_LEVEL_OPEN_INVITATION = 1, + PRIVACY_LEVEL_OPEN_TICKET = 2, + PRIVACY_LEVEL_OPEN = 3 +}; +TC_PROTO_API bool PrivacyLevel_IsValid(int value); +const PrivacyLevel PrivacyLevel_MIN = PRIVACY_LEVEL_CLOSED; +const PrivacyLevel PrivacyLevel_MAX = PRIVACY_LEVEL_OPEN; +const int PrivacyLevel_ARRAYSIZE = PrivacyLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor(); +inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { + return ::google::protobuf::internal::NameOfEnum( + PrivacyLevel_descriptor(), value); +} +inline bool PrivacyLevel_Parse( + const ::std::string& name, PrivacyLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PrivacyLevel_descriptor(), name, value); +} +enum VisibilityLevel { + VISIBILITY_LEVEL_PRIVATE = 0, + VISIBILITY_LEVEL_PUBLIC = 1 +}; +TC_PROTO_API bool VisibilityLevel_IsValid(int value); +const VisibilityLevel VisibilityLevel_MIN = VISIBILITY_LEVEL_PRIVATE; +const VisibilityLevel VisibilityLevel_MAX = VISIBILITY_LEVEL_PUBLIC; +const int VisibilityLevel_ARRAYSIZE = VisibilityLevel_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor(); +inline const ::std::string& VisibilityLevel_Name(VisibilityLevel value) { + return ::google::protobuf::internal::NameOfEnum( + VisibilityLevel_descriptor(), value); +} +inline bool VisibilityLevel_Parse( + const ::std::string& name, VisibilityLevel* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VisibilityLevel_descriptor(), name, value); +} +enum JoinClubSource { + JOIN_CLUB_SOURCE_NONE = 0, + JOIN_CLUB_SOURCE_CLUB_FINDER = 1, + JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION = 2 +}; +TC_PROTO_API bool JoinClubSource_IsValid(int value); +const JoinClubSource JoinClubSource_MIN = JOIN_CLUB_SOURCE_NONE; +const JoinClubSource JoinClubSource_MAX = JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION; +const int JoinClubSource_ARRAYSIZE = JoinClubSource_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor(); +inline const ::std::string& JoinClubSource_Name(JoinClubSource value) { + return ::google::protobuf::internal::NameOfEnum( + JoinClubSource_descriptor(), value); +} +inline bool JoinClubSource_Parse( + const ::std::string& name, JoinClubSource* value) { + return ::google::protobuf::internal::ParseNamedEnum( + JoinClubSource_descriptor(), name, value); +} +// =================================================================== + +// =================================================================== + +// =================================================================== + +// =================================================================== +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::PrivacyLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel>() { + return ::bgs::protocol::club::v1::PrivacyLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::VisibilityLevel> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel>() { + return ::bgs::protocol::club::v1::VisibilityLevel_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::JoinClubSource> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::JoinClubSource>() { + return ::bgs::protocol::club::v1::JoinClubSource_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_member_id.pb.cc b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc new file mode 100644 index 00000000000..6b02d270c97 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.cc @@ -0,0 +1,193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_member_id.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_member_id.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* MemberId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MemberId_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_member_id.proto"); + GOOGLE_CHECK(file != NULL); + MemberId_descriptor_ = file->message_type(0); + static const int MemberId_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, account_id_deprecated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, unique_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, account_id_), + }; + MemberId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MemberId_descriptor_, + MemberId::default_instance_, + MemberId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MemberId)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MemberId_descriptor_, &MemberId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + delete MemberId::default_instance_; + delete MemberId_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto(); + ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\"api/common/v1/club_member_id.proto\022\024bg" + "s.protocol.club.v1\032\'global_extensions/me" + "ssage_options.proto\032\023account_types.proto" + "\032\017rpc_types.proto\"\204\001\n\010MemberId\022I\n\025accoun" + "t_id_deprecated\030\001 \001(\0132\".bgs.protocol.acc" + "ount.v1.AccountIdB\006\222\371+\002 \001\022\021\n\tunique_id\030\002" + " \001(\004\022\022\n\naccount_id\030\003 \001(\004:\006\202\371+\002\010\001B\002H\002", 276); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_member_id.proto", &protobuf_RegisterTypes); + MemberId::default_instance_ = new MemberId(); + MemberId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int MemberId::kAccountIdDeprecatedFieldNumber; +const int MemberId::kUniqueIdFieldNumber; +const int MemberId::kAccountIdFieldNumber; +#endif // !_MSC_VER + +MemberId::MemberId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberId) +} + +void MemberId::InitAsDefaultInstance() { + account_id_deprecated_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); +} + +MemberId::MemberId(const MemberId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberId) +} + +void MemberId::SharedCtor() { + _cached_size_ = 0; + account_id_deprecated_ = NULL; + unique_id_ = GOOGLE_ULONGLONG(0); + account_id_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MemberId::~MemberId() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberId) + SharedDtor(); +} + +void MemberId::SharedDtor() { + if (this != default_instance_) { + delete account_id_deprecated_; + } +} + +void MemberId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MemberId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MemberId_descriptor_; +} + +const MemberId& MemberId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + return *default_instance_; +} + +MemberId* MemberId::default_instance_ = NULL; + +MemberId* MemberId::New() const { + return new MemberId; +} + +void MemberId::Swap(MemberId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MemberId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MemberId_descriptor_; + metadata.reflection = MemberId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_member_id.pb.h b/src/server/proto/Client/api/common/v1/club_member_id.pb.h new file mode 100644 index 00000000000..150aac7c393 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_member_id.pb.h @@ -0,0 +1,246 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_member_id.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "global_extensions/message_options.pb.h" +#include "account_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + +class MemberId; + +// =================================================================== + +class TC_PROTO_API MemberId : public ::google::protobuf::Message { + public: + MemberId(); + virtual ~MemberId(); + + MemberId(const MemberId& from); + + inline MemberId& operator=(const MemberId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MemberId& default_instance(); + + void Swap(MemberId* other); + + // implements Message ---------------------------------------------- + + MemberId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1; + inline bool has_account_id_deprecated() const; + inline void clear_account_id_deprecated(); + static const int kAccountIdDeprecatedFieldNumber = 1; + inline const ::bgs::protocol::account::v1::AccountId& account_id_deprecated() const; + inline ::bgs::protocol::account::v1::AccountId* mutable_account_id_deprecated(); + inline ::bgs::protocol::account::v1::AccountId* release_account_id_deprecated(); + inline void set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId* account_id_deprecated); + + // optional uint64 unique_id = 2; + inline bool has_unique_id() const; + inline void clear_unique_id(); + static const int kUniqueIdFieldNumber = 2; + inline ::google::protobuf::uint64 unique_id() const; + inline void set_unique_id(::google::protobuf::uint64 value); + + // optional uint64 account_id = 3; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 3; + inline ::google::protobuf::uint64 account_id() const; + inline void set_account_id(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberId) + private: + inline void set_has_account_id_deprecated(); + inline void clear_has_account_id_deprecated(); + inline void set_has_unique_id(); + inline void clear_has_unique_id(); + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::account::v1::AccountId* account_id_deprecated_; + ::google::protobuf::uint64 unique_id_; + ::google::protobuf::uint64 account_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto(); + + void InitAsDefaultInstance(); + static MemberId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// MemberId + +// optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1; +inline bool MemberId::has_account_id_deprecated() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MemberId::set_has_account_id_deprecated() { + _has_bits_[0] |= 0x00000001u; +} +inline void MemberId::clear_has_account_id_deprecated() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MemberId::clear_account_id_deprecated() { + if (account_id_deprecated_ != NULL) account_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear(); + clear_has_account_id_deprecated(); +} +inline const ::bgs::protocol::account::v1::AccountId& MemberId::account_id_deprecated() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id_deprecated) + return account_id_deprecated_ != NULL ? *account_id_deprecated_ : *default_instance_->account_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* MemberId::mutable_account_id_deprecated() { + set_has_account_id_deprecated(); + if (account_id_deprecated_ == NULL) account_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberId.account_id_deprecated) + return account_id_deprecated_; +} +inline ::bgs::protocol::account::v1::AccountId* MemberId::release_account_id_deprecated() { + clear_has_account_id_deprecated(); + ::bgs::protocol::account::v1::AccountId* temp = account_id_deprecated_; + account_id_deprecated_ = NULL; + return temp; +} +inline void MemberId::set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId* account_id_deprecated) { + delete account_id_deprecated_; + account_id_deprecated_ = account_id_deprecated; + if (account_id_deprecated) { + set_has_account_id_deprecated(); + } else { + clear_has_account_id_deprecated(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id_deprecated) +} + +// optional uint64 unique_id = 2; +inline bool MemberId::has_unique_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MemberId::set_has_unique_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void MemberId::clear_has_unique_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MemberId::clear_unique_id() { + unique_id_ = GOOGLE_ULONGLONG(0); + clear_has_unique_id(); +} +inline ::google::protobuf::uint64 MemberId::unique_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.unique_id) + return unique_id_; +} +inline void MemberId::set_unique_id(::google::protobuf::uint64 value) { + set_has_unique_id(); + unique_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.unique_id) +} + +// optional uint64 account_id = 3; +inline bool MemberId::has_account_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void MemberId::set_has_account_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void MemberId::clear_has_account_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void MemberId::clear_account_id() { + account_id_ = GOOGLE_ULONGLONG(0); + clear_has_account_id(); +} +inline ::google::protobuf::uint64 MemberId::account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id) + return account_id_; +} +inline void MemberId::set_account_id(::google::protobuf::uint64 value) { + set_has_account_id(); + account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.account_id) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_tag.pb.cc b/src/server/proto/Client/api/common/v1/club_tag.pb.cc new file mode 100644 index 00000000000..a651868269a --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.cc @@ -0,0 +1,435 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_tag.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_tag.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* TagOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TagOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* TagIdentifier_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + TagIdentifier_reflection_ = NULL; +const ::google::protobuf::Descriptor* LocalizedTag_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + LocalizedTag_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* TagAction_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* TagType_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_tag.proto"); + GOOGLE_CHECK(file != NULL); + TagOptions_descriptor_ = file->message_type(0); + static const int TagOptions_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, action_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, tag_), + }; + TagOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TagOptions_descriptor_, + TagOptions::default_instance_, + TagOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TagOptions)); + TagIdentifier_descriptor_ = file->message_type(1); + static const int TagIdentifier_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, type_), + }; + TagIdentifier_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + TagIdentifier_descriptor_, + TagIdentifier::default_instance_, + TagIdentifier_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(TagIdentifier)); + LocalizedTag_descriptor_ = file->message_type(2); + static const int LocalizedTag_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, tag_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, description_), + }; + LocalizedTag_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + LocalizedTag_descriptor_, + LocalizedTag::default_instance_, + LocalizedTag_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(LocalizedTag)); + TagAction_descriptor_ = file->enum_type(0); + TagType_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TagOptions_descriptor_, &TagOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + TagIdentifier_descriptor_, &TagIdentifier::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + LocalizedTag_descriptor_, &LocalizedTag::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + delete TagOptions::default_instance_; + delete TagOptions_reflection_; + delete TagIdentifier::default_instance_; + delete TagIdentifier_reflection_; + delete LocalizedTag::default_instance_; + delete LocalizedTag_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\034api/common/v1/club_tag.proto\022\024bgs.prot" + "ocol.club.v1\032\017rpc_types.proto\"_\n\nTagOpti" + "ons\022\037\n\006action\030\001 \001(\rB\017\202\371+\013*\tTagAction\0220\n\003" + "tag\030\002 \003(\0132#.bgs.protocol.club.v1.TagIden" + "tifier\"8\n\rTagIdentifier\022\n\n\002id\030\001 \001(\r\022\033\n\004t" + "ype\030\002 \001(\rB\r\202\371+\t*\007TagType\"f\n\014LocalizedTag" + "\0223\n\006tag_id\030\001 \001(\0132#.bgs.protocol.club.v1." + "TagIdentifier\022\014\n\004name\030\002 \001(\t\022\023\n\013descripti" + "on\030\003 \001(\t*J\n\tTagAction\022\023\n\017TAG_ACTION_NONE" + "\020\000\022\024\n\020TAG_ACTION_CLEAR\020\001\022\022\n\016TAG_ACTION_S" + "ET\020\002*K\n\007TagType\022\024\n\020TAG_TYPE_INVALID\020\000\022\025\n" + "\021TAG_TYPE_PLATFORM\020\001\022\023\n\017TAG_TYPE_CUSTOM\020" + "\002B\002H\002", 485); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_tag.proto", &protobuf_RegisterTypes); + TagOptions::default_instance_ = new TagOptions(); + TagIdentifier::default_instance_ = new TagIdentifier(); + LocalizedTag::default_instance_ = new LocalizedTag(); + TagOptions::default_instance_->InitAsDefaultInstance(); + TagIdentifier::default_instance_->InitAsDefaultInstance(); + LocalizedTag::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftag_2eproto_; +const ::google::protobuf::EnumDescriptor* TagAction_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagAction_descriptor_; +} +bool TagAction_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* TagType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagType_descriptor_; +} +bool TagType_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int TagOptions::kActionFieldNumber; +const int TagOptions::kTagFieldNumber; +#endif // !_MSC_VER + +TagOptions::TagOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagOptions) +} + +void TagOptions::InitAsDefaultInstance() { +} + +TagOptions::TagOptions(const TagOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagOptions) +} + +void TagOptions::SharedCtor() { + _cached_size_ = 0; + action_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TagOptions::~TagOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagOptions) + SharedDtor(); +} + +void TagOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void TagOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TagOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagOptions_descriptor_; +} + +const TagOptions& TagOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +TagOptions* TagOptions::default_instance_ = NULL; + +TagOptions* TagOptions::New() const { + return new TagOptions; +} + +void TagOptions::Swap(TagOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TagOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TagOptions_descriptor_; + metadata.reflection = TagOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int TagIdentifier::kIdFieldNumber; +const int TagIdentifier::kTypeFieldNumber; +#endif // !_MSC_VER + +TagIdentifier::TagIdentifier() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagIdentifier) +} + +void TagIdentifier::InitAsDefaultInstance() { +} + +TagIdentifier::TagIdentifier(const TagIdentifier& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagIdentifier) +} + +void TagIdentifier::SharedCtor() { + _cached_size_ = 0; + id_ = 0u; + type_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +TagIdentifier::~TagIdentifier() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagIdentifier) + SharedDtor(); +} + +void TagIdentifier::SharedDtor() { + if (this != default_instance_) { + } +} + +void TagIdentifier::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* TagIdentifier::descriptor() { + protobuf_AssignDescriptorsOnce(); + return TagIdentifier_descriptor_; +} + +const TagIdentifier& TagIdentifier::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +TagIdentifier* TagIdentifier::default_instance_ = NULL; + +TagIdentifier* TagIdentifier::New() const { + return new TagIdentifier; +} + +void TagIdentifier::Swap(TagIdentifier* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata TagIdentifier::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = TagIdentifier_descriptor_; + metadata.reflection = TagIdentifier_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int LocalizedTag::kTagIdFieldNumber; +const int LocalizedTag::kNameFieldNumber; +const int LocalizedTag::kDescriptionFieldNumber; +#endif // !_MSC_VER + +LocalizedTag::LocalizedTag() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LocalizedTag) +} + +void LocalizedTag::InitAsDefaultInstance() { + tag_id_ = const_cast< ::bgs::protocol::club::v1::TagIdentifier*>(&::bgs::protocol::club::v1::TagIdentifier::default_instance()); +} + +LocalizedTag::LocalizedTag(const LocalizedTag& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LocalizedTag) +} + +void LocalizedTag::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + tag_id_ = NULL; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +LocalizedTag::~LocalizedTag() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LocalizedTag) + SharedDtor(); +} + +void LocalizedTag::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (this != default_instance_) { + delete tag_id_; + } +} + +void LocalizedTag::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* LocalizedTag::descriptor() { + protobuf_AssignDescriptorsOnce(); + return LocalizedTag_descriptor_; +} + +const LocalizedTag& LocalizedTag::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + return *default_instance_; +} + +LocalizedTag* LocalizedTag::default_instance_ = NULL; + +LocalizedTag* LocalizedTag::New() const { + return new LocalizedTag; +} + +void LocalizedTag::Swap(LocalizedTag* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata LocalizedTag::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = LocalizedTag_descriptor_; + metadata.reflection = LocalizedTag_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_tag.pb.h b/src/server/proto/Client/api/common/v1/club_tag.pb.h new file mode 100644 index 00000000000..ff1921aa476 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_tag.pb.h @@ -0,0 +1,676 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_tag.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + +class TagOptions; +class TagIdentifier; +class LocalizedTag; + +enum TagAction { + TAG_ACTION_NONE = 0, + TAG_ACTION_CLEAR = 1, + TAG_ACTION_SET = 2 +}; +TC_PROTO_API bool TagAction_IsValid(int value); +const TagAction TagAction_MIN = TAG_ACTION_NONE; +const TagAction TagAction_MAX = TAG_ACTION_SET; +const int TagAction_ARRAYSIZE = TagAction_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagAction_descriptor(); +inline const ::std::string& TagAction_Name(TagAction value) { + return ::google::protobuf::internal::NameOfEnum( + TagAction_descriptor(), value); +} +inline bool TagAction_Parse( + const ::std::string& name, TagAction* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TagAction_descriptor(), name, value); +} +enum TagType { + TAG_TYPE_INVALID = 0, + TAG_TYPE_PLATFORM = 1, + TAG_TYPE_CUSTOM = 2 +}; +TC_PROTO_API bool TagType_IsValid(int value); +const TagType TagType_MIN = TAG_TYPE_INVALID; +const TagType TagType_MAX = TAG_TYPE_CUSTOM; +const int TagType_ARRAYSIZE = TagType_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagType_descriptor(); +inline const ::std::string& TagType_Name(TagType value) { + return ::google::protobuf::internal::NameOfEnum( + TagType_descriptor(), value); +} +inline bool TagType_Parse( + const ::std::string& name, TagType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TagType_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API TagOptions : public ::google::protobuf::Message { + public: + TagOptions(); + virtual ~TagOptions(); + + TagOptions(const TagOptions& from); + + inline TagOptions& operator=(const TagOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TagOptions& default_instance(); + + void Swap(TagOptions* other); + + // implements Message ---------------------------------------------- + + TagOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 action = 1; + inline bool has_action() const; + inline void clear_action(); + static const int kActionFieldNumber = 1; + inline ::google::protobuf::uint32 action() const; + inline void set_action(::google::protobuf::uint32 value); + + // repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; + inline int tag_size() const; + inline void clear_tag(); + static const int kTagFieldNumber = 2; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); + inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& + tag() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* + mutable_tag(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagOptions) + private: + inline void set_has_action(); + inline void clear_has_action(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; + ::google::protobuf::uint32 action_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static TagOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API TagIdentifier : public ::google::protobuf::Message { + public: + TagIdentifier(); + virtual ~TagIdentifier(); + + TagIdentifier(const TagIdentifier& from); + + inline TagIdentifier& operator=(const TagIdentifier& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const TagIdentifier& default_instance(); + + void Swap(TagIdentifier* other); + + // implements Message ---------------------------------------------- + + TagIdentifier* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint32 id() const; + inline void set_id(::google::protobuf::uint32 value); + + // optional uint32 type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline ::google::protobuf::uint32 type() const; + inline void set_type(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagIdentifier) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 id_; + ::google::protobuf::uint32 type_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static TagIdentifier* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API LocalizedTag : public ::google::protobuf::Message { + public: + LocalizedTag(); + virtual ~LocalizedTag(); + + LocalizedTag(const LocalizedTag& from); + + inline LocalizedTag& operator=(const LocalizedTag& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const LocalizedTag& default_instance(); + + void Swap(LocalizedTag* other); + + // implements Message ---------------------------------------------- + + LocalizedTag* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; + inline bool has_tag_id() const; + inline void clear_tag_id(); + static const int kTagIdFieldNumber = 1; + inline const ::bgs::protocol::club::v1::TagIdentifier& tag_id() const; + inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag_id(); + inline ::bgs::protocol::club::v1::TagIdentifier* release_tag_id(); + inline void set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional string description = 3; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 3; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.LocalizedTag) + private: + inline void set_has_tag_id(); + inline void clear_has_tag_id(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_description(); + inline void clear_has_description(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::club::v1::TagIdentifier* tag_id_; + ::std::string* name_; + ::std::string* description_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto(); + + void InitAsDefaultInstance(); + static LocalizedTag* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// TagOptions + +// optional uint32 action = 1; +inline bool TagOptions::has_action() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TagOptions::set_has_action() { + _has_bits_[0] |= 0x00000001u; +} +inline void TagOptions::clear_has_action() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TagOptions::clear_action() { + action_ = 0u; + clear_has_action(); +} +inline ::google::protobuf::uint32 TagOptions::action() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.action) + return action_; +} +inline void TagOptions::set_action(::google::protobuf::uint32 value) { + set_has_action(); + action_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagOptions.action) +} + +// repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; +inline int TagOptions::tag_size() const { + return tag_.size(); +} +inline void TagOptions::clear_tag() { + tag_.Clear(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& TagOptions::tag(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Get(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::mutable_tag(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Mutable(index); +} +inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::add_tag() { + // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.TagOptions.tag) + return tag_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& +TagOptions::tag() const { + // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.TagOptions.tag) + return tag_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* +TagOptions::mutable_tag() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.TagOptions.tag) + return &tag_; +} + +// ------------------------------------------------------------------- + +// TagIdentifier + +// optional uint32 id = 1; +inline bool TagIdentifier::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void TagIdentifier::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void TagIdentifier::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void TagIdentifier::clear_id() { + id_ = 0u; + clear_has_id(); +} +inline ::google::protobuf::uint32 TagIdentifier::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.id) + return id_; +} +inline void TagIdentifier::set_id(::google::protobuf::uint32 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.id) +} + +// optional uint32 type = 2; +inline bool TagIdentifier::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void TagIdentifier::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void TagIdentifier::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void TagIdentifier::clear_type() { + type_ = 0u; + clear_has_type(); +} +inline ::google::protobuf::uint32 TagIdentifier::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.type) + return type_; +} +inline void TagIdentifier::set_type(::google::protobuf::uint32 value) { + set_has_type(); + type_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.type) +} + +// ------------------------------------------------------------------- + +// LocalizedTag + +// optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; +inline bool LocalizedTag::has_tag_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void LocalizedTag::set_has_tag_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void LocalizedTag::clear_has_tag_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void LocalizedTag::clear_tag_id() { + if (tag_id_ != NULL) tag_id_->::bgs::protocol::club::v1::TagIdentifier::Clear(); + clear_has_tag_id(); +} +inline const ::bgs::protocol::club::v1::TagIdentifier& LocalizedTag::tag_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.tag_id) + return tag_id_ != NULL ? *tag_id_ : *default_instance_->tag_id_; +} +inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::mutable_tag_id() { + set_has_tag_id(); + if (tag_id_ == NULL) tag_id_ = new ::bgs::protocol::club::v1::TagIdentifier; + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.tag_id) + return tag_id_; +} +inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::release_tag_id() { + clear_has_tag_id(); + ::bgs::protocol::club::v1::TagIdentifier* temp = tag_id_; + tag_id_ = NULL; + return temp; +} +inline void LocalizedTag::set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id) { + delete tag_id_; + tag_id_ = tag_id; + if (tag_id) { + set_has_tag_id(); + } else { + clear_has_tag_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.tag_id) +} + +// optional string name = 2; +inline bool LocalizedTag::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void LocalizedTag::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void LocalizedTag::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void LocalizedTag::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& LocalizedTag::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.name) + return *name_; +} +inline void LocalizedTag::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.name) +} +inline void LocalizedTag::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.name) +} +inline void LocalizedTag::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.name) +} +inline ::std::string* LocalizedTag::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.name) + return name_; +} +inline ::std::string* LocalizedTag::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void LocalizedTag::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.name) +} + +// optional string description = 3; +inline bool LocalizedTag::has_description() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void LocalizedTag::set_has_description() { + _has_bits_[0] |= 0x00000004u; +} +inline void LocalizedTag::clear_has_description() { + _has_bits_[0] &= ~0x00000004u; +} +inline void LocalizedTag::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& LocalizedTag::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.description) + return *description_; +} +inline void LocalizedTag::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.description) +} +inline void LocalizedTag::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.description) +} +inline void LocalizedTag::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.description) +} +inline ::std::string* LocalizedTag::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.description) + return description_; +} +inline ::std::string* LocalizedTag::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void LocalizedTag::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.description) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagAction> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagAction>() { + return ::bgs::protocol::club::v1::TagAction_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagType> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagType>() { + return ::bgs::protocol::club::v1::TagType_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/club_type.pb.cc b/src/server/proto/Client/api/common/v1/club_type.pb.cc new file mode 100644 index 00000000000..5ee6c0eef57 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_type.pb.cc @@ -0,0 +1,185 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_type.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/club_type.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* UniqueClubType_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + UniqueClubType_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/club_type.proto"); + GOOGLE_CHECK(file != NULL); + UniqueClubType_descriptor_ = file->message_type(0); + static const int UniqueClubType_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, program_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, name_), + }; + UniqueClubType_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + UniqueClubType_descriptor_, + UniqueClubType::default_instance_, + UniqueClubType_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(UniqueClubType)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + UniqueClubType_descriptor_, &UniqueClubType::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + delete UniqueClubType::default_instance_; + delete UniqueClubType_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\035api/common/v1/club_type.proto\022\024bgs.pro" + "tocol.club.v1\"/\n\016UniqueClubType\022\017\n\007progr" + "am\030\001 \001(\007\022\014\n\004name\030\002 \001(\tB\002H\002", 106); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/club_type.proto", &protobuf_RegisterTypes); + UniqueClubType::default_instance_ = new UniqueClubType(); + UniqueClubType::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fclub_5ftype_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int UniqueClubType::kProgramFieldNumber; +const int UniqueClubType::kNameFieldNumber; +#endif // !_MSC_VER + +UniqueClubType::UniqueClubType() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UniqueClubType) +} + +void UniqueClubType::InitAsDefaultInstance() { +} + +UniqueClubType::UniqueClubType(const UniqueClubType& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UniqueClubType) +} + +void UniqueClubType::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + program_ = 0u; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +UniqueClubType::~UniqueClubType() { + // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UniqueClubType) + SharedDtor(); +} + +void UniqueClubType::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void UniqueClubType::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* UniqueClubType::descriptor() { + protobuf_AssignDescriptorsOnce(); + return UniqueClubType_descriptor_; +} + +const UniqueClubType& UniqueClubType::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + return *default_instance_; +} + +UniqueClubType* UniqueClubType::default_instance_ = NULL; + +UniqueClubType* UniqueClubType::New() const { + return new UniqueClubType; +} + +void UniqueClubType::Swap(UniqueClubType* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata UniqueClubType::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = UniqueClubType_descriptor_; + metadata.reflection = UniqueClubType_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/club_type.pb.h b/src/server/proto/Client/api/common/v1/club_type.pb.h new file mode 100644 index 00000000000..9c9fd29dcf2 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/club_type.pb.h @@ -0,0 +1,247 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/club_type.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace club { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + +class UniqueClubType; + +// =================================================================== + +class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message { + public: + UniqueClubType(); + virtual ~UniqueClubType(); + + UniqueClubType(const UniqueClubType& from); + + inline UniqueClubType& operator=(const UniqueClubType& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const UniqueClubType& default_instance(); + + void Swap(UniqueClubType* other); + + // implements Message ---------------------------------------------- + + UniqueClubType* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed32 program = 1; + inline bool has_program() const; + inline void clear_program(); + static const int kProgramFieldNumber = 1; + inline ::google::protobuf::uint32 program() const; + inline void set_program(::google::protobuf::uint32 value); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UniqueClubType) + private: + inline void set_has_program(); + inline void clear_has_program(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + ::google::protobuf::uint32 program_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftype_2eproto(); + + void InitAsDefaultInstance(); + static UniqueClubType* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// UniqueClubType + +// optional fixed32 program = 1; +inline bool UniqueClubType::has_program() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void UniqueClubType::set_has_program() { + _has_bits_[0] |= 0x00000001u; +} +inline void UniqueClubType::clear_has_program() { + _has_bits_[0] &= ~0x00000001u; +} +inline void UniqueClubType::clear_program() { + program_ = 0u; + clear_has_program(); +} +inline ::google::protobuf::uint32 UniqueClubType::program() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.program) + return program_; +} +inline void UniqueClubType::set_program(::google::protobuf::uint32 value) { + set_has_program(); + program_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.program) +} + +// optional string name = 2; +inline bool UniqueClubType::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void UniqueClubType::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void UniqueClubType::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void UniqueClubType::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& UniqueClubType::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.name) + return *name_; +} +inline void UniqueClubType::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.name) +} +inline void UniqueClubType::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.UniqueClubType.name) +} +inline void UniqueClubType::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.UniqueClubType.name) +} +inline ::std::string* UniqueClubType::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UniqueClubType.name) + return name_; +} +inline ::std::string* UniqueClubType::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void UniqueClubType::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UniqueClubType.name) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace club +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5ftype_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/embed_types.pb.cc b/src/server/proto/Client/api/common/v1/embed_types.pb.cc new file mode 100644 index 00000000000..06f3a551551 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/embed_types.pb.cc @@ -0,0 +1,531 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/embed_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/embed_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* EmbedImage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedImage_reflection_ = NULL; +const ::google::protobuf::Descriptor* Provider_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Provider_reflection_ = NULL; +const ::google::protobuf::Descriptor* EmbedHTML_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedHTML_reflection_ = NULL; +const ::google::protobuf::Descriptor* EmbedInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + EmbedInfo_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/embed_types.proto"); + GOOGLE_CHECK(file != NULL); + EmbedImage_descriptor_ = file->message_type(0); + static const int EmbedImage_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, width_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, height_), + }; + EmbedImage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedImage_descriptor_, + EmbedImage::default_instance_, + EmbedImage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedImage)); + Provider_descriptor_ = file->message_type(1); + static const int Provider_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, name_), + }; + Provider_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Provider_descriptor_, + Provider::default_instance_, + Provider_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Provider)); + EmbedHTML_descriptor_ = file->message_type(2); + static const int EmbedHTML_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, width_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, height_), + }; + EmbedHTML_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedHTML_descriptor_, + EmbedHTML::default_instance_, + EmbedHTML_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedHTML)); + EmbedInfo_descriptor_ = file->message_type(3); + static const int EmbedInfo_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, title_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, original_url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, thumbnail_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, provider_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, html_), + }; + EmbedInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + EmbedInfo_descriptor_, + EmbedInfo::default_instance_, + EmbedInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(EmbedInfo)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedImage_descriptor_, &EmbedImage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Provider_descriptor_, &Provider::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedHTML_descriptor_, &EmbedHTML::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + EmbedInfo_descriptor_, &EmbedInfo::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + delete EmbedImage::default_instance_; + delete EmbedImage_reflection_; + delete Provider::default_instance_; + delete Provider_reflection_; + delete EmbedHTML::default_instance_; + delete EmbedHTML_reflection_; + delete EmbedInfo::default_instance_; + delete EmbedInfo_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/common/v1/embed_types.proto\022\014bgs.p" + "rotocol\"8\n\nEmbedImage\022\013\n\003url\030\001 \001(\t\022\r\n\005wi" + "dth\030\002 \001(\r\022\016\n\006height\030\003 \001(\r\"\030\n\010Provider\022\014\n" + "\004name\030\001 \001(\t\";\n\tEmbedHTML\022\017\n\007content\030\001 \001(" + "\t\022\r\n\005width\030\002 \001(\r\022\016\n\006height\030\003 \001(\r\"\321\001\n\tEmb" + "edInfo\022\r\n\005title\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\024\n\014o" + "riginal_url\030\003 \001(\t\022+\n\tthumbnail\030\004 \001(\0132\030.b" + "gs.protocol.EmbedImage\022(\n\010provider\030\005 \001(\013" + "2\026.bgs.protocol.Provider\022\023\n\013description\030" + "\006 \001(\t\022%\n\004html\030\010 \001(\0132\027.bgs.protocol.Embed" + "HTMLB\002H\002", 408); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/embed_types.proto", &protobuf_RegisterTypes); + EmbedImage::default_instance_ = new EmbedImage(); + Provider::default_instance_ = new Provider(); + EmbedHTML::default_instance_ = new EmbedHTML(); + EmbedInfo::default_instance_ = new EmbedInfo(); + EmbedImage::default_instance_->InitAsDefaultInstance(); + Provider::default_instance_->InitAsDefaultInstance(); + EmbedHTML::default_instance_->InitAsDefaultInstance(); + EmbedInfo::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fembed_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int EmbedImage::kUrlFieldNumber; +const int EmbedImage::kWidthFieldNumber; +const int EmbedImage::kHeightFieldNumber; +#endif // !_MSC_VER + +EmbedImage::EmbedImage() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedImage) +} + +void EmbedImage::InitAsDefaultInstance() { +} + +EmbedImage::EmbedImage(const EmbedImage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedImage) +} + +void EmbedImage::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + width_ = 0u; + height_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedImage::~EmbedImage() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedImage) + SharedDtor(); +} + +void EmbedImage::SharedDtor() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (this != default_instance_) { + } +} + +void EmbedImage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedImage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedImage_descriptor_; +} + +const EmbedImage& EmbedImage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedImage* EmbedImage::default_instance_ = NULL; + +EmbedImage* EmbedImage::New() const { + return new EmbedImage; +} + +void EmbedImage::Swap(EmbedImage* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedImage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedImage_descriptor_; + metadata.reflection = EmbedImage_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Provider::kNameFieldNumber; +#endif // !_MSC_VER + +Provider::Provider() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.Provider) +} + +void Provider::InitAsDefaultInstance() { +} + +Provider::Provider(const Provider& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.Provider) +} + +void Provider::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Provider::~Provider() { + // @@protoc_insertion_point(destructor:bgs.protocol.Provider) + SharedDtor(); +} + +void Provider::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void Provider::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Provider::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Provider_descriptor_; +} + +const Provider& Provider::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +Provider* Provider::default_instance_ = NULL; + +Provider* Provider::New() const { + return new Provider; +} + +void Provider::Swap(Provider* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Provider::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Provider_descriptor_; + metadata.reflection = Provider_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EmbedHTML::kContentFieldNumber; +const int EmbedHTML::kWidthFieldNumber; +const int EmbedHTML::kHeightFieldNumber; +#endif // !_MSC_VER + +EmbedHTML::EmbedHTML() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedHTML) +} + +void EmbedHTML::InitAsDefaultInstance() { +} + +EmbedHTML::EmbedHTML(const EmbedHTML& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedHTML) +} + +void EmbedHTML::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + width_ = 0u; + height_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedHTML::~EmbedHTML() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedHTML) + SharedDtor(); +} + +void EmbedHTML::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void EmbedHTML::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedHTML::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedHTML_descriptor_; +} + +const EmbedHTML& EmbedHTML::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedHTML* EmbedHTML::default_instance_ = NULL; + +EmbedHTML* EmbedHTML::New() const { + return new EmbedHTML; +} + +void EmbedHTML::Swap(EmbedHTML* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedHTML::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedHTML_descriptor_; + metadata.reflection = EmbedHTML_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int EmbedInfo::kTitleFieldNumber; +const int EmbedInfo::kTypeFieldNumber; +const int EmbedInfo::kOriginalUrlFieldNumber; +const int EmbedInfo::kThumbnailFieldNumber; +const int EmbedInfo::kProviderFieldNumber; +const int EmbedInfo::kDescriptionFieldNumber; +const int EmbedInfo::kHtmlFieldNumber; +#endif // !_MSC_VER + +EmbedInfo::EmbedInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.EmbedInfo) +} + +void EmbedInfo::InitAsDefaultInstance() { + thumbnail_ = const_cast< ::bgs::protocol::EmbedImage*>(&::bgs::protocol::EmbedImage::default_instance()); + provider_ = const_cast< ::bgs::protocol::Provider*>(&::bgs::protocol::Provider::default_instance()); + html_ = const_cast< ::bgs::protocol::EmbedHTML*>(&::bgs::protocol::EmbedHTML::default_instance()); +} + +EmbedInfo::EmbedInfo(const EmbedInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedInfo) +} + +void EmbedInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + thumbnail_ = NULL; + provider_ = NULL; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + html_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +EmbedInfo::~EmbedInfo() { + // @@protoc_insertion_point(destructor:bgs.protocol.EmbedInfo) + SharedDtor(); +} + +void EmbedInfo::SharedDtor() { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete title_; + } + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete original_url_; + } + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (this != default_instance_) { + delete thumbnail_; + delete provider_; + delete html_; + } +} + +void EmbedInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* EmbedInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return EmbedInfo_descriptor_; +} + +const EmbedInfo& EmbedInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + return *default_instance_; +} + +EmbedInfo* EmbedInfo::default_instance_ = NULL; + +EmbedInfo* EmbedInfo::New() const { + return new EmbedInfo; +} + +void EmbedInfo::Swap(EmbedInfo* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata EmbedInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = EmbedInfo_descriptor_; + metadata.reflection = EmbedInfo_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/embed_types.pb.h b/src/server/proto/Client/api/common/v1/embed_types.pb.h new file mode 100644 index 00000000000..bb4c37689f3 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/embed_types.pb.h @@ -0,0 +1,1233 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/embed_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + +class EmbedImage; +class Provider; +class EmbedHTML; +class EmbedInfo; + +// =================================================================== + +class TC_PROTO_API EmbedImage : public ::google::protobuf::Message { + public: + EmbedImage(); + virtual ~EmbedImage(); + + EmbedImage(const EmbedImage& from); + + inline EmbedImage& operator=(const EmbedImage& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedImage& default_instance(); + + void Swap(EmbedImage* other); + + // implements Message ---------------------------------------------- + + EmbedImage* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string url = 1; + inline bool has_url() const; + inline void clear_url(); + static const int kUrlFieldNumber = 1; + inline const ::std::string& url() const; + inline void set_url(const ::std::string& value); + inline void set_url(const char* value); + inline void set_url(const char* value, size_t size); + inline ::std::string* mutable_url(); + inline ::std::string* release_url(); + inline void set_allocated_url(::std::string* url); + + // optional uint32 width = 2; + inline bool has_width() const; + inline void clear_width(); + static const int kWidthFieldNumber = 2; + inline ::google::protobuf::uint32 width() const; + inline void set_width(::google::protobuf::uint32 value); + + // optional uint32 height = 3; + inline bool has_height() const; + inline void clear_height(); + static const int kHeightFieldNumber = 3; + inline ::google::protobuf::uint32 height() const; + inline void set_height(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedImage) + private: + inline void set_has_url(); + inline void clear_has_url(); + inline void set_has_width(); + inline void clear_has_width(); + inline void set_has_height(); + inline void clear_has_height(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* url_; + ::google::protobuf::uint32 width_; + ::google::protobuf::uint32 height_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedImage* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Provider : public ::google::protobuf::Message { + public: + Provider(); + virtual ~Provider(); + + Provider(const Provider& from); + + inline Provider& operator=(const Provider& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Provider& default_instance(); + + void Swap(Provider* other); + + // implements Message ---------------------------------------------- + + Provider* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // @@protoc_insertion_point(class_scope:bgs.protocol.Provider) + private: + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Provider* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EmbedHTML : public ::google::protobuf::Message { + public: + EmbedHTML(); + virtual ~EmbedHTML(); + + EmbedHTML(const EmbedHTML& from); + + inline EmbedHTML& operator=(const EmbedHTML& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedHTML& default_instance(); + + void Swap(EmbedHTML* other); + + // implements Message ---------------------------------------------- + + EmbedHTML* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // optional uint32 width = 2; + inline bool has_width() const; + inline void clear_width(); + static const int kWidthFieldNumber = 2; + inline ::google::protobuf::uint32 width() const; + inline void set_width(::google::protobuf::uint32 value); + + // optional uint32 height = 3; + inline bool has_height() const; + inline void clear_height(); + static const int kHeightFieldNumber = 3; + inline ::google::protobuf::uint32 height() const; + inline void set_height(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedHTML) + private: + inline void set_has_content(); + inline void clear_has_content(); + inline void set_has_width(); + inline void clear_has_width(); + inline void set_has_height(); + inline void clear_has_height(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + ::google::protobuf::uint32 width_; + ::google::protobuf::uint32 height_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedHTML* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API EmbedInfo : public ::google::protobuf::Message { + public: + EmbedInfo(); + virtual ~EmbedInfo(); + + EmbedInfo(const EmbedInfo& from); + + inline EmbedInfo& operator=(const EmbedInfo& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const EmbedInfo& default_instance(); + + void Swap(EmbedInfo* other); + + // implements Message ---------------------------------------------- + + EmbedInfo* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string title = 1; + inline bool has_title() const; + inline void clear_title(); + static const int kTitleFieldNumber = 1; + inline const ::std::string& title() const; + inline void set_title(const ::std::string& value); + inline void set_title(const char* value); + inline void set_title(const char* value, size_t size); + inline ::std::string* mutable_title(); + inline ::std::string* release_title(); + inline void set_allocated_title(::std::string* title); + + // optional string type = 2; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 2; + inline const ::std::string& type() const; + inline void set_type(const ::std::string& value); + inline void set_type(const char* value); + inline void set_type(const char* value, size_t size); + inline ::std::string* mutable_type(); + inline ::std::string* release_type(); + inline void set_allocated_type(::std::string* type); + + // optional string original_url = 3; + inline bool has_original_url() const; + inline void clear_original_url(); + static const int kOriginalUrlFieldNumber = 3; + inline const ::std::string& original_url() const; + inline void set_original_url(const ::std::string& value); + inline void set_original_url(const char* value); + inline void set_original_url(const char* value, size_t size); + inline ::std::string* mutable_original_url(); + inline ::std::string* release_original_url(); + inline void set_allocated_original_url(::std::string* original_url); + + // optional .bgs.protocol.EmbedImage thumbnail = 4; + inline bool has_thumbnail() const; + inline void clear_thumbnail(); + static const int kThumbnailFieldNumber = 4; + inline const ::bgs::protocol::EmbedImage& thumbnail() const; + inline ::bgs::protocol::EmbedImage* mutable_thumbnail(); + inline ::bgs::protocol::EmbedImage* release_thumbnail(); + inline void set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail); + + // optional .bgs.protocol.Provider provider = 5; + inline bool has_provider() const; + inline void clear_provider(); + static const int kProviderFieldNumber = 5; + inline const ::bgs::protocol::Provider& provider() const; + inline ::bgs::protocol::Provider* mutable_provider(); + inline ::bgs::protocol::Provider* release_provider(); + inline void set_allocated_provider(::bgs::protocol::Provider* provider); + + // optional string description = 6; + inline bool has_description() const; + inline void clear_description(); + static const int kDescriptionFieldNumber = 6; + inline const ::std::string& description() const; + inline void set_description(const ::std::string& value); + inline void set_description(const char* value); + inline void set_description(const char* value, size_t size); + inline ::std::string* mutable_description(); + inline ::std::string* release_description(); + inline void set_allocated_description(::std::string* description); + + // optional .bgs.protocol.EmbedHTML html = 8; + inline bool has_html() const; + inline void clear_html(); + static const int kHtmlFieldNumber = 8; + inline const ::bgs::protocol::EmbedHTML& html() const; + inline ::bgs::protocol::EmbedHTML* mutable_html(); + inline ::bgs::protocol::EmbedHTML* release_html(); + inline void set_allocated_html(::bgs::protocol::EmbedHTML* html); + + // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedInfo) + private: + inline void set_has_title(); + inline void clear_has_title(); + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_original_url(); + inline void clear_has_original_url(); + inline void set_has_thumbnail(); + inline void clear_has_thumbnail(); + inline void set_has_provider(); + inline void clear_has_provider(); + inline void set_has_description(); + inline void clear_has_description(); + inline void set_has_html(); + inline void clear_has_html(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* title_; + ::std::string* type_; + ::std::string* original_url_; + ::bgs::protocol::EmbedImage* thumbnail_; + ::bgs::protocol::Provider* provider_; + ::std::string* description_; + ::bgs::protocol::EmbedHTML* html_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static EmbedInfo* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// EmbedImage + +// optional string url = 1; +inline bool EmbedImage::has_url() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedImage::set_has_url() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedImage::clear_has_url() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedImage::clear_url() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_->clear(); + } + clear_has_url(); +} +inline const ::std::string& EmbedImage::url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.url) + return *url_; +} +inline void EmbedImage::set_url(const ::std::string& value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.url) +} +inline void EmbedImage::set_url(const char* value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedImage.url) +} +inline void EmbedImage::set_url(const char* value, size_t size) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedImage.url) +} +inline ::std::string* EmbedImage::mutable_url() { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedImage.url) + return url_; +} +inline ::std::string* EmbedImage::release_url() { + clear_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = url_; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedImage::set_allocated_url(::std::string* url) { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (url) { + set_has_url(); + url_ = url; + } else { + clear_has_url(); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedImage.url) +} + +// optional uint32 width = 2; +inline bool EmbedImage::has_width() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedImage::set_has_width() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedImage::clear_has_width() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedImage::clear_width() { + width_ = 0u; + clear_has_width(); +} +inline ::google::protobuf::uint32 EmbedImage::width() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.width) + return width_; +} +inline void EmbedImage::set_width(::google::protobuf::uint32 value) { + set_has_width(); + width_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.width) +} + +// optional uint32 height = 3; +inline bool EmbedImage::has_height() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedImage::set_has_height() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedImage::clear_has_height() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedImage::clear_height() { + height_ = 0u; + clear_has_height(); +} +inline ::google::protobuf::uint32 EmbedImage::height() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.height) + return height_; +} +inline void EmbedImage::set_height(::google::protobuf::uint32 value) { + set_has_height(); + height_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.height) +} + +// ------------------------------------------------------------------- + +// Provider + +// optional string name = 1; +inline bool Provider::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Provider::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void Provider::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Provider::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Provider::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Provider.name) + return *name_; +} +inline void Provider::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Provider.name) +} +inline void Provider::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Provider.name) +} +inline void Provider::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Provider.name) +} +inline ::std::string* Provider::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Provider.name) + return name_; +} +inline ::std::string* Provider::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Provider::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Provider.name) +} + +// ------------------------------------------------------------------- + +// EmbedHTML + +// optional string content = 1; +inline bool EmbedHTML::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedHTML::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedHTML::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedHTML::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& EmbedHTML::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.content) + return *content_; +} +inline void EmbedHTML::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.content) +} +inline void EmbedHTML::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedHTML.content) +} +inline void EmbedHTML::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedHTML.content) +} +inline ::std::string* EmbedHTML::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedHTML.content) + return content_; +} +inline ::std::string* EmbedHTML::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedHTML::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedHTML.content) +} + +// optional uint32 width = 2; +inline bool EmbedHTML::has_width() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedHTML::set_has_width() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedHTML::clear_has_width() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedHTML::clear_width() { + width_ = 0u; + clear_has_width(); +} +inline ::google::protobuf::uint32 EmbedHTML::width() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.width) + return width_; +} +inline void EmbedHTML::set_width(::google::protobuf::uint32 value) { + set_has_width(); + width_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.width) +} + +// optional uint32 height = 3; +inline bool EmbedHTML::has_height() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedHTML::set_has_height() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedHTML::clear_has_height() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedHTML::clear_height() { + height_ = 0u; + clear_has_height(); +} +inline ::google::protobuf::uint32 EmbedHTML::height() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.height) + return height_; +} +inline void EmbedHTML::set_height(::google::protobuf::uint32 value) { + set_has_height(); + height_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.height) +} + +// ------------------------------------------------------------------- + +// EmbedInfo + +// optional string title = 1; +inline bool EmbedInfo::has_title() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void EmbedInfo::set_has_title() { + _has_bits_[0] |= 0x00000001u; +} +inline void EmbedInfo::clear_has_title() { + _has_bits_[0] &= ~0x00000001u; +} +inline void EmbedInfo::clear_title() { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_->clear(); + } + clear_has_title(); +} +inline const ::std::string& EmbedInfo::title() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.title) + return *title_; +} +inline void EmbedInfo::set_title(const ::std::string& value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.title) +} +inline void EmbedInfo::set_title(const char* value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.title) +} +inline void EmbedInfo::set_title(const char* value, size_t size) { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + title_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.title) +} +inline ::std::string* EmbedInfo::mutable_title() { + set_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + title_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.title) + return title_; +} +inline ::std::string* EmbedInfo::release_title() { + clear_has_title(); + if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = title_; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_title(::std::string* title) { + if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete title_; + } + if (title) { + set_has_title(); + title_ = title; + } else { + clear_has_title(); + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.title) +} + +// optional string type = 2; +inline bool EmbedInfo::has_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void EmbedInfo::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void EmbedInfo::clear_has_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void EmbedInfo::clear_type() { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_->clear(); + } + clear_has_type(); +} +inline const ::std::string& EmbedInfo::type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.type) + return *type_; +} +inline void EmbedInfo::set_type(const ::std::string& value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.type) +} +inline void EmbedInfo::set_type(const char* value) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.type) +} +inline void EmbedInfo::set_type(const char* value, size_t size) { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + type_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.type) +} +inline ::std::string* EmbedInfo::mutable_type() { + set_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + type_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.type) + return type_; +} +inline ::std::string* EmbedInfo::release_type() { + clear_has_type(); + if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = type_; + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_type(::std::string* type) { + if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete type_; + } + if (type) { + set_has_type(); + type_ = type; + } else { + clear_has_type(); + type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.type) +} + +// optional string original_url = 3; +inline bool EmbedInfo::has_original_url() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void EmbedInfo::set_has_original_url() { + _has_bits_[0] |= 0x00000004u; +} +inline void EmbedInfo::clear_has_original_url() { + _has_bits_[0] &= ~0x00000004u; +} +inline void EmbedInfo::clear_original_url() { + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_->clear(); + } + clear_has_original_url(); +} +inline const ::std::string& EmbedInfo::original_url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.original_url) + return *original_url_; +} +inline void EmbedInfo::set_original_url(const ::std::string& value) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.original_url) +} +inline void EmbedInfo::set_original_url(const char* value) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.original_url) +} +inline void EmbedInfo::set_original_url(const char* value, size_t size) { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + original_url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.original_url) +} +inline ::std::string* EmbedInfo::mutable_original_url() { + set_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + original_url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.original_url) + return original_url_; +} +inline ::std::string* EmbedInfo::release_original_url() { + clear_has_original_url(); + if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = original_url_; + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_original_url(::std::string* original_url) { + if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete original_url_; + } + if (original_url) { + set_has_original_url(); + original_url_ = original_url; + } else { + clear_has_original_url(); + original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.original_url) +} + +// optional .bgs.protocol.EmbedImage thumbnail = 4; +inline bool EmbedInfo::has_thumbnail() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void EmbedInfo::set_has_thumbnail() { + _has_bits_[0] |= 0x00000008u; +} +inline void EmbedInfo::clear_has_thumbnail() { + _has_bits_[0] &= ~0x00000008u; +} +inline void EmbedInfo::clear_thumbnail() { + if (thumbnail_ != NULL) thumbnail_->::bgs::protocol::EmbedImage::Clear(); + clear_has_thumbnail(); +} +inline const ::bgs::protocol::EmbedImage& EmbedInfo::thumbnail() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.thumbnail) + return thumbnail_ != NULL ? *thumbnail_ : *default_instance_->thumbnail_; +} +inline ::bgs::protocol::EmbedImage* EmbedInfo::mutable_thumbnail() { + set_has_thumbnail(); + if (thumbnail_ == NULL) thumbnail_ = new ::bgs::protocol::EmbedImage; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.thumbnail) + return thumbnail_; +} +inline ::bgs::protocol::EmbedImage* EmbedInfo::release_thumbnail() { + clear_has_thumbnail(); + ::bgs::protocol::EmbedImage* temp = thumbnail_; + thumbnail_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail) { + delete thumbnail_; + thumbnail_ = thumbnail; + if (thumbnail) { + set_has_thumbnail(); + } else { + clear_has_thumbnail(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.thumbnail) +} + +// optional .bgs.protocol.Provider provider = 5; +inline bool EmbedInfo::has_provider() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void EmbedInfo::set_has_provider() { + _has_bits_[0] |= 0x00000010u; +} +inline void EmbedInfo::clear_has_provider() { + _has_bits_[0] &= ~0x00000010u; +} +inline void EmbedInfo::clear_provider() { + if (provider_ != NULL) provider_->::bgs::protocol::Provider::Clear(); + clear_has_provider(); +} +inline const ::bgs::protocol::Provider& EmbedInfo::provider() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.provider) + return provider_ != NULL ? *provider_ : *default_instance_->provider_; +} +inline ::bgs::protocol::Provider* EmbedInfo::mutable_provider() { + set_has_provider(); + if (provider_ == NULL) provider_ = new ::bgs::protocol::Provider; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.provider) + return provider_; +} +inline ::bgs::protocol::Provider* EmbedInfo::release_provider() { + clear_has_provider(); + ::bgs::protocol::Provider* temp = provider_; + provider_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_provider(::bgs::protocol::Provider* provider) { + delete provider_; + provider_ = provider; + if (provider) { + set_has_provider(); + } else { + clear_has_provider(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.provider) +} + +// optional string description = 6; +inline bool EmbedInfo::has_description() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void EmbedInfo::set_has_description() { + _has_bits_[0] |= 0x00000020u; +} +inline void EmbedInfo::clear_has_description() { + _has_bits_[0] &= ~0x00000020u; +} +inline void EmbedInfo::clear_description() { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_->clear(); + } + clear_has_description(); +} +inline const ::std::string& EmbedInfo::description() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.description) + return *description_; +} +inline void EmbedInfo::set_description(const ::std::string& value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.description) +} +inline void EmbedInfo::set_description(const char* value) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.description) +} +inline void EmbedInfo::set_description(const char* value, size_t size) { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + description_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.description) +} +inline ::std::string* EmbedInfo::mutable_description() { + set_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + description_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.description) + return description_; +} +inline ::std::string* EmbedInfo::release_description() { + clear_has_description(); + if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = description_; + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void EmbedInfo::set_allocated_description(::std::string* description) { + if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete description_; + } + if (description) { + set_has_description(); + description_ = description; + } else { + clear_has_description(); + description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.description) +} + +// optional .bgs.protocol.EmbedHTML html = 8; +inline bool EmbedInfo::has_html() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void EmbedInfo::set_has_html() { + _has_bits_[0] |= 0x00000040u; +} +inline void EmbedInfo::clear_has_html() { + _has_bits_[0] &= ~0x00000040u; +} +inline void EmbedInfo::clear_html() { + if (html_ != NULL) html_->::bgs::protocol::EmbedHTML::Clear(); + clear_has_html(); +} +inline const ::bgs::protocol::EmbedHTML& EmbedInfo::html() const { + // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.html) + return html_ != NULL ? *html_ : *default_instance_->html_; +} +inline ::bgs::protocol::EmbedHTML* EmbedInfo::mutable_html() { + set_has_html(); + if (html_ == NULL) html_ = new ::bgs::protocol::EmbedHTML; + // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.html) + return html_; +} +inline ::bgs::protocol::EmbedHTML* EmbedInfo::release_html() { + clear_has_html(); + ::bgs::protocol::EmbedHTML* temp = html_; + html_ = NULL; + return temp; +} +inline void EmbedInfo::set_allocated_html(::bgs::protocol::EmbedHTML* html) { + delete html_; + html_ = html; + if (html) { + set_has_html(); + } else { + clear_has_html(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.html) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fembed_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/event_view_types.pb.cc b/src/server/proto/Client/api/common/v1/event_view_types.pb.cc new file mode 100644 index 00000000000..f1822a3817e --- /dev/null +++ b/src/server/proto/Client/api/common/v1/event_view_types.pb.cc @@ -0,0 +1,303 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/event_view_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/event_view_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* GetEventOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GetEventOptions_reflection_ = NULL; +const ::google::protobuf::Descriptor* ViewMarker_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ViewMarker_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* EventOrder_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/event_view_types.proto"); + GOOGLE_CHECK(file != NULL); + GetEventOptions_descriptor_ = file->message_type(0); + static const int GetEventOptions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_from_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_until_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, max_events_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, order_), + }; + GetEventOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GetEventOptions_descriptor_, + GetEventOptions::default_instance_, + GetEventOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GetEventOptions)); + ViewMarker_descriptor_ = file->message_type(1); + static const int ViewMarker_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_read_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_message_time_), + }; + ViewMarker_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ViewMarker_descriptor_, + ViewMarker::default_instance_, + ViewMarker_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ViewMarker)); + EventOrder_descriptor_ = file->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GetEventOptions_descriptor_, &GetEventOptions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ViewMarker_descriptor_, &ViewMarker::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + delete GetEventOptions::default_instance_; + delete GetEventOptions_reflection_; + delete ViewMarker::default_instance_; + delete ViewMarker_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/common/v1/event_view_types.proto\022\014" + "bgs.protocol\"w\n\017GetEventOptions\022\022\n\nfetch" + "_from\030\001 \001(\004\022\023\n\013fetch_until\030\002 \001(\004\022\022\n\nmax_" + "events\030\003 \001(\r\022\'\n\005order\030\004 \001(\0162\030.bgs.protoc" + "ol.EventOrder\"\?\n\nViewMarker\022\026\n\016last_read" + "_time\030\001 \001(\004\022\031\n\021last_message_time\030\002 \001(\004*7" + "\n\nEventOrder\022\024\n\020EVENT_DESCENDING\020\000\022\023\n\017EV" + "ENT_ASCENDING\020\001B\002H\002", 299); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/event_view_types.proto", &protobuf_RegisterTypes); + GetEventOptions::default_instance_ = new GetEventOptions(); + ViewMarker::default_instance_ = new ViewMarker(); + GetEventOptions::default_instance_->InitAsDefaultInstance(); + ViewMarker::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* EventOrder_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EventOrder_descriptor_; +} +bool EventOrder_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int GetEventOptions::kFetchFromFieldNumber; +const int GetEventOptions::kFetchUntilFieldNumber; +const int GetEventOptions::kMaxEventsFieldNumber; +const int GetEventOptions::kOrderFieldNumber; +#endif // !_MSC_VER + +GetEventOptions::GetEventOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.GetEventOptions) +} + +void GetEventOptions::InitAsDefaultInstance() { +} + +GetEventOptions::GetEventOptions(const GetEventOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.GetEventOptions) +} + +void GetEventOptions::SharedCtor() { + _cached_size_ = 0; + fetch_from_ = GOOGLE_ULONGLONG(0); + fetch_until_ = GOOGLE_ULONGLONG(0); + max_events_ = 0u; + order_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GetEventOptions::~GetEventOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.GetEventOptions) + SharedDtor(); +} + +void GetEventOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void GetEventOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GetEventOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GetEventOptions_descriptor_; +} + +const GetEventOptions& GetEventOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + return *default_instance_; +} + +GetEventOptions* GetEventOptions::default_instance_ = NULL; + +GetEventOptions* GetEventOptions::New() const { + return new GetEventOptions; +} + +void GetEventOptions::Swap(GetEventOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GetEventOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GetEventOptions_descriptor_; + metadata.reflection = GetEventOptions_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int ViewMarker::kLastReadTimeFieldNumber; +const int ViewMarker::kLastMessageTimeFieldNumber; +#endif // !_MSC_VER + +ViewMarker::ViewMarker() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.ViewMarker) +} + +void ViewMarker::InitAsDefaultInstance() { +} + +ViewMarker::ViewMarker(const ViewMarker& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.ViewMarker) +} + +void ViewMarker::SharedCtor() { + _cached_size_ = 0; + last_read_time_ = GOOGLE_ULONGLONG(0); + last_message_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ViewMarker::~ViewMarker() { + // @@protoc_insertion_point(destructor:bgs.protocol.ViewMarker) + SharedDtor(); +} + +void ViewMarker::SharedDtor() { + if (this != default_instance_) { + } +} + +void ViewMarker::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ViewMarker::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ViewMarker_descriptor_; +} + +const ViewMarker& ViewMarker::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + return *default_instance_; +} + +ViewMarker* ViewMarker::default_instance_ = NULL; + +ViewMarker* ViewMarker::New() const { + return new ViewMarker; +} + +void ViewMarker::Swap(ViewMarker* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata ViewMarker::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ViewMarker_descriptor_; + metadata.reflection = ViewMarker_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/event_view_types.pb.h b/src/server/proto/Client/api/common/v1/event_view_types.pb.h new file mode 100644 index 00000000000..3a4d438cae9 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/event_view_types.pb.h @@ -0,0 +1,409 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/event_view_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + +class GetEventOptions; +class ViewMarker; + +enum EventOrder { + EVENT_DESCENDING = 0, + EVENT_ASCENDING = 1 +}; +TC_PROTO_API bool EventOrder_IsValid(int value); +const EventOrder EventOrder_MIN = EVENT_DESCENDING; +const EventOrder EventOrder_MAX = EVENT_ASCENDING; +const int EventOrder_ARRAYSIZE = EventOrder_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* EventOrder_descriptor(); +inline const ::std::string& EventOrder_Name(EventOrder value) { + return ::google::protobuf::internal::NameOfEnum( + EventOrder_descriptor(), value); +} +inline bool EventOrder_Parse( + const ::std::string& name, EventOrder* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EventOrder_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API GetEventOptions : public ::google::protobuf::Message { + public: + GetEventOptions(); + virtual ~GetEventOptions(); + + GetEventOptions(const GetEventOptions& from); + + inline GetEventOptions& operator=(const GetEventOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GetEventOptions& default_instance(); + + void Swap(GetEventOptions* other); + + // implements Message ---------------------------------------------- + + GetEventOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 fetch_from = 1; + inline bool has_fetch_from() const; + inline void clear_fetch_from(); + static const int kFetchFromFieldNumber = 1; + inline ::google::protobuf::uint64 fetch_from() const; + inline void set_fetch_from(::google::protobuf::uint64 value); + + // optional uint64 fetch_until = 2; + inline bool has_fetch_until() const; + inline void clear_fetch_until(); + static const int kFetchUntilFieldNumber = 2; + inline ::google::protobuf::uint64 fetch_until() const; + inline void set_fetch_until(::google::protobuf::uint64 value); + + // optional uint32 max_events = 3; + inline bool has_max_events() const; + inline void clear_max_events(); + static const int kMaxEventsFieldNumber = 3; + inline ::google::protobuf::uint32 max_events() const; + inline void set_max_events(::google::protobuf::uint32 value); + + // optional .bgs.protocol.EventOrder order = 4; + inline bool has_order() const; + inline void clear_order(); + static const int kOrderFieldNumber = 4; + inline ::bgs::protocol::EventOrder order() const; + inline void set_order(::bgs::protocol::EventOrder value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.GetEventOptions) + private: + inline void set_has_fetch_from(); + inline void clear_has_fetch_from(); + inline void set_has_fetch_until(); + inline void clear_has_fetch_until(); + inline void set_has_max_events(); + inline void clear_has_max_events(); + inline void set_has_order(); + inline void clear_has_order(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 fetch_from_; + ::google::protobuf::uint64 fetch_until_; + ::google::protobuf::uint32 max_events_; + int order_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static GetEventOptions* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API ViewMarker : public ::google::protobuf::Message { + public: + ViewMarker(); + virtual ~ViewMarker(); + + ViewMarker(const ViewMarker& from); + + inline ViewMarker& operator=(const ViewMarker& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const ViewMarker& default_instance(); + + void Swap(ViewMarker* other); + + // implements Message ---------------------------------------------- + + ViewMarker* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 last_read_time = 1; + inline bool has_last_read_time() const; + inline void clear_last_read_time(); + static const int kLastReadTimeFieldNumber = 1; + inline ::google::protobuf::uint64 last_read_time() const; + inline void set_last_read_time(::google::protobuf::uint64 value); + + // optional uint64 last_message_time = 2; + inline bool has_last_message_time() const; + inline void clear_last_message_time(); + static const int kLastMessageTimeFieldNumber = 2; + inline ::google::protobuf::uint64 last_message_time() const; + inline void set_last_message_time(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.ViewMarker) + private: + inline void set_has_last_read_time(); + inline void clear_has_last_read_time(); + inline void set_has_last_message_time(); + inline void clear_has_last_message_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 last_read_time_; + ::google::protobuf::uint64 last_message_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static ViewMarker* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// GetEventOptions + +// optional uint64 fetch_from = 1; +inline bool GetEventOptions::has_fetch_from() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GetEventOptions::set_has_fetch_from() { + _has_bits_[0] |= 0x00000001u; +} +inline void GetEventOptions::clear_has_fetch_from() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GetEventOptions::clear_fetch_from() { + fetch_from_ = GOOGLE_ULONGLONG(0); + clear_has_fetch_from(); +} +inline ::google::protobuf::uint64 GetEventOptions::fetch_from() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_from) + return fetch_from_; +} +inline void GetEventOptions::set_fetch_from(::google::protobuf::uint64 value) { + set_has_fetch_from(); + fetch_from_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_from) +} + +// optional uint64 fetch_until = 2; +inline bool GetEventOptions::has_fetch_until() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GetEventOptions::set_has_fetch_until() { + _has_bits_[0] |= 0x00000002u; +} +inline void GetEventOptions::clear_has_fetch_until() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GetEventOptions::clear_fetch_until() { + fetch_until_ = GOOGLE_ULONGLONG(0); + clear_has_fetch_until(); +} +inline ::google::protobuf::uint64 GetEventOptions::fetch_until() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_until) + return fetch_until_; +} +inline void GetEventOptions::set_fetch_until(::google::protobuf::uint64 value) { + set_has_fetch_until(); + fetch_until_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_until) +} + +// optional uint32 max_events = 3; +inline bool GetEventOptions::has_max_events() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GetEventOptions::set_has_max_events() { + _has_bits_[0] |= 0x00000004u; +} +inline void GetEventOptions::clear_has_max_events() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GetEventOptions::clear_max_events() { + max_events_ = 0u; + clear_has_max_events(); +} +inline ::google::protobuf::uint32 GetEventOptions::max_events() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.max_events) + return max_events_; +} +inline void GetEventOptions::set_max_events(::google::protobuf::uint32 value) { + set_has_max_events(); + max_events_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.max_events) +} + +// optional .bgs.protocol.EventOrder order = 4; +inline bool GetEventOptions::has_order() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void GetEventOptions::set_has_order() { + _has_bits_[0] |= 0x00000008u; +} +inline void GetEventOptions::clear_has_order() { + _has_bits_[0] &= ~0x00000008u; +} +inline void GetEventOptions::clear_order() { + order_ = 0; + clear_has_order(); +} +inline ::bgs::protocol::EventOrder GetEventOptions::order() const { + // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.order) + return static_cast< ::bgs::protocol::EventOrder >(order_); +} +inline void GetEventOptions::set_order(::bgs::protocol::EventOrder value) { + assert(::bgs::protocol::EventOrder_IsValid(value)); + set_has_order(); + order_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.order) +} + +// ------------------------------------------------------------------- + +// ViewMarker + +// optional uint64 last_read_time = 1; +inline bool ViewMarker::has_last_read_time() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ViewMarker::set_has_last_read_time() { + _has_bits_[0] |= 0x00000001u; +} +inline void ViewMarker::clear_has_last_read_time() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ViewMarker::clear_last_read_time() { + last_read_time_ = GOOGLE_ULONGLONG(0); + clear_has_last_read_time(); +} +inline ::google::protobuf::uint64 ViewMarker::last_read_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_read_time) + return last_read_time_; +} +inline void ViewMarker::set_last_read_time(::google::protobuf::uint64 value) { + set_has_last_read_time(); + last_read_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_read_time) +} + +// optional uint64 last_message_time = 2; +inline bool ViewMarker::has_last_message_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ViewMarker::set_has_last_message_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void ViewMarker::clear_has_last_message_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ViewMarker::clear_last_message_time() { + last_message_time_ = GOOGLE_ULONGLONG(0); + clear_has_last_message_time(); +} +inline ::google::protobuf::uint64 ViewMarker::last_message_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_message_time) + return last_message_time_; +} +inline void ViewMarker::set_last_message_time(::google::protobuf::uint64 value) { + set_has_last_message_time(); + last_message_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_message_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::EventOrder> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::EventOrder>() { + return ::bgs::protocol::EventOrder_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/invitation_types.pb.cc b/src/server/proto/Client/api/common/v1/invitation_types.pb.cc new file mode 100644 index 00000000000..30df8e39fe2 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/invitation_types.pb.cc @@ -0,0 +1,373 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/invitation_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/invitation_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* Invitation_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Invitation_reflection_ = NULL; +const ::google::protobuf::Descriptor* InvitationParams_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + InvitationParams_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/invitation_types.proto"); + GOOGLE_CHECK(file != NULL); + Invitation_descriptor_ = file->message_type(0); + static const int Invitation_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_identity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitation_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, creation_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, expiration_time_), + }; + Invitation_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Invitation_descriptor_, + Invitation::default_instance_, + Invitation_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Invitation)); + InvitationParams_descriptor_ = file->message_type(1); + static const int InvitationParams_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, invitation_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, expiration_time_), + }; + InvitationParams_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + InvitationParams_descriptor_, + InvitationParams::default_instance_, + InvitationParams_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _unknown_fields_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _extensions_), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(InvitationParams)); + InvitationRemovedReason_descriptor_ = file->enum_type(0); + SuggestionRemovedReason_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Invitation_descriptor_, &Invitation::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + InvitationParams_descriptor_, &InvitationParams::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + delete Invitation::default_instance_; + delete Invitation_reflection_; + delete InvitationParams::default_instance_; + delete InvitationParams_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n$api/common/v1/invitation_types.proto\022\014" + "bgs.protocol\032\022entity_types.proto\032%global" + "_extensions/field_options.proto\"\213\002\n\nInvi" + "tation\022\n\n\002id\030\001 \002(\006\0220\n\020inviter_identity\030\002" + " \002(\0132\026.bgs.protocol.Identity\0220\n\020invitee_" + "identity\030\003 \002(\0132\026.bgs.protocol.Identity\022\034" + "\n\014inviter_name\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_" + "name\030\005 \001(\tB\006\202\371+\002\010\001\022\032\n\022invitation_message" + "\030\006 \001(\t\022\025\n\rcreation_time\030\007 \001(\004\022\027\n\017expirat" + "ion_time\030\010 \001(\004*\005\010d\020\220N\"R\n\020InvitationParam" + "s\022\036\n\022invitation_message\030\001 \001(\tB\002\030\001\022\027\n\017exp" + "iration_time\030\002 \001(\004*\005\010d\020\220N*\206\002\n\027Invitation" + "RemovedReason\022&\n\"INVITATION_REMOVED_REAS" + "ON_ACCEPTED\020\000\022&\n\"INVITATION_REMOVED_REAS" + "ON_DECLINED\020\001\022%\n!INVITATION_REMOVED_REAS" + "ON_REVOKED\020\002\022%\n!INVITATION_REMOVED_REASO" + "N_IGNORED\020\003\022%\n!INVITATION_REMOVED_REASON" + "_EXPIRED\020\004\022&\n\"INVITATION_REMOVED_REASON_" + "CANCELED\020\005*\270\001\n\027SuggestionRemovedReason\022&" + "\n\"SUGGESTION_REMOVED_REASON_APPROVED\020\000\022&" + "\n\"SUGGESTION_REMOVED_REASON_DECLINED\020\001\022%" + "\n!SUGGESTION_REMOVED_REASON_EXPIRED\020\002\022&\n" + "\"SUGGESTION_REMOVED_REASON_CANCELED\020\003B&\n" + "\014bgs.protocolB\024InvitationTypesProtoH\002", 957); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/invitation_types.proto", &protobuf_RegisterTypes); + Invitation::default_instance_ = new Invitation(); + InvitationParams::default_instance_ = new InvitationParams(); + Invitation::default_instance_->InitAsDefaultInstance(); + InvitationParams::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationRemovedReason_descriptor_; +} +bool InvitationRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SuggestionRemovedReason_descriptor_; +} +bool SuggestionRemovedReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int Invitation::kIdFieldNumber; +const int Invitation::kInviterIdentityFieldNumber; +const int Invitation::kInviteeIdentityFieldNumber; +const int Invitation::kInviterNameFieldNumber; +const int Invitation::kInviteeNameFieldNumber; +const int Invitation::kInvitationMessageFieldNumber; +const int Invitation::kCreationTimeFieldNumber; +const int Invitation::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +Invitation::Invitation() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.Invitation) +} + +void Invitation::InitAsDefaultInstance() { + inviter_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); + invitee_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); +} + +Invitation::Invitation(const Invitation& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.Invitation) +} + +void Invitation::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + inviter_identity_ = NULL; + invitee_identity_ = NULL; + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + creation_time_ = GOOGLE_ULONGLONG(0); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Invitation::~Invitation() { + // @@protoc_insertion_point(destructor:bgs.protocol.Invitation) + SharedDtor(); +} + +void Invitation::SharedDtor() { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete inviter_name_; + } + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitee_name_; + } + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (this != default_instance_) { + delete inviter_identity_; + delete invitee_identity_; + } +} + +void Invitation::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Invitation::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Invitation_descriptor_; +} + +const Invitation& Invitation::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + return *default_instance_; +} + +Invitation* Invitation::default_instance_ = NULL; + +Invitation* Invitation::New() const { + return new Invitation; +} + +void Invitation::Swap(Invitation* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Invitation::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Invitation_descriptor_; + metadata.reflection = Invitation_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int InvitationParams::kInvitationMessageFieldNumber; +const int InvitationParams::kExpirationTimeFieldNumber; +#endif // !_MSC_VER + +InvitationParams::InvitationParams() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.InvitationParams) +} + +void InvitationParams::InitAsDefaultInstance() { +} + +InvitationParams::InvitationParams(const InvitationParams& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.InvitationParams) +} + +void InvitationParams::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + expiration_time_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +InvitationParams::~InvitationParams() { + // @@protoc_insertion_point(destructor:bgs.protocol.InvitationParams) + SharedDtor(); +} + +void InvitationParams::SharedDtor() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (this != default_instance_) { + } +} + +void InvitationParams::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* InvitationParams::descriptor() { + protobuf_AssignDescriptorsOnce(); + return InvitationParams_descriptor_; +} + +const InvitationParams& InvitationParams::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + return *default_instance_; +} + +InvitationParams* InvitationParams::default_instance_ = NULL; + +InvitationParams* InvitationParams::New() const { + return new InvitationParams; +} + +void InvitationParams::Swap(InvitationParams* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata InvitationParams::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = InvitationParams_descriptor_; + metadata.reflection = InvitationParams_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/invitation_types.pb.h b/src/server/proto/Client/api/common/v1/invitation_types.pb.h new file mode 100644 index 00000000000..17d4f482679 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/invitation_types.pb.h @@ -0,0 +1,848 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/invitation_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "entity_types.pb.h" +#include "global_extensions/field_options.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + +class Invitation; +class InvitationParams; + +enum InvitationRemovedReason { + INVITATION_REMOVED_REASON_ACCEPTED = 0, + INVITATION_REMOVED_REASON_DECLINED = 1, + INVITATION_REMOVED_REASON_REVOKED = 2, + INVITATION_REMOVED_REASON_IGNORED = 3, + INVITATION_REMOVED_REASON_EXPIRED = 4, + INVITATION_REMOVED_REASON_CANCELED = 5 +}; +TC_PROTO_API bool InvitationRemovedReason_IsValid(int value); +const InvitationRemovedReason InvitationRemovedReason_MIN = INVITATION_REMOVED_REASON_ACCEPTED; +const InvitationRemovedReason InvitationRemovedReason_MAX = INVITATION_REMOVED_REASON_CANCELED; +const int InvitationRemovedReason_ARRAYSIZE = InvitationRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor(); +inline const ::std::string& InvitationRemovedReason_Name(InvitationRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + InvitationRemovedReason_descriptor(), value); +} +inline bool InvitationRemovedReason_Parse( + const ::std::string& name, InvitationRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + InvitationRemovedReason_descriptor(), name, value); +} +enum SuggestionRemovedReason { + SUGGESTION_REMOVED_REASON_APPROVED = 0, + SUGGESTION_REMOVED_REASON_DECLINED = 1, + SUGGESTION_REMOVED_REASON_EXPIRED = 2, + SUGGESTION_REMOVED_REASON_CANCELED = 3 +}; +TC_PROTO_API bool SuggestionRemovedReason_IsValid(int value); +const SuggestionRemovedReason SuggestionRemovedReason_MIN = SUGGESTION_REMOVED_REASON_APPROVED; +const SuggestionRemovedReason SuggestionRemovedReason_MAX = SUGGESTION_REMOVED_REASON_CANCELED; +const int SuggestionRemovedReason_ARRAYSIZE = SuggestionRemovedReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor(); +inline const ::std::string& SuggestionRemovedReason_Name(SuggestionRemovedReason value) { + return ::google::protobuf::internal::NameOfEnum( + SuggestionRemovedReason_descriptor(), value); +} +inline bool SuggestionRemovedReason_Parse( + const ::std::string& name, SuggestionRemovedReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SuggestionRemovedReason_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Invitation : public ::google::protobuf::Message { + public: + Invitation(); + virtual ~Invitation(); + + Invitation(const Invitation& from); + + inline Invitation& operator=(const Invitation& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Invitation& default_instance(); + + void Swap(Invitation* other); + + // implements Message ---------------------------------------------- + + Invitation* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // required fixed64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // required .bgs.protocol.Identity inviter_identity = 2; + inline bool has_inviter_identity() const; + inline void clear_inviter_identity(); + static const int kInviterIdentityFieldNumber = 2; + inline const ::bgs::protocol::Identity& inviter_identity() const; + inline ::bgs::protocol::Identity* mutable_inviter_identity(); + inline ::bgs::protocol::Identity* release_inviter_identity(); + inline void set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity); + + // required .bgs.protocol.Identity invitee_identity = 3; + inline bool has_invitee_identity() const; + inline void clear_invitee_identity(); + static const int kInviteeIdentityFieldNumber = 3; + inline const ::bgs::protocol::Identity& invitee_identity() const; + inline ::bgs::protocol::Identity* mutable_invitee_identity(); + inline ::bgs::protocol::Identity* release_invitee_identity(); + inline void set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity); + + // optional string inviter_name = 4; + inline bool has_inviter_name() const; + inline void clear_inviter_name(); + static const int kInviterNameFieldNumber = 4; + inline const ::std::string& inviter_name() const; + inline void set_inviter_name(const ::std::string& value); + inline void set_inviter_name(const char* value); + inline void set_inviter_name(const char* value, size_t size); + inline ::std::string* mutable_inviter_name(); + inline ::std::string* release_inviter_name(); + inline void set_allocated_inviter_name(::std::string* inviter_name); + + // optional string invitee_name = 5; + inline bool has_invitee_name() const; + inline void clear_invitee_name(); + static const int kInviteeNameFieldNumber = 5; + inline const ::std::string& invitee_name() const; + inline void set_invitee_name(const ::std::string& value); + inline void set_invitee_name(const char* value); + inline void set_invitee_name(const char* value, size_t size); + inline ::std::string* mutable_invitee_name(); + inline ::std::string* release_invitee_name(); + inline void set_allocated_invitee_name(::std::string* invitee_name); + + // optional string invitation_message = 6; + inline bool has_invitation_message() const; + inline void clear_invitation_message(); + static const int kInvitationMessageFieldNumber = 6; + inline const ::std::string& invitation_message() const; + inline void set_invitation_message(const ::std::string& value); + inline void set_invitation_message(const char* value); + inline void set_invitation_message(const char* value, size_t size); + inline ::std::string* mutable_invitation_message(); + inline ::std::string* release_invitation_message(); + inline void set_allocated_invitation_message(::std::string* invitation_message); + + // optional uint64 creation_time = 7; + inline bool has_creation_time() const; + inline void clear_creation_time(); + static const int kCreationTimeFieldNumber = 7; + inline ::google::protobuf::uint64 creation_time() const; + inline void set_creation_time(::google::protobuf::uint64 value); + + // optional uint64 expiration_time = 8; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 8; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Invitation) + // @@protoc_insertion_point(class_scope:bgs.protocol.Invitation) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_inviter_identity(); + inline void clear_has_inviter_identity(); + inline void set_has_invitee_identity(); + inline void clear_has_invitee_identity(); + inline void set_has_inviter_name(); + inline void clear_has_inviter_name(); + inline void set_has_invitee_name(); + inline void clear_has_invitee_name(); + inline void set_has_invitation_message(); + inline void clear_has_invitation_message(); + inline void set_has_creation_time(); + inline void clear_has_creation_time(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::bgs::protocol::Identity* inviter_identity_; + ::bgs::protocol::Identity* invitee_identity_; + ::std::string* inviter_name_; + ::std::string* invitee_name_; + ::std::string* invitation_message_; + ::google::protobuf::uint64 creation_time_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Invitation* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API InvitationParams : public ::google::protobuf::Message { + public: + InvitationParams(); + virtual ~InvitationParams(); + + InvitationParams(const InvitationParams& from); + + inline InvitationParams& operator=(const InvitationParams& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const InvitationParams& default_instance(); + + void Swap(InvitationParams* other); + + // implements Message ---------------------------------------------- + + InvitationParams* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string invitation_message = 1 [deprecated = true]; + inline bool has_invitation_message() const PROTOBUF_DEPRECATED; + inline void clear_invitation_message() PROTOBUF_DEPRECATED; + static const int kInvitationMessageFieldNumber = 1; + inline const ::std::string& invitation_message() const PROTOBUF_DEPRECATED; + inline void set_invitation_message(const ::std::string& value) PROTOBUF_DEPRECATED; + inline void set_invitation_message(const char* value) PROTOBUF_DEPRECATED; + inline void set_invitation_message(const char* value, size_t size) PROTOBUF_DEPRECATED; + inline ::std::string* mutable_invitation_message() PROTOBUF_DEPRECATED; + inline ::std::string* release_invitation_message() PROTOBUF_DEPRECATED; + inline void set_allocated_invitation_message(::std::string* invitation_message) PROTOBUF_DEPRECATED; + + // optional uint64 expiration_time = 2; + inline bool has_expiration_time() const; + inline void clear_expiration_time(); + static const int kExpirationTimeFieldNumber = 2; + inline ::google::protobuf::uint64 expiration_time() const; + inline void set_expiration_time(::google::protobuf::uint64 value); + + GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(InvitationParams) + // @@protoc_insertion_point(class_scope:bgs.protocol.InvitationParams) + private: + inline void set_has_invitation_message(); + inline void clear_has_invitation_message(); + inline void set_has_expiration_time(); + inline void clear_has_expiration_time(); + + ::google::protobuf::internal::ExtensionSet _extensions_; + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* invitation_message_; + ::google::protobuf::uint64 expiration_time_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static InvitationParams* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Invitation + +// required fixed64 id = 1; +inline bool Invitation::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Invitation::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Invitation::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Invitation::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 Invitation::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.id) + return id_; +} +inline void Invitation::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.id) +} + +// required .bgs.protocol.Identity inviter_identity = 2; +inline bool Invitation::has_inviter_identity() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Invitation::set_has_inviter_identity() { + _has_bits_[0] |= 0x00000002u; +} +inline void Invitation::clear_has_inviter_identity() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Invitation::clear_inviter_identity() { + if (inviter_identity_ != NULL) inviter_identity_->::bgs::protocol::Identity::Clear(); + clear_has_inviter_identity(); +} +inline const ::bgs::protocol::Identity& Invitation::inviter_identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_identity) + return inviter_identity_ != NULL ? *inviter_identity_ : *default_instance_->inviter_identity_; +} +inline ::bgs::protocol::Identity* Invitation::mutable_inviter_identity() { + set_has_inviter_identity(); + if (inviter_identity_ == NULL) inviter_identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_identity) + return inviter_identity_; +} +inline ::bgs::protocol::Identity* Invitation::release_inviter_identity() { + clear_has_inviter_identity(); + ::bgs::protocol::Identity* temp = inviter_identity_; + inviter_identity_ = NULL; + return temp; +} +inline void Invitation::set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity) { + delete inviter_identity_; + inviter_identity_ = inviter_identity; + if (inviter_identity) { + set_has_inviter_identity(); + } else { + clear_has_inviter_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_identity) +} + +// required .bgs.protocol.Identity invitee_identity = 3; +inline bool Invitation::has_invitee_identity() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Invitation::set_has_invitee_identity() { + _has_bits_[0] |= 0x00000004u; +} +inline void Invitation::clear_has_invitee_identity() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Invitation::clear_invitee_identity() { + if (invitee_identity_ != NULL) invitee_identity_->::bgs::protocol::Identity::Clear(); + clear_has_invitee_identity(); +} +inline const ::bgs::protocol::Identity& Invitation::invitee_identity() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_identity) + return invitee_identity_ != NULL ? *invitee_identity_ : *default_instance_->invitee_identity_; +} +inline ::bgs::protocol::Identity* Invitation::mutable_invitee_identity() { + set_has_invitee_identity(); + if (invitee_identity_ == NULL) invitee_identity_ = new ::bgs::protocol::Identity; + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_identity) + return invitee_identity_; +} +inline ::bgs::protocol::Identity* Invitation::release_invitee_identity() { + clear_has_invitee_identity(); + ::bgs::protocol::Identity* temp = invitee_identity_; + invitee_identity_ = NULL; + return temp; +} +inline void Invitation::set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity) { + delete invitee_identity_; + invitee_identity_ = invitee_identity; + if (invitee_identity) { + set_has_invitee_identity(); + } else { + clear_has_invitee_identity(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_identity) +} + +// optional string inviter_name = 4; +inline bool Invitation::has_inviter_name() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Invitation::set_has_inviter_name() { + _has_bits_[0] |= 0x00000008u; +} +inline void Invitation::clear_has_inviter_name() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Invitation::clear_inviter_name() { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_->clear(); + } + clear_has_inviter_name(); +} +inline const ::std::string& Invitation::inviter_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_name) + return *inviter_name_; +} +inline void Invitation::set_inviter_name(const ::std::string& value) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.inviter_name) +} +inline void Invitation::set_inviter_name(const char* value) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.inviter_name) +} +inline void Invitation::set_inviter_name(const char* value, size_t size) { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + inviter_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.inviter_name) +} +inline ::std::string* Invitation::mutable_inviter_name() { + set_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + inviter_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_name) + return inviter_name_; +} +inline ::std::string* Invitation::release_inviter_name() { + clear_has_inviter_name(); + if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = inviter_name_; + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_inviter_name(::std::string* inviter_name) { + if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete inviter_name_; + } + if (inviter_name) { + set_has_inviter_name(); + inviter_name_ = inviter_name; + } else { + clear_has_inviter_name(); + inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_name) +} + +// optional string invitee_name = 5; +inline bool Invitation::has_invitee_name() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Invitation::set_has_invitee_name() { + _has_bits_[0] |= 0x00000010u; +} +inline void Invitation::clear_has_invitee_name() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Invitation::clear_invitee_name() { + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_->clear(); + } + clear_has_invitee_name(); +} +inline const ::std::string& Invitation::invitee_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_name) + return *invitee_name_; +} +inline void Invitation::set_invitee_name(const ::std::string& value) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitee_name) +} +inline void Invitation::set_invitee_name(const char* value) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitee_name) +} +inline void Invitation::set_invitee_name(const char* value, size_t size) { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + invitee_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitee_name) +} +inline ::std::string* Invitation::mutable_invitee_name() { + set_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitee_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_name) + return invitee_name_; +} +inline ::std::string* Invitation::release_invitee_name() { + clear_has_invitee_name(); + if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitee_name_; + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_invitee_name(::std::string* invitee_name) { + if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitee_name_; + } + if (invitee_name) { + set_has_invitee_name(); + invitee_name_ = invitee_name; + } else { + clear_has_invitee_name(); + invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_name) +} + +// optional string invitation_message = 6; +inline bool Invitation::has_invitation_message() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void Invitation::set_has_invitation_message() { + _has_bits_[0] |= 0x00000020u; +} +inline void Invitation::clear_has_invitation_message() { + _has_bits_[0] &= ~0x00000020u; +} +inline void Invitation::clear_invitation_message() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_->clear(); + } + clear_has_invitation_message(); +} +inline const ::std::string& Invitation::invitation_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitation_message) + return *invitation_message_; +} +inline void Invitation::set_invitation_message(const ::std::string& value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitation_message) +} +inline void Invitation::set_invitation_message(const char* value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitation_message) +} +inline void Invitation::set_invitation_message(const char* value, size_t size) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitation_message) +} +inline ::std::string* Invitation::mutable_invitation_message() { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitation_message) + return invitation_message_; +} +inline ::std::string* Invitation::release_invitation_message() { + clear_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitation_message_; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Invitation::set_allocated_invitation_message(::std::string* invitation_message) { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (invitation_message) { + set_has_invitation_message(); + invitation_message_ = invitation_message; + } else { + clear_has_invitation_message(); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitation_message) +} + +// optional uint64 creation_time = 7; +inline bool Invitation::has_creation_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void Invitation::set_has_creation_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void Invitation::clear_has_creation_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void Invitation::clear_creation_time() { + creation_time_ = GOOGLE_ULONGLONG(0); + clear_has_creation_time(); +} +inline ::google::protobuf::uint64 Invitation::creation_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.creation_time) + return creation_time_; +} +inline void Invitation::set_creation_time(::google::protobuf::uint64 value) { + set_has_creation_time(); + creation_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.creation_time) +} + +// optional uint64 expiration_time = 8; +inline bool Invitation::has_expiration_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void Invitation::set_has_expiration_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void Invitation::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void Invitation::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 Invitation::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.expiration_time) + return expiration_time_; +} +inline void Invitation::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.expiration_time) +} + +// ------------------------------------------------------------------- + +// InvitationParams + +// optional string invitation_message = 1 [deprecated = true]; +inline bool InvitationParams::has_invitation_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void InvitationParams::set_has_invitation_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void InvitationParams::clear_has_invitation_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void InvitationParams::clear_invitation_message() { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_->clear(); + } + clear_has_invitation_message(); +} +inline const ::std::string& InvitationParams::invitation_message() const { + // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.invitation_message) + return *invitation_message_; +} +inline void InvitationParams::set_invitation_message(const ::std::string& value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.invitation_message) +} +inline void InvitationParams::set_invitation_message(const char* value) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.InvitationParams.invitation_message) +} +inline void InvitationParams::set_invitation_message(const char* value, size_t size) { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + invitation_message_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.InvitationParams.invitation_message) +} +inline ::std::string* InvitationParams::mutable_invitation_message() { + set_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + invitation_message_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.InvitationParams.invitation_message) + return invitation_message_; +} +inline ::std::string* InvitationParams::release_invitation_message() { + clear_has_invitation_message(); + if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = invitation_message_; + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void InvitationParams::set_allocated_invitation_message(::std::string* invitation_message) { + if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete invitation_message_; + } + if (invitation_message) { + set_has_invitation_message(); + invitation_message_ = invitation_message; + } else { + clear_has_invitation_message(); + invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.InvitationParams.invitation_message) +} + +// optional uint64 expiration_time = 2; +inline bool InvitationParams::has_expiration_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void InvitationParams::set_has_expiration_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void InvitationParams::clear_has_expiration_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void InvitationParams::clear_expiration_time() { + expiration_time_ = GOOGLE_ULONGLONG(0); + clear_has_expiration_time(); +} +inline ::google::protobuf::uint64 InvitationParams::expiration_time() const { + // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.expiration_time) + return expiration_time_; +} +inline void InvitationParams::set_expiration_time(::google::protobuf::uint64 value) { + set_has_expiration_time(); + expiration_time_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.expiration_time) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::InvitationRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason>() { + return ::bgs::protocol::InvitationRemovedReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::SuggestionRemovedReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason>() { + return ::bgs::protocol::SuggestionRemovedReason_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/message_types.pb.cc b/src/server/proto/Client/api/common/v1/message_types.pb.cc new file mode 100644 index 00000000000..9acca966ec1 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/message_types.pb.cc @@ -0,0 +1,212 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/message_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/message_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +namespace { + +const ::google::protobuf::Descriptor* MessageId_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + MessageId_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/message_types.proto"); + GOOGLE_CHECK(file != NULL); + MessageId_descriptor_ = file->message_type(0); + static const int MessageId_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, epoch_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, position_), + }; + MessageId_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + MessageId_descriptor_, + MessageId::default_instance_, + MessageId_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(MessageId)); + TypingIndicator_descriptor_ = file->enum_type(0); + MessageOrigin_descriptor_ = file->enum_type(1); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + MessageId_descriptor_, &MessageId::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + delete MessageId::default_instance_; + delete MessageId_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/common/v1/message_types.proto\022\014bgs" + ".protocol\",\n\tMessageId\022\r\n\005epoch\030\001 \001(\004\022\020\n" + "\010position\030\002 \001(\004*4\n\017TypingIndicator\022\020\n\014TY" + "PING_START\020\000\022\017\n\013TYPING_STOP\020\001*E\n\rMessage" + "Origin\022\031\n\025MESSAGE_ORIGIN_PLAYER\020\000\022\031\n\025MES" + "SAGE_ORIGIN_SYSTEM\020\001B\002H\002", 224); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/message_types.proto", &protobuf_RegisterTypes); + MessageId::default_instance_ = new MessageId(); + MessageId::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor() { + protobuf_AssignDescriptorsOnce(); + return TypingIndicator_descriptor_; +} +bool TypingIndicator_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor() { + protobuf_AssignDescriptorsOnce(); + return MessageOrigin_descriptor_; +} +bool MessageOrigin_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int MessageId::kEpochFieldNumber; +const int MessageId::kPositionFieldNumber; +#endif // !_MSC_VER + +MessageId::MessageId() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.MessageId) +} + +void MessageId::InitAsDefaultInstance() { +} + +MessageId::MessageId(const MessageId& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.MessageId) +} + +void MessageId::SharedCtor() { + _cached_size_ = 0; + epoch_ = GOOGLE_ULONGLONG(0); + position_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +MessageId::~MessageId() { + // @@protoc_insertion_point(destructor:bgs.protocol.MessageId) + SharedDtor(); +} + +void MessageId::SharedDtor() { + if (this != default_instance_) { + } +} + +void MessageId::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* MessageId::descriptor() { + protobuf_AssignDescriptorsOnce(); + return MessageId_descriptor_; +} + +const MessageId& MessageId::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + return *default_instance_; +} + +MessageId* MessageId::default_instance_ = NULL; + +MessageId* MessageId::New() const { + return new MessageId; +} + +void MessageId::Swap(MessageId* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata MessageId::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = MessageId_descriptor_; + metadata.reflection = MessageId_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/message_types.pb.h b/src/server/proto/Client/api/common/v1/message_types.pb.h new file mode 100644 index 00000000000..ad1be18e5fe --- /dev/null +++ b/src/server/proto/Client/api/common/v1/message_types.pb.h @@ -0,0 +1,235 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/message_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + +class MessageId; + +enum TypingIndicator { + TYPING_START = 0, + TYPING_STOP = 1 +}; +TC_PROTO_API bool TypingIndicator_IsValid(int value); +const TypingIndicator TypingIndicator_MIN = TYPING_START; +const TypingIndicator TypingIndicator_MAX = TYPING_STOP; +const int TypingIndicator_ARRAYSIZE = TypingIndicator_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor(); +inline const ::std::string& TypingIndicator_Name(TypingIndicator value) { + return ::google::protobuf::internal::NameOfEnum( + TypingIndicator_descriptor(), value); +} +inline bool TypingIndicator_Parse( + const ::std::string& name, TypingIndicator* value) { + return ::google::protobuf::internal::ParseNamedEnum( + TypingIndicator_descriptor(), name, value); +} +enum MessageOrigin { + MESSAGE_ORIGIN_PLAYER = 0, + MESSAGE_ORIGIN_SYSTEM = 1 +}; +TC_PROTO_API bool MessageOrigin_IsValid(int value); +const MessageOrigin MessageOrigin_MIN = MESSAGE_ORIGIN_PLAYER; +const MessageOrigin MessageOrigin_MAX = MESSAGE_ORIGIN_SYSTEM; +const int MessageOrigin_ARRAYSIZE = MessageOrigin_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* MessageOrigin_descriptor(); +inline const ::std::string& MessageOrigin_Name(MessageOrigin value) { + return ::google::protobuf::internal::NameOfEnum( + MessageOrigin_descriptor(), value); +} +inline bool MessageOrigin_Parse( + const ::std::string& name, MessageOrigin* value) { + return ::google::protobuf::internal::ParseNamedEnum( + MessageOrigin_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API MessageId : public ::google::protobuf::Message { + public: + MessageId(); + virtual ~MessageId(); + + MessageId(const MessageId& from); + + inline MessageId& operator=(const MessageId& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const MessageId& default_instance(); + + void Swap(MessageId* other); + + // implements Message ---------------------------------------------- + + MessageId* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 epoch = 1; + inline bool has_epoch() const; + inline void clear_epoch(); + static const int kEpochFieldNumber = 1; + inline ::google::protobuf::uint64 epoch() const; + inline void set_epoch(::google::protobuf::uint64 value); + + // optional uint64 position = 2; + inline bool has_position() const; + inline void clear_position(); + static const int kPositionFieldNumber = 2; + inline ::google::protobuf::uint64 position() const; + inline void set_position(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.MessageId) + private: + inline void set_has_epoch(); + inline void clear_has_epoch(); + inline void set_has_position(); + inline void clear_has_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 epoch_; + ::google::protobuf::uint64 position_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static MessageId* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// MessageId + +// optional uint64 epoch = 1; +inline bool MessageId::has_epoch() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void MessageId::set_has_epoch() { + _has_bits_[0] |= 0x00000001u; +} +inline void MessageId::clear_has_epoch() { + _has_bits_[0] &= ~0x00000001u; +} +inline void MessageId::clear_epoch() { + epoch_ = GOOGLE_ULONGLONG(0); + clear_has_epoch(); +} +inline ::google::protobuf::uint64 MessageId::epoch() const { + // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.epoch) + return epoch_; +} +inline void MessageId::set_epoch(::google::protobuf::uint64 value) { + set_has_epoch(); + epoch_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.epoch) +} + +// optional uint64 position = 2; +inline bool MessageId::has_position() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void MessageId::set_has_position() { + _has_bits_[0] |= 0x00000002u; +} +inline void MessageId::clear_has_position() { + _has_bits_[0] &= ~0x00000002u; +} +inline void MessageId::clear_position() { + position_ = GOOGLE_ULONGLONG(0); + clear_has_position(); +} +inline ::google::protobuf::uint64 MessageId::position() const { + // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.position) + return position_; +} +inline void MessageId::set_position(::google::protobuf::uint64 value) { + set_has_position(); + position_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.position) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::TypingIndicator> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::TypingIndicator>() { + return ::bgs::protocol::TypingIndicator_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::MessageOrigin> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::MessageOrigin>() { + return ::bgs::protocol::MessageOrigin_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v1/voice_types.pb.cc b/src/server/proto/Client/api/common/v1/voice_types.pb.cc new file mode 100644 index 00000000000..509e2af8563 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/voice_types.pb.cc @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/voice_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v1/voice_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace voice { +namespace v1 { + +namespace { + +const ::google::protobuf::Descriptor* VoiceCredentials_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + VoiceCredentials_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v1/voice_types.proto"); + GOOGLE_CHECK(file != NULL); + VoiceCredentials_descriptor_ = file->message_type(0); + static const int VoiceCredentials_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, voice_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, token_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, url_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, join_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, mute_reason_), + }; + VoiceCredentials_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + VoiceCredentials_descriptor_, + VoiceCredentials::default_instance_, + VoiceCredentials_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(VoiceCredentials)); + VoiceJoinType_descriptor_ = file->enum_type(0); + VoiceMuteReason_descriptor_ = file->enum_type(1); + VoiceProviderVersion_descriptor_ = file->enum_type(2); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + VoiceCredentials_descriptor_, &VoiceCredentials::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + delete VoiceCredentials::default_instance_; + delete VoiceCredentials_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\037api/common/v1/voice_types.proto\022\025bgs.p" + "rotocol.voice.v1\032\017rpc_types.proto\"\234\001\n\020Vo" + "iceCredentials\022\030\n\020voice_account_id\030\001 \001(\t" + "\022\r\n\005token\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022&\n\tjoin_typ" + "e\030\004 \001(\rB\023\202\371+\017*\rVoiceJoinType\022*\n\013mute_rea" + "son\030\005 \001(\rB\025\202\371+\021*\017VoiceMuteReason*<\n\rVoic" + "eJoinType\022\025\n\021VOICE_JOIN_NORMAL\020\000\022\024\n\020VOIC" + "E_JOIN_MUTED\020\001*\243\001\n\017VoiceMuteReason\022\032\n\026VO" + "ICE_MUTE_REASON_NONE\020\000\0222\n.VOICE_MUTE_REA" + "SON_PARENTAL_CONTROL_LISTEN_ONLY\020\001\022\037\n\033VO" + "ICE_MUTE_REASON_REQUESTED\020\002\022\037\n\033VOICE_MUT" + "E_REASON_SQUELCHED\020\003*D\n\024VoiceProviderVer" + "sion\022\025\n\021VOICE_PROVIDER_V4\020\000\022\025\n\021VOICE_PRO" + "VIDER_V5\020\001B\002H\002", 534); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v1/voice_types.proto", &protobuf_RegisterTypes); + VoiceCredentials::default_instance_ = new VoiceCredentials(); + VoiceCredentials::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto_; +const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceJoinType_descriptor_; +} +bool VoiceJoinType_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceMuteReason_descriptor_; +} +bool VoiceMuteReason_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceProviderVersion_descriptor_; +} +bool VoiceProviderVersion_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +// =================================================================== + +#ifndef _MSC_VER +const int VoiceCredentials::kVoiceAccountIdFieldNumber; +const int VoiceCredentials::kTokenFieldNumber; +const int VoiceCredentials::kUrlFieldNumber; +const int VoiceCredentials::kJoinTypeFieldNumber; +const int VoiceCredentials::kMuteReasonFieldNumber; +#endif // !_MSC_VER + +VoiceCredentials::VoiceCredentials() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.voice.v1.VoiceCredentials) +} + +void VoiceCredentials::InitAsDefaultInstance() { +} + +VoiceCredentials::VoiceCredentials(const VoiceCredentials& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.voice.v1.VoiceCredentials) +} + +void VoiceCredentials::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + join_type_ = 0u; + mute_reason_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +VoiceCredentials::~VoiceCredentials() { + // @@protoc_insertion_point(destructor:bgs.protocol.voice.v1.VoiceCredentials) + SharedDtor(); +} + +void VoiceCredentials::SharedDtor() { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_account_id_; + } + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete token_; + } + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (this != default_instance_) { + } +} + +void VoiceCredentials::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* VoiceCredentials::descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceCredentials_descriptor_; +} + +const VoiceCredentials& VoiceCredentials::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + return *default_instance_; +} + +VoiceCredentials* VoiceCredentials::default_instance_ = NULL; + +VoiceCredentials* VoiceCredentials::New() const { + return new VoiceCredentials; +} + +void VoiceCredentials::Swap(VoiceCredentials* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata VoiceCredentials::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = VoiceCredentials_descriptor_; + metadata.reflection = VoiceCredentials_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace voice +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v1/voice_types.pb.h b/src/server/proto/Client/api/common/v1/voice_types.pb.h new file mode 100644 index 00000000000..ef87c112627 --- /dev/null +++ b/src/server/proto/Client/api/common/v1/voice_types.pb.h @@ -0,0 +1,539 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v1/voice_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace voice { +namespace v1 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + +class VoiceCredentials; + +enum VoiceJoinType { + VOICE_JOIN_NORMAL = 0, + VOICE_JOIN_MUTED = 1 +}; +TC_PROTO_API bool VoiceJoinType_IsValid(int value); +const VoiceJoinType VoiceJoinType_MIN = VOICE_JOIN_NORMAL; +const VoiceJoinType VoiceJoinType_MAX = VOICE_JOIN_MUTED; +const int VoiceJoinType_ARRAYSIZE = VoiceJoinType_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor(); +inline const ::std::string& VoiceJoinType_Name(VoiceJoinType value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceJoinType_descriptor(), value); +} +inline bool VoiceJoinType_Parse( + const ::std::string& name, VoiceJoinType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceJoinType_descriptor(), name, value); +} +enum VoiceMuteReason { + VOICE_MUTE_REASON_NONE = 0, + VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY = 1, + VOICE_MUTE_REASON_REQUESTED = 2, + VOICE_MUTE_REASON_SQUELCHED = 3 +}; +TC_PROTO_API bool VoiceMuteReason_IsValid(int value); +const VoiceMuteReason VoiceMuteReason_MIN = VOICE_MUTE_REASON_NONE; +const VoiceMuteReason VoiceMuteReason_MAX = VOICE_MUTE_REASON_SQUELCHED; +const int VoiceMuteReason_ARRAYSIZE = VoiceMuteReason_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor(); +inline const ::std::string& VoiceMuteReason_Name(VoiceMuteReason value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceMuteReason_descriptor(), value); +} +inline bool VoiceMuteReason_Parse( + const ::std::string& name, VoiceMuteReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceMuteReason_descriptor(), name, value); +} +enum VoiceProviderVersion { + VOICE_PROVIDER_V4 = 0, + VOICE_PROVIDER_V5 = 1 +}; +TC_PROTO_API bool VoiceProviderVersion_IsValid(int value); +const VoiceProviderVersion VoiceProviderVersion_MIN = VOICE_PROVIDER_V4; +const VoiceProviderVersion VoiceProviderVersion_MAX = VOICE_PROVIDER_V5; +const int VoiceProviderVersion_ARRAYSIZE = VoiceProviderVersion_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor(); +inline const ::std::string& VoiceProviderVersion_Name(VoiceProviderVersion value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceProviderVersion_descriptor(), value); +} +inline bool VoiceProviderVersion_Parse( + const ::std::string& name, VoiceProviderVersion* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceProviderVersion_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API VoiceCredentials : public ::google::protobuf::Message { + public: + VoiceCredentials(); + virtual ~VoiceCredentials(); + + VoiceCredentials(const VoiceCredentials& from); + + inline VoiceCredentials& operator=(const VoiceCredentials& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const VoiceCredentials& default_instance(); + + void Swap(VoiceCredentials* other); + + // implements Message ---------------------------------------------- + + VoiceCredentials* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string voice_account_id = 1; + inline bool has_voice_account_id() const; + inline void clear_voice_account_id(); + static const int kVoiceAccountIdFieldNumber = 1; + inline const ::std::string& voice_account_id() const; + inline void set_voice_account_id(const ::std::string& value); + inline void set_voice_account_id(const char* value); + inline void set_voice_account_id(const char* value, size_t size); + inline ::std::string* mutable_voice_account_id(); + inline ::std::string* release_voice_account_id(); + inline void set_allocated_voice_account_id(::std::string* voice_account_id); + + // optional string token = 2; + inline bool has_token() const; + inline void clear_token(); + static const int kTokenFieldNumber = 2; + inline const ::std::string& token() const; + inline void set_token(const ::std::string& value); + inline void set_token(const char* value); + inline void set_token(const char* value, size_t size); + inline ::std::string* mutable_token(); + inline ::std::string* release_token(); + inline void set_allocated_token(::std::string* token); + + // optional string url = 3; + inline bool has_url() const; + inline void clear_url(); + static const int kUrlFieldNumber = 3; + inline const ::std::string& url() const; + inline void set_url(const ::std::string& value); + inline void set_url(const char* value); + inline void set_url(const char* value, size_t size); + inline ::std::string* mutable_url(); + inline ::std::string* release_url(); + inline void set_allocated_url(::std::string* url); + + // optional uint32 join_type = 4; + inline bool has_join_type() const; + inline void clear_join_type(); + static const int kJoinTypeFieldNumber = 4; + inline ::google::protobuf::uint32 join_type() const; + inline void set_join_type(::google::protobuf::uint32 value); + + // optional uint32 mute_reason = 5; + inline bool has_mute_reason() const; + inline void clear_mute_reason(); + static const int kMuteReasonFieldNumber = 5; + inline ::google::protobuf::uint32 mute_reason() const; + inline void set_mute_reason(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.voice.v1.VoiceCredentials) + private: + inline void set_has_voice_account_id(); + inline void clear_has_voice_account_id(); + inline void set_has_token(); + inline void clear_has_token(); + inline void set_has_url(); + inline void clear_has_url(); + inline void set_has_join_type(); + inline void clear_has_join_type(); + inline void set_has_mute_reason(); + inline void clear_has_mute_reason(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* voice_account_id_; + ::std::string* token_; + ::std::string* url_; + ::google::protobuf::uint32 join_type_; + ::google::protobuf::uint32 mute_reason_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static VoiceCredentials* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// VoiceCredentials + +// optional string voice_account_id = 1; +inline bool VoiceCredentials::has_voice_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void VoiceCredentials::set_has_voice_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void VoiceCredentials::clear_has_voice_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void VoiceCredentials::clear_voice_account_id() { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_->clear(); + } + clear_has_voice_account_id(); +} +inline const ::std::string& VoiceCredentials::voice_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) + return *voice_account_id_; +} +inline void VoiceCredentials::set_voice_account_id(const ::std::string& value) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline void VoiceCredentials::set_voice_account_id(const char* value) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline void VoiceCredentials::set_voice_account_id(const char* value, size_t size) { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + voice_account_id_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} +inline ::std::string* VoiceCredentials::mutable_voice_account_id() { + set_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_account_id_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) + return voice_account_id_; +} +inline ::std::string* VoiceCredentials::release_voice_account_id() { + clear_has_voice_account_id(); + if (voice_account_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = voice_account_id_; + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_voice_account_id(::std::string* voice_account_id) { + if (voice_account_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_account_id_; + } + if (voice_account_id) { + set_has_voice_account_id(); + voice_account_id_ = voice_account_id; + } else { + clear_has_voice_account_id(); + voice_account_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.voice_account_id) +} + +// optional string token = 2; +inline bool VoiceCredentials::has_token() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void VoiceCredentials::set_has_token() { + _has_bits_[0] |= 0x00000002u; +} +inline void VoiceCredentials::clear_has_token() { + _has_bits_[0] &= ~0x00000002u; +} +inline void VoiceCredentials::clear_token() { + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_->clear(); + } + clear_has_token(); +} +inline const ::std::string& VoiceCredentials::token() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.token) + return *token_; +} +inline void VoiceCredentials::set_token(const ::std::string& value) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline void VoiceCredentials::set_token(const char* value) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline void VoiceCredentials::set_token(const char* value, size_t size) { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + token_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.token) +} +inline ::std::string* VoiceCredentials::mutable_token() { + set_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + token_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.token) + return token_; +} +inline ::std::string* VoiceCredentials::release_token() { + clear_has_token(); + if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = token_; + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_token(::std::string* token) { + if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete token_; + } + if (token) { + set_has_token(); + token_ = token; + } else { + clear_has_token(); + token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.token) +} + +// optional string url = 3; +inline bool VoiceCredentials::has_url() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void VoiceCredentials::set_has_url() { + _has_bits_[0] |= 0x00000004u; +} +inline void VoiceCredentials::clear_has_url() { + _has_bits_[0] &= ~0x00000004u; +} +inline void VoiceCredentials::clear_url() { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_->clear(); + } + clear_has_url(); +} +inline const ::std::string& VoiceCredentials::url() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.url) + return *url_; +} +inline void VoiceCredentials::set_url(const ::std::string& value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline void VoiceCredentials::set_url(const char* value) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline void VoiceCredentials::set_url(const char* value, size_t size) { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + url_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.voice.v1.VoiceCredentials.url) +} +inline ::std::string* VoiceCredentials::mutable_url() { + set_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + url_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.voice.v1.VoiceCredentials.url) + return url_; +} +inline ::std::string* VoiceCredentials::release_url() { + clear_has_url(); + if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = url_; + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void VoiceCredentials::set_allocated_url(::std::string* url) { + if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete url_; + } + if (url) { + set_has_url(); + url_ = url; + } else { + clear_has_url(); + url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.voice.v1.VoiceCredentials.url) +} + +// optional uint32 join_type = 4; +inline bool VoiceCredentials::has_join_type() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void VoiceCredentials::set_has_join_type() { + _has_bits_[0] |= 0x00000008u; +} +inline void VoiceCredentials::clear_has_join_type() { + _has_bits_[0] &= ~0x00000008u; +} +inline void VoiceCredentials::clear_join_type() { + join_type_ = 0u; + clear_has_join_type(); +} +inline ::google::protobuf::uint32 VoiceCredentials::join_type() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.join_type) + return join_type_; +} +inline void VoiceCredentials::set_join_type(::google::protobuf::uint32 value) { + set_has_join_type(); + join_type_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.join_type) +} + +// optional uint32 mute_reason = 5; +inline bool VoiceCredentials::has_mute_reason() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void VoiceCredentials::set_has_mute_reason() { + _has_bits_[0] |= 0x00000010u; +} +inline void VoiceCredentials::clear_has_mute_reason() { + _has_bits_[0] &= ~0x00000010u; +} +inline void VoiceCredentials::clear_mute_reason() { + mute_reason_ = 0u; + clear_has_mute_reason(); +} +inline ::google::protobuf::uint32 VoiceCredentials::mute_reason() const { + // @@protoc_insertion_point(field_get:bgs.protocol.voice.v1.VoiceCredentials.mute_reason) + return mute_reason_; +} +inline void VoiceCredentials::set_mute_reason(::google::protobuf::uint32 value) { + set_has_mute_reason(); + mute_reason_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.voice.v1.VoiceCredentials.mute_reason) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace voice +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceJoinType> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceJoinType>() { + return ::bgs::protocol::voice::v1::VoiceJoinType_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceMuteReason> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceMuteReason>() { + return ::bgs::protocol::voice::v1::VoiceMuteReason_descriptor(); +} +template <> struct is_proto_enum< ::bgs::protocol::voice::v1::VoiceProviderVersion> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::voice::v1::VoiceProviderVersion>() { + return ::bgs::protocol::voice::v1::VoiceProviderVersion_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/attribute_types.pb.cc b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc new file mode 100644 index 00000000000..0ae2579ea56 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.cc @@ -0,0 +1,482 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/attribute_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/attribute_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* Variant_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Variant_reflection_ = NULL; +struct VariantOneofInstance { + bool bool_value_; + ::google::protobuf::int64 int_value_; + double float_value_; + const ::std::string* string_value_; + const ::std::string* blob_value_; + ::google::protobuf::uint64 uint_value_; +}* Variant_default_oneof_instance_ = NULL; +const ::google::protobuf::Descriptor* Attribute_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Attribute_reflection_ = NULL; +const ::google::protobuf::Descriptor* AttributeFilter_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + AttributeFilter_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/attribute_types.proto"); + GOOGLE_CHECK(file != NULL); + Variant_descriptor_ = file->message_type(0); + static const int Variant_offsets_[7] = { + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, bool_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, int_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, float_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, string_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, blob_value_), + PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Variant_default_oneof_instance_, uint_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, type_), + }; + Variant_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Variant_descriptor_, + Variant::default_instance_, + Variant_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _unknown_fields_), + -1, + Variant_default_oneof_instance_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Variant, _oneof_case_[0]), + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Variant)); + Attribute_descriptor_ = file->message_type(1); + static const int Attribute_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, value_), + }; + Attribute_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Attribute_descriptor_, + Attribute::default_instance_, + Attribute_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Attribute, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Attribute)); + AttributeFilter_descriptor_ = file->message_type(2); + static const int AttributeFilter_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, op_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, attribute_), + }; + AttributeFilter_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + AttributeFilter_descriptor_, + AttributeFilter::default_instance_, + AttributeFilter_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttributeFilter, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(AttributeFilter)); + AttributeFilter_Operation_descriptor_ = AttributeFilter_descriptor_->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Variant_descriptor_, &Variant::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Attribute_descriptor_, &Attribute::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + AttributeFilter_descriptor_, &AttributeFilter::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + delete Variant::default_instance_; + delete Variant_default_oneof_instance_; + delete Variant_reflection_; + delete Attribute::default_instance_; + delete Attribute_reflection_; + delete AttributeFilter::default_instance_; + delete AttributeFilter_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n#api/common/v2/attribute_types.proto\022\017b" + "gs.protocol.v2\"\227\001\n\007Variant\022\024\n\nbool_value" + "\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\025\n\013float_v" + "alue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000\022\024\n\n" + "blob_value\030\005 \001(\014H\000\022\024\n\nuint_value\030\006 \001(\004H\000" + "B\006\n\004type\"B\n\tAttribute\022\014\n\004name\030\001 \001(\t\022\'\n\005v" + "alue\030\002 \001(\0132\030.bgs.protocol.v2.Variant\"\320\001\n" + "\017AttributeFilter\0226\n\002op\030\001 \001(\0162*.bgs.proto" + "col.v2.AttributeFilter.Operation\022-\n\tattr" + "ibute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"" + "V\n\tOperation\022\016\n\nMATCH_NONE\020\000\022\r\n\tMATCH_AN" + "Y\020\001\022\r\n\tMATCH_ALL\020\002\022\033\n\027MATCH_ALL_MOST_SPE" + "CIFIC\020\003B\002H\002", 491); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/attribute_types.proto", &protobuf_RegisterTypes); + Variant::default_instance_ = new Variant(); + Variant_default_oneof_instance_ = new VariantOneofInstance; + Attribute::default_instance_ = new Attribute(); + AttributeFilter::default_instance_ = new AttributeFilter(); + Variant::default_instance_->InitAsDefaultInstance(); + Attribute::default_instance_->InitAsDefaultInstance(); + AttributeFilter::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Variant::kBoolValueFieldNumber; +const int Variant::kIntValueFieldNumber; +const int Variant::kFloatValueFieldNumber; +const int Variant::kStringValueFieldNumber; +const int Variant::kBlobValueFieldNumber; +const int Variant::kUintValueFieldNumber; +#endif // !_MSC_VER + +Variant::Variant() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.Variant) +} + +void Variant::InitAsDefaultInstance() { + Variant_default_oneof_instance_->bool_value_ = false; + Variant_default_oneof_instance_->int_value_ = GOOGLE_LONGLONG(0); + Variant_default_oneof_instance_->float_value_ = 0; + Variant_default_oneof_instance_->string_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); + Variant_default_oneof_instance_->blob_value_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); + Variant_default_oneof_instance_->uint_value_ = GOOGLE_ULONGLONG(0); +} + +Variant::Variant(const Variant& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Variant) +} + +void Variant::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + clear_has_type(); +} + +Variant::~Variant() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.Variant) + SharedDtor(); +} + +void Variant::SharedDtor() { + if (has_type()) { + clear_type(); + } + if (this != default_instance_) { + } +} + +void Variant::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Variant::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Variant_descriptor_; +} + +const Variant& Variant::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +Variant* Variant::default_instance_ = NULL; + +Variant* Variant::New() const { + return new Variant; +} + +void Variant::clear_type() { + switch(type_case()) { + case kBoolValue: { + // No need to clear + break; + } + case kIntValue: { + // No need to clear + break; + } + case kFloatValue: { + // No need to clear + break; + } + case kStringValue: { + delete type_.string_value_; + break; + } + case kBlobValue: { + delete type_.blob_value_; + break; + } + case kUintValue: { + // No need to clear + break; + } + case TYPE_NOT_SET: { + break; + } + } + _oneof_case_[0] = TYPE_NOT_SET; +} + +void Variant::Swap(Variant* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Variant::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Variant_descriptor_; + metadata.reflection = Variant_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int Attribute::kNameFieldNumber; +const int Attribute::kValueFieldNumber; +#endif // !_MSC_VER + +Attribute::Attribute() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.Attribute) +} + +void Attribute::InitAsDefaultInstance() { + value_ = const_cast< ::bgs::protocol::v2::Variant*>(&::bgs::protocol::v2::Variant::default_instance()); +} + +Attribute::Attribute(const Attribute& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.Attribute) +} + +void Attribute::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Attribute::~Attribute() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.Attribute) + SharedDtor(); +} + +void Attribute::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + delete value_; + } +} + +void Attribute::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Attribute::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Attribute_descriptor_; +} + +const Attribute& Attribute::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +Attribute* Attribute::default_instance_ = NULL; + +Attribute* Attribute::New() const { + return new Attribute; +} + +void Attribute::Swap(Attribute* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Attribute::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Attribute_descriptor_; + metadata.reflection = Attribute_reflection_; + return metadata; +} + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor() { + protobuf_AssignDescriptorsOnce(); + return AttributeFilter_Operation_descriptor_; +} +bool AttributeFilter_Operation_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const AttributeFilter_Operation AttributeFilter::MATCH_NONE; +const AttributeFilter_Operation AttributeFilter::MATCH_ANY; +const AttributeFilter_Operation AttributeFilter::MATCH_ALL; +const AttributeFilter_Operation AttributeFilter::MATCH_ALL_MOST_SPECIFIC; +const AttributeFilter_Operation AttributeFilter::Operation_MIN; +const AttributeFilter_Operation AttributeFilter::Operation_MAX; +const int AttributeFilter::Operation_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int AttributeFilter::kOpFieldNumber; +const int AttributeFilter::kAttributeFieldNumber; +#endif // !_MSC_VER + +AttributeFilter::AttributeFilter() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.v2.AttributeFilter) +} + +void AttributeFilter::InitAsDefaultInstance() { +} + +AttributeFilter::AttributeFilter(const AttributeFilter& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.v2.AttributeFilter) +} + +void AttributeFilter::SharedCtor() { + _cached_size_ = 0; + op_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +AttributeFilter::~AttributeFilter() { + // @@protoc_insertion_point(destructor:bgs.protocol.v2.AttributeFilter) + SharedDtor(); +} + +void AttributeFilter::SharedDtor() { + if (this != default_instance_) { + } +} + +void AttributeFilter::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* AttributeFilter::descriptor() { + protobuf_AssignDescriptorsOnce(); + return AttributeFilter_descriptor_; +} + +const AttributeFilter& AttributeFilter::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + return *default_instance_; +} + +AttributeFilter* AttributeFilter::default_instance_ = NULL; + +AttributeFilter* AttributeFilter::New() const { + return new AttributeFilter; +} + +void AttributeFilter::Swap(AttributeFilter* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata AttributeFilter::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = AttributeFilter_descriptor_; + metadata.reflection = AttributeFilter_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/attribute_types.pb.h b/src/server/proto/Client/api/common/v2/attribute_types.pb.h new file mode 100644 index 00000000000..e9fdd54a2b3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/attribute_types.pb.h @@ -0,0 +1,857 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/attribute_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + +class Variant; +class Attribute; +class AttributeFilter; + +enum AttributeFilter_Operation { + AttributeFilter_Operation_MATCH_NONE = 0, + AttributeFilter_Operation_MATCH_ANY = 1, + AttributeFilter_Operation_MATCH_ALL = 2, + AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC = 3 +}; +TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value); +const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN = AttributeFilter_Operation_MATCH_NONE; +const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; +const int AttributeFilter_Operation_Operation_ARRAYSIZE = AttributeFilter_Operation_Operation_MAX + 1; + +TC_PROTO_API const ::google::protobuf::EnumDescriptor* AttributeFilter_Operation_descriptor(); +inline const ::std::string& AttributeFilter_Operation_Name(AttributeFilter_Operation value) { + return ::google::protobuf::internal::NameOfEnum( + AttributeFilter_Operation_descriptor(), value); +} +inline bool AttributeFilter_Operation_Parse( + const ::std::string& name, AttributeFilter_Operation* value) { + return ::google::protobuf::internal::ParseNamedEnum( + AttributeFilter_Operation_descriptor(), name, value); +} +// =================================================================== + +class TC_PROTO_API Variant : public ::google::protobuf::Message { + public: + Variant(); + virtual ~Variant(); + + Variant(const Variant& from); + + inline Variant& operator=(const Variant& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Variant& default_instance(); + + enum TypeCase { + kBoolValue = 1, + kIntValue = 2, + kFloatValue = 3, + kStringValue = 4, + kBlobValue = 5, + kUintValue = 6, + TYPE_NOT_SET = 0, + }; + + void Swap(Variant* other); + + // implements Message ---------------------------------------------- + + Variant* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool bool_value = 1; + inline bool has_bool_value() const; + inline void clear_bool_value(); + static const int kBoolValueFieldNumber = 1; + inline bool bool_value() const; + inline void set_bool_value(bool value); + + // optional int64 int_value = 2; + inline bool has_int_value() const; + inline void clear_int_value(); + static const int kIntValueFieldNumber = 2; + inline ::google::protobuf::int64 int_value() const; + inline void set_int_value(::google::protobuf::int64 value); + + // optional double float_value = 3; + inline bool has_float_value() const; + inline void clear_float_value(); + static const int kFloatValueFieldNumber = 3; + inline double float_value() const; + inline void set_float_value(double value); + + // optional string string_value = 4; + inline bool has_string_value() const; + inline void clear_string_value(); + static const int kStringValueFieldNumber = 4; + inline const ::std::string& string_value() const; + inline void set_string_value(const ::std::string& value); + inline void set_string_value(const char* value); + inline void set_string_value(const char* value, size_t size); + inline ::std::string* mutable_string_value(); + inline ::std::string* release_string_value(); + inline void set_allocated_string_value(::std::string* string_value); + + // optional bytes blob_value = 5; + inline bool has_blob_value() const; + inline void clear_blob_value(); + static const int kBlobValueFieldNumber = 5; + inline const ::std::string& blob_value() const; + inline void set_blob_value(const ::std::string& value); + inline void set_blob_value(const char* value); + inline void set_blob_value(const void* value, size_t size); + inline ::std::string* mutable_blob_value(); + inline ::std::string* release_blob_value(); + inline void set_allocated_blob_value(::std::string* blob_value); + + // optional uint64 uint_value = 6; + inline bool has_uint_value() const; + inline void clear_uint_value(); + static const int kUintValueFieldNumber = 6; + inline ::google::protobuf::uint64 uint_value() const; + inline void set_uint_value(::google::protobuf::uint64 value); + + inline TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Variant) + private: + inline void set_has_bool_value(); + inline void set_has_int_value(); + inline void set_has_float_value(); + inline void set_has_string_value(); + inline void set_has_blob_value(); + inline void set_has_uint_value(); + + inline bool has_type(); + void clear_type(); + inline void clear_has_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + union TypeUnion { + bool bool_value_; + ::google::protobuf::int64 int_value_; + double float_value_; + ::std::string* string_value_; + ::std::string* blob_value_; + ::google::protobuf::uint64 uint_value_; + } type_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Variant* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API Attribute : public ::google::protobuf::Message { + public: + Attribute(); + virtual ~Attribute(); + + Attribute(const Attribute& from); + + inline Attribute& operator=(const Attribute& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Attribute& default_instance(); + + void Swap(Attribute* other); + + // implements Message ---------------------------------------------- + + Attribute* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional .bgs.protocol.v2.Variant value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline const ::bgs::protocol::v2::Variant& value() const; + inline ::bgs::protocol::v2::Variant* mutable_value(); + inline ::bgs::protocol::v2::Variant* release_value(); + inline void set_allocated_value(::bgs::protocol::v2::Variant* value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.Attribute) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_value(); + inline void clear_has_value(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + ::bgs::protocol::v2::Variant* value_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Attribute* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API AttributeFilter : public ::google::protobuf::Message { + public: + AttributeFilter(); + virtual ~AttributeFilter(); + + AttributeFilter(const AttributeFilter& from); + + inline AttributeFilter& operator=(const AttributeFilter& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const AttributeFilter& default_instance(); + + void Swap(AttributeFilter* other); + + // implements Message ---------------------------------------------- + + AttributeFilter* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + typedef AttributeFilter_Operation Operation; + static const Operation MATCH_NONE = AttributeFilter_Operation_MATCH_NONE; + static const Operation MATCH_ANY = AttributeFilter_Operation_MATCH_ANY; + static const Operation MATCH_ALL = AttributeFilter_Operation_MATCH_ALL; + static const Operation MATCH_ALL_MOST_SPECIFIC = AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC; + static inline bool Operation_IsValid(int value) { + return AttributeFilter_Operation_IsValid(value); + } + static const Operation Operation_MIN = + AttributeFilter_Operation_Operation_MIN; + static const Operation Operation_MAX = + AttributeFilter_Operation_Operation_MAX; + static const int Operation_ARRAYSIZE = + AttributeFilter_Operation_Operation_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + Operation_descriptor() { + return AttributeFilter_Operation_descriptor(); + } + static inline const ::std::string& Operation_Name(Operation value) { + return AttributeFilter_Operation_Name(value); + } + static inline bool Operation_Parse(const ::std::string& name, + Operation* value) { + return AttributeFilter_Operation_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; + inline bool has_op() const; + inline void clear_op(); + static const int kOpFieldNumber = 1; + inline ::bgs::protocol::v2::AttributeFilter_Operation op() const; + inline void set_op(::bgs::protocol::v2::AttributeFilter_Operation value); + + // repeated .bgs.protocol.v2.Attribute attribute = 2; + inline int attribute_size() const; + inline void clear_attribute(); + static const int kAttributeFieldNumber = 2; + inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; + inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); + inline ::bgs::protocol::v2::Attribute* add_attribute(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& + attribute() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* + mutable_attribute(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.v2.AttributeFilter) + private: + inline void set_has_op(); + inline void clear_has_op(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; + int op_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static AttributeFilter* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Variant + +// optional bool bool_value = 1; +inline bool Variant::has_bool_value() const { + return type_case() == kBoolValue; +} +inline void Variant::set_has_bool_value() { + _oneof_case_[0] = kBoolValue; +} +inline void Variant::clear_bool_value() { + if (has_bool_value()) { + type_.bool_value_ = false; + clear_has_type(); + } +} +inline bool Variant::bool_value() const { + if (has_bool_value()) { + return type_.bool_value_; + } + return false; +} +inline void Variant::set_bool_value(bool value) { + if (!has_bool_value()) { + clear_type(); + set_has_bool_value(); + } + type_.bool_value_ = value; +} + +// optional int64 int_value = 2; +inline bool Variant::has_int_value() const { + return type_case() == kIntValue; +} +inline void Variant::set_has_int_value() { + _oneof_case_[0] = kIntValue; +} +inline void Variant::clear_int_value() { + if (has_int_value()) { + type_.int_value_ = GOOGLE_LONGLONG(0); + clear_has_type(); + } +} +inline ::google::protobuf::int64 Variant::int_value() const { + if (has_int_value()) { + return type_.int_value_; + } + return GOOGLE_LONGLONG(0); +} +inline void Variant::set_int_value(::google::protobuf::int64 value) { + if (!has_int_value()) { + clear_type(); + set_has_int_value(); + } + type_.int_value_ = value; +} + +// optional double float_value = 3; +inline bool Variant::has_float_value() const { + return type_case() == kFloatValue; +} +inline void Variant::set_has_float_value() { + _oneof_case_[0] = kFloatValue; +} +inline void Variant::clear_float_value() { + if (has_float_value()) { + type_.float_value_ = 0; + clear_has_type(); + } +} +inline double Variant::float_value() const { + if (has_float_value()) { + return type_.float_value_; + } + return 0; +} +inline void Variant::set_float_value(double value) { + if (!has_float_value()) { + clear_type(); + set_has_float_value(); + } + type_.float_value_ = value; +} + +// optional string string_value = 4; +inline bool Variant::has_string_value() const { + return type_case() == kStringValue; +} +inline void Variant::set_has_string_value() { + _oneof_case_[0] = kStringValue; +} +inline void Variant::clear_string_value() { + if (has_string_value()) { + delete type_.string_value_; + clear_has_type(); + } +} +inline const ::std::string& Variant::string_value() const { + if (has_string_value()) { + return *type_.string_value_; + } + return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void Variant::set_string_value(const ::std::string& value) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign(value); +} +inline void Variant::set_string_value(const char* value) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign(value); +} +inline void Variant::set_string_value(const char* value, size_t size) { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + type_.string_value_->assign( + reinterpret_cast(value), size); +} +inline ::std::string* Variant::mutable_string_value() { + if (!has_string_value()) { + clear_type(); + set_has_string_value(); + type_.string_value_ = new ::std::string; + } + return type_.string_value_; +} +inline ::std::string* Variant::release_string_value() { + if (has_string_value()) { + clear_has_type(); + ::std::string* temp = type_.string_value_; + type_.string_value_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Variant::set_allocated_string_value(::std::string* string_value) { + clear_type(); + if (string_value) { + set_has_string_value(); + type_.string_value_ = string_value; + } +} + +// optional bytes blob_value = 5; +inline bool Variant::has_blob_value() const { + return type_case() == kBlobValue; +} +inline void Variant::set_has_blob_value() { + _oneof_case_[0] = kBlobValue; +} +inline void Variant::clear_blob_value() { + if (has_blob_value()) { + delete type_.blob_value_; + clear_has_type(); + } +} +inline const ::std::string& Variant::blob_value() const { + if (has_blob_value()) { + return *type_.blob_value_; + } + return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void Variant::set_blob_value(const ::std::string& value) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign(value); +} +inline void Variant::set_blob_value(const char* value) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign(value); +} +inline void Variant::set_blob_value(const void* value, size_t size) { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + type_.blob_value_->assign( + reinterpret_cast(value), size); +} +inline ::std::string* Variant::mutable_blob_value() { + if (!has_blob_value()) { + clear_type(); + set_has_blob_value(); + type_.blob_value_ = new ::std::string; + } + return type_.blob_value_; +} +inline ::std::string* Variant::release_blob_value() { + if (has_blob_value()) { + clear_has_type(); + ::std::string* temp = type_.blob_value_; + type_.blob_value_ = NULL; + return temp; + } else { + return NULL; + } +} +inline void Variant::set_allocated_blob_value(::std::string* blob_value) { + clear_type(); + if (blob_value) { + set_has_blob_value(); + type_.blob_value_ = blob_value; + } +} + +// optional uint64 uint_value = 6; +inline bool Variant::has_uint_value() const { + return type_case() == kUintValue; +} +inline void Variant::set_has_uint_value() { + _oneof_case_[0] = kUintValue; +} +inline void Variant::clear_uint_value() { + if (has_uint_value()) { + type_.uint_value_ = GOOGLE_ULONGLONG(0); + clear_has_type(); + } +} +inline ::google::protobuf::uint64 Variant::uint_value() const { + if (has_uint_value()) { + return type_.uint_value_; + } + return GOOGLE_ULONGLONG(0); +} +inline void Variant::set_uint_value(::google::protobuf::uint64 value) { + if (!has_uint_value()) { + clear_type(); + set_has_uint_value(); + } + type_.uint_value_ = value; +} + +inline bool Variant::has_type() { + return type_case() != TYPE_NOT_SET; +} +inline void Variant::clear_has_type() { + _oneof_case_[0] = TYPE_NOT_SET; +} +inline Variant::TypeCase Variant::type_case() const { + return Variant::TypeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// Attribute + +// optional string name = 1; +inline bool Attribute::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Attribute::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void Attribute::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Attribute::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& Attribute::name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.name) + return *name_; +} +inline void Attribute::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.v2.Attribute.name) +} +inline void Attribute::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.v2.Attribute.name) +} +inline void Attribute::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.v2.Attribute.name) +} +inline ::std::string* Attribute::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.name) + return name_; +} +inline ::std::string* Attribute::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Attribute::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.name) +} + +// optional .bgs.protocol.v2.Variant value = 2; +inline bool Attribute::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Attribute::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Attribute::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Attribute::clear_value() { + if (value_ != NULL) value_->::bgs::protocol::v2::Variant::Clear(); + clear_has_value(); +} +inline const ::bgs::protocol::v2::Variant& Attribute::value() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.Attribute.value) + return value_ != NULL ? *value_ : *default_instance_->value_; +} +inline ::bgs::protocol::v2::Variant* Attribute::mutable_value() { + set_has_value(); + if (value_ == NULL) value_ = new ::bgs::protocol::v2::Variant; + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.Attribute.value) + return value_; +} +inline ::bgs::protocol::v2::Variant* Attribute::release_value() { + clear_has_value(); + ::bgs::protocol::v2::Variant* temp = value_; + value_ = NULL; + return temp; +} +inline void Attribute::set_allocated_value(::bgs::protocol::v2::Variant* value) { + delete value_; + value_ = value; + if (value) { + set_has_value(); + } else { + clear_has_value(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.v2.Attribute.value) +} + +// ------------------------------------------------------------------- + +// AttributeFilter + +// optional .bgs.protocol.v2.AttributeFilter.Operation op = 1; +inline bool AttributeFilter::has_op() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void AttributeFilter::set_has_op() { + _has_bits_[0] |= 0x00000001u; +} +inline void AttributeFilter::clear_has_op() { + _has_bits_[0] &= ~0x00000001u; +} +inline void AttributeFilter::clear_op() { + op_ = 0; + clear_has_op(); +} +inline ::bgs::protocol::v2::AttributeFilter_Operation AttributeFilter::op() const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.op) + return static_cast< ::bgs::protocol::v2::AttributeFilter_Operation >(op_); +} +inline void AttributeFilter::set_op(::bgs::protocol::v2::AttributeFilter_Operation value) { + assert(::bgs::protocol::v2::AttributeFilter_Operation_IsValid(value)); + set_has_op(); + op_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.v2.AttributeFilter.op) +} + +// repeated .bgs.protocol.v2.Attribute attribute = 2; +inline int AttributeFilter::attribute_size() const { + return attribute_.size(); +} +inline void AttributeFilter::clear_attribute() { + attribute_.Clear(); +} +inline const ::bgs::protocol::v2::Attribute& AttributeFilter::attribute(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Get(index); +} +inline ::bgs::protocol::v2::Attribute* AttributeFilter::mutable_attribute(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Mutable(index); +} +inline ::bgs::protocol::v2::Attribute* AttributeFilter::add_attribute() { + // @@protoc_insertion_point(field_add:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& +AttributeFilter::attribute() const { + // @@protoc_insertion_point(field_list:bgs.protocol.v2.AttributeFilter.attribute) + return attribute_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* +AttributeFilter::mutable_attribute() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.v2.AttributeFilter.attribute) + return &attribute_; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +template <> struct is_proto_enum< ::bgs::protocol::v2::AttributeFilter_Operation> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation>() { + return ::bgs::protocol::v2::AttributeFilter_Operation_descriptor(); +} +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fattribute_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc b/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc new file mode 100644 index 00000000000..34b539bc71d --- /dev/null +++ b/src/server/proto/Client/api/common/v2/game_account_handle.pb.cc @@ -0,0 +1,187 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/game_account_handle.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/game_account_handle.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace account { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* GameAccountHandle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + GameAccountHandle_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/game_account_handle.proto"); + GOOGLE_CHECK(file != NULL); + GameAccountHandle_descriptor_ = file->message_type(0); + static const int GameAccountHandle_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, title_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, region_), + }; + GameAccountHandle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + GameAccountHandle_descriptor_, + GameAccountHandle::default_instance_, + GameAccountHandle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GameAccountHandle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(GameAccountHandle)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + GameAccountHandle_descriptor_, &GameAccountHandle::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + delete GameAccountHandle::default_instance_; + delete GameAccountHandle_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\'api/common/v2/game_account_handle.prot" + "o\022\027bgs.protocol.account.v2\032\017rpc_types.pr" + "oto\"l\n\021GameAccountHandle\022\024\n\002id\030\001 \001(\004B\010\212\371" + "+\004\022\002\020\000\022\032\n\010title_id\030\002 \001(\rB\010\212\371+\004\022\002\020\000\022\035\n\006re" + "gion\030\003 \001(\rB\r\212\371+\t\022\007\n\005\010\001\020\377\001:\006\202\371+\002\010\001B\002H\002", 197); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/game_account_handle.proto", &protobuf_RegisterTypes); + GameAccountHandle::default_instance_ = new GameAccountHandle(); + GameAccountHandle::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int GameAccountHandle::kIdFieldNumber; +const int GameAccountHandle::kTitleIdFieldNumber; +const int GameAccountHandle::kRegionFieldNumber; +#endif // !_MSC_VER + +GameAccountHandle::GameAccountHandle() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.account.v2.GameAccountHandle) +} + +void GameAccountHandle::InitAsDefaultInstance() { +} + +GameAccountHandle::GameAccountHandle(const GameAccountHandle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.account.v2.GameAccountHandle) +} + +void GameAccountHandle::SharedCtor() { + _cached_size_ = 0; + id_ = GOOGLE_ULONGLONG(0); + title_id_ = 0u; + region_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +GameAccountHandle::~GameAccountHandle() { + // @@protoc_insertion_point(destructor:bgs.protocol.account.v2.GameAccountHandle) + SharedDtor(); +} + +void GameAccountHandle::SharedDtor() { + if (this != default_instance_) { + } +} + +void GameAccountHandle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* GameAccountHandle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return GameAccountHandle_descriptor_; +} + +const GameAccountHandle& GameAccountHandle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + return *default_instance_; +} + +GameAccountHandle* GameAccountHandle::default_instance_ = NULL; + +GameAccountHandle* GameAccountHandle::New() const { + return new GameAccountHandle; +} + +void GameAccountHandle::Swap(GameAccountHandle* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata GameAccountHandle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = GameAccountHandle_descriptor_; + metadata.reflection = GameAccountHandle_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace account +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/game_account_handle.pb.h b/src/server/proto/Client/api/common/v2/game_account_handle.pb.h new file mode 100644 index 00000000000..f43900b5947 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/game_account_handle.pb.h @@ -0,0 +1,225 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/game_account_handle.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace account { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + +class GameAccountHandle; + +// =================================================================== + +class TC_PROTO_API GameAccountHandle : public ::google::protobuf::Message { + public: + GameAccountHandle(); + virtual ~GameAccountHandle(); + + GameAccountHandle(const GameAccountHandle& from); + + inline GameAccountHandle& operator=(const GameAccountHandle& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const GameAccountHandle& default_instance(); + + void Swap(GameAccountHandle* other); + + // implements Message ---------------------------------------------- + + GameAccountHandle* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 id = 1; + inline bool has_id() const; + inline void clear_id(); + static const int kIdFieldNumber = 1; + inline ::google::protobuf::uint64 id() const; + inline void set_id(::google::protobuf::uint64 value); + + // optional uint32 title_id = 2; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 2; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional uint32 region = 3; + inline bool has_region() const; + inline void clear_region(); + static const int kRegionFieldNumber = 3; + inline ::google::protobuf::uint32 region() const; + inline void set_region(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.account.v2.GameAccountHandle) + private: + inline void set_has_id(); + inline void clear_has_id(); + inline void set_has_title_id(); + inline void clear_has_title_id(); + inline void set_has_region(); + inline void clear_has_region(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 id_; + ::google::protobuf::uint32 title_id_; + ::google::protobuf::uint32 region_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto(); + + void InitAsDefaultInstance(); + static GameAccountHandle* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// GameAccountHandle + +// optional uint64 id = 1; +inline bool GameAccountHandle::has_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void GameAccountHandle::set_has_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void GameAccountHandle::clear_has_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void GameAccountHandle::clear_id() { + id_ = GOOGLE_ULONGLONG(0); + clear_has_id(); +} +inline ::google::protobuf::uint64 GameAccountHandle::id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.id) + return id_; +} +inline void GameAccountHandle::set_id(::google::protobuf::uint64 value) { + set_has_id(); + id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.id) +} + +// optional uint32 title_id = 2; +inline bool GameAccountHandle::has_title_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void GameAccountHandle::set_has_title_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void GameAccountHandle::clear_has_title_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void GameAccountHandle::clear_title_id() { + title_id_ = 0u; + clear_has_title_id(); +} +inline ::google::protobuf::uint32 GameAccountHandle::title_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.title_id) + return title_id_; +} +inline void GameAccountHandle::set_title_id(::google::protobuf::uint32 value) { + set_has_title_id(); + title_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.title_id) +} + +// optional uint32 region = 3; +inline bool GameAccountHandle::has_region() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void GameAccountHandle::set_has_region() { + _has_bits_[0] |= 0x00000004u; +} +inline void GameAccountHandle::clear_has_region() { + _has_bits_[0] &= ~0x00000004u; +} +inline void GameAccountHandle::clear_region() { + region_ = 0u; + clear_has_region(); +} +inline ::google::protobuf::uint32 GameAccountHandle::region() const { + // @@protoc_insertion_point(field_get:bgs.protocol.account.v2.GameAccountHandle.region) + return region_; +} +inline void GameAccountHandle::set_region(::google::protobuf::uint32 value) { + set_has_region(); + region_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.account.v2.GameAccountHandle.region) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace account +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fgame_5faccount_5fhandle_2eproto__INCLUDED diff --git a/src/server/proto/Client/api/common/v2/whisper_types.pb.cc b/src/server/proto/Client/api/common/v2/whisper_types.pb.cc new file mode 100644 index 00000000000..e94531a0ce3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/whisper_types.pb.cc @@ -0,0 +1,421 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/whisper_types.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "api/common/v2/whisper_types.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { + +namespace { + +const ::google::protobuf::Descriptor* Whisper_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Whisper_reflection_ = NULL; +const ::google::protobuf::Descriptor* WhisperView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + WhisperView_reflection_ = NULL; +const ::google::protobuf::Descriptor* SendWhisperOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SendWhisperOptions_reflection_ = NULL; + +} // namespace + +void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "api/common/v2/whisper_types.proto"); + GOOGLE_CHECK(file != NULL); + Whisper_descriptor_ = file->message_type(0); + static const int Whisper_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, whisper_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, sender_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, receiver_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, title_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, content_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, embeds_), + }; + Whisper_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Whisper_descriptor_, + Whisper::default_instance_, + Whisper_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Whisper, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Whisper)); + WhisperView_descriptor_ = file->message_type(1); + static const int WhisperView_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, target_account_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, view_marker_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, target_battle_tag_), + }; + WhisperView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + WhisperView_descriptor_, + WhisperView::default_instance_, + WhisperView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(WhisperView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(WhisperView)); + SendWhisperOptions_descriptor_ = file->message_type(2); + static const int SendWhisperOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, content_), + }; + SendWhisperOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SendWhisperOptions_descriptor_, + SendWhisperOptions::default_instance_, + SendWhisperOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendWhisperOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SendWhisperOptions)); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Whisper_descriptor_, &Whisper::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + WhisperView_descriptor_, &WhisperView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SendWhisperOptions_descriptor_, &SendWhisperOptions::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + delete Whisper::default_instance_; + delete Whisper_reflection_; + delete WhisperView::default_instance_; + delete WhisperView_reflection_; + delete SendWhisperOptions::default_instance_; + delete SendWhisperOptions_reflection_; +} + +void protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n!api/common/v2/whisper_types.proto\022\027bgs" + ".protocol.whisper.v2\032\037api/common/v1/embe" + "d_types.proto\032$api/common/v1/event_view_" + "types.proto\032!api/common/v1/message_types" + ".proto\032\017rpc_types.proto\"\272\001\n\007Whisper\022+\n\nw" + "hisper_id\030\001 \001(\0132\027.bgs.protocol.MessageId" + "\022\031\n\021sender_account_id\030\002 \001(\004\022\033\n\023receiver_" + "account_id\030\003 \001(\004\022\020\n\010title_id\030\004 \001(\r\022\017\n\007co" + "ntent\030\005 \001(\t\022\'\n\006embeds\030\006 \003(\0132\027.bgs.protoc" + "ol.EmbedInfo\"z\n\013WhisperView\022\031\n\021target_ac" + "count_id\030\001 \001(\004\022-\n\013view_marker\030\002 \001(\0132\030.bg" + "s.protocol.ViewMarker\022!\n\021target_battle_t" + "ag\030\003 \001(\tB\006\202\371+\002\010\001\"%\n\022SendWhisperOptions\022\017" + "\n\007content\030\001 \001(\tB\002H\002", 539); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "api/common/v2/whisper_types.proto", &protobuf_RegisterTypes); + Whisper::default_instance_ = new Whisper(); + WhisperView::default_instance_ = new WhisperView(); + SendWhisperOptions::default_instance_ = new SendWhisperOptions(); + Whisper::default_instance_->InitAsDefaultInstance(); + WhisperView::default_instance_->InitAsDefaultInstance(); + SendWhisperOptions::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto { + StaticDescriptorInitializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto() { + protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + } +} static_descriptor_initializer_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto_; +// =================================================================== + +#ifndef _MSC_VER +const int Whisper::kWhisperIdFieldNumber; +const int Whisper::kSenderAccountIdFieldNumber; +const int Whisper::kReceiverAccountIdFieldNumber; +const int Whisper::kTitleIdFieldNumber; +const int Whisper::kContentFieldNumber; +const int Whisper::kEmbedsFieldNumber; +#endif // !_MSC_VER + +Whisper::Whisper() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.Whisper) +} + +void Whisper::InitAsDefaultInstance() { + whisper_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); +} + +Whisper::Whisper(const Whisper& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.Whisper) +} + +void Whisper::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + whisper_id_ = NULL; + sender_account_id_ = GOOGLE_ULONGLONG(0); + receiver_account_id_ = GOOGLE_ULONGLONG(0); + title_id_ = 0u; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Whisper::~Whisper() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.Whisper) + SharedDtor(); +} + +void Whisper::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + delete whisper_id_; + } +} + +void Whisper::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Whisper::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Whisper_descriptor_; +} + +const Whisper& Whisper::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +Whisper* Whisper::default_instance_ = NULL; + +Whisper* Whisper::New() const { + return new Whisper; +} + +void Whisper::Swap(Whisper* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata Whisper::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Whisper_descriptor_; + metadata.reflection = Whisper_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int WhisperView::kTargetAccountIdFieldNumber; +const int WhisperView::kViewMarkerFieldNumber; +const int WhisperView::kTargetBattleTagFieldNumber; +#endif // !_MSC_VER + +WhisperView::WhisperView() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.WhisperView) +} + +void WhisperView::InitAsDefaultInstance() { + view_marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); +} + +WhisperView::WhisperView(const WhisperView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.WhisperView) +} + +void WhisperView::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + target_account_id_ = GOOGLE_ULONGLONG(0); + view_marker_ = NULL; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +WhisperView::~WhisperView() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.WhisperView) + SharedDtor(); +} + +void WhisperView::SharedDtor() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (this != default_instance_) { + delete view_marker_; + } +} + +void WhisperView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* WhisperView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return WhisperView_descriptor_; +} + +const WhisperView& WhisperView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +WhisperView* WhisperView::default_instance_ = NULL; + +WhisperView* WhisperView::New() const { + return new WhisperView; +} + +void WhisperView::Swap(WhisperView* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata WhisperView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = WhisperView_descriptor_; + metadata.reflection = WhisperView_reflection_; + return metadata; +} + +// =================================================================== + +#ifndef _MSC_VER +const int SendWhisperOptions::kContentFieldNumber; +#endif // !_MSC_VER + +SendWhisperOptions::SendWhisperOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.whisper.v2.SendWhisperOptions) +} + +void SendWhisperOptions::InitAsDefaultInstance() { +} + +SendWhisperOptions::SendWhisperOptions(const SendWhisperOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.whisper.v2.SendWhisperOptions) +} + +void SendWhisperOptions::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SendWhisperOptions::~SendWhisperOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.whisper.v2.SendWhisperOptions) + SharedDtor(); +} + +void SendWhisperOptions::SharedDtor() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (this != default_instance_) { + } +} + +void SendWhisperOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SendWhisperOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SendWhisperOptions_descriptor_; +} + +const SendWhisperOptions& SendWhisperOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + return *default_instance_; +} + +SendWhisperOptions* SendWhisperOptions::default_instance_ = NULL; + +SendWhisperOptions* SendWhisperOptions::New() const { + return new SendWhisperOptions; +} + +void SendWhisperOptions::Swap(SendWhisperOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SendWhisperOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SendWhisperOptions_descriptor_; + metadata.reflection = SendWhisperOptions_reflection_; + return metadata; +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/api/common/v2/whisper_types.pb.h b/src/server/proto/Client/api/common/v2/whisper_types.pb.h new file mode 100644 index 00000000000..811cde0dbd3 --- /dev/null +++ b/src/server/proto/Client/api/common/v2/whisper_types.pb.h @@ -0,0 +1,806 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: api/common/v2/whisper_types.proto + +#ifndef PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED +#define PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2006000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include "api/common/v1/embed_types.pb.h" +#include "api/common/v1/event_view_types.pb.h" +#include "api/common/v1/message_types.pb.h" +#include "rpc_types.pb.h" +#include "Define.h" // for TC_PROTO_API +// @@protoc_insertion_point(includes) + +namespace bgs { +namespace protocol { +namespace whisper { +namespace v2 { + +// Internal implementation detail -- do not call these. +void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); +void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); +void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + +class Whisper; +class WhisperView; +class SendWhisperOptions; + +// =================================================================== + +class TC_PROTO_API Whisper : public ::google::protobuf::Message { + public: + Whisper(); + virtual ~Whisper(); + + Whisper(const Whisper& from); + + inline Whisper& operator=(const Whisper& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Whisper& default_instance(); + + void Swap(Whisper* other); + + // implements Message ---------------------------------------------- + + Whisper* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional .bgs.protocol.MessageId whisper_id = 1; + inline bool has_whisper_id() const; + inline void clear_whisper_id(); + static const int kWhisperIdFieldNumber = 1; + inline const ::bgs::protocol::MessageId& whisper_id() const; + inline ::bgs::protocol::MessageId* mutable_whisper_id(); + inline ::bgs::protocol::MessageId* release_whisper_id(); + inline void set_allocated_whisper_id(::bgs::protocol::MessageId* whisper_id); + + // optional uint64 sender_account_id = 2; + inline bool has_sender_account_id() const; + inline void clear_sender_account_id(); + static const int kSenderAccountIdFieldNumber = 2; + inline ::google::protobuf::uint64 sender_account_id() const; + inline void set_sender_account_id(::google::protobuf::uint64 value); + + // optional uint64 receiver_account_id = 3; + inline bool has_receiver_account_id() const; + inline void clear_receiver_account_id(); + static const int kReceiverAccountIdFieldNumber = 3; + inline ::google::protobuf::uint64 receiver_account_id() const; + inline void set_receiver_account_id(::google::protobuf::uint64 value); + + // optional uint32 title_id = 4; + inline bool has_title_id() const; + inline void clear_title_id(); + static const int kTitleIdFieldNumber = 4; + inline ::google::protobuf::uint32 title_id() const; + inline void set_title_id(::google::protobuf::uint32 value); + + // optional string content = 5; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 5; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // repeated .bgs.protocol.EmbedInfo embeds = 6; + inline int embeds_size() const; + inline void clear_embeds(); + static const int kEmbedsFieldNumber = 6; + inline const ::bgs::protocol::EmbedInfo& embeds(int index) const; + inline ::bgs::protocol::EmbedInfo* mutable_embeds(int index); + inline ::bgs::protocol::EmbedInfo* add_embeds(); + inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& + embeds() const; + inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* + mutable_embeds(); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.Whisper) + private: + inline void set_has_whisper_id(); + inline void clear_has_whisper_id(); + inline void set_has_sender_account_id(); + inline void clear_has_sender_account_id(); + inline void set_has_receiver_account_id(); + inline void clear_has_receiver_account_id(); + inline void set_has_title_id(); + inline void clear_has_title_id(); + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::bgs::protocol::MessageId* whisper_id_; + ::google::protobuf::uint64 sender_account_id_; + ::google::protobuf::uint64 receiver_account_id_; + ::std::string* content_; + ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embeds_; + ::google::protobuf::uint32 title_id_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static Whisper* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API WhisperView : public ::google::protobuf::Message { + public: + WhisperView(); + virtual ~WhisperView(); + + WhisperView(const WhisperView& from); + + inline WhisperView& operator=(const WhisperView& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const WhisperView& default_instance(); + + void Swap(WhisperView* other); + + // implements Message ---------------------------------------------- + + WhisperView* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint64 target_account_id = 1; + inline bool has_target_account_id() const; + inline void clear_target_account_id(); + static const int kTargetAccountIdFieldNumber = 1; + inline ::google::protobuf::uint64 target_account_id() const; + inline void set_target_account_id(::google::protobuf::uint64 value); + + // optional .bgs.protocol.ViewMarker view_marker = 2; + inline bool has_view_marker() const; + inline void clear_view_marker(); + static const int kViewMarkerFieldNumber = 2; + inline const ::bgs::protocol::ViewMarker& view_marker() const; + inline ::bgs::protocol::ViewMarker* mutable_view_marker(); + inline ::bgs::protocol::ViewMarker* release_view_marker(); + inline void set_allocated_view_marker(::bgs::protocol::ViewMarker* view_marker); + + // optional string target_battle_tag = 3; + inline bool has_target_battle_tag() const; + inline void clear_target_battle_tag(); + static const int kTargetBattleTagFieldNumber = 3; + inline const ::std::string& target_battle_tag() const; + inline void set_target_battle_tag(const ::std::string& value); + inline void set_target_battle_tag(const char* value); + inline void set_target_battle_tag(const char* value, size_t size); + inline ::std::string* mutable_target_battle_tag(); + inline ::std::string* release_target_battle_tag(); + inline void set_allocated_target_battle_tag(::std::string* target_battle_tag); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.WhisperView) + private: + inline void set_has_target_account_id(); + inline void clear_has_target_account_id(); + inline void set_has_view_marker(); + inline void clear_has_view_marker(); + inline void set_has_target_battle_tag(); + inline void clear_has_target_battle_tag(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 target_account_id_; + ::bgs::protocol::ViewMarker* view_marker_; + ::std::string* target_battle_tag_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static WhisperView* default_instance_; +}; +// ------------------------------------------------------------------- + +class TC_PROTO_API SendWhisperOptions : public ::google::protobuf::Message { + public: + SendWhisperOptions(); + virtual ~SendWhisperOptions(); + + SendWhisperOptions(const SendWhisperOptions& from); + + inline SendWhisperOptions& operator=(const SendWhisperOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SendWhisperOptions& default_instance(); + + void Swap(SendWhisperOptions* other); + + // implements Message ---------------------------------------------- + + SendWhisperOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string content = 1; + inline bool has_content() const; + inline void clear_content(); + static const int kContentFieldNumber = 1; + inline const ::std::string& content() const; + inline void set_content(const ::std::string& value); + inline void set_content(const char* value); + inline void set_content(const char* value, size_t size); + inline ::std::string* mutable_content(); + inline ::std::string* release_content(); + inline void set_allocated_content(::std::string* content); + + // @@protoc_insertion_point(class_scope:bgs.protocol.whisper.v2.SendWhisperOptions) + private: + inline void set_has_content(); + inline void clear_has_content(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* content_; + friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_AssignDesc_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + friend void protobuf_ShutdownFile_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto(); + + void InitAsDefaultInstance(); + static SendWhisperOptions* default_instance_; +}; +// =================================================================== + +// =================================================================== + +// =================================================================== + +// Whisper + +// optional .bgs.protocol.MessageId whisper_id = 1; +inline bool Whisper::has_whisper_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void Whisper::set_has_whisper_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void Whisper::clear_has_whisper_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void Whisper::clear_whisper_id() { + if (whisper_id_ != NULL) whisper_id_->::bgs::protocol::MessageId::Clear(); + clear_has_whisper_id(); +} +inline const ::bgs::protocol::MessageId& Whisper::whisper_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.whisper_id) + return whisper_id_ != NULL ? *whisper_id_ : *default_instance_->whisper_id_; +} +inline ::bgs::protocol::MessageId* Whisper::mutable_whisper_id() { + set_has_whisper_id(); + if (whisper_id_ == NULL) whisper_id_ = new ::bgs::protocol::MessageId; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.whisper_id) + return whisper_id_; +} +inline ::bgs::protocol::MessageId* Whisper::release_whisper_id() { + clear_has_whisper_id(); + ::bgs::protocol::MessageId* temp = whisper_id_; + whisper_id_ = NULL; + return temp; +} +inline void Whisper::set_allocated_whisper_id(::bgs::protocol::MessageId* whisper_id) { + delete whisper_id_; + whisper_id_ = whisper_id; + if (whisper_id) { + set_has_whisper_id(); + } else { + clear_has_whisper_id(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.Whisper.whisper_id) +} + +// optional uint64 sender_account_id = 2; +inline bool Whisper::has_sender_account_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Whisper::set_has_sender_account_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void Whisper::clear_has_sender_account_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void Whisper::clear_sender_account_id() { + sender_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_sender_account_id(); +} +inline ::google::protobuf::uint64 Whisper::sender_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.sender_account_id) + return sender_account_id_; +} +inline void Whisper::set_sender_account_id(::google::protobuf::uint64 value) { + set_has_sender_account_id(); + sender_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.sender_account_id) +} + +// optional uint64 receiver_account_id = 3; +inline bool Whisper::has_receiver_account_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void Whisper::set_has_receiver_account_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void Whisper::clear_has_receiver_account_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void Whisper::clear_receiver_account_id() { + receiver_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_receiver_account_id(); +} +inline ::google::protobuf::uint64 Whisper::receiver_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.receiver_account_id) + return receiver_account_id_; +} +inline void Whisper::set_receiver_account_id(::google::protobuf::uint64 value) { + set_has_receiver_account_id(); + receiver_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.receiver_account_id) +} + +// optional uint32 title_id = 4; +inline bool Whisper::has_title_id() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void Whisper::set_has_title_id() { + _has_bits_[0] |= 0x00000008u; +} +inline void Whisper::clear_has_title_id() { + _has_bits_[0] &= ~0x00000008u; +} +inline void Whisper::clear_title_id() { + title_id_ = 0u; + clear_has_title_id(); +} +inline ::google::protobuf::uint32 Whisper::title_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.title_id) + return title_id_; +} +inline void Whisper::set_title_id(::google::protobuf::uint32 value) { + set_has_title_id(); + title_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.title_id) +} + +// optional string content = 5; +inline bool Whisper::has_content() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void Whisper::set_has_content() { + _has_bits_[0] |= 0x00000010u; +} +inline void Whisper::clear_has_content() { + _has_bits_[0] &= ~0x00000010u; +} +inline void Whisper::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& Whisper::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.content) + return *content_; +} +inline void Whisper::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.Whisper.content) +} +inline void Whisper::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.Whisper.content) +} +inline void Whisper::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.Whisper.content) +} +inline ::std::string* Whisper::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.content) + return content_; +} +inline ::std::string* Whisper::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void Whisper::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.Whisper.content) +} + +// repeated .bgs.protocol.EmbedInfo embeds = 6; +inline int Whisper::embeds_size() const { + return embeds_.size(); +} +inline void Whisper::clear_embeds() { + embeds_.Clear(); +} +inline const ::bgs::protocol::EmbedInfo& Whisper::embeds(int index) const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Get(index); +} +inline ::bgs::protocol::EmbedInfo* Whisper::mutable_embeds(int index) { + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Mutable(index); +} +inline ::bgs::protocol::EmbedInfo* Whisper::add_embeds() { + // @@protoc_insertion_point(field_add:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& +Whisper::embeds() const { + // @@protoc_insertion_point(field_list:bgs.protocol.whisper.v2.Whisper.embeds) + return embeds_; +} +inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* +Whisper::mutable_embeds() { + // @@protoc_insertion_point(field_mutable_list:bgs.protocol.whisper.v2.Whisper.embeds) + return &embeds_; +} + +// ------------------------------------------------------------------- + +// WhisperView + +// optional uint64 target_account_id = 1; +inline bool WhisperView::has_target_account_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void WhisperView::set_has_target_account_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void WhisperView::clear_has_target_account_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void WhisperView::clear_target_account_id() { + target_account_id_ = GOOGLE_ULONGLONG(0); + clear_has_target_account_id(); +} +inline ::google::protobuf::uint64 WhisperView::target_account_id() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.target_account_id) + return target_account_id_; +} +inline void WhisperView::set_target_account_id(::google::protobuf::uint64 value) { + set_has_target_account_id(); + target_account_id_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.WhisperView.target_account_id) +} + +// optional .bgs.protocol.ViewMarker view_marker = 2; +inline bool WhisperView::has_view_marker() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void WhisperView::set_has_view_marker() { + _has_bits_[0] |= 0x00000002u; +} +inline void WhisperView::clear_has_view_marker() { + _has_bits_[0] &= ~0x00000002u; +} +inline void WhisperView::clear_view_marker() { + if (view_marker_ != NULL) view_marker_->::bgs::protocol::ViewMarker::Clear(); + clear_has_view_marker(); +} +inline const ::bgs::protocol::ViewMarker& WhisperView::view_marker() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.view_marker) + return view_marker_ != NULL ? *view_marker_ : *default_instance_->view_marker_; +} +inline ::bgs::protocol::ViewMarker* WhisperView::mutable_view_marker() { + set_has_view_marker(); + if (view_marker_ == NULL) view_marker_ = new ::bgs::protocol::ViewMarker; + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.WhisperView.view_marker) + return view_marker_; +} +inline ::bgs::protocol::ViewMarker* WhisperView::release_view_marker() { + clear_has_view_marker(); + ::bgs::protocol::ViewMarker* temp = view_marker_; + view_marker_ = NULL; + return temp; +} +inline void WhisperView::set_allocated_view_marker(::bgs::protocol::ViewMarker* view_marker) { + delete view_marker_; + view_marker_ = view_marker; + if (view_marker) { + set_has_view_marker(); + } else { + clear_has_view_marker(); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.WhisperView.view_marker) +} + +// optional string target_battle_tag = 3; +inline bool WhisperView::has_target_battle_tag() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void WhisperView::set_has_target_battle_tag() { + _has_bits_[0] |= 0x00000004u; +} +inline void WhisperView::clear_has_target_battle_tag() { + _has_bits_[0] &= ~0x00000004u; +} +inline void WhisperView::clear_target_battle_tag() { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_->clear(); + } + clear_has_target_battle_tag(); +} +inline const ::std::string& WhisperView::target_battle_tag() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) + return *target_battle_tag_; +} +inline void WhisperView::set_target_battle_tag(const ::std::string& value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline void WhisperView::set_target_battle_tag(const char* value) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline void WhisperView::set_target_battle_tag(const char* value, size_t size) { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + target_battle_tag_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} +inline ::std::string* WhisperView::mutable_target_battle_tag() { + set_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + target_battle_tag_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) + return target_battle_tag_; +} +inline ::std::string* WhisperView::release_target_battle_tag() { + clear_has_target_battle_tag(); + if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = target_battle_tag_; + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void WhisperView::set_allocated_target_battle_tag(::std::string* target_battle_tag) { + if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete target_battle_tag_; + } + if (target_battle_tag) { + set_has_target_battle_tag(); + target_battle_tag_ = target_battle_tag; + } else { + clear_has_target_battle_tag(); + target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.WhisperView.target_battle_tag) +} + +// ------------------------------------------------------------------- + +// SendWhisperOptions + +// optional string content = 1; +inline bool SendWhisperOptions::has_content() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SendWhisperOptions::set_has_content() { + _has_bits_[0] |= 0x00000001u; +} +inline void SendWhisperOptions::clear_has_content() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SendWhisperOptions::clear_content() { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_->clear(); + } + clear_has_content(); +} +inline const ::std::string& SendWhisperOptions::content() const { + // @@protoc_insertion_point(field_get:bgs.protocol.whisper.v2.SendWhisperOptions.content) + return *content_; +} +inline void SendWhisperOptions::set_content(const ::std::string& value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline void SendWhisperOptions::set_content(const char* value) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline void SendWhisperOptions::set_content(const char* value, size_t size) { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + content_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} +inline ::std::string* SendWhisperOptions::mutable_content() { + set_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + content_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.whisper.v2.SendWhisperOptions.content) + return content_; +} +inline ::std::string* SendWhisperOptions::release_content() { + clear_has_content(); + if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = content_; + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SendWhisperOptions::set_allocated_content(::std::string* content) { + if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete content_; + } + if (content) { + set_has_content(); + content_ = content; + } else { + clear_has_content(); + content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.whisper.v2.SendWhisperOptions.content) +} + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v2 +} // namespace whisper +} // namespace protocol +} // namespace bgs + +#ifndef SWIG +namespace google { +namespace protobuf { +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_api_2fcommon_2fv2_2fwhisper_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/authentication_service.pb.cc b/src/server/proto/Client/authentication_service.pb.cc index 9418d99a8f4..dc3e6ccee93 100644 --- a/src/server/proto/Client/authentication_service.pb.cc +++ b/src/server/proto/Client/authentication_service.pb.cc @@ -345,7 +345,7 @@ void protobuf_AddDesc_authentication_5fservice_2eproto() { "alsRequest\022\017\n\007program\030\001 \001(\007\"9\n\036GenerateW" "ebCredentialsResponse\022\027\n\017web_credentials" "\030\001 \001(\014\"6\n\033VerifyWebCredentialsRequest\022\027\n" - "\017web_credentials\030\001 \001(\0142\312\005\n\026Authenticatio" + "\017web_credentials\030\001 \001(\0142\314\005\n\026Authenticatio" "nListener\022r\n\023OnServerStateChange\0228.bgs.p" "rotocol.authentication.v1.ServerStateCha" "ngeRequest\032\031.bgs.protocol.NO_RESPONSE\"\006\202" @@ -361,20 +361,21 @@ void protobuf_AddDesc_authentication_5fservice_2eproto() { "l.authentication.v1.LogonQueueUpdateRequ" "est\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\014\022J" "\n\017OnLogonQueueEnd\022\024.bgs.protocol.NoData\032" - "\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\r\032\?\202\371+5" + "\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\r\032A\202\371+5" "\n1bnet.protocol.authentication.Authentic" - "ationClient8\001\212\371+\002\010\0012\302\003\n\025AuthenticationSe" - "rvice\022S\n\005Logon\022,.bgs.protocol.authentica" - "tion.v1.LogonRequest\032\024.bgs.protocol.NoDa" - "ta\"\006\202\371+\002\010\001\022q\n\024VerifyWebCredentials\022;.bgs" - ".protocol.authentication.v1.VerifyWebCre" - "dentialsRequest\032\024.bgs.protocol.NoData\"\006\202" - "\371+\002\010\007\022\237\001\n\026GenerateWebCredentials\022=.bgs.p" - "rotocol.authentication.v1.GenerateWebCre" - "dentialsRequest\032>.bgs.protocol.authentic" - "ation.v1.GenerateWebCredentialsResponse\"" - "\006\202\371+\002\010\010\032\?\202\371+5\n1bnet.protocol.authenticat" - "ion.AuthenticationServer8\001\212\371+\002\020\001B\005H\002\200\001\000", 2479); + "ationClient8\001\212\371+\004\010\001 \0012\304\003\n\025Authentication" + "Service\022S\n\005Logon\022,.bgs.protocol.authenti" + "cation.v1.LogonRequest\032\024.bgs.protocol.No" + "Data\"\006\202\371+\002\010\001\022q\n\024VerifyWebCredentials\022;.b" + "gs.protocol.authentication.v1.VerifyWebC" + "redentialsRequest\032\024.bgs.protocol.NoData\"" + "\006\202\371+\002\010\007\022\237\001\n\026GenerateWebCredentials\022=.bgs" + ".protocol.authentication.v1.GenerateWebC" + "redentialsRequest\032>.bgs.protocol.authent" + "ication.v1.GenerateWebCredentialsRespons" + "e\"\006\202\371+\002\010\010\032A\202\371+5\n1bnet.protocol.authentic" + "ation.AuthenticationServer8\001\212\371+\004\020\001 \001B\005H\002" + "\200\001\000", 2483); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "authentication_service.proto", &protobuf_RegisterTypes); LogonRequest::default_instance_ = new LogonRequest(); diff --git a/src/server/proto/Client/challenge_service.pb.cc b/src/server/proto/Client/challenge_service.pb.cc index 75582a68a30..8cf740dda39 100644 --- a/src/server/proto/Client/challenge_service.pb.cc +++ b/src/server/proto/Client/challenge_service.pb.cc @@ -114,15 +114,15 @@ void protobuf_AddDesc_challenge_5fservice_2eproto() { "geExternalRequest\022\025\n\rrequest_token\030\001 \001(\t" "\022\024\n\014payload_type\030\002 \001(\t\022\017\n\007payload\030\003 \001(\014\"" "F\n\027ChallengeExternalResult\022\025\n\rrequest_to" - "ken\030\001 \001(\t\022\024\n\006passed\030\002 \001(\010:\004true2\255\002\n\021Chal" + "ken\030\001 \001(\t\022\024\n\006passed\030\002 \001(\010:\004true2\257\002\n\021Chal" "lengeListener\022m\n\023OnExternalChallenge\0223.b" "gs.protocol.challenge.v1.ChallengeExtern" "alRequest\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371" "+\002\010\003\022r\n\031OnExternalChallengeResult\0222.bgs." "protocol.challenge.v1.ChallengeExternalR" "esult\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\004" - "\0325\202\371++\n\'bnet.protocol.challenge.Challeng" - "eNotify8\001\212\371+\002\010\001B\005H\002\200\001\000", 542); + "\0327\202\371++\n\'bnet.protocol.challenge.Challeng" + "eNotify8\001\212\371+\004\010\001 \001B\005H\002\200\001\000", 544); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "challenge_service.proto", &protobuf_RegisterTypes); ChallengeExternalRequest::default_instance_ = new ChallengeExternalRequest(); diff --git a/src/server/proto/Client/channel_types.pb.cc b/src/server/proto/Client/channel_types.pb.cc deleted file mode 100644 index e89e077498b..00000000000 --- a/src/server/proto/Client/channel_types.pb.cc +++ /dev/null @@ -1,1132 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: channel_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "channel_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace channel { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* Message_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Message_reflection_ = NULL; -const ::google::protobuf::Descriptor* ListChannelsOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ListChannelsOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ChannelDescription_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ChannelDescription_reflection_ = NULL; -const ::google::protobuf::Descriptor* ChannelInfo_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ChannelInfo_reflection_ = NULL; -const ::google::protobuf::Descriptor* ChannelState_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ChannelState_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor_ = NULL; -const ::google::protobuf::Descriptor* MemberAccountInfo_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberAccountInfo_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberState_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberState_reflection_ = NULL; -const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Member_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscriberId_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscriberId_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_channel_5ftypes_2eproto() { - protobuf_AddDesc_channel_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "channel_types.proto"); - GOOGLE_CHECK(file != NULL); - Message_descriptor_ = file->message_type(0); - static const int Message_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, attribute_), - }; - Message_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Message_descriptor_, - Message::default_instance_, - Message_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _unknown_fields_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _extensions_), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Message)); - ListChannelsOptions_descriptor_ = file->message_type(1); - static const int ListChannelsOptions_offsets_[8] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, start_index_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, max_results_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, program_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, capacity_full_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, attribute_filter_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, channel_type_), - }; - ListChannelsOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ListChannelsOptions_descriptor_, - ListChannelsOptions::default_instance_, - ListChannelsOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ListChannelsOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ListChannelsOptions)); - ChannelDescription_descriptor_ = file->message_type(2); - static const int ChannelDescription_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, channel_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, current_members_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, state_), - }; - ChannelDescription_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ChannelDescription_descriptor_, - ChannelDescription::default_instance_, - ChannelDescription_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelDescription, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ChannelDescription)); - ChannelInfo_descriptor_ = file->message_type(3); - static const int ChannelInfo_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, member_), - }; - ChannelInfo_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ChannelInfo_descriptor_, - ChannelInfo::default_instance_, - ChannelInfo_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelInfo, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ChannelInfo)); - ChannelState_descriptor_ = file->message_type(4); - static const int ChannelState_offsets_[10] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, max_members_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, min_members_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, reason_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, channel_type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, program_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, subscribe_to_presence_), - }; - ChannelState_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ChannelState_descriptor_, - ChannelState::default_instance_, - ChannelState_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _unknown_fields_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ChannelState, _extensions_), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ChannelState)); - ChannelState_PrivacyLevel_descriptor_ = ChannelState_descriptor_->enum_type(0); - MemberAccountInfo_descriptor_ = file->message_type(5); - static const int MemberAccountInfo_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, battle_tag_), - }; - MemberAccountInfo_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberAccountInfo_descriptor_, - MemberAccountInfo::default_instance_, - MemberAccountInfo_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAccountInfo, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberAccountInfo)); - MemberState_descriptor_ = file->message_type(6); - static const int MemberState_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, privileges_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, info_), - }; - MemberState_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberState_descriptor_, - MemberState::default_instance_, - MemberState_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberState, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberState)); - Member_descriptor_ = file->message_type(7); - static const int Member_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, identity_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, state_), - }; - Member_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Member_descriptor_, - Member::default_instance_, - Member_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Member)); - SubscriberId_descriptor_ = file->message_type(8); - static const int SubscriberId_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, account_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, game_account_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, process_), - }; - SubscriberId_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscriberId_descriptor_, - SubscriberId::default_instance_, - SubscriberId_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberId, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscriberId)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_channel_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Message_descriptor_, &Message::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ListChannelsOptions_descriptor_, &ListChannelsOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ChannelDescription_descriptor_, &ChannelDescription::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ChannelInfo_descriptor_, &ChannelInfo::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ChannelState_descriptor_, &ChannelState::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberAccountInfo_descriptor_, &MemberAccountInfo::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberState_descriptor_, &MemberState::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Member_descriptor_, &Member::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscriberId_descriptor_, &SubscriberId::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_channel_5ftypes_2eproto() { - delete Message::default_instance_; - delete Message_reflection_; - delete ListChannelsOptions::default_instance_; - delete ListChannelsOptions_reflection_; - delete ChannelDescription::default_instance_; - delete ChannelDescription_reflection_; - delete ChannelInfo::default_instance_; - delete ChannelInfo_reflection_; - delete ChannelState::default_instance_; - delete ChannelState_reflection_; - delete ChannelState::_default_channel_type_; - delete MemberAccountInfo::default_instance_; - delete MemberAccountInfo_reflection_; - delete MemberState::default_instance_; - delete MemberState_reflection_; - delete Member::default_instance_; - delete Member_reflection_; - delete SubscriberId::default_instance_; - delete SubscriberId_reflection_; -} - -void protobuf_AddDesc_channel_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::channel::v1::protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5fid_2eproto(); - ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_invitation_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\023channel_types.proto\022\027bgs.protocol.chan" - "nel.v1\032\036api/client/v1/channel_id.proto\032\025" - "attribute_types.proto\032\022entity_types.prot" - "o\032\023account_types.proto\032\026invitation_types" - ".proto\032\017rpc_types.proto\"<\n\007Message\022*\n\tat" - "tribute\030\001 \003(\0132\027.bgs.protocol.Attribute*\005" - "\010d\020\220N\"\333\001\n\023ListChannelsOptions\022\026\n\013start_i" - "ndex\030\001 \001(\r:\0010\022\027\n\013max_results\030\002 \001(\r:\00216\022\014" - "\n\004name\030\003 \001(\t\022\017\n\007program\030\004 \001(\007\022\016\n\006locale\030" - "\005 \001(\007\022\025\n\rcapacity_full\030\006 \001(\r\0227\n\020attribut" - "e_filter\030\007 \002(\0132\035.bgs.protocol.AttributeF" - "ilter\022\024\n\014channel_type\030\010 \001(\t\"\217\001\n\022ChannelD" - "escription\022*\n\nchannel_id\030\001 \002(\0132\026.bgs.pro" - "tocol.EntityId\022\027\n\017current_members\030\002 \001(\r\022" - "4\n\005state\030\003 \001(\0132%.bgs.protocol.channel.v1" - ".ChannelState\"\200\001\n\013ChannelInfo\022@\n\013descrip" - "tion\030\001 \002(\0132+.bgs.protocol.channel.v1.Cha" - "nnelDescription\022/\n\006member\030\002 \003(\0132\037.bgs.pr" - "otocol.channel.v1.Member\"\377\003\n\014ChannelStat" - "e\022\023\n\013max_members\030\001 \001(\r\022\023\n\013min_members\030\002 " - "\001(\r\022*\n\tattribute\030\003 \003(\0132\027.bgs.protocol.At" - "tribute\022,\n\ninvitation\030\004 \003(\0132\030.bgs.protoc" - "ol.Invitation\022\016\n\006reason\030\006 \001(\r\022]\n\rprivacy" - "_level\030\007 \001(\01622.bgs.protocol.channel.v1.C" - "hannelState.PrivacyLevel:\022PRIVACY_LEVEL_" - "OPEN\022\014\n\004name\030\010 \001(\t\022\035\n\014channel_type\030\n \001(\t" - ":\007default\022\017\n\007program\030\013 \001(\007\022#\n\025subscribe_" - "to_presence\030\r \001(\010:\004true\"\221\001\n\014PrivacyLevel" - "\022\026\n\022PRIVACY_LEVEL_OPEN\020\001\022,\n(PRIVACY_LEVE" - "L_OPEN_INVITATION_AND_FRIEND\020\002\022!\n\035PRIVAC" - "Y_LEVEL_OPEN_INVITATION\020\003\022\030\n\024PRIVACY_LEV" - "EL_CLOSED\020\004*\005\010d\020\220N\"/\n\021MemberAccountInfo\022" - "\032\n\nbattle_tag\030\003 \001(\tB\006\202\371+\002\010\001\"\234\001\n\013MemberSt" - "ate\022*\n\tattribute\030\001 \003(\0132\027.bgs.protocol.At" - "tribute\022\020\n\004role\030\002 \003(\rB\002\020\001\022\025\n\nprivileges\030" - "\003 \001(\004:\0010\0228\n\004info\030\004 \001(\0132*.bgs.protocol.ch" - "annel.v1.MemberAccountInfo\"g\n\006Member\022(\n\010" - "identity\030\001 \002(\0132\026.bgs.protocol.Identity\0223" - "\n\005state\030\002 \002(\0132$.bgs.protocol.channel.v1." - "MemberState\"\273\001\n\014SubscriberId\0227\n\007account\030" - "\001 \001(\0132\".bgs.protocol.account.v1.AccountI" - "dB\002\030\001\022@\n\014game_account\030\002 \001(\0132*.bgs.protoc" - "ol.account.v1.GameAccountHandle\022(\n\007proce" - "ss\030\003 \001(\0132\027.bgs.protocol.ProcessId:\006\202\371+\002\020" - "\001B\002H\002P\000", 1767); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "channel_types.proto", &protobuf_RegisterTypes); - Message::default_instance_ = new Message(); - ListChannelsOptions::default_instance_ = new ListChannelsOptions(); - ChannelDescription::default_instance_ = new ChannelDescription(); - ChannelInfo::default_instance_ = new ChannelInfo(); - ChannelState::_default_channel_type_ = - new ::std::string("default", 7); - ChannelState::default_instance_ = new ChannelState(); - MemberAccountInfo::default_instance_ = new MemberAccountInfo(); - MemberState::default_instance_ = new MemberState(); - Member::default_instance_ = new Member(); - SubscriberId::default_instance_ = new SubscriberId(); - Message::default_instance_->InitAsDefaultInstance(); - ListChannelsOptions::default_instance_->InitAsDefaultInstance(); - ChannelDescription::default_instance_->InitAsDefaultInstance(); - ChannelInfo::default_instance_->InitAsDefaultInstance(); - ChannelState::default_instance_->InitAsDefaultInstance(); - MemberAccountInfo::default_instance_->InitAsDefaultInstance(); - MemberState::default_instance_->InitAsDefaultInstance(); - Member::default_instance_->InitAsDefaultInstance(); - SubscriberId::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_channel_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_channel_5ftypes_2eproto { - StaticDescriptorInitializer_channel_5ftypes_2eproto() { - protobuf_AddDesc_channel_5ftypes_2eproto(); - } -} static_descriptor_initializer_channel_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int Message::kAttributeFieldNumber; -#endif // !_MSC_VER - -Message::Message() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Message) -} - -void Message::InitAsDefaultInstance() { -} - -Message::Message(const Message& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Message) -} - -void Message::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Message::~Message() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Message) - SharedDtor(); -} - -void Message::SharedDtor() { - if (this != default_instance_) { - } -} - -void Message::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Message::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Message_descriptor_; -} - -const Message& Message::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -Message* Message::default_instance_ = NULL; - -Message* Message::New() const { - return new Message; -} - -void Message::Swap(Message* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Message::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Message_descriptor_; - metadata.reflection = Message_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ListChannelsOptions::kStartIndexFieldNumber; -const int ListChannelsOptions::kMaxResultsFieldNumber; -const int ListChannelsOptions::kNameFieldNumber; -const int ListChannelsOptions::kProgramFieldNumber; -const int ListChannelsOptions::kLocaleFieldNumber; -const int ListChannelsOptions::kCapacityFullFieldNumber; -const int ListChannelsOptions::kAttributeFilterFieldNumber; -const int ListChannelsOptions::kChannelTypeFieldNumber; -#endif // !_MSC_VER - -ListChannelsOptions::ListChannelsOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ListChannelsOptions) -} - -void ListChannelsOptions::InitAsDefaultInstance() { - attribute_filter_ = const_cast< ::bgs::protocol::AttributeFilter*>(&::bgs::protocol::AttributeFilter::default_instance()); -} - -ListChannelsOptions::ListChannelsOptions(const ListChannelsOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ListChannelsOptions) -} - -void ListChannelsOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - start_index_ = 0u; - max_results_ = 16u; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - program_ = 0u; - locale_ = 0u; - capacity_full_ = 0u; - attribute_filter_ = NULL; - channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ListChannelsOptions::~ListChannelsOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ListChannelsOptions) - SharedDtor(); -} - -void ListChannelsOptions::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete channel_type_; - } - if (this != default_instance_) { - delete attribute_filter_; - } -} - -void ListChannelsOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ListChannelsOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ListChannelsOptions_descriptor_; -} - -const ListChannelsOptions& ListChannelsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -ListChannelsOptions* ListChannelsOptions::default_instance_ = NULL; - -ListChannelsOptions* ListChannelsOptions::New() const { - return new ListChannelsOptions; -} - -void ListChannelsOptions::Swap(ListChannelsOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ListChannelsOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ListChannelsOptions_descriptor_; - metadata.reflection = ListChannelsOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ChannelDescription::kChannelIdFieldNumber; -const int ChannelDescription::kCurrentMembersFieldNumber; -const int ChannelDescription::kStateFieldNumber; -#endif // !_MSC_VER - -ChannelDescription::ChannelDescription() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelDescription) -} - -void ChannelDescription::InitAsDefaultInstance() { - channel_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - state_ = const_cast< ::bgs::protocol::channel::v1::ChannelState*>(&::bgs::protocol::channel::v1::ChannelState::default_instance()); -} - -ChannelDescription::ChannelDescription(const ChannelDescription& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelDescription) -} - -void ChannelDescription::SharedCtor() { - _cached_size_ = 0; - channel_id_ = NULL; - current_members_ = 0u; - state_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ChannelDescription::~ChannelDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelDescription) - SharedDtor(); -} - -void ChannelDescription::SharedDtor() { - if (this != default_instance_) { - delete channel_id_; - delete state_; - } -} - -void ChannelDescription::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ChannelDescription::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ChannelDescription_descriptor_; -} - -const ChannelDescription& ChannelDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -ChannelDescription* ChannelDescription::default_instance_ = NULL; - -ChannelDescription* ChannelDescription::New() const { - return new ChannelDescription; -} - -void ChannelDescription::Swap(ChannelDescription* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ChannelDescription::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ChannelDescription_descriptor_; - metadata.reflection = ChannelDescription_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ChannelInfo::kDescriptionFieldNumber; -const int ChannelInfo::kMemberFieldNumber; -#endif // !_MSC_VER - -ChannelInfo::ChannelInfo() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelInfo) -} - -void ChannelInfo::InitAsDefaultInstance() { - description_ = const_cast< ::bgs::protocol::channel::v1::ChannelDescription*>(&::bgs::protocol::channel::v1::ChannelDescription::default_instance()); -} - -ChannelInfo::ChannelInfo(const ChannelInfo& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelInfo) -} - -void ChannelInfo::SharedCtor() { - _cached_size_ = 0; - description_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ChannelInfo::~ChannelInfo() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelInfo) - SharedDtor(); -} - -void ChannelInfo::SharedDtor() { - if (this != default_instance_) { - delete description_; - } -} - -void ChannelInfo::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ChannelInfo::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ChannelInfo_descriptor_; -} - -const ChannelInfo& ChannelInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -ChannelInfo* ChannelInfo::default_instance_ = NULL; - -ChannelInfo* ChannelInfo::New() const { - return new ChannelInfo; -} - -void ChannelInfo::Swap(ChannelInfo* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ChannelInfo::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ChannelInfo_descriptor_; - metadata.reflection = ChannelInfo_reflection_; - return metadata; -} - -// =================================================================== - -const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return ChannelState_PrivacyLevel_descriptor_; -} -bool ChannelState_PrivacyLevel_IsValid(int value) { - switch(value) { - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -#ifndef _MSC_VER -const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN; -const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; -const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_OPEN_INVITATION; -const ChannelState_PrivacyLevel ChannelState::PRIVACY_LEVEL_CLOSED; -const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MIN; -const ChannelState_PrivacyLevel ChannelState::PrivacyLevel_MAX; -const int ChannelState::PrivacyLevel_ARRAYSIZE; -#endif // _MSC_VER -::std::string* ChannelState::_default_channel_type_ = NULL; -#ifndef _MSC_VER -const int ChannelState::kMaxMembersFieldNumber; -const int ChannelState::kMinMembersFieldNumber; -const int ChannelState::kAttributeFieldNumber; -const int ChannelState::kInvitationFieldNumber; -const int ChannelState::kReasonFieldNumber; -const int ChannelState::kPrivacyLevelFieldNumber; -const int ChannelState::kNameFieldNumber; -const int ChannelState::kChannelTypeFieldNumber; -const int ChannelState::kProgramFieldNumber; -const int ChannelState::kSubscribeToPresenceFieldNumber; -#endif // !_MSC_VER - -ChannelState::ChannelState() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.ChannelState) -} - -void ChannelState::InitAsDefaultInstance() { -} - -ChannelState::ChannelState(const ChannelState& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.ChannelState) -} - -void ChannelState::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - max_members_ = 0u; - min_members_ = 0u; - reason_ = 0u; - privacy_level_ = 1; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - channel_type_ = const_cast< ::std::string*>(_default_channel_type_); - program_ = 0u; - subscribe_to_presence_ = true; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ChannelState::~ChannelState() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.ChannelState) - SharedDtor(); -} - -void ChannelState::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (channel_type_ != _default_channel_type_) { - delete channel_type_; - } - if (this != default_instance_) { - } -} - -void ChannelState::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ChannelState::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ChannelState_descriptor_; -} - -const ChannelState& ChannelState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -ChannelState* ChannelState::default_instance_ = NULL; - -ChannelState* ChannelState::New() const { - return new ChannelState; -} - -void ChannelState::Swap(ChannelState* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ChannelState::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ChannelState_descriptor_; - metadata.reflection = ChannelState_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberAccountInfo::kBattleTagFieldNumber; -#endif // !_MSC_VER - -MemberAccountInfo::MemberAccountInfo() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberAccountInfo) -} - -void MemberAccountInfo::InitAsDefaultInstance() { -} - -MemberAccountInfo::MemberAccountInfo(const MemberAccountInfo& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberAccountInfo) -} - -void MemberAccountInfo::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberAccountInfo::~MemberAccountInfo() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberAccountInfo) - SharedDtor(); -} - -void MemberAccountInfo::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (this != default_instance_) { - } -} - -void MemberAccountInfo::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberAccountInfo::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberAccountInfo_descriptor_; -} - -const MemberAccountInfo& MemberAccountInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -MemberAccountInfo* MemberAccountInfo::default_instance_ = NULL; - -MemberAccountInfo* MemberAccountInfo::New() const { - return new MemberAccountInfo; -} - -void MemberAccountInfo::Swap(MemberAccountInfo* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberAccountInfo::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberAccountInfo_descriptor_; - metadata.reflection = MemberAccountInfo_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberState::kAttributeFieldNumber; -const int MemberState::kRoleFieldNumber; -const int MemberState::kPrivilegesFieldNumber; -const int MemberState::kInfoFieldNumber; -#endif // !_MSC_VER - -MemberState::MemberState() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.MemberState) -} - -void MemberState::InitAsDefaultInstance() { - info_ = const_cast< ::bgs::protocol::channel::v1::MemberAccountInfo*>(&::bgs::protocol::channel::v1::MemberAccountInfo::default_instance()); -} - -MemberState::MemberState(const MemberState& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.MemberState) -} - -void MemberState::SharedCtor() { - _cached_size_ = 0; - privileges_ = GOOGLE_ULONGLONG(0); - info_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberState::~MemberState() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.MemberState) - SharedDtor(); -} - -void MemberState::SharedDtor() { - if (this != default_instance_) { - delete info_; - } -} - -void MemberState::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberState::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberState_descriptor_; -} - -const MemberState& MemberState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -MemberState* MemberState::default_instance_ = NULL; - -MemberState* MemberState::New() const { - return new MemberState; -} - -void MemberState::Swap(MemberState* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberState::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberState_descriptor_; - metadata.reflection = MemberState_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Member::kIdentityFieldNumber; -const int Member::kStateFieldNumber; -#endif // !_MSC_VER - -Member::Member() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.Member) -} - -void Member::InitAsDefaultInstance() { - identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); - state_ = const_cast< ::bgs::protocol::channel::v1::MemberState*>(&::bgs::protocol::channel::v1::MemberState::default_instance()); -} - -Member::Member(const Member& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.Member) -} - -void Member::SharedCtor() { - _cached_size_ = 0; - identity_ = NULL; - state_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Member::~Member() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.Member) - SharedDtor(); -} - -void Member::SharedDtor() { - if (this != default_instance_) { - delete identity_; - delete state_; - } -} - -void Member::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Member::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Member_descriptor_; -} - -const Member& Member::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -Member* Member::default_instance_ = NULL; - -Member* Member::New() const { - return new Member; -} - -void Member::Swap(Member* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Member::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Member_descriptor_; - metadata.reflection = Member_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscriberId::kAccountFieldNumber; -const int SubscriberId::kGameAccountFieldNumber; -const int SubscriberId::kProcessFieldNumber; -#endif // !_MSC_VER - -SubscriberId::SubscriberId() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.channel.v1.SubscriberId) -} - -void SubscriberId::InitAsDefaultInstance() { - account_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - game_account_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); - process_ = const_cast< ::bgs::protocol::ProcessId*>(&::bgs::protocol::ProcessId::default_instance()); -} - -SubscriberId::SubscriberId(const SubscriberId& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.channel.v1.SubscriberId) -} - -void SubscriberId::SharedCtor() { - _cached_size_ = 0; - account_ = NULL; - game_account_ = NULL; - process_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscriberId::~SubscriberId() { - // @@protoc_insertion_point(destructor:bgs.protocol.channel.v1.SubscriberId) - SharedDtor(); -} - -void SubscriberId::SharedDtor() { - if (this != default_instance_) { - delete account_; - delete game_account_; - delete process_; - } -} - -void SubscriberId::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscriberId::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscriberId_descriptor_; -} - -const SubscriberId& SubscriberId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_channel_5ftypes_2eproto(); - return *default_instance_; -} - -SubscriberId* SubscriberId::default_instance_ = NULL; - -SubscriberId* SubscriberId::New() const { - return new SubscriberId; -} - -void SubscriberId::Swap(SubscriberId* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscriberId::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscriberId_descriptor_; - metadata.reflection = SubscriberId_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace channel -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/channel_types.pb.h b/src/server/proto/Client/channel_types.pb.h deleted file mode 100644 index 8875e428527..00000000000 --- a/src/server/proto/Client/channel_types.pb.h +++ /dev/null @@ -1,2362 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: channel_types.proto - -#ifndef PROTOBUF_channel_5ftypes_2eproto__INCLUDED -#define PROTOBUF_channel_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include "api/client/v1/channel_id.pb.h" // IWYU pragma: export -#include "attribute_types.pb.h" -#include "entity_types.pb.h" -#include "account_types.pb.h" -#include "invitation_types.pb.h" -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace channel { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); -void protobuf_AssignDesc_channel_5ftypes_2eproto(); -void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - -class Message; -class ListChannelsOptions; -class ChannelDescription; -class ChannelInfo; -class ChannelState; -class MemberAccountInfo; -class MemberState; -class Member; -class SubscriberId; - -enum ChannelState_PrivacyLevel { - ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN = 1, - ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = 2, - ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION = 3, - ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED = 4 -}; -TC_PROTO_API bool ChannelState_PrivacyLevel_IsValid(int value); -const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MIN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; -const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MAX = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; -const int ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE = ChannelState_PrivacyLevel_PrivacyLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* ChannelState_PrivacyLevel_descriptor(); -inline const ::std::string& ChannelState_PrivacyLevel_Name(ChannelState_PrivacyLevel value) { - return ::google::protobuf::internal::NameOfEnum( - ChannelState_PrivacyLevel_descriptor(), value); -} -inline bool ChannelState_PrivacyLevel_Parse( - const ::std::string& name, ChannelState_PrivacyLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ChannelState_PrivacyLevel_descriptor(), name, value); -} -// =================================================================== - -class TC_PROTO_API Message : public ::google::protobuf::Message { - public: - Message(); - virtual ~Message(); - - Message(const Message& from); - - inline Message& operator=(const Message& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Message& default_instance(); - - void Swap(Message* other); - - // implements Message ---------------------------------------------- - - Message* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::Attribute& attribute(int index) const; - inline ::bgs::protocol::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attribute(); - - GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message) - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Message) - private: - - ::google::protobuf::internal::ExtensionSet _extensions_; - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Message* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ListChannelsOptions : public ::google::protobuf::Message { - public: - ListChannelsOptions(); - virtual ~ListChannelsOptions(); - - ListChannelsOptions(const ListChannelsOptions& from); - - inline ListChannelsOptions& operator=(const ListChannelsOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ListChannelsOptions& default_instance(); - - void Swap(ListChannelsOptions* other); - - // implements Message ---------------------------------------------- - - ListChannelsOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 start_index = 1 [default = 0]; - inline bool has_start_index() const; - inline void clear_start_index(); - static const int kStartIndexFieldNumber = 1; - inline ::google::protobuf::uint32 start_index() const; - inline void set_start_index(::google::protobuf::uint32 value); - - // optional uint32 max_results = 2 [default = 16]; - inline bool has_max_results() const; - inline void clear_max_results(); - static const int kMaxResultsFieldNumber = 2; - inline ::google::protobuf::uint32 max_results() const; - inline void set_max_results(::google::protobuf::uint32 value); - - // optional string name = 3; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 3; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional fixed32 program = 4; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 4; - inline ::google::protobuf::uint32 program() const; - inline void set_program(::google::protobuf::uint32 value); - - // optional fixed32 locale = 5; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 5; - inline ::google::protobuf::uint32 locale() const; - inline void set_locale(::google::protobuf::uint32 value); - - // optional uint32 capacity_full = 6; - inline bool has_capacity_full() const; - inline void clear_capacity_full(); - static const int kCapacityFullFieldNumber = 6; - inline ::google::protobuf::uint32 capacity_full() const; - inline void set_capacity_full(::google::protobuf::uint32 value); - - // required .bgs.protocol.AttributeFilter attribute_filter = 7; - inline bool has_attribute_filter() const; - inline void clear_attribute_filter(); - static const int kAttributeFilterFieldNumber = 7; - inline const ::bgs::protocol::AttributeFilter& attribute_filter() const; - inline ::bgs::protocol::AttributeFilter* mutable_attribute_filter(); - inline ::bgs::protocol::AttributeFilter* release_attribute_filter(); - inline void set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter); - - // optional string channel_type = 8; - inline bool has_channel_type() const; - inline void clear_channel_type(); - static const int kChannelTypeFieldNumber = 8; - inline const ::std::string& channel_type() const; - inline void set_channel_type(const ::std::string& value); - inline void set_channel_type(const char* value); - inline void set_channel_type(const char* value, size_t size); - inline ::std::string* mutable_channel_type(); - inline ::std::string* release_channel_type(); - inline void set_allocated_channel_type(::std::string* channel_type); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ListChannelsOptions) - private: - inline void set_has_start_index(); - inline void clear_has_start_index(); - inline void set_has_max_results(); - inline void clear_has_max_results(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_program(); - inline void clear_has_program(); - inline void set_has_locale(); - inline void clear_has_locale(); - inline void set_has_capacity_full(); - inline void clear_has_capacity_full(); - inline void set_has_attribute_filter(); - inline void clear_has_attribute_filter(); - inline void set_has_channel_type(); - inline void clear_has_channel_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint32 start_index_; - ::google::protobuf::uint32 max_results_; - ::std::string* name_; - ::google::protobuf::uint32 program_; - ::google::protobuf::uint32 locale_; - ::bgs::protocol::AttributeFilter* attribute_filter_; - ::std::string* channel_type_; - ::google::protobuf::uint32 capacity_full_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ListChannelsOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ChannelDescription : public ::google::protobuf::Message { - public: - ChannelDescription(); - virtual ~ChannelDescription(); - - ChannelDescription(const ChannelDescription& from); - - inline ChannelDescription& operator=(const ChannelDescription& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ChannelDescription& default_instance(); - - void Swap(ChannelDescription* other); - - // implements Message ---------------------------------------------- - - ChannelDescription* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.EntityId channel_id = 1; - inline bool has_channel_id() const; - inline void clear_channel_id(); - static const int kChannelIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& channel_id() const; - inline ::bgs::protocol::EntityId* mutable_channel_id(); - inline ::bgs::protocol::EntityId* release_channel_id(); - inline void set_allocated_channel_id(::bgs::protocol::EntityId* channel_id); - - // optional uint32 current_members = 2; - inline bool has_current_members() const; - inline void clear_current_members(); - static const int kCurrentMembersFieldNumber = 2; - inline ::google::protobuf::uint32 current_members() const; - inline void set_current_members(::google::protobuf::uint32 value); - - // optional .bgs.protocol.channel.v1.ChannelState state = 3; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 3; - inline const ::bgs::protocol::channel::v1::ChannelState& state() const; - inline ::bgs::protocol::channel::v1::ChannelState* mutable_state(); - inline ::bgs::protocol::channel::v1::ChannelState* release_state(); - inline void set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelDescription) - private: - inline void set_has_channel_id(); - inline void clear_has_channel_id(); - inline void set_has_current_members(); - inline void clear_has_current_members(); - inline void set_has_state(); - inline void clear_has_state(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* channel_id_; - ::bgs::protocol::channel::v1::ChannelState* state_; - ::google::protobuf::uint32 current_members_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ChannelDescription* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ChannelInfo : public ::google::protobuf::Message { - public: - ChannelInfo(); - virtual ~ChannelInfo(); - - ChannelInfo(const ChannelInfo& from); - - inline ChannelInfo& operator=(const ChannelInfo& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ChannelInfo& default_instance(); - - void Swap(ChannelInfo* other); - - // implements Message ---------------------------------------------- - - ChannelInfo* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.channel.v1.ChannelDescription description = 1; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 1; - inline const ::bgs::protocol::channel::v1::ChannelDescription& description() const; - inline ::bgs::protocol::channel::v1::ChannelDescription* mutable_description(); - inline ::bgs::protocol::channel::v1::ChannelDescription* release_description(); - inline void set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description); - - // repeated .bgs.protocol.channel.v1.Member member = 2; - inline int member_size() const; - inline void clear_member(); - static const int kMemberFieldNumber = 2; - inline const ::bgs::protocol::channel::v1::Member& member(int index) const; - inline ::bgs::protocol::channel::v1::Member* mutable_member(int index); - inline ::bgs::protocol::channel::v1::Member* add_member(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& - member() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* - mutable_member(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelInfo) - private: - inline void set_has_description(); - inline void clear_has_description(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::channel::v1::ChannelDescription* description_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member > member_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ChannelInfo* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ChannelState : public ::google::protobuf::Message { - public: - ChannelState(); - virtual ~ChannelState(); - - ChannelState(const ChannelState& from); - - inline ChannelState& operator=(const ChannelState& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ChannelState& default_instance(); - - void Swap(ChannelState* other); - - // implements Message ---------------------------------------------- - - ChannelState* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - typedef ChannelState_PrivacyLevel PrivacyLevel; - static const PrivacyLevel PRIVACY_LEVEL_OPEN = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN; - static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND; - static const PrivacyLevel PRIVACY_LEVEL_OPEN_INVITATION = ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION; - static const PrivacyLevel PRIVACY_LEVEL_CLOSED = ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED; - static inline bool PrivacyLevel_IsValid(int value) { - return ChannelState_PrivacyLevel_IsValid(value); - } - static const PrivacyLevel PrivacyLevel_MIN = - ChannelState_PrivacyLevel_PrivacyLevel_MIN; - static const PrivacyLevel PrivacyLevel_MAX = - ChannelState_PrivacyLevel_PrivacyLevel_MAX; - static const int PrivacyLevel_ARRAYSIZE = - ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - PrivacyLevel_descriptor() { - return ChannelState_PrivacyLevel_descriptor(); - } - static inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { - return ChannelState_PrivacyLevel_Name(value); - } - static inline bool PrivacyLevel_Parse(const ::std::string& name, - PrivacyLevel* value) { - return ChannelState_PrivacyLevel_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // optional uint32 max_members = 1; - inline bool has_max_members() const; - inline void clear_max_members(); - static const int kMaxMembersFieldNumber = 1; - inline ::google::protobuf::uint32 max_members() const; - inline void set_max_members(::google::protobuf::uint32 value); - - // optional uint32 min_members = 2; - inline bool has_min_members() const; - inline void clear_min_members(); - static const int kMinMembersFieldNumber = 2; - inline ::google::protobuf::uint32 min_members() const; - inline void set_min_members(::google::protobuf::uint32 value); - - // repeated .bgs.protocol.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::Attribute& attribute(int index) const; - inline ::bgs::protocol::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attribute(); - - // repeated .bgs.protocol.Invitation invitation = 4; - inline int invitation_size() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 4; - inline const ::bgs::protocol::Invitation& invitation(int index) const; - inline ::bgs::protocol::Invitation* mutable_invitation(int index); - inline ::bgs::protocol::Invitation* add_invitation(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& - invitation() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* - mutable_invitation(); - - // optional uint32 reason = 6; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 6; - inline ::google::protobuf::uint32 reason() const; - inline void set_reason(::google::protobuf::uint32 value); - - // optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 7; - inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value); - - // optional string name = 8; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 8; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string channel_type = 10 [default = "default"]; - inline bool has_channel_type() const; - inline void clear_channel_type(); - static const int kChannelTypeFieldNumber = 10; - inline const ::std::string& channel_type() const; - inline void set_channel_type(const ::std::string& value); - inline void set_channel_type(const char* value); - inline void set_channel_type(const char* value, size_t size); - inline ::std::string* mutable_channel_type(); - inline ::std::string* release_channel_type(); - inline void set_allocated_channel_type(::std::string* channel_type); - - // optional fixed32 program = 11; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 11; - inline ::google::protobuf::uint32 program() const; - inline void set_program(::google::protobuf::uint32 value); - - // optional bool subscribe_to_presence = 13 [default = true]; - inline bool has_subscribe_to_presence() const; - inline void clear_subscribe_to_presence(); - static const int kSubscribeToPresenceFieldNumber = 13; - inline bool subscribe_to_presence() const; - inline void set_subscribe_to_presence(bool value); - - GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ChannelState) - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.ChannelState) - private: - inline void set_has_max_members(); - inline void clear_has_max_members(); - inline void set_has_min_members(); - inline void clear_has_min_members(); - inline void set_has_reason(); - inline void clear_has_reason(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_channel_type(); - inline void clear_has_channel_type(); - inline void set_has_program(); - inline void clear_has_program(); - inline void set_has_subscribe_to_presence(); - inline void clear_has_subscribe_to_presence(); - - ::google::protobuf::internal::ExtensionSet _extensions_; - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint32 max_members_; - ::google::protobuf::uint32 min_members_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation > invitation_; - ::google::protobuf::uint32 reason_; - int privacy_level_; - ::std::string* name_; - static ::std::string* _default_channel_type_; - ::std::string* channel_type_; - ::google::protobuf::uint32 program_; - bool subscribe_to_presence_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ChannelState* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberAccountInfo : public ::google::protobuf::Message { - public: - MemberAccountInfo(); - virtual ~MemberAccountInfo(); - - MemberAccountInfo(const MemberAccountInfo& from); - - inline MemberAccountInfo& operator=(const MemberAccountInfo& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberAccountInfo& default_instance(); - - void Swap(MemberAccountInfo* other); - - // implements Message ---------------------------------------------- - - MemberAccountInfo* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string battle_tag = 3; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 3; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberAccountInfo) - private: - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* battle_tag_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static MemberAccountInfo* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberState : public ::google::protobuf::Message { - public: - MemberState(); - virtual ~MemberState(); - - MemberState(const MemberState& from); - - inline MemberState& operator=(const MemberState& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberState& default_instance(); - - void Swap(MemberState* other); - - // implements Message ---------------------------------------------- - - MemberState* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::Attribute& attribute(int index) const; - inline ::bgs::protocol::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attribute(); - - // repeated uint32 role = 2 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 2; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // optional uint64 privileges = 3 [default = 0]; - inline bool has_privileges() const; - inline void clear_privileges(); - static const int kPrivilegesFieldNumber = 3; - inline ::google::protobuf::uint64 privileges() const; - inline void set_privileges(::google::protobuf::uint64 value); - - // optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; - inline bool has_info() const; - inline void clear_info(); - static const int kInfoFieldNumber = 4; - inline const ::bgs::protocol::channel::v1::MemberAccountInfo& info() const; - inline ::bgs::protocol::channel::v1::MemberAccountInfo* mutable_info(); - inline ::bgs::protocol::channel::v1::MemberAccountInfo* release_info(); - inline void set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.MemberState) - private: - inline void set_has_privileges(); - inline void clear_has_privileges(); - inline void set_has_info(); - inline void clear_has_info(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - ::google::protobuf::uint64 privileges_; - ::bgs::protocol::channel::v1::MemberAccountInfo* info_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static MemberState* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Member : public ::google::protobuf::Message { - public: - Member(); - virtual ~Member(); - - Member(const Member& from); - - inline Member& operator=(const Member& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Member& default_instance(); - - void Swap(Member* other); - - // implements Message ---------------------------------------------- - - Member* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.Identity identity = 1; - inline bool has_identity() const; - inline void clear_identity(); - static const int kIdentityFieldNumber = 1; - inline const ::bgs::protocol::Identity& identity() const; - inline ::bgs::protocol::Identity* mutable_identity(); - inline ::bgs::protocol::Identity* release_identity(); - inline void set_allocated_identity(::bgs::protocol::Identity* identity); - - // required .bgs.protocol.channel.v1.MemberState state = 2; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 2; - inline const ::bgs::protocol::channel::v1::MemberState& state() const; - inline ::bgs::protocol::channel::v1::MemberState* mutable_state(); - inline ::bgs::protocol::channel::v1::MemberState* release_state(); - inline void set_allocated_state(::bgs::protocol::channel::v1::MemberState* state); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.Member) - private: - inline void set_has_identity(); - inline void clear_has_identity(); - inline void set_has_state(); - inline void clear_has_state(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::Identity* identity_; - ::bgs::protocol::channel::v1::MemberState* state_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Member* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscriberId : public ::google::protobuf::Message { - public: - SubscriberId(); - virtual ~SubscriberId(); - - SubscriberId(const SubscriberId& from); - - inline SubscriberId& operator=(const SubscriberId& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscriberId& default_instance(); - - void Swap(SubscriberId* other); - - // implements Message ---------------------------------------------- - - SubscriberId* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; - inline bool has_account() const PROTOBUF_DEPRECATED; - inline void clear_account() PROTOBUF_DEPRECATED; - static const int kAccountFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& account() const PROTOBUF_DEPRECATED; - inline ::bgs::protocol::account::v1::AccountId* mutable_account() PROTOBUF_DEPRECATED; - inline ::bgs::protocol::account::v1::AccountId* release_account() PROTOBUF_DEPRECATED; - inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account) PROTOBUF_DEPRECATED; - - // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; - inline bool has_game_account() const; - inline void clear_game_account(); - static const int kGameAccountFieldNumber = 2; - inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account(); - inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account); - - // optional .bgs.protocol.ProcessId process = 3; - inline bool has_process() const; - inline void clear_process(); - static const int kProcessFieldNumber = 3; - inline const ::bgs::protocol::ProcessId& process() const; - inline ::bgs::protocol::ProcessId* mutable_process(); - inline ::bgs::protocol::ProcessId* release_process(); - inline void set_allocated_process(::bgs::protocol::ProcessId* process); - - // @@protoc_insertion_point(class_scope:bgs.protocol.channel.v1.SubscriberId) - private: - inline void set_has_account(); - inline void clear_has_account(); - inline void set_has_game_account(); - inline void clear_has_game_account(); - inline void set_has_process(); - inline void clear_has_process(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* account_; - ::bgs::protocol::account::v1::GameAccountHandle* game_account_; - ::bgs::protocol::ProcessId* process_; - friend void TC_PROTO_API protobuf_AddDesc_channel_5ftypes_2eproto(); - friend void protobuf_AssignDesc_channel_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_channel_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static SubscriberId* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// Message - -// repeated .bgs.protocol.Attribute attribute = 1; -inline int Message::attribute_size() const { - return attribute_.size(); -} -inline void Message::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::Attribute& Message::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Message.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::Attribute* Message::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Message.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::Attribute* Message::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.Message.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -Message::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.Message.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -Message::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.Message.attribute) - return &attribute_; -} - -// ------------------------------------------------------------------- - -// ListChannelsOptions - -// optional uint32 start_index = 1 [default = 0]; -inline bool ListChannelsOptions::has_start_index() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ListChannelsOptions::set_has_start_index() { - _has_bits_[0] |= 0x00000001u; -} -inline void ListChannelsOptions::clear_has_start_index() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ListChannelsOptions::clear_start_index() { - start_index_ = 0u; - clear_has_start_index(); -} -inline ::google::protobuf::uint32 ListChannelsOptions::start_index() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.start_index) - return start_index_; -} -inline void ListChannelsOptions::set_start_index(::google::protobuf::uint32 value) { - set_has_start_index(); - start_index_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.start_index) -} - -// optional uint32 max_results = 2 [default = 16]; -inline bool ListChannelsOptions::has_max_results() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ListChannelsOptions::set_has_max_results() { - _has_bits_[0] |= 0x00000002u; -} -inline void ListChannelsOptions::clear_has_max_results() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ListChannelsOptions::clear_max_results() { - max_results_ = 16u; - clear_has_max_results(); -} -inline ::google::protobuf::uint32 ListChannelsOptions::max_results() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.max_results) - return max_results_; -} -inline void ListChannelsOptions::set_max_results(::google::protobuf::uint32 value) { - set_has_max_results(); - max_results_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.max_results) -} - -// optional string name = 3; -inline bool ListChannelsOptions::has_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ListChannelsOptions::set_has_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void ListChannelsOptions::clear_has_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ListChannelsOptions::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ListChannelsOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.name) - return *name_; -} -inline void ListChannelsOptions::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.name) -} -inline void ListChannelsOptions::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.name) -} -inline void ListChannelsOptions::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.name) -} -inline ::std::string* ListChannelsOptions::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.name) - return name_; -} -inline ::std::string* ListChannelsOptions::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ListChannelsOptions::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.name) -} - -// optional fixed32 program = 4; -inline bool ListChannelsOptions::has_program() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ListChannelsOptions::set_has_program() { - _has_bits_[0] |= 0x00000008u; -} -inline void ListChannelsOptions::clear_has_program() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ListChannelsOptions::clear_program() { - program_ = 0u; - clear_has_program(); -} -inline ::google::protobuf::uint32 ListChannelsOptions::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.program) - return program_; -} -inline void ListChannelsOptions::set_program(::google::protobuf::uint32 value) { - set_has_program(); - program_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.program) -} - -// optional fixed32 locale = 5; -inline bool ListChannelsOptions::has_locale() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ListChannelsOptions::set_has_locale() { - _has_bits_[0] |= 0x00000010u; -} -inline void ListChannelsOptions::clear_has_locale() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ListChannelsOptions::clear_locale() { - locale_ = 0u; - clear_has_locale(); -} -inline ::google::protobuf::uint32 ListChannelsOptions::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.locale) - return locale_; -} -inline void ListChannelsOptions::set_locale(::google::protobuf::uint32 value) { - set_has_locale(); - locale_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.locale) -} - -// optional uint32 capacity_full = 6; -inline bool ListChannelsOptions::has_capacity_full() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ListChannelsOptions::set_has_capacity_full() { - _has_bits_[0] |= 0x00000020u; -} -inline void ListChannelsOptions::clear_has_capacity_full() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ListChannelsOptions::clear_capacity_full() { - capacity_full_ = 0u; - clear_has_capacity_full(); -} -inline ::google::protobuf::uint32 ListChannelsOptions::capacity_full() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) - return capacity_full_; -} -inline void ListChannelsOptions::set_capacity_full(::google::protobuf::uint32 value) { - set_has_capacity_full(); - capacity_full_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.capacity_full) -} - -// required .bgs.protocol.AttributeFilter attribute_filter = 7; -inline bool ListChannelsOptions::has_attribute_filter() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ListChannelsOptions::set_has_attribute_filter() { - _has_bits_[0] |= 0x00000040u; -} -inline void ListChannelsOptions::clear_has_attribute_filter() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ListChannelsOptions::clear_attribute_filter() { - if (attribute_filter_ != NULL) attribute_filter_->::bgs::protocol::AttributeFilter::Clear(); - clear_has_attribute_filter(); -} -inline const ::bgs::protocol::AttributeFilter& ListChannelsOptions::attribute_filter() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) - return attribute_filter_ != NULL ? *attribute_filter_ : *default_instance_->attribute_filter_; -} -inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::mutable_attribute_filter() { - set_has_attribute_filter(); - if (attribute_filter_ == NULL) attribute_filter_ = new ::bgs::protocol::AttributeFilter; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) - return attribute_filter_; -} -inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::release_attribute_filter() { - clear_has_attribute_filter(); - ::bgs::protocol::AttributeFilter* temp = attribute_filter_; - attribute_filter_ = NULL; - return temp; -} -inline void ListChannelsOptions::set_allocated_attribute_filter(::bgs::protocol::AttributeFilter* attribute_filter) { - delete attribute_filter_; - attribute_filter_ = attribute_filter; - if (attribute_filter) { - set_has_attribute_filter(); - } else { - clear_has_attribute_filter(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.attribute_filter) -} - -// optional string channel_type = 8; -inline bool ListChannelsOptions::has_channel_type() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ListChannelsOptions::set_has_channel_type() { - _has_bits_[0] |= 0x00000080u; -} -inline void ListChannelsOptions::clear_has_channel_type() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ListChannelsOptions::clear_channel_type() { - if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_type_->clear(); - } - clear_has_channel_type(); -} -inline const ::std::string& ListChannelsOptions::channel_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) - return *channel_type_; -} -inline void ListChannelsOptions::set_channel_type(const ::std::string& value) { - set_has_channel_type(); - if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_type_ = new ::std::string; - } - channel_type_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) -} -inline void ListChannelsOptions::set_channel_type(const char* value) { - set_has_channel_type(); - if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_type_ = new ::std::string; - } - channel_type_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) -} -inline void ListChannelsOptions::set_channel_type(const char* value, size_t size) { - set_has_channel_type(); - if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_type_ = new ::std::string; - } - channel_type_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) -} -inline ::std::string* ListChannelsOptions::mutable_channel_type() { - set_has_channel_type(); - if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_type_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) - return channel_type_; -} -inline ::std::string* ListChannelsOptions::release_channel_type() { - clear_has_channel_type(); - if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = channel_type_; - channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ListChannelsOptions::set_allocated_channel_type(::std::string* channel_type) { - if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete channel_type_; - } - if (channel_type) { - set_has_channel_type(); - channel_type_ = channel_type; - } else { - clear_has_channel_type(); - channel_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ListChannelsOptions.channel_type) -} - -// ------------------------------------------------------------------- - -// ChannelDescription - -// required .bgs.protocol.EntityId channel_id = 1; -inline bool ChannelDescription::has_channel_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ChannelDescription::set_has_channel_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ChannelDescription::clear_has_channel_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ChannelDescription::clear_channel_id() { - if (channel_id_ != NULL) channel_id_->::bgs::protocol::EntityId::Clear(); - clear_has_channel_id(); -} -inline const ::bgs::protocol::EntityId& ChannelDescription::channel_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.channel_id) - return channel_id_ != NULL ? *channel_id_ : *default_instance_->channel_id_; -} -inline ::bgs::protocol::EntityId* ChannelDescription::mutable_channel_id() { - set_has_channel_id(); - if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.channel_id) - return channel_id_; -} -inline ::bgs::protocol::EntityId* ChannelDescription::release_channel_id() { - clear_has_channel_id(); - ::bgs::protocol::EntityId* temp = channel_id_; - channel_id_ = NULL; - return temp; -} -inline void ChannelDescription::set_allocated_channel_id(::bgs::protocol::EntityId* channel_id) { - delete channel_id_; - channel_id_ = channel_id; - if (channel_id) { - set_has_channel_id(); - } else { - clear_has_channel_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.channel_id) -} - -// optional uint32 current_members = 2; -inline bool ChannelDescription::has_current_members() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ChannelDescription::set_has_current_members() { - _has_bits_[0] |= 0x00000002u; -} -inline void ChannelDescription::clear_has_current_members() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ChannelDescription::clear_current_members() { - current_members_ = 0u; - clear_has_current_members(); -} -inline ::google::protobuf::uint32 ChannelDescription::current_members() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.current_members) - return current_members_; -} -inline void ChannelDescription::set_current_members(::google::protobuf::uint32 value) { - set_has_current_members(); - current_members_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelDescription.current_members) -} - -// optional .bgs.protocol.channel.v1.ChannelState state = 3; -inline bool ChannelDescription::has_state() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ChannelDescription::set_has_state() { - _has_bits_[0] |= 0x00000004u; -} -inline void ChannelDescription::clear_has_state() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ChannelDescription::clear_state() { - if (state_ != NULL) state_->::bgs::protocol::channel::v1::ChannelState::Clear(); - clear_has_state(); -} -inline const ::bgs::protocol::channel::v1::ChannelState& ChannelDescription::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.state) - return state_ != NULL ? *state_ : *default_instance_->state_; -} -inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::mutable_state() { - set_has_state(); - if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::ChannelState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.state) - return state_; -} -inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::release_state() { - clear_has_state(); - ::bgs::protocol::channel::v1::ChannelState* temp = state_; - state_ = NULL; - return temp; -} -inline void ChannelDescription::set_allocated_state(::bgs::protocol::channel::v1::ChannelState* state) { - delete state_; - state_ = state; - if (state) { - set_has_state(); - } else { - clear_has_state(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.state) -} - -// ------------------------------------------------------------------- - -// ChannelInfo - -// required .bgs.protocol.channel.v1.ChannelDescription description = 1; -inline bool ChannelInfo::has_description() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ChannelInfo::set_has_description() { - _has_bits_[0] |= 0x00000001u; -} -inline void ChannelInfo::clear_has_description() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ChannelInfo::clear_description() { - if (description_ != NULL) description_->::bgs::protocol::channel::v1::ChannelDescription::Clear(); - clear_has_description(); -} -inline const ::bgs::protocol::channel::v1::ChannelDescription& ChannelInfo::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.description) - return description_ != NULL ? *description_ : *default_instance_->description_; -} -inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::mutable_description() { - set_has_description(); - if (description_ == NULL) description_ = new ::bgs::protocol::channel::v1::ChannelDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.description) - return description_; -} -inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::release_description() { - clear_has_description(); - ::bgs::protocol::channel::v1::ChannelDescription* temp = description_; - description_ = NULL; - return temp; -} -inline void ChannelInfo::set_allocated_description(::bgs::protocol::channel::v1::ChannelDescription* description) { - delete description_; - description_ = description; - if (description) { - set_has_description(); - } else { - clear_has_description(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelInfo.description) -} - -// repeated .bgs.protocol.channel.v1.Member member = 2; -inline int ChannelInfo::member_size() const { - return member_.size(); -} -inline void ChannelInfo::clear_member() { - member_.Clear(); -} -inline const ::bgs::protocol::channel::v1::Member& ChannelInfo::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelInfo.member) - return member_.Get(index); -} -inline ::bgs::protocol::channel::v1::Member* ChannelInfo::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelInfo.member) - return member_.Mutable(index); -} -inline ::bgs::protocol::channel::v1::Member* ChannelInfo::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelInfo.member) - return member_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >& -ChannelInfo::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelInfo.member) - return member_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >* -ChannelInfo::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelInfo.member) - return &member_; -} - -// ------------------------------------------------------------------- - -// ChannelState - -// optional uint32 max_members = 1; -inline bool ChannelState::has_max_members() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ChannelState::set_has_max_members() { - _has_bits_[0] |= 0x00000001u; -} -inline void ChannelState::clear_has_max_members() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ChannelState::clear_max_members() { - max_members_ = 0u; - clear_has_max_members(); -} -inline ::google::protobuf::uint32 ChannelState::max_members() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.max_members) - return max_members_; -} -inline void ChannelState::set_max_members(::google::protobuf::uint32 value) { - set_has_max_members(); - max_members_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.max_members) -} - -// optional uint32 min_members = 2; -inline bool ChannelState::has_min_members() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ChannelState::set_has_min_members() { - _has_bits_[0] |= 0x00000002u; -} -inline void ChannelState::clear_has_min_members() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ChannelState::clear_min_members() { - min_members_ = 0u; - clear_has_min_members(); -} -inline ::google::protobuf::uint32 ChannelState::min_members() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.min_members) - return min_members_; -} -inline void ChannelState::set_min_members(::google::protobuf::uint32 value) { - set_has_min_members(); - min_members_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.min_members) -} - -// repeated .bgs.protocol.Attribute attribute = 3; -inline int ChannelState::attribute_size() const { - return attribute_.size(); -} -inline void ChannelState::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::Attribute& ChannelState::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::Attribute* ChannelState::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::Attribute* ChannelState::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -ChannelState::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -ChannelState::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.attribute) - return &attribute_; -} - -// repeated .bgs.protocol.Invitation invitation = 4; -inline int ChannelState::invitation_size() const { - return invitation_.size(); -} -inline void ChannelState::clear_invitation() { - invitation_.Clear(); -} -inline const ::bgs::protocol::Invitation& ChannelState::invitation(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.invitation) - return invitation_.Get(index); -} -inline ::bgs::protocol::Invitation* ChannelState::mutable_invitation(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.invitation) - return invitation_.Mutable(index); -} -inline ::bgs::protocol::Invitation* ChannelState::add_invitation() { - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.ChannelState.invitation) - return invitation_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >& -ChannelState::invitation() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.ChannelState.invitation) - return invitation_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >* -ChannelState::mutable_invitation() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.ChannelState.invitation) - return &invitation_; -} - -// optional uint32 reason = 6; -inline bool ChannelState::has_reason() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ChannelState::set_has_reason() { - _has_bits_[0] |= 0x00000010u; -} -inline void ChannelState::clear_has_reason() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ChannelState::clear_reason() { - reason_ = 0u; - clear_has_reason(); -} -inline ::google::protobuf::uint32 ChannelState::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.reason) - return reason_; -} -inline void ChannelState::set_reason(::google::protobuf::uint32 value) { - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.reason) -} - -// optional .bgs.protocol.channel.v1.ChannelState.PrivacyLevel privacy_level = 7 [default = PRIVACY_LEVEL_OPEN]; -inline bool ChannelState::has_privacy_level() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ChannelState::set_has_privacy_level() { - _has_bits_[0] |= 0x00000020u; -} -inline void ChannelState::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ChannelState::clear_privacy_level() { - privacy_level_ = 1; - clear_has_privacy_level(); -} -inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel ChannelState::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.privacy_level) - return static_cast< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel >(privacy_level_); -} -inline void ChannelState::set_privacy_level(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel value) { - assert(::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.privacy_level) -} - -// optional string name = 8; -inline bool ChannelState::has_name() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ChannelState::set_has_name() { - _has_bits_[0] |= 0x00000040u; -} -inline void ChannelState::clear_has_name() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ChannelState::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ChannelState::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.name) - return *name_; -} -inline void ChannelState::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.name) -} -inline void ChannelState::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.name) -} -inline void ChannelState::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.name) -} -inline ::std::string* ChannelState::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.name) - return name_; -} -inline ::std::string* ChannelState::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ChannelState::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.name) -} - -// optional string channel_type = 10 [default = "default"]; -inline bool ChannelState::has_channel_type() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ChannelState::set_has_channel_type() { - _has_bits_[0] |= 0x00000080u; -} -inline void ChannelState::clear_has_channel_type() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ChannelState::clear_channel_type() { - if (channel_type_ != _default_channel_type_) { - channel_type_->assign(*_default_channel_type_); - } - clear_has_channel_type(); -} -inline const ::std::string& ChannelState::channel_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.channel_type) - return *channel_type_; -} -inline void ChannelState::set_channel_type(const ::std::string& value) { - set_has_channel_type(); - if (channel_type_ == _default_channel_type_) { - channel_type_ = new ::std::string; - } - channel_type_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.channel_type) -} -inline void ChannelState::set_channel_type(const char* value) { - set_has_channel_type(); - if (channel_type_ == _default_channel_type_) { - channel_type_ = new ::std::string; - } - channel_type_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.ChannelState.channel_type) -} -inline void ChannelState::set_channel_type(const char* value, size_t size) { - set_has_channel_type(); - if (channel_type_ == _default_channel_type_) { - channel_type_ = new ::std::string; - } - channel_type_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.ChannelState.channel_type) -} -inline ::std::string* ChannelState::mutable_channel_type() { - set_has_channel_type(); - if (channel_type_ == _default_channel_type_) { - channel_type_ = new ::std::string(*_default_channel_type_); - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelState.channel_type) - return channel_type_; -} -inline ::std::string* ChannelState::release_channel_type() { - clear_has_channel_type(); - if (channel_type_ == _default_channel_type_) { - return NULL; - } else { - ::std::string* temp = channel_type_; - channel_type_ = const_cast< ::std::string*>(_default_channel_type_); - return temp; - } -} -inline void ChannelState::set_allocated_channel_type(::std::string* channel_type) { - if (channel_type_ != _default_channel_type_) { - delete channel_type_; - } - if (channel_type) { - set_has_channel_type(); - channel_type_ = channel_type; - } else { - clear_has_channel_type(); - channel_type_ = const_cast< ::std::string*>(_default_channel_type_); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelState.channel_type) -} - -// optional fixed32 program = 11; -inline bool ChannelState::has_program() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ChannelState::set_has_program() { - _has_bits_[0] |= 0x00000100u; -} -inline void ChannelState::clear_has_program() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ChannelState::clear_program() { - program_ = 0u; - clear_has_program(); -} -inline ::google::protobuf::uint32 ChannelState::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.program) - return program_; -} -inline void ChannelState::set_program(::google::protobuf::uint32 value) { - set_has_program(); - program_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.program) -} - -// optional bool subscribe_to_presence = 13 [default = true]; -inline bool ChannelState::has_subscribe_to_presence() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ChannelState::set_has_subscribe_to_presence() { - _has_bits_[0] |= 0x00000200u; -} -inline void ChannelState::clear_has_subscribe_to_presence() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ChannelState::clear_subscribe_to_presence() { - subscribe_to_presence_ = true; - clear_has_subscribe_to_presence(); -} -inline bool ChannelState::subscribe_to_presence() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) - return subscribe_to_presence_; -} -inline void ChannelState::set_subscribe_to_presence(bool value) { - set_has_subscribe_to_presence(); - subscribe_to_presence_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelState.subscribe_to_presence) -} - -// ------------------------------------------------------------------- - -// MemberAccountInfo - -// optional string battle_tag = 3; -inline bool MemberAccountInfo::has_battle_tag() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberAccountInfo::set_has_battle_tag() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberAccountInfo::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberAccountInfo::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& MemberAccountInfo::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) - return *battle_tag_; -} -inline void MemberAccountInfo::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) -} -inline void MemberAccountInfo::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) -} -inline void MemberAccountInfo::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) -} -inline ::std::string* MemberAccountInfo::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) - return battle_tag_; -} -inline ::std::string* MemberAccountInfo::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void MemberAccountInfo::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAccountInfo.battle_tag) -} - -// ------------------------------------------------------------------- - -// MemberState - -// repeated .bgs.protocol.Attribute attribute = 1; -inline int MemberState::attribute_size() const { - return attribute_.size(); -} -inline void MemberState::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::Attribute& MemberState::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::Attribute* MemberState::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::Attribute* MemberState::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -MemberState::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -MemberState::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.attribute) - return &attribute_; -} - -// repeated uint32 role = 2 [packed = true]; -inline int MemberState::role_size() const { - return role_.size(); -} -inline void MemberState::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 MemberState::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.role) - return role_.Get(index); -} -inline void MemberState::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.role) -} -inline void MemberState::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.MemberState.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -MemberState::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.MemberState.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -MemberState::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.MemberState.role) - return &role_; -} - -// optional uint64 privileges = 3 [default = 0]; -inline bool MemberState::has_privileges() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void MemberState::set_has_privileges() { - _has_bits_[0] |= 0x00000004u; -} -inline void MemberState::clear_has_privileges() { - _has_bits_[0] &= ~0x00000004u; -} -inline void MemberState::clear_privileges() { - privileges_ = GOOGLE_ULONGLONG(0); - clear_has_privileges(); -} -inline ::google::protobuf::uint64 MemberState::privileges() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.privileges) - return privileges_; -} -inline void MemberState::set_privileges(::google::protobuf::uint64 value) { - set_has_privileges(); - privileges_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.MemberState.privileges) -} - -// optional .bgs.protocol.channel.v1.MemberAccountInfo info = 4; -inline bool MemberState::has_info() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void MemberState::set_has_info() { - _has_bits_[0] |= 0x00000008u; -} -inline void MemberState::clear_has_info() { - _has_bits_[0] &= ~0x00000008u; -} -inline void MemberState::clear_info() { - if (info_ != NULL) info_->::bgs::protocol::channel::v1::MemberAccountInfo::Clear(); - clear_has_info(); -} -inline const ::bgs::protocol::channel::v1::MemberAccountInfo& MemberState::info() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberState.info) - return info_ != NULL ? *info_ : *default_instance_->info_; -} -inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::mutable_info() { - set_has_info(); - if (info_ == NULL) info_ = new ::bgs::protocol::channel::v1::MemberAccountInfo; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberState.info) - return info_; -} -inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::release_info() { - clear_has_info(); - ::bgs::protocol::channel::v1::MemberAccountInfo* temp = info_; - info_ = NULL; - return temp; -} -inline void MemberState::set_allocated_info(::bgs::protocol::channel::v1::MemberAccountInfo* info) { - delete info_; - info_ = info; - if (info) { - set_has_info(); - } else { - clear_has_info(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberState.info) -} - -// ------------------------------------------------------------------- - -// Member - -// required .bgs.protocol.Identity identity = 1; -inline bool Member::has_identity() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Member::set_has_identity() { - _has_bits_[0] |= 0x00000001u; -} -inline void Member::clear_has_identity() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Member::clear_identity() { - if (identity_ != NULL) identity_->::bgs::protocol::Identity::Clear(); - clear_has_identity(); -} -inline const ::bgs::protocol::Identity& Member::identity() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.identity) - return identity_ != NULL ? *identity_ : *default_instance_->identity_; -} -inline ::bgs::protocol::Identity* Member::mutable_identity() { - set_has_identity(); - if (identity_ == NULL) identity_ = new ::bgs::protocol::Identity; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.identity) - return identity_; -} -inline ::bgs::protocol::Identity* Member::release_identity() { - clear_has_identity(); - ::bgs::protocol::Identity* temp = identity_; - identity_ = NULL; - return temp; -} -inline void Member::set_allocated_identity(::bgs::protocol::Identity* identity) { - delete identity_; - identity_ = identity; - if (identity) { - set_has_identity(); - } else { - clear_has_identity(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.identity) -} - -// required .bgs.protocol.channel.v1.MemberState state = 2; -inline bool Member::has_state() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Member::set_has_state() { - _has_bits_[0] |= 0x00000002u; -} -inline void Member::clear_has_state() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Member::clear_state() { - if (state_ != NULL) state_->::bgs::protocol::channel::v1::MemberState::Clear(); - clear_has_state(); -} -inline const ::bgs::protocol::channel::v1::MemberState& Member::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.state) - return state_ != NULL ? *state_ : *default_instance_->state_; -} -inline ::bgs::protocol::channel::v1::MemberState* Member::mutable_state() { - set_has_state(); - if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::MemberState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.state) - return state_; -} -inline ::bgs::protocol::channel::v1::MemberState* Member::release_state() { - clear_has_state(); - ::bgs::protocol::channel::v1::MemberState* temp = state_; - state_ = NULL; - return temp; -} -inline void Member::set_allocated_state(::bgs::protocol::channel::v1::MemberState* state) { - delete state_; - state_ = state; - if (state) { - set_has_state(); - } else { - clear_has_state(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.state) -} - -// ------------------------------------------------------------------- - -// SubscriberId - -// optional .bgs.protocol.account.v1.AccountId account = 1 [deprecated = true]; -inline bool SubscriberId::has_account() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscriberId::set_has_account() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscriberId::clear_has_account() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscriberId::clear_account() { - if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_account(); -} -inline const ::bgs::protocol::account::v1::AccountId& SubscriberId::account() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.account) - return account_ != NULL ? *account_ : *default_instance_->account_; -} -inline ::bgs::protocol::account::v1::AccountId* SubscriberId::mutable_account() { - set_has_account(); - if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.account) - return account_; -} -inline ::bgs::protocol::account::v1::AccountId* SubscriberId::release_account() { - clear_has_account(); - ::bgs::protocol::account::v1::AccountId* temp = account_; - account_ = NULL; - return temp; -} -inline void SubscriberId::set_allocated_account(::bgs::protocol::account::v1::AccountId* account) { - delete account_; - account_ = account; - if (account) { - set_has_account(); - } else { - clear_has_account(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.account) -} - -// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2; -inline bool SubscriberId::has_game_account() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscriberId::set_has_game_account() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscriberId::clear_has_game_account() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscriberId::clear_game_account() { - if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_game_account(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& SubscriberId::game_account() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.game_account) - return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::mutable_game_account() { - set_has_game_account(); - if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.game_account) - return game_account_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::release_game_account() { - clear_has_game_account(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = game_account_; - game_account_ = NULL; - return temp; -} -inline void SubscriberId::set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account) { - delete game_account_; - game_account_ = game_account; - if (game_account) { - set_has_game_account(); - } else { - clear_has_game_account(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.game_account) -} - -// optional .bgs.protocol.ProcessId process = 3; -inline bool SubscriberId::has_process() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SubscriberId::set_has_process() { - _has_bits_[0] |= 0x00000004u; -} -inline void SubscriberId::clear_has_process() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SubscriberId::clear_process() { - if (process_ != NULL) process_->::bgs::protocol::ProcessId::Clear(); - clear_has_process(); -} -inline const ::bgs::protocol::ProcessId& SubscriberId::process() const { - // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SubscriberId.process) - return process_ != NULL ? *process_ : *default_instance_->process_; -} -inline ::bgs::protocol::ProcessId* SubscriberId::mutable_process() { - set_has_process(); - if (process_ == NULL) process_ = new ::bgs::protocol::ProcessId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SubscriberId.process) - return process_; -} -inline ::bgs::protocol::ProcessId* SubscriberId::release_process() { - clear_has_process(); - ::bgs::protocol::ProcessId* temp = process_; - process_ = NULL; - return temp; -} -inline void SubscriberId::set_allocated_process(::bgs::protocol::ProcessId* process) { - delete process_; - process_ = process; - if (process) { - set_has_process(); - } else { - clear_has_process(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SubscriberId.process) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace channel -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel>() { - return ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_channel_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_ban.pb.cc b/src/server/proto/Client/club_ban.pb.cc deleted file mode 100644 index 974c08ee893..00000000000 --- a/src/server/proto/Client/club_ban.pb.cc +++ /dev/null @@ -1,323 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_ban.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_ban.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* AddBanOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AddBanOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubBan_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubBan_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fban_2eproto() { - protobuf_AddDesc_club_5fban_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_ban.proto"); - GOOGLE_CHECK(file != NULL); - AddBanOptions_descriptor_ = file->message_type(0); - static const int AddBanOptions_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, target_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, reason_), - }; - AddBanOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AddBanOptions_descriptor_, - AddBanOptions::default_instance_, - AddBanOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AddBanOptions)); - ClubBan_descriptor_ = file->message_type(1); - static const int ClubBan_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, battle_tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creator_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, reason_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, creation_time_), - }; - ClubBan_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubBan_descriptor_, - ClubBan::default_instance_, - ClubBan_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBan, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubBan)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fban_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AddBanOptions_descriptor_, &AddBanOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubBan_descriptor_, &ClubBan::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fban_2eproto() { - delete AddBanOptions::default_instance_; - delete AddBanOptions_reflection_; - delete ClubBan::default_instance_; - delete ClubBan_reflection_; -} - -void protobuf_AddDesc_club_5fban_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\016club_ban.proto\022\024bgs.protocol.club.v1\032%" - "global_extensions/field_options.proto\032\021c" - "lub_member.proto\032#api/client/v2/attribut" - "e_types.proto\"\201\001\n\rAddBanOptions\0221\n\ttarge" - "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" - "Id\022-\n\tattribute\030\002 \003(\0132\032.bgs.protocol.v2." - "Attribute\022\016\n\006reason\030\003 \001(\t\"\341\001\n\007ClubBan\022*\n" - "\002id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" - "d\022\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\0228\n\007creator" - "\030\003 \001(\0132\'.bgs.protocol.club.v1.MemberDesc" - "ription\022-\n\tattribute\030\004 \003(\0132\032.bgs.protoco" - "l.v2.Attribute\022\016\n\006reason\030\005 \001(\t\022\025\n\rcreati" - "on_time\030\006 \001(\004B\002H\002", 497); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_ban.proto", &protobuf_RegisterTypes); - AddBanOptions::default_instance_ = new AddBanOptions(); - ClubBan::default_instance_ = new ClubBan(); - AddBanOptions::default_instance_->InitAsDefaultInstance(); - ClubBan::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fban_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fban_2eproto { - StaticDescriptorInitializer_club_5fban_2eproto() { - protobuf_AddDesc_club_5fban_2eproto(); - } -} static_descriptor_initializer_club_5fban_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int AddBanOptions::kTargetIdFieldNumber; -const int AddBanOptions::kAttributeFieldNumber; -const int AddBanOptions::kReasonFieldNumber; -#endif // !_MSC_VER - -AddBanOptions::AddBanOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddBanOptions) -} - -void AddBanOptions::InitAsDefaultInstance() { - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AddBanOptions::AddBanOptions(const AddBanOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AddBanOptions) -} - -void AddBanOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - target_id_ = NULL; - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AddBanOptions::~AddBanOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddBanOptions) - SharedDtor(); -} - -void AddBanOptions::SharedDtor() { - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete reason_; - } - if (this != default_instance_) { - delete target_id_; - } -} - -void AddBanOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddBanOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AddBanOptions_descriptor_; -} - -const AddBanOptions& AddBanOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fban_2eproto(); - return *default_instance_; -} - -AddBanOptions* AddBanOptions::default_instance_ = NULL; - -AddBanOptions* AddBanOptions::New() const { - return new AddBanOptions; -} - -void AddBanOptions::Swap(AddBanOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AddBanOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AddBanOptions_descriptor_; - metadata.reflection = AddBanOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubBan::kIdFieldNumber; -const int ClubBan::kBattleTagFieldNumber; -const int ClubBan::kCreatorFieldNumber; -const int ClubBan::kAttributeFieldNumber; -const int ClubBan::kReasonFieldNumber; -const int ClubBan::kCreationTimeFieldNumber; -#endif // !_MSC_VER - -ClubBan::ClubBan() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubBan) -} - -void ClubBan::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - creator_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); -} - -ClubBan::ClubBan(const ClubBan& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubBan) -} - -void ClubBan::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = NULL; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - creator_ = NULL; - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - creation_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubBan::~ClubBan() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubBan) - SharedDtor(); -} - -void ClubBan::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete reason_; - } - if (this != default_instance_) { - delete id_; - delete creator_; - } -} - -void ClubBan::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubBan::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubBan_descriptor_; -} - -const ClubBan& ClubBan::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fban_2eproto(); - return *default_instance_; -} - -ClubBan* ClubBan::default_instance_ = NULL; - -ClubBan* ClubBan::New() const { - return new ClubBan; -} - -void ClubBan::Swap(ClubBan* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubBan::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubBan_descriptor_; - metadata.reflection = ClubBan_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_ban.pb.h b/src/server/proto/Client/club_ban.pb.h deleted file mode 100644 index 735539a5e71..00000000000 --- a/src/server/proto/Client/club_ban.pb.h +++ /dev/null @@ -1,738 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_ban.proto - -#ifndef PROTOBUF_club_5fban_2eproto__INCLUDED -#define PROTOBUF_club_5fban_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "global_extensions/field_options.pb.h" -#include "club_member.pb.h" -#include "api/client/v2/attribute_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto(); -void protobuf_AssignDesc_club_5fban_2eproto(); -void protobuf_ShutdownFile_club_5fban_2eproto(); - -class AddBanOptions; -class ClubBan; - -// =================================================================== - -class TC_PROTO_API AddBanOptions : public ::google::protobuf::Message { - public: - AddBanOptions(); - virtual ~AddBanOptions(); - - AddBanOptions(const AddBanOptions& from); - - inline AddBanOptions& operator=(const AddBanOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AddBanOptions& default_instance(); - - void Swap(AddBanOptions* other); - - // implements Message ---------------------------------------------- - - AddBanOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId target_id = 1; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string reason = 3; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 3; - inline const ::std::string& reason() const; - inline void set_reason(const ::std::string& value); - inline void set_reason(const char* value); - inline void set_reason(const char* value, size_t size); - inline ::std::string* mutable_reason(); - inline ::std::string* release_reason(); - inline void set_allocated_reason(::std::string* reason); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AddBanOptions) - private: - inline void set_has_target_id(); - inline void clear_has_target_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* target_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto(); - friend void protobuf_AssignDesc_club_5fban_2eproto(); - friend void protobuf_ShutdownFile_club_5fban_2eproto(); - - void InitAsDefaultInstance(); - static AddBanOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubBan : public ::google::protobuf::Message { - public: - ClubBan(); - virtual ~ClubBan(); - - ClubBan(const ClubBan& from); - - inline ClubBan& operator=(const ClubBan& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubBan& default_instance(); - - void Swap(ClubBan* other); - - // implements Message ---------------------------------------------- - - ClubBan* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // optional string battle_tag = 2; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 2; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // optional .bgs.protocol.club.v1.MemberDescription creator = 3; - inline bool has_creator() const; - inline void clear_creator(); - static const int kCreatorFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberDescription& creator() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_creator(); - inline ::bgs::protocol::club::v1::MemberDescription* release_creator(); - inline void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator); - - // repeated .bgs.protocol.v2.Attribute attribute = 4; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 4; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string reason = 5; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 5; - inline const ::std::string& reason() const; - inline void set_reason(const ::std::string& value); - inline void set_reason(const char* value); - inline void set_reason(const char* value, size_t size); - inline ::std::string* mutable_reason(); - inline ::std::string* release_reason(); - inline void set_allocated_reason(::std::string* reason); - - // optional uint64 creation_time = 6; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 6; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubBan) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - inline void set_has_creator(); - inline void clear_has_creator(); - inline void set_has_reason(); - inline void clear_has_reason(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - ::std::string* battle_tag_; - ::bgs::protocol::club::v1::MemberDescription* creator_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* reason_; - ::google::protobuf::uint64 creation_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fban_2eproto(); - friend void protobuf_AssignDesc_club_5fban_2eproto(); - friend void protobuf_ShutdownFile_club_5fban_2eproto(); - - void InitAsDefaultInstance(); - static ClubBan* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// AddBanOptions - -// optional .bgs.protocol.club.v1.MemberId target_id = 1; -inline bool AddBanOptions::has_target_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AddBanOptions::set_has_target_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AddBanOptions::clear_has_target_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AddBanOptions::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AddBanOptions::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanOptions.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddBanOptions.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddBanOptions::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void AddBanOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanOptions.target_id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int AddBanOptions::attribute_size() const { - return attribute_.size(); -} -inline void AddBanOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& AddBanOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* AddBanOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddBanOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* AddBanOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.AddBanOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -AddBanOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.AddBanOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -AddBanOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.AddBanOptions.attribute) - return &attribute_; -} - -// optional string reason = 3; -inline bool AddBanOptions::has_reason() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AddBanOptions::set_has_reason() { - _has_bits_[0] |= 0x00000004u; -} -inline void AddBanOptions::clear_has_reason() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AddBanOptions::clear_reason() { - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_->clear(); - } - clear_has_reason(); -} -inline const ::std::string& AddBanOptions::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanOptions.reason) - return *reason_; -} -inline void AddBanOptions::set_reason(const ::std::string& value) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AddBanOptions.reason) -} -inline void AddBanOptions::set_reason(const char* value) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.AddBanOptions.reason) -} -inline void AddBanOptions::set_reason(const char* value, size_t size) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.AddBanOptions.reason) -} -inline ::std::string* AddBanOptions::mutable_reason() { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddBanOptions.reason) - return reason_; -} -inline ::std::string* AddBanOptions::release_reason() { - clear_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = reason_; - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void AddBanOptions::set_allocated_reason(::std::string* reason) { - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete reason_; - } - if (reason) { - set_has_reason(); - reason_ = reason; - } else { - clear_has_reason(); - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanOptions.reason) -} - -// ------------------------------------------------------------------- - -// ClubBan - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool ClubBan::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubBan::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubBan::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubBan::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubBan::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubBan::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBan.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubBan::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void ClubBan::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.id) -} - -// optional string battle_tag = 2; -inline bool ClubBan::has_battle_tag() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubBan::set_has_battle_tag() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubBan::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubBan::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& ClubBan::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.battle_tag) - return *battle_tag_; -} -inline void ClubBan::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubBan.battle_tag) -} -inline void ClubBan::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubBan.battle_tag) -} -inline void ClubBan::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubBan.battle_tag) -} -inline ::std::string* ClubBan::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBan.battle_tag) - return battle_tag_; -} -inline ::std::string* ClubBan::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubBan::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.battle_tag) -} - -// optional .bgs.protocol.club.v1.MemberDescription creator = 3; -inline bool ClubBan::has_creator() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubBan::set_has_creator() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubBan::clear_has_creator() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubBan::clear_creator() { - if (creator_ != NULL) creator_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_creator(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubBan::creator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.creator) - return creator_ != NULL ? *creator_ : *default_instance_->creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubBan::mutable_creator() { - set_has_creator(); - if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBan.creator) - return creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubBan::release_creator() { - clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; - creator_ = NULL; - return temp; -} -inline void ClubBan::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { - delete creator_; - creator_ = creator; - if (creator) { - set_has_creator(); - } else { - clear_has_creator(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.creator) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 4; -inline int ClubBan::attribute_size() const { - return attribute_.size(); -} -inline void ClubBan::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubBan::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubBan::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBan.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubBan::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubBan.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubBan::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubBan.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubBan::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubBan.attribute) - return &attribute_; -} - -// optional string reason = 5; -inline bool ClubBan::has_reason() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubBan::set_has_reason() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubBan::clear_has_reason() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubBan::clear_reason() { - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_->clear(); - } - clear_has_reason(); -} -inline const ::std::string& ClubBan::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.reason) - return *reason_; -} -inline void ClubBan::set_reason(const ::std::string& value) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubBan.reason) -} -inline void ClubBan::set_reason(const char* value) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubBan.reason) -} -inline void ClubBan::set_reason(const char* value, size_t size) { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - reason_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubBan.reason) -} -inline ::std::string* ClubBan::mutable_reason() { - set_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - reason_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBan.reason) - return reason_; -} -inline ::std::string* ClubBan::release_reason() { - clear_has_reason(); - if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = reason_; - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubBan::set_allocated_reason(::std::string* reason) { - if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete reason_; - } - if (reason) { - set_has_reason(); - reason_ = reason; - } else { - clear_has_reason(); - reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBan.reason) -} - -// optional uint64 creation_time = 6; -inline bool ClubBan::has_creation_time() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubBan::set_has_creation_time() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubBan::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubBan::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 ClubBan::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBan.creation_time) - return creation_time_; -} -inline void ClubBan::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubBan.creation_time) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fban_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_core.pb.cc b/src/server/proto/Client/club_core.pb.cc deleted file mode 100644 index 6f1d25cb6c4..00000000000 --- a/src/server/proto/Client/club_core.pb.cc +++ /dev/null @@ -1,1787 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_core.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_core.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* AvatarId_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AvatarId_reflection_ = NULL; -const ::google::protobuf::Descriptor* SetBroadcastOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SetBroadcastOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* Broadcast_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Broadcast_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubCreateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubCreateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* Club_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Club_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubDescription_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubDescription_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubView_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubView_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubStateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubStateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubStateAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubStateAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamSettings_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamSettings_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSettings_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSettings_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSettingsOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSettingsOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSettingsAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSettingsAssignment_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fcore_2eproto() { - protobuf_AddDesc_club_5fcore_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_core.proto"); - GOOGLE_CHECK(file != NULL); - AvatarId_descriptor_ = file->message_type(0); - static const int AvatarId_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, id_), - }; - AvatarId_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AvatarId_descriptor_, - AvatarId::default_instance_, - AvatarId_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AvatarId, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AvatarId)); - SetBroadcastOptions_descriptor_ = file->message_type(1); - static const int SetBroadcastOptions_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, content_), - }; - SetBroadcastOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SetBroadcastOptions_descriptor_, - SetBroadcastOptions::default_instance_, - SetBroadcastOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetBroadcastOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SetBroadcastOptions)); - Broadcast_descriptor_ = file->message_type(2); - static const int Broadcast_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, content_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creator_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, creation_time_), - }; - Broadcast_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Broadcast_descriptor_, - Broadcast::default_instance_, - Broadcast_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Broadcast, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Broadcast)); - ClubCreateOptions_descriptor_ = file->message_type(3); - static const int ClubCreateOptions_offsets_[14] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, short_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, visibility_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, search_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, timezone_), - }; - ClubCreateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubCreateOptions_descriptor_, - ClubCreateOptions::default_instance_, - ClubCreateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubCreateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubCreateOptions)); - Club_descriptor_ = file->message_type(4); - static const int Club_offsets_[19] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, broadcast_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, visibility_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, member_count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, stream_position_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, role_set_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, leader_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, short_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, search_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, timezone_), - }; - Club_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Club_descriptor_, - Club::default_instance_, - Club_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Club, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Club)); - ClubDescription_descriptor_ = file->message_type(5); - static const int ClubDescription_offsets_[13] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, visibility_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, member_count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, leader_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, timezone_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, tag_), - }; - ClubDescription_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubDescription_descriptor_, - ClubDescription::default_instance_, - ClubDescription_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubDescription, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubDescription)); - ClubView_descriptor_ = file->message_type(6); - static const int ClubView_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, marker_), - }; - ClubView_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubView_descriptor_, - ClubView::default_instance_, - ClubView_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubView, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubView)); - ClubStateOptions_descriptor_ = file->message_type(7); - static const int ClubStateOptions_offsets_[13] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, broadcast_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, stream_position_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, short_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, visibility_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, timezone_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, tag_options_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, search_attribute_), - }; - ClubStateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubStateOptions_descriptor_, - ClubStateOptions::default_instance_, - ClubStateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubStateOptions)); - ClubStateAssignment_descriptor_ = file->message_type(8); - static const int ClubStateAssignment_offsets_[15] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, broadcast_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, stream_position_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, short_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, visibility_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, locale_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, timezone_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, search_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, tag_cleared_), - }; - ClubStateAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubStateAssignment_descriptor_, - ClubStateAssignment::default_instance_, - ClubStateAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStateAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubStateAssignment)); - StreamSettings_descriptor_ = file->message_type(9); - static const int StreamSettings_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, filter_), - }; - StreamSettings_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamSettings_descriptor_, - StreamSettings::default_instance_, - StreamSettings_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamSettings, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamSettings)); - ClubSettings_descriptor_ = file->message_type(10); - static const int ClubSettings_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, stream_notification_filter_all_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, push_notification_filter_all_), - }; - ClubSettings_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSettings_descriptor_, - ClubSettings::default_instance_, - ClubSettings_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettings, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSettings)); - ClubSettingsOptions_descriptor_ = file->message_type(11); - static const int ClubSettingsOptions_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, settings_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, version_), - }; - ClubSettingsOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSettingsOptions_descriptor_, - ClubSettingsOptions::default_instance_, - ClubSettingsOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSettingsOptions)); - ClubSettingsAssignment_descriptor_ = file->message_type(12); - static const int ClubSettingsAssignment_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, settings_), - }; - ClubSettingsAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSettingsAssignment_descriptor_, - ClubSettingsAssignment::default_instance_, - ClubSettingsAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSettingsAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSettingsAssignment)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fcore_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AvatarId_descriptor_, &AvatarId::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SetBroadcastOptions_descriptor_, &SetBroadcastOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Broadcast_descriptor_, &Broadcast::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubCreateOptions_descriptor_, &ClubCreateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Club_descriptor_, &Club::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubDescription_descriptor_, &ClubDescription::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubView_descriptor_, &ClubView::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubStateOptions_descriptor_, &ClubStateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubStateAssignment_descriptor_, &ClubStateAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamSettings_descriptor_, &StreamSettings::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSettings_descriptor_, &ClubSettings::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSettingsOptions_descriptor_, &ClubSettingsOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSettingsAssignment_descriptor_, &ClubSettingsAssignment::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fcore_2eproto() { - delete AvatarId::default_instance_; - delete AvatarId_reflection_; - delete SetBroadcastOptions::default_instance_; - delete SetBroadcastOptions_reflection_; - delete Broadcast::default_instance_; - delete Broadcast_reflection_; - delete ClubCreateOptions::default_instance_; - delete ClubCreateOptions_reflection_; - delete Club::default_instance_; - delete Club_reflection_; - delete ClubDescription::default_instance_; - delete ClubDescription_reflection_; - delete ClubView::default_instance_; - delete ClubView_reflection_; - delete ClubStateOptions::default_instance_; - delete ClubStateOptions_reflection_; - delete ClubStateAssignment::default_instance_; - delete ClubStateAssignment_reflection_; - delete StreamSettings::default_instance_; - delete StreamSettings_reflection_; - delete ClubSettings::default_instance_; - delete ClubSettings_reflection_; - delete ClubSettingsOptions::default_instance_; - delete ClubSettingsOptions_reflection_; - delete ClubSettingsAssignment::default_instance_; - delete ClubSettingsAssignment_reflection_; -} - -void protobuf_AddDesc_club_5fcore_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5frole_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\017club_core.proto\022\024bgs.protocol.club.v1\032" - "\017club_type.proto\032\017club_enum.proto\032\017club_" - "role.proto\032\021club_member.proto\032\021club_stre" - "am.proto\032\016club_tag.proto\032#api/client/v2/" - "attribute_types.proto\032\026event_view_types." - "proto\"\026\n\010AvatarId\022\n\n\002id\030\001 \001(\r\"&\n\023SetBroa" - "dcastOptions\022\017\n\007content\030\001 \001(\t\"m\n\tBroadca" - "st\022\017\n\007content\030\001 \001(\t\0228\n\007creator\030\002 \001(\0132\'.b" - "gs.protocol.club.v1.MemberDescription\022\025\n" - "\rcreation_time\030\003 \001(\004\"\326\004\n\021ClubCreateOptio" - "ns\0222\n\004type\030\001 \001(\0132$.bgs.protocol.club.v1." - "UniqueClubType\022-\n\tattribute\030\002 \003(\0132\032.bgs." - "protocol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013d" - "escription\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.p" - "rotocol.club.v1.AvatarId\0229\n\rprivacy_leve" - "l\030\006 \001(\0162\".bgs.protocol.club.v1.PrivacyLe" - "vel\022\022\n\nshort_name\030\007 \001(\t\022\?\n\020visibility_le" - "vel\030\010 \001(\0162%.bgs.protocol.club.v1.Visibil" - "ityLevel\0229\n\006member\030\n \001(\0132).bgs.protocol." - "club.v1.CreateMemberOptions\0229\n\006stream\030\013 " - "\001(\0132).bgs.protocol.club.v1.CreateStreamO" - "ptions\022-\n\003tag\030\014 \001(\0132 .bgs.protocol.club." - "v1.TagOptions\0224\n\020search_attribute\030\r \003(\0132" - "\032.bgs.protocol.v2.Attribute\022\016\n\006locale\030\016 " - "\001(\t\022\020\n\010timezone\030\017 \001(\t\"\360\005\n\004Club\022\n\n\002id\030\001 \001" - "(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club.v1." - "UniqueClubType\022-\n\tattribute\030\003 \003(\0132\032.bgs." - "protocol.v2.Attribute\022\014\n\004name\030\004 \001(\t\022\023\n\013d" - "escription\030\005 \001(\t\0222\n\tbroadcast\030\006 \001(\0132\037.bg" - "s.protocol.club.v1.Broadcast\022.\n\006avatar\030\007" - " \001(\0132\036.bgs.protocol.club.v1.AvatarId\0229\n\r" - "privacy_level\030\010 \001(\0162\".bgs.protocol.club." - "v1.PrivacyLevel\022\?\n\020visibility_level\030\t \001(" - "\0162%.bgs.protocol.club.v1.VisibilityLevel" - "\022\024\n\014member_count\030\n \001(\r\022\025\n\rcreation_time\030" - "\013 \001(\004\022=\n\017stream_position\030\014 \001(\0132$.bgs.pro" - "tocol.club.v1.StreamPosition\0223\n\010role_set" - "\030\r \001(\0132!.bgs.protocol.club.v1.ClubRoleSe" - "t\0227\n\006leader\030\016 \003(\0132\'.bgs.protocol.club.v1" - ".MemberDescription\022\022\n\nshort_name\030\017 \001(\t\0224" - "\n\020search_attribute\030\020 \003(\0132\032.bgs.protocol." - "v2.Attribute\0220\n\003tag\030\021 \003(\0132#.bgs.protocol" - ".club.v1.TagIdentifier\022\016\n\006locale\030\022 \001(\t\022\020" - "\n\010timezone\030\023 \001(\t\"\332\003\n\017ClubDescription\022\n\n\002" - "id\030\001 \001(\004\0222\n\004type\030\002 \001(\0132$.bgs.protocol.cl" - "ub.v1.UniqueClubType\022\014\n\004name\030\003 \001(\t\022\023\n\013de" - "scription\030\004 \001(\t\022.\n\006avatar\030\005 \001(\0132\036.bgs.pr" - "otocol.club.v1.AvatarId\0229\n\rprivacy_level" - "\030\006 \001(\0162\".bgs.protocol.club.v1.PrivacyLev" - "el\022\?\n\020visibility_level\030\007 \001(\0162%.bgs.proto" - "col.club.v1.VisibilityLevel\022\024\n\014member_co" - "unt\030\010 \001(\r\0227\n\006leader\030\t \003(\0132\'.bgs.protocol" - ".club.v1.MemberDescription\022\025\n\rcreation_t" - "ime\030\n \001(\004\022\020\n\010timezone\030\013 \001(\t\022\016\n\006locale\030\014 " - "\001(\t\0220\n\003tag\030\r \003(\0132#.bgs.protocol.club.v1." - "TagIdentifier\"E\n\010ClubView\022\017\n\007club_id\030\001 \001" - "(\004\022(\n\006marker\030\002 \001(\0132\030.bgs.protocol.ViewMa" - "rker\"\260\004\n\020ClubStateOptions\022-\n\tattribute\030\001" - " \003(\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name" - "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022<\n\tbroadcast" - "\030\004 \001(\0132).bgs.protocol.club.v1.SetBroadca" - "stOptions\022.\n\006avatar\030\005 \001(\0132\036.bgs.protocol" - ".club.v1.AvatarId\0229\n\rprivacy_level\030\006 \001(\016" - "2\".bgs.protocol.club.v1.PrivacyLevel\022=\n\017" - "stream_position\030\007 \001(\0132$.bgs.protocol.clu" - "b.v1.StreamPosition\022\022\n\nshort_name\030\010 \001(\t\022" - "\?\n\020visibility_level\030\t \001(\0162%.bgs.protocol" - ".club.v1.VisibilityLevel\022\016\n\006locale\030\n \001(\t" - "\022\020\n\010timezone\030\013 \001(\t\0225\n\013tag_options\030\014 \001(\0132" - " .bgs.protocol.club.v1.TagOptions\0224\n\020sea" - "rch_attribute\030\r \003(\0132\032.bgs.protocol.v2.At" - "tribute\"\312\004\n\023ClubStateAssignment\022\017\n\007club_" - "id\030\001 \001(\004\022-\n\tattribute\030\002 \003(\0132\032.bgs.protoc" - "ol.v2.Attribute\022\014\n\004name\030\003 \001(\t\022\023\n\013descrip" - "tion\030\004 \001(\t\0222\n\tbroadcast\030\005 \001(\0132\037.bgs.prot" - "ocol.club.v1.Broadcast\022.\n\006avatar\030\006 \001(\0132\036" - ".bgs.protocol.club.v1.AvatarId\0229\n\rprivac" - "y_level\030\007 \001(\0162\".bgs.protocol.club.v1.Pri" - "vacyLevel\022=\n\017stream_position\030\010 \001(\0132$.bgs" - ".protocol.club.v1.StreamPosition\022\022\n\nshor" - "t_name\030\t \001(\t\022\?\n\020visibility_level\030\n \001(\0162%" - ".bgs.protocol.club.v1.VisibilityLevel\022\016\n" - "\006locale\030\013 \001(\t\022\020\n\010timezone\030\014 \001(\t\0220\n\003tag\030\r" - " \003(\0132#.bgs.protocol.club.v1.TagIdentifie" - "r\0224\n\020search_attribute\030\016 \003(\0132\032.bgs.protoc" - "ol.v2.Attribute\022\023\n\013tag_cleared\030\017 \001(\010\"c\n\016" - "StreamSettings\022\021\n\tstream_id\030\001 \001(\004\022>\n\006fil" - "ter\030\002 \001(\0162..bgs.protocol.club.v1.StreamN" - "otificationFilter\"\301\001\n\014ClubSettings\0224\n\006st" - "ream\030\001 \003(\0132$.bgs.protocol.club.v1.Stream" - "Settings\022&\n\036stream_notification_filter_a" - "ll\030\002 \001(\010\022-\n\tattribute\030\003 \003(\0132\032.bgs.protoc" - "ol.v2.Attribute\022$\n\034push_notification_fil" - "ter_all\030\004 \001(\010\"\226\001\n\023ClubSettingsOptions\0228\n" - "\006stream\030\001 \003(\0132$.bgs.protocol.club.v1.Str" - "eamSettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bgs." - "protocol.club.v1.ClubSettings\022\017\n\007version" - "\030\003 \001(\r\"\210\001\n\026ClubSettingsAssignment\0228\n\006str" - "eam\030\001 \003(\0132$.bgs.protocol.club.v1.StreamS" - "ettingsB\002\030\001\0224\n\010settings\030\002 \001(\0132\".bgs.prot" - "ocol.club.v1.ClubSettingsB\002H\002", 4029); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_core.proto", &protobuf_RegisterTypes); - AvatarId::default_instance_ = new AvatarId(); - SetBroadcastOptions::default_instance_ = new SetBroadcastOptions(); - Broadcast::default_instance_ = new Broadcast(); - ClubCreateOptions::default_instance_ = new ClubCreateOptions(); - Club::default_instance_ = new Club(); - ClubDescription::default_instance_ = new ClubDescription(); - ClubView::default_instance_ = new ClubView(); - ClubStateOptions::default_instance_ = new ClubStateOptions(); - ClubStateAssignment::default_instance_ = new ClubStateAssignment(); - StreamSettings::default_instance_ = new StreamSettings(); - ClubSettings::default_instance_ = new ClubSettings(); - ClubSettingsOptions::default_instance_ = new ClubSettingsOptions(); - ClubSettingsAssignment::default_instance_ = new ClubSettingsAssignment(); - AvatarId::default_instance_->InitAsDefaultInstance(); - SetBroadcastOptions::default_instance_->InitAsDefaultInstance(); - Broadcast::default_instance_->InitAsDefaultInstance(); - ClubCreateOptions::default_instance_->InitAsDefaultInstance(); - Club::default_instance_->InitAsDefaultInstance(); - ClubDescription::default_instance_->InitAsDefaultInstance(); - ClubView::default_instance_->InitAsDefaultInstance(); - ClubStateOptions::default_instance_->InitAsDefaultInstance(); - ClubStateAssignment::default_instance_->InitAsDefaultInstance(); - StreamSettings::default_instance_->InitAsDefaultInstance(); - ClubSettings::default_instance_->InitAsDefaultInstance(); - ClubSettingsOptions::default_instance_->InitAsDefaultInstance(); - ClubSettingsAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fcore_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fcore_2eproto { - StaticDescriptorInitializer_club_5fcore_2eproto() { - protobuf_AddDesc_club_5fcore_2eproto(); - } -} static_descriptor_initializer_club_5fcore_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int AvatarId::kIdFieldNumber; -#endif // !_MSC_VER - -AvatarId::AvatarId() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AvatarId) -} - -void AvatarId::InitAsDefaultInstance() { -} - -AvatarId::AvatarId(const AvatarId& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AvatarId) -} - -void AvatarId::SharedCtor() { - _cached_size_ = 0; - id_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AvatarId::~AvatarId() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AvatarId) - SharedDtor(); -} - -void AvatarId::SharedDtor() { - if (this != default_instance_) { - } -} - -void AvatarId::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AvatarId::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AvatarId_descriptor_; -} - -const AvatarId& AvatarId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -AvatarId* AvatarId::default_instance_ = NULL; - -AvatarId* AvatarId::New() const { - return new AvatarId; -} - -void AvatarId::Swap(AvatarId* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AvatarId::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AvatarId_descriptor_; - metadata.reflection = AvatarId_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SetBroadcastOptions::kContentFieldNumber; -#endif // !_MSC_VER - -SetBroadcastOptions::SetBroadcastOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetBroadcastOptions) -} - -void SetBroadcastOptions::InitAsDefaultInstance() { -} - -SetBroadcastOptions::SetBroadcastOptions(const SetBroadcastOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetBroadcastOptions) -} - -void SetBroadcastOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SetBroadcastOptions::~SetBroadcastOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetBroadcastOptions) - SharedDtor(); -} - -void SetBroadcastOptions::SharedDtor() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (this != default_instance_) { - } -} - -void SetBroadcastOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetBroadcastOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SetBroadcastOptions_descriptor_; -} - -const SetBroadcastOptions& SetBroadcastOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -SetBroadcastOptions* SetBroadcastOptions::default_instance_ = NULL; - -SetBroadcastOptions* SetBroadcastOptions::New() const { - return new SetBroadcastOptions; -} - -void SetBroadcastOptions::Swap(SetBroadcastOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SetBroadcastOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SetBroadcastOptions_descriptor_; - metadata.reflection = SetBroadcastOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Broadcast::kContentFieldNumber; -const int Broadcast::kCreatorFieldNumber; -const int Broadcast::kCreationTimeFieldNumber; -#endif // !_MSC_VER - -Broadcast::Broadcast() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Broadcast) -} - -void Broadcast::InitAsDefaultInstance() { - creator_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); -} - -Broadcast::Broadcast(const Broadcast& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.Broadcast) -} - -void Broadcast::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - creator_ = NULL; - creation_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Broadcast::~Broadcast() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Broadcast) - SharedDtor(); -} - -void Broadcast::SharedDtor() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (this != default_instance_) { - delete creator_; - } -} - -void Broadcast::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Broadcast::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Broadcast_descriptor_; -} - -const Broadcast& Broadcast::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -Broadcast* Broadcast::default_instance_ = NULL; - -Broadcast* Broadcast::New() const { - return new Broadcast; -} - -void Broadcast::Swap(Broadcast* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Broadcast::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Broadcast_descriptor_; - metadata.reflection = Broadcast_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubCreateOptions::kTypeFieldNumber; -const int ClubCreateOptions::kAttributeFieldNumber; -const int ClubCreateOptions::kNameFieldNumber; -const int ClubCreateOptions::kDescriptionFieldNumber; -const int ClubCreateOptions::kAvatarFieldNumber; -const int ClubCreateOptions::kPrivacyLevelFieldNumber; -const int ClubCreateOptions::kShortNameFieldNumber; -const int ClubCreateOptions::kVisibilityLevelFieldNumber; -const int ClubCreateOptions::kMemberFieldNumber; -const int ClubCreateOptions::kStreamFieldNumber; -const int ClubCreateOptions::kTagFieldNumber; -const int ClubCreateOptions::kSearchAttributeFieldNumber; -const int ClubCreateOptions::kLocaleFieldNumber; -const int ClubCreateOptions::kTimezoneFieldNumber; -#endif // !_MSC_VER - -ClubCreateOptions::ClubCreateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubCreateOptions) -} - -void ClubCreateOptions::InitAsDefaultInstance() { - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); - avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); - member_ = const_cast< ::bgs::protocol::club::v1::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::default_instance()); - stream_ = const_cast< ::bgs::protocol::club::v1::CreateStreamOptions*>(&::bgs::protocol::club::v1::CreateStreamOptions::default_instance()); - tag_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); -} - -ClubCreateOptions::ClubCreateOptions(const ClubCreateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubCreateOptions) -} - -void ClubCreateOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - type_ = NULL; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - avatar_ = NULL; - privacy_level_ = 0; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - visibility_level_ = 0; - member_ = NULL; - stream_ = NULL; - tag_ = NULL; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubCreateOptions::~ClubCreateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubCreateOptions) - SharedDtor(); -} - -void ClubCreateOptions::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (this != default_instance_) { - delete type_; - delete avatar_; - delete member_; - delete stream_; - delete tag_; - } -} - -void ClubCreateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubCreateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubCreateOptions_descriptor_; -} - -const ClubCreateOptions& ClubCreateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubCreateOptions* ClubCreateOptions::default_instance_ = NULL; - -ClubCreateOptions* ClubCreateOptions::New() const { - return new ClubCreateOptions; -} - -void ClubCreateOptions::Swap(ClubCreateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubCreateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubCreateOptions_descriptor_; - metadata.reflection = ClubCreateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Club::kIdFieldNumber; -const int Club::kTypeFieldNumber; -const int Club::kAttributeFieldNumber; -const int Club::kNameFieldNumber; -const int Club::kDescriptionFieldNumber; -const int Club::kBroadcastFieldNumber; -const int Club::kAvatarFieldNumber; -const int Club::kPrivacyLevelFieldNumber; -const int Club::kVisibilityLevelFieldNumber; -const int Club::kMemberCountFieldNumber; -const int Club::kCreationTimeFieldNumber; -const int Club::kStreamPositionFieldNumber; -const int Club::kRoleSetFieldNumber; -const int Club::kLeaderFieldNumber; -const int Club::kShortNameFieldNumber; -const int Club::kSearchAttributeFieldNumber; -const int Club::kTagFieldNumber; -const int Club::kLocaleFieldNumber; -const int Club::kTimezoneFieldNumber; -#endif // !_MSC_VER - -Club::Club() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Club) -} - -void Club::InitAsDefaultInstance() { - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); - broadcast_ = const_cast< ::bgs::protocol::club::v1::Broadcast*>(&::bgs::protocol::club::v1::Broadcast::default_instance()); - avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); - stream_position_ = const_cast< ::bgs::protocol::club::v1::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::default_instance()); - role_set_ = const_cast< ::bgs::protocol::club::v1::ClubRoleSet*>(&::bgs::protocol::club::v1::ClubRoleSet::default_instance()); -} - -Club::Club(const Club& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.Club) -} - -void Club::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - type_ = NULL; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - broadcast_ = NULL; - avatar_ = NULL; - privacy_level_ = 0; - visibility_level_ = 0; - member_count_ = 0u; - creation_time_ = GOOGLE_ULONGLONG(0); - stream_position_ = NULL; - role_set_ = NULL; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Club::~Club() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Club) - SharedDtor(); -} - -void Club::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (this != default_instance_) { - delete type_; - delete broadcast_; - delete avatar_; - delete stream_position_; - delete role_set_; - } -} - -void Club::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Club::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Club_descriptor_; -} - -const Club& Club::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -Club* Club::default_instance_ = NULL; - -Club* Club::New() const { - return new Club; -} - -void Club::Swap(Club* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Club::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Club_descriptor_; - metadata.reflection = Club_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubDescription::kIdFieldNumber; -const int ClubDescription::kTypeFieldNumber; -const int ClubDescription::kNameFieldNumber; -const int ClubDescription::kDescriptionFieldNumber; -const int ClubDescription::kAvatarFieldNumber; -const int ClubDescription::kPrivacyLevelFieldNumber; -const int ClubDescription::kVisibilityLevelFieldNumber; -const int ClubDescription::kMemberCountFieldNumber; -const int ClubDescription::kLeaderFieldNumber; -const int ClubDescription::kCreationTimeFieldNumber; -const int ClubDescription::kTimezoneFieldNumber; -const int ClubDescription::kLocaleFieldNumber; -const int ClubDescription::kTagFieldNumber; -#endif // !_MSC_VER - -ClubDescription::ClubDescription() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubDescription) -} - -void ClubDescription::InitAsDefaultInstance() { - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); - avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); -} - -ClubDescription::ClubDescription(const ClubDescription& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubDescription) -} - -void ClubDescription::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - type_ = NULL; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - avatar_ = NULL; - privacy_level_ = 0; - visibility_level_ = 0; - member_count_ = 0u; - creation_time_ = GOOGLE_ULONGLONG(0); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubDescription::~ClubDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubDescription) - SharedDtor(); -} - -void ClubDescription::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (this != default_instance_) { - delete type_; - delete avatar_; - } -} - -void ClubDescription::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubDescription::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubDescription_descriptor_; -} - -const ClubDescription& ClubDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubDescription* ClubDescription::default_instance_ = NULL; - -ClubDescription* ClubDescription::New() const { - return new ClubDescription; -} - -void ClubDescription::Swap(ClubDescription* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubDescription::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubDescription_descriptor_; - metadata.reflection = ClubDescription_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubView::kClubIdFieldNumber; -const int ClubView::kMarkerFieldNumber; -#endif // !_MSC_VER - -ClubView::ClubView() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubView) -} - -void ClubView::InitAsDefaultInstance() { - marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); -} - -ClubView::ClubView(const ClubView& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubView) -} - -void ClubView::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - marker_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubView::~ClubView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubView) - SharedDtor(); -} - -void ClubView::SharedDtor() { - if (this != default_instance_) { - delete marker_; - } -} - -void ClubView::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubView::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubView_descriptor_; -} - -const ClubView& ClubView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubView* ClubView::default_instance_ = NULL; - -ClubView* ClubView::New() const { - return new ClubView; -} - -void ClubView::Swap(ClubView* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubView::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubView_descriptor_; - metadata.reflection = ClubView_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubStateOptions::kAttributeFieldNumber; -const int ClubStateOptions::kNameFieldNumber; -const int ClubStateOptions::kDescriptionFieldNumber; -const int ClubStateOptions::kBroadcastFieldNumber; -const int ClubStateOptions::kAvatarFieldNumber; -const int ClubStateOptions::kPrivacyLevelFieldNumber; -const int ClubStateOptions::kStreamPositionFieldNumber; -const int ClubStateOptions::kShortNameFieldNumber; -const int ClubStateOptions::kVisibilityLevelFieldNumber; -const int ClubStateOptions::kLocaleFieldNumber; -const int ClubStateOptions::kTimezoneFieldNumber; -const int ClubStateOptions::kTagOptionsFieldNumber; -const int ClubStateOptions::kSearchAttributeFieldNumber; -#endif // !_MSC_VER - -ClubStateOptions::ClubStateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStateOptions) -} - -void ClubStateOptions::InitAsDefaultInstance() { - broadcast_ = const_cast< ::bgs::protocol::club::v1::SetBroadcastOptions*>(&::bgs::protocol::club::v1::SetBroadcastOptions::default_instance()); - avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); - stream_position_ = const_cast< ::bgs::protocol::club::v1::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::default_instance()); - tag_options_ = const_cast< ::bgs::protocol::club::v1::TagOptions*>(&::bgs::protocol::club::v1::TagOptions::default_instance()); -} - -ClubStateOptions::ClubStateOptions(const ClubStateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStateOptions) -} - -void ClubStateOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - broadcast_ = NULL; - avatar_ = NULL; - privacy_level_ = 0; - stream_position_ = NULL; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - visibility_level_ = 0; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - tag_options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubStateOptions::~ClubStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStateOptions) - SharedDtor(); -} - -void ClubStateOptions::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (this != default_instance_) { - delete broadcast_; - delete avatar_; - delete stream_position_; - delete tag_options_; - } -} - -void ClubStateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubStateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubStateOptions_descriptor_; -} - -const ClubStateOptions& ClubStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubStateOptions* ClubStateOptions::default_instance_ = NULL; - -ClubStateOptions* ClubStateOptions::New() const { - return new ClubStateOptions; -} - -void ClubStateOptions::Swap(ClubStateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubStateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubStateOptions_descriptor_; - metadata.reflection = ClubStateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubStateAssignment::kClubIdFieldNumber; -const int ClubStateAssignment::kAttributeFieldNumber; -const int ClubStateAssignment::kNameFieldNumber; -const int ClubStateAssignment::kDescriptionFieldNumber; -const int ClubStateAssignment::kBroadcastFieldNumber; -const int ClubStateAssignment::kAvatarFieldNumber; -const int ClubStateAssignment::kPrivacyLevelFieldNumber; -const int ClubStateAssignment::kStreamPositionFieldNumber; -const int ClubStateAssignment::kShortNameFieldNumber; -const int ClubStateAssignment::kVisibilityLevelFieldNumber; -const int ClubStateAssignment::kLocaleFieldNumber; -const int ClubStateAssignment::kTimezoneFieldNumber; -const int ClubStateAssignment::kTagFieldNumber; -const int ClubStateAssignment::kSearchAttributeFieldNumber; -const int ClubStateAssignment::kTagClearedFieldNumber; -#endif // !_MSC_VER - -ClubStateAssignment::ClubStateAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStateAssignment) -} - -void ClubStateAssignment::InitAsDefaultInstance() { - broadcast_ = const_cast< ::bgs::protocol::club::v1::Broadcast*>(&::bgs::protocol::club::v1::Broadcast::default_instance()); - avatar_ = const_cast< ::bgs::protocol::club::v1::AvatarId*>(&::bgs::protocol::club::v1::AvatarId::default_instance()); - stream_position_ = const_cast< ::bgs::protocol::club::v1::StreamPosition*>(&::bgs::protocol::club::v1::StreamPosition::default_instance()); -} - -ClubStateAssignment::ClubStateAssignment(const ClubStateAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStateAssignment) -} - -void ClubStateAssignment::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - broadcast_ = NULL; - avatar_ = NULL; - privacy_level_ = 0; - stream_position_ = NULL; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - visibility_level_ = 0; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - tag_cleared_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubStateAssignment::~ClubStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStateAssignment) - SharedDtor(); -} - -void ClubStateAssignment::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (this != default_instance_) { - delete broadcast_; - delete avatar_; - delete stream_position_; - } -} - -void ClubStateAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubStateAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubStateAssignment_descriptor_; -} - -const ClubStateAssignment& ClubStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubStateAssignment* ClubStateAssignment::default_instance_ = NULL; - -ClubStateAssignment* ClubStateAssignment::New() const { - return new ClubStateAssignment; -} - -void ClubStateAssignment::Swap(ClubStateAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubStateAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubStateAssignment_descriptor_; - metadata.reflection = ClubStateAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamSettings::kStreamIdFieldNumber; -const int StreamSettings::kFilterFieldNumber; -#endif // !_MSC_VER - -StreamSettings::StreamSettings() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamSettings) -} - -void StreamSettings::InitAsDefaultInstance() { -} - -StreamSettings::StreamSettings(const StreamSettings& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamSettings) -} - -void StreamSettings::SharedCtor() { - _cached_size_ = 0; - stream_id_ = GOOGLE_ULONGLONG(0); - filter_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamSettings::~StreamSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamSettings) - SharedDtor(); -} - -void StreamSettings::SharedDtor() { - if (this != default_instance_) { - } -} - -void StreamSettings::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamSettings::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamSettings_descriptor_; -} - -const StreamSettings& StreamSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -StreamSettings* StreamSettings::default_instance_ = NULL; - -StreamSettings* StreamSettings::New() const { - return new StreamSettings; -} - -void StreamSettings::Swap(StreamSettings* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamSettings::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamSettings_descriptor_; - metadata.reflection = StreamSettings_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSettings::kStreamFieldNumber; -const int ClubSettings::kStreamNotificationFilterAllFieldNumber; -const int ClubSettings::kAttributeFieldNumber; -const int ClubSettings::kPushNotificationFilterAllFieldNumber; -#endif // !_MSC_VER - -ClubSettings::ClubSettings() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettings) -} - -void ClubSettings::InitAsDefaultInstance() { -} - -ClubSettings::ClubSettings(const ClubSettings& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSettings) -} - -void ClubSettings::SharedCtor() { - _cached_size_ = 0; - stream_notification_filter_all_ = false; - push_notification_filter_all_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSettings::~ClubSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettings) - SharedDtor(); -} - -void ClubSettings::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubSettings::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSettings::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSettings_descriptor_; -} - -const ClubSettings& ClubSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubSettings* ClubSettings::default_instance_ = NULL; - -ClubSettings* ClubSettings::New() const { - return new ClubSettings; -} - -void ClubSettings::Swap(ClubSettings* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSettings::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSettings_descriptor_; - metadata.reflection = ClubSettings_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSettingsOptions::kStreamFieldNumber; -const int ClubSettingsOptions::kSettingsFieldNumber; -const int ClubSettingsOptions::kVersionFieldNumber; -#endif // !_MSC_VER - -ClubSettingsOptions::ClubSettingsOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettingsOptions) -} - -void ClubSettingsOptions::InitAsDefaultInstance() { - settings_ = const_cast< ::bgs::protocol::club::v1::ClubSettings*>(&::bgs::protocol::club::v1::ClubSettings::default_instance()); -} - -ClubSettingsOptions::ClubSettingsOptions(const ClubSettingsOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSettingsOptions) -} - -void ClubSettingsOptions::SharedCtor() { - _cached_size_ = 0; - settings_ = NULL; - version_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSettingsOptions::~ClubSettingsOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettingsOptions) - SharedDtor(); -} - -void ClubSettingsOptions::SharedDtor() { - if (this != default_instance_) { - delete settings_; - } -} - -void ClubSettingsOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSettingsOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSettingsOptions_descriptor_; -} - -const ClubSettingsOptions& ClubSettingsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubSettingsOptions* ClubSettingsOptions::default_instance_ = NULL; - -ClubSettingsOptions* ClubSettingsOptions::New() const { - return new ClubSettingsOptions; -} - -void ClubSettingsOptions::Swap(ClubSettingsOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSettingsOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSettingsOptions_descriptor_; - metadata.reflection = ClubSettingsOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSettingsAssignment::kStreamFieldNumber; -const int ClubSettingsAssignment::kSettingsFieldNumber; -#endif // !_MSC_VER - -ClubSettingsAssignment::ClubSettingsAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSettingsAssignment) -} - -void ClubSettingsAssignment::InitAsDefaultInstance() { - settings_ = const_cast< ::bgs::protocol::club::v1::ClubSettings*>(&::bgs::protocol::club::v1::ClubSettings::default_instance()); -} - -ClubSettingsAssignment::ClubSettingsAssignment(const ClubSettingsAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSettingsAssignment) -} - -void ClubSettingsAssignment::SharedCtor() { - _cached_size_ = 0; - settings_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSettingsAssignment::~ClubSettingsAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSettingsAssignment) - SharedDtor(); -} - -void ClubSettingsAssignment::SharedDtor() { - if (this != default_instance_) { - delete settings_; - } -} - -void ClubSettingsAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSettingsAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSettingsAssignment_descriptor_; -} - -const ClubSettingsAssignment& ClubSettingsAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fcore_2eproto(); - return *default_instance_; -} - -ClubSettingsAssignment* ClubSettingsAssignment::default_instance_ = NULL; - -ClubSettingsAssignment* ClubSettingsAssignment::New() const { - return new ClubSettingsAssignment; -} - -void ClubSettingsAssignment::Swap(ClubSettingsAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSettingsAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSettingsAssignment_descriptor_; - metadata.reflection = ClubSettingsAssignment_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_core.pb.h b/src/server/proto/Client/club_core.pb.h deleted file mode 100644 index 0059761594a..00000000000 --- a/src/server/proto/Client/club_core.pb.h +++ /dev/null @@ -1,6073 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_core.proto - -#ifndef PROTOBUF_club_5fcore_2eproto__INCLUDED -#define PROTOBUF_club_5fcore_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_type.pb.h" -#include "club_enum.pb.h" -#include "club_role.pb.h" -#include "club_member.pb.h" -#include "club_stream.pb.h" -#include "club_tag.pb.h" -#include "api/client/v2/attribute_types.pb.h" -#include "event_view_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); -void protobuf_AssignDesc_club_5fcore_2eproto(); -void protobuf_ShutdownFile_club_5fcore_2eproto(); - -class AvatarId; -class SetBroadcastOptions; -class Broadcast; -class ClubCreateOptions; -class Club; -class ClubDescription; -class ClubView; -class ClubStateOptions; -class ClubStateAssignment; -class StreamSettings; -class ClubSettings; -class ClubSettingsOptions; -class ClubSettingsAssignment; - -// =================================================================== - -class TC_PROTO_API AvatarId : public ::google::protobuf::Message { - public: - AvatarId(); - virtual ~AvatarId(); - - AvatarId(const AvatarId& from); - - inline AvatarId& operator=(const AvatarId& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AvatarId& default_instance(); - - void Swap(AvatarId* other); - - // implements Message ---------------------------------------------- - - AvatarId* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint32 id() const; - inline void set_id(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AvatarId) - private: - inline void set_has_id(); - inline void clear_has_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint32 id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static AvatarId* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message { - public: - SetBroadcastOptions(); - virtual ~SetBroadcastOptions(); - - SetBroadcastOptions(const SetBroadcastOptions& from); - - inline SetBroadcastOptions& operator=(const SetBroadcastOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SetBroadcastOptions& default_instance(); - - void Swap(SetBroadcastOptions* other); - - // implements Message ---------------------------------------------- - - SetBroadcastOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string content = 1; - inline bool has_content() const; - inline void clear_content(); - static const int kContentFieldNumber = 1; - inline const ::std::string& content() const; - inline void set_content(const ::std::string& value); - inline void set_content(const char* value); - inline void set_content(const char* value, size_t size); - inline ::std::string* mutable_content(); - inline ::std::string* release_content(); - inline void set_allocated_content(::std::string* content); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetBroadcastOptions) - private: - inline void set_has_content(); - inline void clear_has_content(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* content_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static SetBroadcastOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Broadcast : public ::google::protobuf::Message { - public: - Broadcast(); - virtual ~Broadcast(); - - Broadcast(const Broadcast& from); - - inline Broadcast& operator=(const Broadcast& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Broadcast& default_instance(); - - void Swap(Broadcast* other); - - // implements Message ---------------------------------------------- - - Broadcast* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string content = 1; - inline bool has_content() const; - inline void clear_content(); - static const int kContentFieldNumber = 1; - inline const ::std::string& content() const; - inline void set_content(const ::std::string& value); - inline void set_content(const char* value); - inline void set_content(const char* value, size_t size); - inline ::std::string* mutable_content(); - inline ::std::string* release_content(); - inline void set_allocated_content(::std::string* content); - - // optional .bgs.protocol.club.v1.MemberDescription creator = 2; - inline bool has_creator() const; - inline void clear_creator(); - static const int kCreatorFieldNumber = 2; - inline const ::bgs::protocol::club::v1::MemberDescription& creator() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_creator(); - inline ::bgs::protocol::club::v1::MemberDescription* release_creator(); - inline void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator); - - // optional uint64 creation_time = 3; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 3; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Broadcast) - private: - inline void set_has_content(); - inline void clear_has_content(); - inline void set_has_creator(); - inline void clear_has_creator(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* content_; - ::bgs::protocol::club::v1::MemberDescription* creator_; - ::google::protobuf::uint64 creation_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static Broadcast* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message { - public: - ClubCreateOptions(); - virtual ~ClubCreateOptions(); - - ClubCreateOptions(const ClubCreateOptions& from); - - inline ClubCreateOptions& operator=(const ClubCreateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubCreateOptions& default_instance(); - - void Swap(ClubCreateOptions* other); - - // implements Message ---------------------------------------------- - - ClubCreateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.UniqueClubType type = 1; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 1; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 3; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 3; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 4; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 4; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.club.v1.AvatarId avatar = 5; - inline bool has_avatar() const; - inline void clear_avatar(); - static const int kAvatarFieldNumber = 5; - inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; - inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); - inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); - inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); - - // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 6; - inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); - - // optional string short_name = 7; - inline bool has_short_name() const; - inline void clear_short_name(); - static const int kShortNameFieldNumber = 7; - inline const ::std::string& short_name() const; - inline void set_short_name(const ::std::string& value); - inline void set_short_name(const char* value); - inline void set_short_name(const char* value, size_t size); - inline ::std::string* mutable_short_name(); - inline ::std::string* release_short_name(); - inline void set_allocated_short_name(::std::string* short_name); - - // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; - inline bool has_visibility_level() const; - inline void clear_visibility_level(); - static const int kVisibilityLevelFieldNumber = 8; - inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; - inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); - - // optional .bgs.protocol.club.v1.CreateMemberOptions member = 10; - inline bool has_member() const; - inline void clear_member(); - static const int kMemberFieldNumber = 10; - inline const ::bgs::protocol::club::v1::CreateMemberOptions& member() const; - inline ::bgs::protocol::club::v1::CreateMemberOptions* mutable_member(); - inline ::bgs::protocol::club::v1::CreateMemberOptions* release_member(); - inline void set_allocated_member(::bgs::protocol::club::v1::CreateMemberOptions* member); - - // optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11; - inline bool has_stream() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 11; - inline const ::bgs::protocol::club::v1::CreateStreamOptions& stream() const; - inline ::bgs::protocol::club::v1::CreateStreamOptions* mutable_stream(); - inline ::bgs::protocol::club::v1::CreateStreamOptions* release_stream(); - inline void set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions* stream); - - // optional .bgs.protocol.club.v1.TagOptions tag = 12; - inline bool has_tag() const; - inline void clear_tag(); - static const int kTagFieldNumber = 12; - inline const ::bgs::protocol::club::v1::TagOptions& tag() const; - inline ::bgs::protocol::club::v1::TagOptions* mutable_tag(); - inline ::bgs::protocol::club::v1::TagOptions* release_tag(); - inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag); - - // repeated .bgs.protocol.v2.Attribute search_attribute = 13; - inline int search_attribute_size() const; - inline void clear_search_attribute(); - static const int kSearchAttributeFieldNumber = 13; - inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_search_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - search_attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_search_attribute(); - - // optional string locale = 14; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 14; - inline const ::std::string& locale() const; - inline void set_locale(const ::std::string& value); - inline void set_locale(const char* value); - inline void set_locale(const char* value, size_t size); - inline ::std::string* mutable_locale(); - inline ::std::string* release_locale(); - inline void set_allocated_locale(::std::string* locale); - - // optional string timezone = 15; - inline bool has_timezone() const; - inline void clear_timezone(); - static const int kTimezoneFieldNumber = 15; - inline const ::std::string& timezone() const; - inline void set_timezone(const ::std::string& value); - inline void set_timezone(const char* value); - inline void set_timezone(const char* value, size_t size); - inline ::std::string* mutable_timezone(); - inline ::std::string* release_timezone(); - inline void set_allocated_timezone(::std::string* timezone); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubCreateOptions) - private: - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_avatar(); - inline void clear_has_avatar(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_short_name(); - inline void clear_has_short_name(); - inline void set_has_visibility_level(); - inline void clear_has_visibility_level(); - inline void set_has_member(); - inline void clear_has_member(); - inline void set_has_stream(); - inline void clear_has_stream(); - inline void set_has_tag(); - inline void clear_has_tag(); - inline void set_has_locale(); - inline void clear_has_locale(); - inline void set_has_timezone(); - inline void clear_has_timezone(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* description_; - ::bgs::protocol::club::v1::AvatarId* avatar_; - ::std::string* short_name_; - int privacy_level_; - int visibility_level_; - ::bgs::protocol::club::v1::CreateMemberOptions* member_; - ::bgs::protocol::club::v1::CreateStreamOptions* stream_; - ::bgs::protocol::club::v1::TagOptions* tag_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; - ::std::string* locale_; - ::std::string* timezone_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubCreateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Club : public ::google::protobuf::Message { - public: - Club(); - virtual ~Club(); - - Club(const Club& from); - - inline Club& operator=(const Club& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Club& default_instance(); - - void Swap(Club* other); - - // implements Message ---------------------------------------------- - - Club* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.UniqueClubType type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // repeated .bgs.protocol.v2.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 4; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 4; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 5; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 5; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.club.v1.Broadcast broadcast = 6; - inline bool has_broadcast() const; - inline void clear_broadcast(); - static const int kBroadcastFieldNumber = 6; - inline const ::bgs::protocol::club::v1::Broadcast& broadcast() const; - inline ::bgs::protocol::club::v1::Broadcast* mutable_broadcast(); - inline ::bgs::protocol::club::v1::Broadcast* release_broadcast(); - inline void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast); - - // optional .bgs.protocol.club.v1.AvatarId avatar = 7; - inline bool has_avatar() const; - inline void clear_avatar(); - static const int kAvatarFieldNumber = 7; - inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; - inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); - inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); - inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); - - // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 8; - inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); - - // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; - inline bool has_visibility_level() const; - inline void clear_visibility_level(); - static const int kVisibilityLevelFieldNumber = 9; - inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; - inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); - - // optional uint32 member_count = 10; - inline bool has_member_count() const; - inline void clear_member_count(); - static const int kMemberCountFieldNumber = 10; - inline ::google::protobuf::uint32 member_count() const; - inline void set_member_count(::google::protobuf::uint32 value); - - // optional uint64 creation_time = 11; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 11; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamPosition stream_position = 12; - inline bool has_stream_position() const; - inline void clear_stream_position(); - static const int kStreamPositionFieldNumber = 12; - inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const; - inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position(); - inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position(); - inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position); - - // optional .bgs.protocol.club.v1.ClubRoleSet role_set = 13; - inline bool has_role_set() const; - inline void clear_role_set(); - static const int kRoleSetFieldNumber = 13; - inline const ::bgs::protocol::club::v1::ClubRoleSet& role_set() const; - inline ::bgs::protocol::club::v1::ClubRoleSet* mutable_role_set(); - inline ::bgs::protocol::club::v1::ClubRoleSet* release_role_set(); - inline void set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* role_set); - - // repeated .bgs.protocol.club.v1.MemberDescription leader = 14; - inline int leader_size() const; - inline void clear_leader(); - static const int kLeaderFieldNumber = 14; - inline const ::bgs::protocol::club::v1::MemberDescription& leader(int index) const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_leader(int index); - inline ::bgs::protocol::club::v1::MemberDescription* add_leader(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >& - leader() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >* - mutable_leader(); - - // optional string short_name = 15; - inline bool has_short_name() const; - inline void clear_short_name(); - static const int kShortNameFieldNumber = 15; - inline const ::std::string& short_name() const; - inline void set_short_name(const ::std::string& value); - inline void set_short_name(const char* value); - inline void set_short_name(const char* value, size_t size); - inline ::std::string* mutable_short_name(); - inline ::std::string* release_short_name(); - inline void set_allocated_short_name(::std::string* short_name); - - // repeated .bgs.protocol.v2.Attribute search_attribute = 16; - inline int search_attribute_size() const; - inline void clear_search_attribute(); - static const int kSearchAttributeFieldNumber = 16; - inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_search_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - search_attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_search_attribute(); - - // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; - inline int tag_size() const; - inline void clear_tag(); - static const int kTagFieldNumber = 17; - inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; - inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); - inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& - tag() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* - mutable_tag(); - - // optional string locale = 18; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 18; - inline const ::std::string& locale() const; - inline void set_locale(const ::std::string& value); - inline void set_locale(const char* value); - inline void set_locale(const char* value, size_t size); - inline ::std::string* mutable_locale(); - inline ::std::string* release_locale(); - inline void set_allocated_locale(::std::string* locale); - - // optional string timezone = 19; - inline bool has_timezone() const; - inline void clear_timezone(); - static const int kTimezoneFieldNumber = 19; - inline const ::std::string& timezone() const; - inline void set_timezone(const ::std::string& value); - inline void set_timezone(const char* value); - inline void set_timezone(const char* value, size_t size); - inline ::std::string* mutable_timezone(); - inline ::std::string* release_timezone(); - inline void set_allocated_timezone(::std::string* timezone); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Club) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_broadcast(); - inline void clear_has_broadcast(); - inline void set_has_avatar(); - inline void clear_has_avatar(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_visibility_level(); - inline void clear_has_visibility_level(); - inline void set_has_member_count(); - inline void clear_has_member_count(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_stream_position(); - inline void clear_has_stream_position(); - inline void set_has_role_set(); - inline void clear_has_role_set(); - inline void set_has_short_name(); - inline void clear_has_short_name(); - inline void set_has_locale(); - inline void clear_has_locale(); - inline void set_has_timezone(); - inline void clear_has_timezone(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* description_; - ::bgs::protocol::club::v1::Broadcast* broadcast_; - ::bgs::protocol::club::v1::AvatarId* avatar_; - int privacy_level_; - int visibility_level_; - ::google::protobuf::uint64 creation_time_; - ::bgs::protocol::club::v1::StreamPosition* stream_position_; - ::bgs::protocol::club::v1::ClubRoleSet* role_set_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_; - ::std::string* short_name_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; - ::std::string* locale_; - ::std::string* timezone_; - ::google::protobuf::uint32 member_count_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static Club* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubDescription : public ::google::protobuf::Message { - public: - ClubDescription(); - virtual ~ClubDescription(); - - ClubDescription(const ClubDescription& from); - - inline ClubDescription& operator=(const ClubDescription& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubDescription& default_instance(); - - void Swap(ClubDescription* other); - - // implements Message ---------------------------------------------- - - ClubDescription* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.UniqueClubType type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // optional string name = 3; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 3; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 4; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 4; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.club.v1.AvatarId avatar = 5; - inline bool has_avatar() const; - inline void clear_avatar(); - static const int kAvatarFieldNumber = 5; - inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; - inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); - inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); - inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); - - // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 6; - inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); - - // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; - inline bool has_visibility_level() const; - inline void clear_visibility_level(); - static const int kVisibilityLevelFieldNumber = 7; - inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; - inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); - - // optional uint32 member_count = 8; - inline bool has_member_count() const; - inline void clear_member_count(); - static const int kMemberCountFieldNumber = 8; - inline ::google::protobuf::uint32 member_count() const; - inline void set_member_count(::google::protobuf::uint32 value); - - // repeated .bgs.protocol.club.v1.MemberDescription leader = 9; - inline int leader_size() const; - inline void clear_leader(); - static const int kLeaderFieldNumber = 9; - inline const ::bgs::protocol::club::v1::MemberDescription& leader(int index) const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_leader(int index); - inline ::bgs::protocol::club::v1::MemberDescription* add_leader(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >& - leader() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >* - mutable_leader(); - - // optional uint64 creation_time = 10; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 10; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional string timezone = 11; - inline bool has_timezone() const; - inline void clear_timezone(); - static const int kTimezoneFieldNumber = 11; - inline const ::std::string& timezone() const; - inline void set_timezone(const ::std::string& value); - inline void set_timezone(const char* value); - inline void set_timezone(const char* value, size_t size); - inline ::std::string* mutable_timezone(); - inline ::std::string* release_timezone(); - inline void set_allocated_timezone(::std::string* timezone); - - // optional string locale = 12; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 12; - inline const ::std::string& locale() const; - inline void set_locale(const ::std::string& value); - inline void set_locale(const char* value); - inline void set_locale(const char* value, size_t size); - inline ::std::string* mutable_locale(); - inline ::std::string* release_locale(); - inline void set_allocated_locale(::std::string* locale); - - // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; - inline int tag_size() const; - inline void clear_tag(); - static const int kTagFieldNumber = 13; - inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; - inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); - inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& - tag() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* - mutable_tag(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubDescription) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_avatar(); - inline void clear_has_avatar(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_visibility_level(); - inline void clear_has_visibility_level(); - inline void set_has_member_count(); - inline void clear_has_member_count(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_timezone(); - inline void clear_has_timezone(); - inline void set_has_locale(); - inline void clear_has_locale(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - ::std::string* name_; - ::std::string* description_; - ::bgs::protocol::club::v1::AvatarId* avatar_; - int privacy_level_; - int visibility_level_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_; - ::google::protobuf::uint64 creation_time_; - ::std::string* timezone_; - ::std::string* locale_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; - ::google::protobuf::uint32 member_count_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubDescription* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubView : public ::google::protobuf::Message { - public: - ClubView(); - virtual ~ClubView(); - - ClubView(const ClubView& from); - - inline ClubView& operator=(const ClubView& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubView& default_instance(); - - void Swap(ClubView* other); - - // implements Message ---------------------------------------------- - - ClubView* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.ViewMarker marker = 2; - inline bool has_marker() const; - inline void clear_marker(); - static const int kMarkerFieldNumber = 2; - inline const ::bgs::protocol::ViewMarker& marker() const; - inline ::bgs::protocol::ViewMarker* mutable_marker(); - inline ::bgs::protocol::ViewMarker* release_marker(); - inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubView) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_marker(); - inline void clear_has_marker(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::ViewMarker* marker_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubView* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message { - public: - ClubStateOptions(); - virtual ~ClubStateOptions(); - - ClubStateOptions(const ClubStateOptions& from); - - inline ClubStateOptions& operator=(const ClubStateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubStateOptions& default_instance(); - - void Swap(ClubStateOptions* other); - - // implements Message ---------------------------------------------- - - ClubStateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.v2.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 3; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 3; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4; - inline bool has_broadcast() const; - inline void clear_broadcast(); - static const int kBroadcastFieldNumber = 4; - inline const ::bgs::protocol::club::v1::SetBroadcastOptions& broadcast() const; - inline ::bgs::protocol::club::v1::SetBroadcastOptions* mutable_broadcast(); - inline ::bgs::protocol::club::v1::SetBroadcastOptions* release_broadcast(); - inline void set_allocated_broadcast(::bgs::protocol::club::v1::SetBroadcastOptions* broadcast); - - // optional .bgs.protocol.club.v1.AvatarId avatar = 5; - inline bool has_avatar() const; - inline void clear_avatar(); - static const int kAvatarFieldNumber = 5; - inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; - inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); - inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); - inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); - - // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 6; - inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); - - // optional .bgs.protocol.club.v1.StreamPosition stream_position = 7; - inline bool has_stream_position() const; - inline void clear_stream_position(); - static const int kStreamPositionFieldNumber = 7; - inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const; - inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position(); - inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position(); - inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position); - - // optional string short_name = 8; - inline bool has_short_name() const; - inline void clear_short_name(); - static const int kShortNameFieldNumber = 8; - inline const ::std::string& short_name() const; - inline void set_short_name(const ::std::string& value); - inline void set_short_name(const char* value); - inline void set_short_name(const char* value, size_t size); - inline ::std::string* mutable_short_name(); - inline ::std::string* release_short_name(); - inline void set_allocated_short_name(::std::string* short_name); - - // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; - inline bool has_visibility_level() const; - inline void clear_visibility_level(); - static const int kVisibilityLevelFieldNumber = 9; - inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; - inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); - - // optional string locale = 10; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 10; - inline const ::std::string& locale() const; - inline void set_locale(const ::std::string& value); - inline void set_locale(const char* value); - inline void set_locale(const char* value, size_t size); - inline ::std::string* mutable_locale(); - inline ::std::string* release_locale(); - inline void set_allocated_locale(::std::string* locale); - - // optional string timezone = 11; - inline bool has_timezone() const; - inline void clear_timezone(); - static const int kTimezoneFieldNumber = 11; - inline const ::std::string& timezone() const; - inline void set_timezone(const ::std::string& value); - inline void set_timezone(const char* value); - inline void set_timezone(const char* value, size_t size); - inline ::std::string* mutable_timezone(); - inline ::std::string* release_timezone(); - inline void set_allocated_timezone(::std::string* timezone); - - // optional .bgs.protocol.club.v1.TagOptions tag_options = 12; - inline bool has_tag_options() const; - inline void clear_tag_options(); - static const int kTagOptionsFieldNumber = 12; - inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const; - inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options(); - inline ::bgs::protocol::club::v1::TagOptions* release_tag_options(); - inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options); - - // repeated .bgs.protocol.v2.Attribute search_attribute = 13; - inline int search_attribute_size() const; - inline void clear_search_attribute(); - static const int kSearchAttributeFieldNumber = 13; - inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_search_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - search_attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_search_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateOptions) - private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_broadcast(); - inline void clear_has_broadcast(); - inline void set_has_avatar(); - inline void clear_has_avatar(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_stream_position(); - inline void clear_has_stream_position(); - inline void set_has_short_name(); - inline void clear_has_short_name(); - inline void set_has_visibility_level(); - inline void clear_has_visibility_level(); - inline void set_has_locale(); - inline void clear_has_locale(); - inline void set_has_timezone(); - inline void clear_has_timezone(); - inline void set_has_tag_options(); - inline void clear_has_tag_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* description_; - ::bgs::protocol::club::v1::SetBroadcastOptions* broadcast_; - ::bgs::protocol::club::v1::AvatarId* avatar_; - ::bgs::protocol::club::v1::StreamPosition* stream_position_; - int privacy_level_; - int visibility_level_; - ::std::string* short_name_; - ::std::string* locale_; - ::std::string* timezone_; - ::bgs::protocol::club::v1::TagOptions* tag_options_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubStateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message { - public: - ClubStateAssignment(); - virtual ~ClubStateAssignment(); - - ClubStateAssignment(const ClubStateAssignment& from); - - inline ClubStateAssignment& operator=(const ClubStateAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubStateAssignment& default_instance(); - - void Swap(ClubStateAssignment* other); - - // implements Message ---------------------------------------------- - - ClubStateAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 3; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 3; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 4; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 4; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.club.v1.Broadcast broadcast = 5; - inline bool has_broadcast() const; - inline void clear_broadcast(); - static const int kBroadcastFieldNumber = 5; - inline const ::bgs::protocol::club::v1::Broadcast& broadcast() const; - inline ::bgs::protocol::club::v1::Broadcast* mutable_broadcast(); - inline ::bgs::protocol::club::v1::Broadcast* release_broadcast(); - inline void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast); - - // optional .bgs.protocol.club.v1.AvatarId avatar = 6; - inline bool has_avatar() const; - inline void clear_avatar(); - static const int kAvatarFieldNumber = 6; - inline const ::bgs::protocol::club::v1::AvatarId& avatar() const; - inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar(); - inline ::bgs::protocol::club::v1::AvatarId* release_avatar(); - inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar); - - // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; - inline bool has_privacy_level() const; - inline void clear_privacy_level(); - static const int kPrivacyLevelFieldNumber = 7; - inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const; - inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value); - - // optional .bgs.protocol.club.v1.StreamPosition stream_position = 8; - inline bool has_stream_position() const; - inline void clear_stream_position(); - static const int kStreamPositionFieldNumber = 8; - inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const; - inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position(); - inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position(); - inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position); - - // optional string short_name = 9; - inline bool has_short_name() const; - inline void clear_short_name(); - static const int kShortNameFieldNumber = 9; - inline const ::std::string& short_name() const; - inline void set_short_name(const ::std::string& value); - inline void set_short_name(const char* value); - inline void set_short_name(const char* value, size_t size); - inline ::std::string* mutable_short_name(); - inline ::std::string* release_short_name(); - inline void set_allocated_short_name(::std::string* short_name); - - // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; - inline bool has_visibility_level() const; - inline void clear_visibility_level(); - static const int kVisibilityLevelFieldNumber = 10; - inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const; - inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value); - - // optional string locale = 11; - inline bool has_locale() const; - inline void clear_locale(); - static const int kLocaleFieldNumber = 11; - inline const ::std::string& locale() const; - inline void set_locale(const ::std::string& value); - inline void set_locale(const char* value); - inline void set_locale(const char* value, size_t size); - inline ::std::string* mutable_locale(); - inline ::std::string* release_locale(); - inline void set_allocated_locale(::std::string* locale); - - // optional string timezone = 12; - inline bool has_timezone() const; - inline void clear_timezone(); - static const int kTimezoneFieldNumber = 12; - inline const ::std::string& timezone() const; - inline void set_timezone(const ::std::string& value); - inline void set_timezone(const char* value); - inline void set_timezone(const char* value, size_t size); - inline ::std::string* mutable_timezone(); - inline ::std::string* release_timezone(); - inline void set_allocated_timezone(::std::string* timezone); - - // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; - inline int tag_size() const; - inline void clear_tag(); - static const int kTagFieldNumber = 13; - inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; - inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); - inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& - tag() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* - mutable_tag(); - - // repeated .bgs.protocol.v2.Attribute search_attribute = 14; - inline int search_attribute_size() const; - inline void clear_search_attribute(); - static const int kSearchAttributeFieldNumber = 14; - inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_search_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - search_attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_search_attribute(); - - // optional bool tag_cleared = 15; - inline bool has_tag_cleared() const; - inline void clear_tag_cleared(); - static const int kTagClearedFieldNumber = 15; - inline bool tag_cleared() const; - inline void set_tag_cleared(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateAssignment) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_broadcast(); - inline void clear_has_broadcast(); - inline void set_has_avatar(); - inline void clear_has_avatar(); - inline void set_has_privacy_level(); - inline void clear_has_privacy_level(); - inline void set_has_stream_position(); - inline void clear_has_stream_position(); - inline void set_has_short_name(); - inline void clear_has_short_name(); - inline void set_has_visibility_level(); - inline void clear_has_visibility_level(); - inline void set_has_locale(); - inline void clear_has_locale(); - inline void set_has_timezone(); - inline void clear_has_timezone(); - inline void set_has_tag_cleared(); - inline void clear_has_tag_cleared(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* description_; - ::bgs::protocol::club::v1::Broadcast* broadcast_; - ::bgs::protocol::club::v1::AvatarId* avatar_; - ::bgs::protocol::club::v1::StreamPosition* stream_position_; - int privacy_level_; - int visibility_level_; - ::std::string* short_name_; - ::std::string* locale_; - ::std::string* timezone_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_; - bool tag_cleared_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubStateAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamSettings : public ::google::protobuf::Message { - public: - StreamSettings(); - virtual ~StreamSettings(); - - StreamSettings(const StreamSettings& from); - - inline StreamSettings& operator=(const StreamSettings& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamSettings& default_instance(); - - void Swap(StreamSettings* other); - - // implements Message ---------------------------------------------- - - StreamSettings* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 stream_id = 1; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2; - inline bool has_filter() const; - inline void clear_filter(); - static const int kFilterFieldNumber = 2; - inline ::bgs::protocol::club::v1::StreamNotificationFilter filter() const; - inline void set_filter(::bgs::protocol::club::v1::StreamNotificationFilter value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamSettings) - private: - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_filter(); - inline void clear_has_filter(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 stream_id_; - int filter_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static StreamSettings* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSettings : public ::google::protobuf::Message { - public: - ClubSettings(); - virtual ~ClubSettings(); - - ClubSettings(const ClubSettings& from); - - inline ClubSettings& operator=(const ClubSettings& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSettings& default_instance(); - - void Swap(ClubSettings* other); - - // implements Message ---------------------------------------------- - - ClubSettings* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1; - inline int stream_size() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const; - inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index); - inline ::bgs::protocol::club::v1::StreamSettings* add_stream(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& - stream() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* - mutable_stream(); - - // optional bool stream_notification_filter_all = 2; - inline bool has_stream_notification_filter_all() const; - inline void clear_stream_notification_filter_all(); - static const int kStreamNotificationFilterAllFieldNumber = 2; - inline bool stream_notification_filter_all() const; - inline void set_stream_notification_filter_all(bool value); - - // repeated .bgs.protocol.v2.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional bool push_notification_filter_all = 4; - inline bool has_push_notification_filter_all() const; - inline void clear_push_notification_filter_all(); - static const int kPushNotificationFilterAllFieldNumber = 4; - inline bool push_notification_filter_all() const; - inline void set_push_notification_filter_all(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettings) - private: - inline void set_has_stream_notification_filter_all(); - inline void clear_has_stream_notification_filter_all(); - inline void set_has_push_notification_filter_all(); - inline void clear_has_push_notification_filter_all(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - bool stream_notification_filter_all_; - bool push_notification_filter_all_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubSettings* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message { - public: - ClubSettingsOptions(); - virtual ~ClubSettingsOptions(); - - ClubSettingsOptions(const ClubSettingsOptions& from); - - inline ClubSettingsOptions& operator=(const ClubSettingsOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSettingsOptions& default_instance(); - - void Swap(ClubSettingsOptions* other); - - // implements Message ---------------------------------------------- - - ClubSettingsOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; - inline int stream_size() const PROTOBUF_DEPRECATED; - inline void clear_stream() PROTOBUF_DEPRECATED; - static const int kStreamFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; - inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; - inline ::bgs::protocol::club::v1::StreamSettings* add_stream() PROTOBUF_DEPRECATED; - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& - stream() const PROTOBUF_DEPRECATED; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* - mutable_stream() PROTOBUF_DEPRECATED; - - // optional .bgs.protocol.club.v1.ClubSettings settings = 2; - inline bool has_settings() const; - inline void clear_settings(); - static const int kSettingsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubSettings& settings() const; - inline ::bgs::protocol::club::v1::ClubSettings* mutable_settings(); - inline ::bgs::protocol::club::v1::ClubSettings* release_settings(); - inline void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings); - - // optional uint32 version = 3; - inline bool has_version() const; - inline void clear_version(); - static const int kVersionFieldNumber = 3; - inline ::google::protobuf::uint32 version() const; - inline void set_version(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettingsOptions) - private: - inline void set_has_settings(); - inline void clear_has_settings(); - inline void set_has_version(); - inline void clear_has_version(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_; - ::bgs::protocol::club::v1::ClubSettings* settings_; - ::google::protobuf::uint32 version_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubSettingsOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message { - public: - ClubSettingsAssignment(); - virtual ~ClubSettingsAssignment(); - - ClubSettingsAssignment(const ClubSettingsAssignment& from); - - inline ClubSettingsAssignment& operator=(const ClubSettingsAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSettingsAssignment& default_instance(); - - void Swap(ClubSettingsAssignment* other); - - // implements Message ---------------------------------------------- - - ClubSettingsAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; - inline int stream_size() const PROTOBUF_DEPRECATED; - inline void clear_stream() PROTOBUF_DEPRECATED; - static const int kStreamFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED; - inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED; - inline ::bgs::protocol::club::v1::StreamSettings* add_stream() PROTOBUF_DEPRECATED; - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& - stream() const PROTOBUF_DEPRECATED; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* - mutable_stream() PROTOBUF_DEPRECATED; - - // optional .bgs.protocol.club.v1.ClubSettings settings = 2; - inline bool has_settings() const; - inline void clear_settings(); - static const int kSettingsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubSettings& settings() const; - inline ::bgs::protocol::club::v1::ClubSettings* mutable_settings(); - inline ::bgs::protocol::club::v1::ClubSettings* release_settings(); - inline void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettingsAssignment) - private: - inline void set_has_settings(); - inline void clear_has_settings(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_; - ::bgs::protocol::club::v1::ClubSettings* settings_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto(); - friend void protobuf_AssignDesc_club_5fcore_2eproto(); - friend void protobuf_ShutdownFile_club_5fcore_2eproto(); - - void InitAsDefaultInstance(); - static ClubSettingsAssignment* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// AvatarId - -// optional uint32 id = 1; -inline bool AvatarId::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AvatarId::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AvatarId::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AvatarId::clear_id() { - id_ = 0u; - clear_has_id(); -} -inline ::google::protobuf::uint32 AvatarId::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AvatarId.id) - return id_; -} -inline void AvatarId::set_id(::google::protobuf::uint32 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AvatarId.id) -} - -// ------------------------------------------------------------------- - -// SetBroadcastOptions - -// optional string content = 1; -inline bool SetBroadcastOptions::has_content() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SetBroadcastOptions::set_has_content() { - _has_bits_[0] |= 0x00000001u; -} -inline void SetBroadcastOptions::clear_has_content() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SetBroadcastOptions::clear_content() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_->clear(); - } - clear_has_content(); -} -inline const ::std::string& SetBroadcastOptions::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetBroadcastOptions.content) - return *content_; -} -inline void SetBroadcastOptions::set_content(const ::std::string& value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetBroadcastOptions.content) -} -inline void SetBroadcastOptions::set_content(const char* value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.SetBroadcastOptions.content) -} -inline void SetBroadcastOptions::set_content(const char* value, size_t size) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.SetBroadcastOptions.content) -} -inline ::std::string* SetBroadcastOptions::mutable_content() { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SetBroadcastOptions.content) - return content_; -} -inline ::std::string* SetBroadcastOptions::release_content() { - clear_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = content_; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void SetBroadcastOptions::set_allocated_content(::std::string* content) { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (content) { - set_has_content(); - content_ = content; - } else { - clear_has_content(); - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetBroadcastOptions.content) -} - -// ------------------------------------------------------------------- - -// Broadcast - -// optional string content = 1; -inline bool Broadcast::has_content() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Broadcast::set_has_content() { - _has_bits_[0] |= 0x00000001u; -} -inline void Broadcast::clear_has_content() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Broadcast::clear_content() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_->clear(); - } - clear_has_content(); -} -inline const ::std::string& Broadcast::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.content) - return *content_; -} -inline void Broadcast::set_content(const ::std::string& value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Broadcast.content) -} -inline void Broadcast::set_content(const char* value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Broadcast.content) -} -inline void Broadcast::set_content(const char* value, size_t size) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Broadcast.content) -} -inline ::std::string* Broadcast::mutable_content() { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Broadcast.content) - return content_; -} -inline ::std::string* Broadcast::release_content() { - clear_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = content_; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Broadcast::set_allocated_content(::std::string* content) { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (content) { - set_has_content(); - content_ = content; - } else { - clear_has_content(); - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.content) -} - -// optional .bgs.protocol.club.v1.MemberDescription creator = 2; -inline bool Broadcast::has_creator() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Broadcast::set_has_creator() { - _has_bits_[0] |= 0x00000002u; -} -inline void Broadcast::clear_has_creator() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Broadcast::clear_creator() { - if (creator_ != NULL) creator_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_creator(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& Broadcast::creator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.creator) - return creator_ != NULL ? *creator_ : *default_instance_->creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* Broadcast::mutable_creator() { - set_has_creator(); - if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Broadcast.creator) - return creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* Broadcast::release_creator() { - clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; - creator_ = NULL; - return temp; -} -inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { - delete creator_; - creator_ = creator; - if (creator) { - set_has_creator(); - } else { - clear_has_creator(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.creator) -} - -// optional uint64 creation_time = 3; -inline bool Broadcast::has_creation_time() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void Broadcast::set_has_creation_time() { - _has_bits_[0] |= 0x00000004u; -} -inline void Broadcast::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000004u; -} -inline void Broadcast::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 Broadcast::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.creation_time) - return creation_time_; -} -inline void Broadcast::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Broadcast.creation_time) -} - -// ------------------------------------------------------------------- - -// ClubCreateOptions - -// optional .bgs.protocol.club.v1.UniqueClubType type = 1; -inline bool ClubCreateOptions::has_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubCreateOptions::set_has_type() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubCreateOptions::clear_has_type() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubCreateOptions::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void ClubCreateOptions::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.type) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int ClubCreateOptions::attribute_size() const { - return attribute_.size(); -} -inline void ClubCreateOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubCreateOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubCreateOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubCreateOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubCreateOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubCreateOptions.attribute) - return &attribute_; -} - -// optional string name = 3; -inline bool ClubCreateOptions::has_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubCreateOptions::set_has_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubCreateOptions::clear_has_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubCreateOptions::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ClubCreateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.name) - return *name_; -} -inline void ClubCreateOptions::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.name) -} -inline void ClubCreateOptions::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.name) -} -inline void ClubCreateOptions::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.name) -} -inline ::std::string* ClubCreateOptions::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.name) - return name_; -} -inline ::std::string* ClubCreateOptions::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubCreateOptions::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.name) -} - -// optional string description = 4; -inline bool ClubCreateOptions::has_description() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubCreateOptions::set_has_description() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubCreateOptions::clear_has_description() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubCreateOptions::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& ClubCreateOptions::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.description) - return *description_; -} -inline void ClubCreateOptions::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.description) -} -inline void ClubCreateOptions::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.description) -} -inline void ClubCreateOptions::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.description) -} -inline ::std::string* ClubCreateOptions::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.description) - return description_; -} -inline ::std::string* ClubCreateOptions::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubCreateOptions::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.description) -} - -// optional .bgs.protocol.club.v1.AvatarId avatar = 5; -inline bool ClubCreateOptions::has_avatar() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubCreateOptions::set_has_avatar() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubCreateOptions::clear_has_avatar() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubCreateOptions::clear_avatar() { - if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); - clear_has_avatar(); -} -inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.avatar) - return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::mutable_avatar() { - set_has_avatar(); - if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.avatar) - return avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() { - clear_has_avatar(); - ::bgs::protocol::club::v1::AvatarId* temp = avatar_; - avatar_ = NULL; - return temp; -} -inline void ClubCreateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { - delete avatar_; - avatar_ = avatar; - if (avatar) { - set_has_avatar(); - } else { - clear_has_avatar(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.avatar) -} - -// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; -inline bool ClubCreateOptions::has_privacy_level() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubCreateOptions::set_has_privacy_level() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubCreateOptions::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubCreateOptions::clear_privacy_level() { - privacy_level_ = 0; - clear_has_privacy_level(); -} -inline ::bgs::protocol::club::v1::PrivacyLevel ClubCreateOptions::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.privacy_level) - return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); -} -inline void ClubCreateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { - assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.privacy_level) -} - -// optional string short_name = 7; -inline bool ClubCreateOptions::has_short_name() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubCreateOptions::set_has_short_name() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubCreateOptions::clear_has_short_name() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubCreateOptions::clear_short_name() { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_->clear(); - } - clear_has_short_name(); -} -inline const ::std::string& ClubCreateOptions::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.short_name) - return *short_name_; -} -inline void ClubCreateOptions::set_short_name(const ::std::string& value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.short_name) -} -inline void ClubCreateOptions::set_short_name(const char* value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.short_name) -} -inline void ClubCreateOptions::set_short_name(const char* value, size_t size) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.short_name) -} -inline ::std::string* ClubCreateOptions::mutable_short_name() { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.short_name) - return short_name_; -} -inline ::std::string* ClubCreateOptions::release_short_name() { - clear_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = short_name_; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_name) { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (short_name) { - set_has_short_name(); - short_name_ = short_name; - } else { - clear_has_short_name(); - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.short_name) -} - -// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8; -inline bool ClubCreateOptions::has_visibility_level() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubCreateOptions::set_has_visibility_level() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubCreateOptions::clear_has_visibility_level() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubCreateOptions::clear_visibility_level() { - visibility_level_ = 0; - clear_has_visibility_level(); -} -inline ::bgs::protocol::club::v1::VisibilityLevel ClubCreateOptions::visibility_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.visibility_level) - return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); -} -inline void ClubCreateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { - assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); - set_has_visibility_level(); - visibility_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.visibility_level) -} - -// optional .bgs.protocol.club.v1.CreateMemberOptions member = 10; -inline bool ClubCreateOptions::has_member() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubCreateOptions::set_has_member() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubCreateOptions::clear_has_member() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubCreateOptions::clear_member() { - if (member_ != NULL) member_->::bgs::protocol::club::v1::CreateMemberOptions::Clear(); - clear_has_member(); -} -inline const ::bgs::protocol::club::v1::CreateMemberOptions& ClubCreateOptions::member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.member) - return member_ != NULL ? *member_ : *default_instance_->member_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* ClubCreateOptions::mutable_member() { - set_has_member(); - if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::CreateMemberOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.member) - return member_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* ClubCreateOptions::release_member() { - clear_has_member(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = member_; - member_ = NULL; - return temp; -} -inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::CreateMemberOptions* member) { - delete member_; - member_ = member; - if (member) { - set_has_member(); - } else { - clear_has_member(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.member) -} - -// optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11; -inline bool ClubCreateOptions::has_stream() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubCreateOptions::set_has_stream() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubCreateOptions::clear_has_stream() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubCreateOptions::clear_stream() { - if (stream_ != NULL) stream_->::bgs::protocol::club::v1::CreateStreamOptions::Clear(); - clear_has_stream(); -} -inline const ::bgs::protocol::club::v1::CreateStreamOptions& ClubCreateOptions::stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.stream) - return stream_ != NULL ? *stream_ : *default_instance_->stream_; -} -inline ::bgs::protocol::club::v1::CreateStreamOptions* ClubCreateOptions::mutable_stream() { - set_has_stream(); - if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::CreateStreamOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.stream) - return stream_; -} -inline ::bgs::protocol::club::v1::CreateStreamOptions* ClubCreateOptions::release_stream() { - clear_has_stream(); - ::bgs::protocol::club::v1::CreateStreamOptions* temp = stream_; - stream_ = NULL; - return temp; -} -inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions* stream) { - delete stream_; - stream_ = stream; - if (stream) { - set_has_stream(); - } else { - clear_has_stream(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.stream) -} - -// optional .bgs.protocol.club.v1.TagOptions tag = 12; -inline bool ClubCreateOptions::has_tag() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void ClubCreateOptions::set_has_tag() { - _has_bits_[0] |= 0x00000400u; -} -inline void ClubCreateOptions::clear_has_tag() { - _has_bits_[0] &= ~0x00000400u; -} -inline void ClubCreateOptions::clear_tag() { - if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear(); - clear_has_tag(); -} -inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.tag) - return tag_ != NULL ? *tag_ : *default_instance_->tag_; -} -inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() { - set_has_tag(); - if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.tag) - return tag_; -} -inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() { - clear_has_tag(); - ::bgs::protocol::club::v1::TagOptions* temp = tag_; - tag_ = NULL; - return temp; -} -inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag) { - delete tag_; - tag_ = tag; - if (tag) { - set_has_tag(); - } else { - clear_has_tag(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.tag) -} - -// repeated .bgs.protocol.v2.Attribute search_attribute = 13; -inline int ClubCreateOptions::search_attribute_size() const { - return search_attribute_.size(); -} -inline void ClubCreateOptions::clear_search_attribute() { - search_attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.search_attribute) - return search_attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.search_attribute) - return search_attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubCreateOptions.search_attribute) - return search_attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubCreateOptions::search_attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute) - return search_attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubCreateOptions::mutable_search_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute) - return &search_attribute_; -} - -// optional string locale = 14; -inline bool ClubCreateOptions::has_locale() const { - return (_has_bits_[0] & 0x00001000u) != 0; -} -inline void ClubCreateOptions::set_has_locale() { - _has_bits_[0] |= 0x00001000u; -} -inline void ClubCreateOptions::clear_has_locale() { - _has_bits_[0] &= ~0x00001000u; -} -inline void ClubCreateOptions::clear_locale() { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_->clear(); - } - clear_has_locale(); -} -inline const ::std::string& ClubCreateOptions::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.locale) - return *locale_; -} -inline void ClubCreateOptions::set_locale(const ::std::string& value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.locale) -} -inline void ClubCreateOptions::set_locale(const char* value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.locale) -} -inline void ClubCreateOptions::set_locale(const char* value, size_t size) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.locale) -} -inline ::std::string* ClubCreateOptions::mutable_locale() { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.locale) - return locale_; -} -inline ::std::string* ClubCreateOptions::release_locale() { - clear_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = locale_; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (locale) { - set_has_locale(); - locale_ = locale; - } else { - clear_has_locale(); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.locale) -} - -// optional string timezone = 15; -inline bool ClubCreateOptions::has_timezone() const { - return (_has_bits_[0] & 0x00002000u) != 0; -} -inline void ClubCreateOptions::set_has_timezone() { - _has_bits_[0] |= 0x00002000u; -} -inline void ClubCreateOptions::clear_has_timezone() { - _has_bits_[0] &= ~0x00002000u; -} -inline void ClubCreateOptions::clear_timezone() { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_->clear(); - } - clear_has_timezone(); -} -inline const ::std::string& ClubCreateOptions::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.timezone) - return *timezone_; -} -inline void ClubCreateOptions::set_timezone(const ::std::string& value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.timezone) -} -inline void ClubCreateOptions::set_timezone(const char* value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.timezone) -} -inline void ClubCreateOptions::set_timezone(const char* value, size_t size) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.timezone) -} -inline ::std::string* ClubCreateOptions::mutable_timezone() { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.timezone) - return timezone_; -} -inline ::std::string* ClubCreateOptions::release_timezone() { - clear_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = timezone_; - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (timezone) { - set_has_timezone(); - timezone_ = timezone; - } else { - clear_has_timezone(); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.timezone) -} - -// ------------------------------------------------------------------- - -// Club - -// optional uint64 id = 1; -inline bool Club::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Club::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void Club::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Club::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 Club::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.id) - return id_; -} -inline void Club::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.id) -} - -// optional .bgs.protocol.club.v1.UniqueClubType type = 2; -inline bool Club::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Club::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void Club::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Club::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* Club::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void Club::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.type) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 3; -inline int Club::attribute_size() const { - return attribute_.size(); -} -inline void Club::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& Club::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* Club::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* Club::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -Club::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -Club::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.attribute) - return &attribute_; -} - -// optional string name = 4; -inline bool Club::has_name() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void Club::set_has_name() { - _has_bits_[0] |= 0x00000008u; -} -inline void Club::clear_has_name() { - _has_bits_[0] &= ~0x00000008u; -} -inline void Club::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& Club::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.name) - return *name_; -} -inline void Club::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.name) -} -inline void Club::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.name) -} -inline void Club::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.name) -} -inline ::std::string* Club::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.name) - return name_; -} -inline ::std::string* Club::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Club::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.name) -} - -// optional string description = 5; -inline bool Club::has_description() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void Club::set_has_description() { - _has_bits_[0] |= 0x00000010u; -} -inline void Club::clear_has_description() { - _has_bits_[0] &= ~0x00000010u; -} -inline void Club::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& Club::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.description) - return *description_; -} -inline void Club::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.description) -} -inline void Club::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.description) -} -inline void Club::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.description) -} -inline ::std::string* Club::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.description) - return description_; -} -inline ::std::string* Club::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Club::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.description) -} - -// optional .bgs.protocol.club.v1.Broadcast broadcast = 6; -inline bool Club::has_broadcast() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Club::set_has_broadcast() { - _has_bits_[0] |= 0x00000020u; -} -inline void Club::clear_has_broadcast() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Club::clear_broadcast() { - if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::Broadcast::Clear(); - clear_has_broadcast(); -} -inline const ::bgs::protocol::club::v1::Broadcast& Club::broadcast() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.broadcast) - return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; -} -inline ::bgs::protocol::club::v1::Broadcast* Club::mutable_broadcast() { - set_has_broadcast(); - if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::Broadcast; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.broadcast) - return broadcast_; -} -inline ::bgs::protocol::club::v1::Broadcast* Club::release_broadcast() { - clear_has_broadcast(); - ::bgs::protocol::club::v1::Broadcast* temp = broadcast_; - broadcast_ = NULL; - return temp; -} -inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast) { - delete broadcast_; - broadcast_ = broadcast; - if (broadcast) { - set_has_broadcast(); - } else { - clear_has_broadcast(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.broadcast) -} - -// optional .bgs.protocol.club.v1.AvatarId avatar = 7; -inline bool Club::has_avatar() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void Club::set_has_avatar() { - _has_bits_[0] |= 0x00000040u; -} -inline void Club::clear_has_avatar() { - _has_bits_[0] &= ~0x00000040u; -} -inline void Club::clear_avatar() { - if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); - clear_has_avatar(); -} -inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.avatar) - return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* Club::mutable_avatar() { - set_has_avatar(); - if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.avatar) - return avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() { - clear_has_avatar(); - ::bgs::protocol::club::v1::AvatarId* temp = avatar_; - avatar_ = NULL; - return temp; -} -inline void Club::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { - delete avatar_; - avatar_ = avatar; - if (avatar) { - set_has_avatar(); - } else { - clear_has_avatar(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.avatar) -} - -// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8; -inline bool Club::has_privacy_level() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void Club::set_has_privacy_level() { - _has_bits_[0] |= 0x00000080u; -} -inline void Club::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000080u; -} -inline void Club::clear_privacy_level() { - privacy_level_ = 0; - clear_has_privacy_level(); -} -inline ::bgs::protocol::club::v1::PrivacyLevel Club::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.privacy_level) - return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); -} -inline void Club::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { - assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.privacy_level) -} - -// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; -inline bool Club::has_visibility_level() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void Club::set_has_visibility_level() { - _has_bits_[0] |= 0x00000100u; -} -inline void Club::clear_has_visibility_level() { - _has_bits_[0] &= ~0x00000100u; -} -inline void Club::clear_visibility_level() { - visibility_level_ = 0; - clear_has_visibility_level(); -} -inline ::bgs::protocol::club::v1::VisibilityLevel Club::visibility_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.visibility_level) - return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); -} -inline void Club::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { - assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); - set_has_visibility_level(); - visibility_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.visibility_level) -} - -// optional uint32 member_count = 10; -inline bool Club::has_member_count() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void Club::set_has_member_count() { - _has_bits_[0] |= 0x00000200u; -} -inline void Club::clear_has_member_count() { - _has_bits_[0] &= ~0x00000200u; -} -inline void Club::clear_member_count() { - member_count_ = 0u; - clear_has_member_count(); -} -inline ::google::protobuf::uint32 Club::member_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.member_count) - return member_count_; -} -inline void Club::set_member_count(::google::protobuf::uint32 value) { - set_has_member_count(); - member_count_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.member_count) -} - -// optional uint64 creation_time = 11; -inline bool Club::has_creation_time() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void Club::set_has_creation_time() { - _has_bits_[0] |= 0x00000400u; -} -inline void Club::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000400u; -} -inline void Club::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 Club::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.creation_time) - return creation_time_; -} -inline void Club::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.creation_time) -} - -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 12; -inline bool Club::has_stream_position() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void Club::set_has_stream_position() { - _has_bits_[0] |= 0x00000800u; -} -inline void Club::clear_has_stream_position() { - _has_bits_[0] &= ~0x00000800u; -} -inline void Club::clear_stream_position() { - if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear(); - clear_has_stream_position(); -} -inline const ::bgs::protocol::club::v1::StreamPosition& Club::stream_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.stream_position) - return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* Club::mutable_stream_position() { - set_has_stream_position(); - if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.stream_position) - return stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* Club::release_stream_position() { - clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_; - stream_position_ = NULL; - return temp; -} -inline void Club::set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position) { - delete stream_position_; - stream_position_ = stream_position; - if (stream_position) { - set_has_stream_position(); - } else { - clear_has_stream_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.stream_position) -} - -// optional .bgs.protocol.club.v1.ClubRoleSet role_set = 13; -inline bool Club::has_role_set() const { - return (_has_bits_[0] & 0x00001000u) != 0; -} -inline void Club::set_has_role_set() { - _has_bits_[0] |= 0x00001000u; -} -inline void Club::clear_has_role_set() { - _has_bits_[0] &= ~0x00001000u; -} -inline void Club::clear_role_set() { - if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::ClubRoleSet::Clear(); - clear_has_role_set(); -} -inline const ::bgs::protocol::club::v1::ClubRoleSet& Club::role_set() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.role_set) - return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; -} -inline ::bgs::protocol::club::v1::ClubRoleSet* Club::mutable_role_set() { - set_has_role_set(); - if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::ClubRoleSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.role_set) - return role_set_; -} -inline ::bgs::protocol::club::v1::ClubRoleSet* Club::release_role_set() { - clear_has_role_set(); - ::bgs::protocol::club::v1::ClubRoleSet* temp = role_set_; - role_set_ = NULL; - return temp; -} -inline void Club::set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* role_set) { - delete role_set_; - role_set_ = role_set; - if (role_set) { - set_has_role_set(); - } else { - clear_has_role_set(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.role_set) -} - -// repeated .bgs.protocol.club.v1.MemberDescription leader = 14; -inline int Club::leader_size() const { - return leader_.size(); -} -inline void Club::clear_leader() { - leader_.Clear(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& Club::leader(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.leader) - return leader_.Get(index); -} -inline ::bgs::protocol::club::v1::MemberDescription* Club::mutable_leader(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.leader) - return leader_.Mutable(index); -} -inline ::bgs::protocol::club::v1::MemberDescription* Club::add_leader() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.leader) - return leader_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >& -Club::leader() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.leader) - return leader_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >* -Club::mutable_leader() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.leader) - return &leader_; -} - -// optional string short_name = 15; -inline bool Club::has_short_name() const { - return (_has_bits_[0] & 0x00004000u) != 0; -} -inline void Club::set_has_short_name() { - _has_bits_[0] |= 0x00004000u; -} -inline void Club::clear_has_short_name() { - _has_bits_[0] &= ~0x00004000u; -} -inline void Club::clear_short_name() { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_->clear(); - } - clear_has_short_name(); -} -inline const ::std::string& Club::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.short_name) - return *short_name_; -} -inline void Club::set_short_name(const ::std::string& value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.short_name) -} -inline void Club::set_short_name(const char* value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.short_name) -} -inline void Club::set_short_name(const char* value, size_t size) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.short_name) -} -inline ::std::string* Club::mutable_short_name() { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.short_name) - return short_name_; -} -inline ::std::string* Club::release_short_name() { - clear_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = short_name_; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Club::set_allocated_short_name(::std::string* short_name) { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (short_name) { - set_has_short_name(); - short_name_ = short_name; - } else { - clear_has_short_name(); - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.short_name) -} - -// repeated .bgs.protocol.v2.Attribute search_attribute = 16; -inline int Club::search_attribute_size() const { - return search_attribute_.size(); -} -inline void Club::clear_search_attribute() { - search_attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.search_attribute) - return search_attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.search_attribute) - return search_attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.search_attribute) - return search_attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -Club::search_attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.search_attribute) - return search_attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -Club::mutable_search_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.search_attribute) - return &search_attribute_; -} - -// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17; -inline int Club::tag_size() const { - return tag_.size(); -} -inline void Club::clear_tag() { - tag_.Clear(); -} -inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.tag) - return tag_.Get(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.tag) - return tag_.Mutable(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.tag) - return tag_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& -Club::tag() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.tag) - return tag_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* -Club::mutable_tag() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.tag) - return &tag_; -} - -// optional string locale = 18; -inline bool Club::has_locale() const { - return (_has_bits_[0] & 0x00020000u) != 0; -} -inline void Club::set_has_locale() { - _has_bits_[0] |= 0x00020000u; -} -inline void Club::clear_has_locale() { - _has_bits_[0] &= ~0x00020000u; -} -inline void Club::clear_locale() { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_->clear(); - } - clear_has_locale(); -} -inline const ::std::string& Club::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.locale) - return *locale_; -} -inline void Club::set_locale(const ::std::string& value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.locale) -} -inline void Club::set_locale(const char* value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.locale) -} -inline void Club::set_locale(const char* value, size_t size) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.locale) -} -inline ::std::string* Club::mutable_locale() { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.locale) - return locale_; -} -inline ::std::string* Club::release_locale() { - clear_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = locale_; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Club::set_allocated_locale(::std::string* locale) { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (locale) { - set_has_locale(); - locale_ = locale; - } else { - clear_has_locale(); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.locale) -} - -// optional string timezone = 19; -inline bool Club::has_timezone() const { - return (_has_bits_[0] & 0x00040000u) != 0; -} -inline void Club::set_has_timezone() { - _has_bits_[0] |= 0x00040000u; -} -inline void Club::clear_has_timezone() { - _has_bits_[0] &= ~0x00040000u; -} -inline void Club::clear_timezone() { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_->clear(); - } - clear_has_timezone(); -} -inline const ::std::string& Club::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.timezone) - return *timezone_; -} -inline void Club::set_timezone(const ::std::string& value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.timezone) -} -inline void Club::set_timezone(const char* value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.timezone) -} -inline void Club::set_timezone(const char* value, size_t size) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.timezone) -} -inline ::std::string* Club::mutable_timezone() { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.timezone) - return timezone_; -} -inline ::std::string* Club::release_timezone() { - clear_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = timezone_; - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Club::set_allocated_timezone(::std::string* timezone) { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (timezone) { - set_has_timezone(); - timezone_ = timezone; - } else { - clear_has_timezone(); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.timezone) -} - -// ------------------------------------------------------------------- - -// ClubDescription - -// optional uint64 id = 1; -inline bool ClubDescription::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubDescription::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubDescription::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubDescription::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 ClubDescription::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.id) - return id_; -} -inline void ClubDescription::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.id) -} - -// optional .bgs.protocol.club.v1.UniqueClubType type = 2; -inline bool ClubDescription::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubDescription::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubDescription::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubDescription::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& ClubDescription::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void ClubDescription::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.type) -} - -// optional string name = 3; -inline bool ClubDescription::has_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubDescription::set_has_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubDescription::clear_has_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubDescription::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ClubDescription::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.name) - return *name_; -} -inline void ClubDescription::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.name) -} -inline void ClubDescription::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.name) -} -inline void ClubDescription::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.name) -} -inline ::std::string* ClubDescription::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.name) - return name_; -} -inline ::std::string* ClubDescription::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubDescription::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.name) -} - -// optional string description = 4; -inline bool ClubDescription::has_description() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubDescription::set_has_description() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubDescription::clear_has_description() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubDescription::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& ClubDescription::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.description) - return *description_; -} -inline void ClubDescription::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.description) -} -inline void ClubDescription::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.description) -} -inline void ClubDescription::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.description) -} -inline ::std::string* ClubDescription::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.description) - return description_; -} -inline ::std::string* ClubDescription::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubDescription::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.description) -} - -// optional .bgs.protocol.club.v1.AvatarId avatar = 5; -inline bool ClubDescription::has_avatar() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubDescription::set_has_avatar() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubDescription::clear_has_avatar() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubDescription::clear_avatar() { - if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); - clear_has_avatar(); -} -inline const ::bgs::protocol::club::v1::AvatarId& ClubDescription::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.avatar) - return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::mutable_avatar() { - set_has_avatar(); - if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.avatar) - return avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::release_avatar() { - clear_has_avatar(); - ::bgs::protocol::club::v1::AvatarId* temp = avatar_; - avatar_ = NULL; - return temp; -} -inline void ClubDescription::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { - delete avatar_; - avatar_ = avatar; - if (avatar) { - set_has_avatar(); - } else { - clear_has_avatar(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.avatar) -} - -// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; -inline bool ClubDescription::has_privacy_level() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubDescription::set_has_privacy_level() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubDescription::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubDescription::clear_privacy_level() { - privacy_level_ = 0; - clear_has_privacy_level(); -} -inline ::bgs::protocol::club::v1::PrivacyLevel ClubDescription::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.privacy_level) - return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); -} -inline void ClubDescription::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { - assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.privacy_level) -} - -// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7; -inline bool ClubDescription::has_visibility_level() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubDescription::set_has_visibility_level() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubDescription::clear_has_visibility_level() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubDescription::clear_visibility_level() { - visibility_level_ = 0; - clear_has_visibility_level(); -} -inline ::bgs::protocol::club::v1::VisibilityLevel ClubDescription::visibility_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.visibility_level) - return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); -} -inline void ClubDescription::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { - assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); - set_has_visibility_level(); - visibility_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.visibility_level) -} - -// optional uint32 member_count = 8; -inline bool ClubDescription::has_member_count() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubDescription::set_has_member_count() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubDescription::clear_has_member_count() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubDescription::clear_member_count() { - member_count_ = 0u; - clear_has_member_count(); -} -inline ::google::protobuf::uint32 ClubDescription::member_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.member_count) - return member_count_; -} -inline void ClubDescription::set_member_count(::google::protobuf::uint32 value) { - set_has_member_count(); - member_count_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.member_count) -} - -// repeated .bgs.protocol.club.v1.MemberDescription leader = 9; -inline int ClubDescription::leader_size() const { - return leader_.size(); -} -inline void ClubDescription::clear_leader() { - leader_.Clear(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubDescription::leader(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.leader) - return leader_.Get(index); -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubDescription::mutable_leader(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.leader) - return leader_.Mutable(index); -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubDescription::add_leader() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.leader) - return leader_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >& -ClubDescription::leader() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.leader) - return leader_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >* -ClubDescription::mutable_leader() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.leader) - return &leader_; -} - -// optional uint64 creation_time = 10; -inline bool ClubDescription::has_creation_time() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubDescription::set_has_creation_time() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubDescription::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubDescription::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 ClubDescription::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.creation_time) - return creation_time_; -} -inline void ClubDescription::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.creation_time) -} - -// optional string timezone = 11; -inline bool ClubDescription::has_timezone() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void ClubDescription::set_has_timezone() { - _has_bits_[0] |= 0x00000400u; -} -inline void ClubDescription::clear_has_timezone() { - _has_bits_[0] &= ~0x00000400u; -} -inline void ClubDescription::clear_timezone() { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_->clear(); - } - clear_has_timezone(); -} -inline const ::std::string& ClubDescription::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.timezone) - return *timezone_; -} -inline void ClubDescription::set_timezone(const ::std::string& value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.timezone) -} -inline void ClubDescription::set_timezone(const char* value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.timezone) -} -inline void ClubDescription::set_timezone(const char* value, size_t size) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.timezone) -} -inline ::std::string* ClubDescription::mutable_timezone() { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.timezone) - return timezone_; -} -inline ::std::string* ClubDescription::release_timezone() { - clear_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = timezone_; - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubDescription::set_allocated_timezone(::std::string* timezone) { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (timezone) { - set_has_timezone(); - timezone_ = timezone; - } else { - clear_has_timezone(); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.timezone) -} - -// optional string locale = 12; -inline bool ClubDescription::has_locale() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void ClubDescription::set_has_locale() { - _has_bits_[0] |= 0x00000800u; -} -inline void ClubDescription::clear_has_locale() { - _has_bits_[0] &= ~0x00000800u; -} -inline void ClubDescription::clear_locale() { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_->clear(); - } - clear_has_locale(); -} -inline const ::std::string& ClubDescription::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.locale) - return *locale_; -} -inline void ClubDescription::set_locale(const ::std::string& value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.locale) -} -inline void ClubDescription::set_locale(const char* value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.locale) -} -inline void ClubDescription::set_locale(const char* value, size_t size) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.locale) -} -inline ::std::string* ClubDescription::mutable_locale() { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.locale) - return locale_; -} -inline ::std::string* ClubDescription::release_locale() { - clear_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = locale_; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubDescription::set_allocated_locale(::std::string* locale) { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (locale) { - set_has_locale(); - locale_ = locale; - } else { - clear_has_locale(); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.locale) -} - -// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; -inline int ClubDescription::tag_size() const { - return tag_.size(); -} -inline void ClubDescription::clear_tag() { - tag_.Clear(); -} -inline const ::bgs::protocol::club::v1::TagIdentifier& ClubDescription::tag(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.tag) - return tag_.Get(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::mutable_tag(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.tag) - return tag_.Mutable(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::add_tag() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.tag) - return tag_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& -ClubDescription::tag() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.tag) - return tag_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* -ClubDescription::mutable_tag() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.tag) - return &tag_; -} - -// ------------------------------------------------------------------- - -// ClubView - -// optional uint64 club_id = 1; -inline bool ClubView::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubView::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubView::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubView::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 ClubView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.club_id) - return club_id_; -} -inline void ClubView::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubView.club_id) -} - -// optional .bgs.protocol.ViewMarker marker = 2; -inline bool ClubView::has_marker() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubView::set_has_marker() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubView::clear_has_marker() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubView::clear_marker() { - if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); - clear_has_marker(); -} -inline const ::bgs::protocol::ViewMarker& ClubView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.marker) - return marker_ != NULL ? *marker_ : *default_instance_->marker_; -} -inline ::bgs::protocol::ViewMarker* ClubView::mutable_marker() { - set_has_marker(); - if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubView.marker) - return marker_; -} -inline ::bgs::protocol::ViewMarker* ClubView::release_marker() { - clear_has_marker(); - ::bgs::protocol::ViewMarker* temp = marker_; - marker_ = NULL; - return temp; -} -inline void ClubView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { - delete marker_; - marker_ = marker; - if (marker) { - set_has_marker(); - } else { - clear_has_marker(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubView.marker) -} - -// ------------------------------------------------------------------- - -// ClubStateOptions - -// repeated .bgs.protocol.v2.Attribute attribute = 1; -inline int ClubStateOptions::attribute_size() const { - return attribute_.size(); -} -inline void ClubStateOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubStateOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubStateOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateOptions.attribute) - return &attribute_; -} - -// optional string name = 2; -inline bool ClubStateOptions::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubStateOptions::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubStateOptions::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubStateOptions::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ClubStateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.name) - return *name_; -} -inline void ClubStateOptions::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.name) -} -inline void ClubStateOptions::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.name) -} -inline void ClubStateOptions::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.name) -} -inline ::std::string* ClubStateOptions::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.name) - return name_; -} -inline ::std::string* ClubStateOptions::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateOptions::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.name) -} - -// optional string description = 3; -inline bool ClubStateOptions::has_description() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubStateOptions::set_has_description() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubStateOptions::clear_has_description() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubStateOptions::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& ClubStateOptions::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.description) - return *description_; -} -inline void ClubStateOptions::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.description) -} -inline void ClubStateOptions::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.description) -} -inline void ClubStateOptions::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.description) -} -inline ::std::string* ClubStateOptions::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.description) - return description_; -} -inline ::std::string* ClubStateOptions::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateOptions::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.description) -} - -// optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4; -inline bool ClubStateOptions::has_broadcast() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubStateOptions::set_has_broadcast() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubStateOptions::clear_has_broadcast() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubStateOptions::clear_broadcast() { - if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::SetBroadcastOptions::Clear(); - clear_has_broadcast(); -} -inline const ::bgs::protocol::club::v1::SetBroadcastOptions& ClubStateOptions::broadcast() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.broadcast) - return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; -} -inline ::bgs::protocol::club::v1::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() { - set_has_broadcast(); - if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::SetBroadcastOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.broadcast) - return broadcast_; -} -inline ::bgs::protocol::club::v1::SetBroadcastOptions* ClubStateOptions::release_broadcast() { - clear_has_broadcast(); - ::bgs::protocol::club::v1::SetBroadcastOptions* temp = broadcast_; - broadcast_ = NULL; - return temp; -} -inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::SetBroadcastOptions* broadcast) { - delete broadcast_; - broadcast_ = broadcast; - if (broadcast) { - set_has_broadcast(); - } else { - clear_has_broadcast(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.broadcast) -} - -// optional .bgs.protocol.club.v1.AvatarId avatar = 5; -inline bool ClubStateOptions::has_avatar() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubStateOptions::set_has_avatar() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubStateOptions::clear_has_avatar() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubStateOptions::clear_avatar() { - if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); - clear_has_avatar(); -} -inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.avatar) - return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::mutable_avatar() { - set_has_avatar(); - if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.avatar) - return avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() { - clear_has_avatar(); - ::bgs::protocol::club::v1::AvatarId* temp = avatar_; - avatar_ = NULL; - return temp; -} -inline void ClubStateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { - delete avatar_; - avatar_ = avatar; - if (avatar) { - set_has_avatar(); - } else { - clear_has_avatar(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.avatar) -} - -// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6; -inline bool ClubStateOptions::has_privacy_level() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubStateOptions::set_has_privacy_level() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubStateOptions::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubStateOptions::clear_privacy_level() { - privacy_level_ = 0; - clear_has_privacy_level(); -} -inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateOptions::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.privacy_level) - return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); -} -inline void ClubStateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { - assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.privacy_level) -} - -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 7; -inline bool ClubStateOptions::has_stream_position() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubStateOptions::set_has_stream_position() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubStateOptions::clear_has_stream_position() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubStateOptions::clear_stream_position() { - if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear(); - clear_has_stream_position(); -} -inline const ::bgs::protocol::club::v1::StreamPosition& ClubStateOptions::stream_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.stream_position) - return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* ClubStateOptions::mutable_stream_position() { - set_has_stream_position(); - if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.stream_position) - return stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* ClubStateOptions::release_stream_position() { - clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_; - stream_position_ = NULL; - return temp; -} -inline void ClubStateOptions::set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position) { - delete stream_position_; - stream_position_ = stream_position; - if (stream_position) { - set_has_stream_position(); - } else { - clear_has_stream_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.stream_position) -} - -// optional string short_name = 8; -inline bool ClubStateOptions::has_short_name() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubStateOptions::set_has_short_name() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubStateOptions::clear_has_short_name() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubStateOptions::clear_short_name() { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_->clear(); - } - clear_has_short_name(); -} -inline const ::std::string& ClubStateOptions::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.short_name) - return *short_name_; -} -inline void ClubStateOptions::set_short_name(const ::std::string& value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.short_name) -} -inline void ClubStateOptions::set_short_name(const char* value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.short_name) -} -inline void ClubStateOptions::set_short_name(const char* value, size_t size) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.short_name) -} -inline ::std::string* ClubStateOptions::mutable_short_name() { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.short_name) - return short_name_; -} -inline ::std::string* ClubStateOptions::release_short_name() { - clear_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = short_name_; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name) { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (short_name) { - set_has_short_name(); - short_name_ = short_name; - } else { - clear_has_short_name(); - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.short_name) -} - -// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9; -inline bool ClubStateOptions::has_visibility_level() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubStateOptions::set_has_visibility_level() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubStateOptions::clear_has_visibility_level() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubStateOptions::clear_visibility_level() { - visibility_level_ = 0; - clear_has_visibility_level(); -} -inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateOptions::visibility_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.visibility_level) - return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); -} -inline void ClubStateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { - assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); - set_has_visibility_level(); - visibility_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.visibility_level) -} - -// optional string locale = 10; -inline bool ClubStateOptions::has_locale() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubStateOptions::set_has_locale() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubStateOptions::clear_has_locale() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubStateOptions::clear_locale() { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_->clear(); - } - clear_has_locale(); -} -inline const ::std::string& ClubStateOptions::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.locale) - return *locale_; -} -inline void ClubStateOptions::set_locale(const ::std::string& value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.locale) -} -inline void ClubStateOptions::set_locale(const char* value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.locale) -} -inline void ClubStateOptions::set_locale(const char* value, size_t size) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.locale) -} -inline ::std::string* ClubStateOptions::mutable_locale() { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.locale) - return locale_; -} -inline ::std::string* ClubStateOptions::release_locale() { - clear_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = locale_; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateOptions::set_allocated_locale(::std::string* locale) { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (locale) { - set_has_locale(); - locale_ = locale; - } else { - clear_has_locale(); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.locale) -} - -// optional string timezone = 11; -inline bool ClubStateOptions::has_timezone() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void ClubStateOptions::set_has_timezone() { - _has_bits_[0] |= 0x00000400u; -} -inline void ClubStateOptions::clear_has_timezone() { - _has_bits_[0] &= ~0x00000400u; -} -inline void ClubStateOptions::clear_timezone() { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_->clear(); - } - clear_has_timezone(); -} -inline const ::std::string& ClubStateOptions::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.timezone) - return *timezone_; -} -inline void ClubStateOptions::set_timezone(const ::std::string& value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.timezone) -} -inline void ClubStateOptions::set_timezone(const char* value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.timezone) -} -inline void ClubStateOptions::set_timezone(const char* value, size_t size) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.timezone) -} -inline ::std::string* ClubStateOptions::mutable_timezone() { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.timezone) - return timezone_; -} -inline ::std::string* ClubStateOptions::release_timezone() { - clear_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = timezone_; - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (timezone) { - set_has_timezone(); - timezone_ = timezone; - } else { - clear_has_timezone(); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.timezone) -} - -// optional .bgs.protocol.club.v1.TagOptions tag_options = 12; -inline bool ClubStateOptions::has_tag_options() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void ClubStateOptions::set_has_tag_options() { - _has_bits_[0] |= 0x00000800u; -} -inline void ClubStateOptions::clear_has_tag_options() { - _has_bits_[0] &= ~0x00000800u; -} -inline void ClubStateOptions::clear_tag_options() { - if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear(); - clear_has_tag_options(); -} -inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.tag_options) - return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_; -} -inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() { - set_has_tag_options(); - if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.tag_options) - return tag_options_; -} -inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() { - clear_has_tag_options(); - ::bgs::protocol::club::v1::TagOptions* temp = tag_options_; - tag_options_ = NULL; - return temp; -} -inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options) { - delete tag_options_; - tag_options_ = tag_options; - if (tag_options) { - set_has_tag_options(); - } else { - clear_has_tag_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.tag_options) -} - -// repeated .bgs.protocol.v2.Attribute search_attribute = 13; -inline int ClubStateOptions::search_attribute_size() const { - return search_attribute_.size(); -} -inline void ClubStateOptions::clear_search_attribute() { - search_attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.search_attribute) - return search_attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.search_attribute) - return search_attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateOptions.search_attribute) - return search_attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubStateOptions::search_attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute) - return search_attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubStateOptions::mutable_search_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute) - return &search_attribute_; -} - -// ------------------------------------------------------------------- - -// ClubStateAssignment - -// optional uint64 club_id = 1; -inline bool ClubStateAssignment::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubStateAssignment::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubStateAssignment::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubStateAssignment::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 ClubStateAssignment::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.club_id) - return club_id_; -} -inline void ClubStateAssignment::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.club_id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int ClubStateAssignment::attribute_size() const { - return attribute_.size(); -} -inline void ClubStateAssignment::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubStateAssignment::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubStateAssignment::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.attribute) - return &attribute_; -} - -// optional string name = 3; -inline bool ClubStateAssignment::has_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubStateAssignment::set_has_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubStateAssignment::clear_has_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubStateAssignment::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& ClubStateAssignment::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.name) - return *name_; -} -inline void ClubStateAssignment::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.name) -} -inline void ClubStateAssignment::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.name) -} -inline void ClubStateAssignment::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.name) -} -inline ::std::string* ClubStateAssignment::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.name) - return name_; -} -inline ::std::string* ClubStateAssignment::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateAssignment::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.name) -} - -// optional string description = 4; -inline bool ClubStateAssignment::has_description() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubStateAssignment::set_has_description() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubStateAssignment::clear_has_description() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubStateAssignment::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& ClubStateAssignment::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.description) - return *description_; -} -inline void ClubStateAssignment::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.description) -} -inline void ClubStateAssignment::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.description) -} -inline void ClubStateAssignment::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.description) -} -inline ::std::string* ClubStateAssignment::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.description) - return description_; -} -inline ::std::string* ClubStateAssignment::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateAssignment::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.description) -} - -// optional .bgs.protocol.club.v1.Broadcast broadcast = 5; -inline bool ClubStateAssignment::has_broadcast() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubStateAssignment::set_has_broadcast() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubStateAssignment::clear_has_broadcast() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubStateAssignment::clear_broadcast() { - if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::Broadcast::Clear(); - clear_has_broadcast(); -} -inline const ::bgs::protocol::club::v1::Broadcast& ClubStateAssignment::broadcast() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.broadcast) - return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_; -} -inline ::bgs::protocol::club::v1::Broadcast* ClubStateAssignment::mutable_broadcast() { - set_has_broadcast(); - if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::Broadcast; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.broadcast) - return broadcast_; -} -inline ::bgs::protocol::club::v1::Broadcast* ClubStateAssignment::release_broadcast() { - clear_has_broadcast(); - ::bgs::protocol::club::v1::Broadcast* temp = broadcast_; - broadcast_ = NULL; - return temp; -} -inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast) { - delete broadcast_; - broadcast_ = broadcast; - if (broadcast) { - set_has_broadcast(); - } else { - clear_has_broadcast(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.broadcast) -} - -// optional .bgs.protocol.club.v1.AvatarId avatar = 6; -inline bool ClubStateAssignment::has_avatar() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubStateAssignment::set_has_avatar() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubStateAssignment::clear_has_avatar() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubStateAssignment::clear_avatar() { - if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear(); - clear_has_avatar(); -} -inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.avatar) - return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::mutable_avatar() { - set_has_avatar(); - if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.avatar) - return avatar_; -} -inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() { - clear_has_avatar(); - ::bgs::protocol::club::v1::AvatarId* temp = avatar_; - avatar_ = NULL; - return temp; -} -inline void ClubStateAssignment::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) { - delete avatar_; - avatar_ = avatar; - if (avatar) { - set_has_avatar(); - } else { - clear_has_avatar(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.avatar) -} - -// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7; -inline bool ClubStateAssignment::has_privacy_level() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubStateAssignment::set_has_privacy_level() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubStateAssignment::clear_has_privacy_level() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubStateAssignment::clear_privacy_level() { - privacy_level_ = 0; - clear_has_privacy_level(); -} -inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateAssignment::privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.privacy_level) - return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_); -} -inline void ClubStateAssignment::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) { - assert(::bgs::protocol::club::v1::PrivacyLevel_IsValid(value)); - set_has_privacy_level(); - privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.privacy_level) -} - -// optional .bgs.protocol.club.v1.StreamPosition stream_position = 8; -inline bool ClubStateAssignment::has_stream_position() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubStateAssignment::set_has_stream_position() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubStateAssignment::clear_has_stream_position() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubStateAssignment::clear_stream_position() { - if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear(); - clear_has_stream_position(); -} -inline const ::bgs::protocol::club::v1::StreamPosition& ClubStateAssignment::stream_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.stream_position) - return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* ClubStateAssignment::mutable_stream_position() { - set_has_stream_position(); - if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.stream_position) - return stream_position_; -} -inline ::bgs::protocol::club::v1::StreamPosition* ClubStateAssignment::release_stream_position() { - clear_has_stream_position(); - ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_; - stream_position_ = NULL; - return temp; -} -inline void ClubStateAssignment::set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position) { - delete stream_position_; - stream_position_ = stream_position; - if (stream_position) { - set_has_stream_position(); - } else { - clear_has_stream_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.stream_position) -} - -// optional string short_name = 9; -inline bool ClubStateAssignment::has_short_name() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubStateAssignment::set_has_short_name() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubStateAssignment::clear_has_short_name() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubStateAssignment::clear_short_name() { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_->clear(); - } - clear_has_short_name(); -} -inline const ::std::string& ClubStateAssignment::short_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.short_name) - return *short_name_; -} -inline void ClubStateAssignment::set_short_name(const ::std::string& value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.short_name) -} -inline void ClubStateAssignment::set_short_name(const char* value) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.short_name) -} -inline void ClubStateAssignment::set_short_name(const char* value, size_t size) { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - short_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.short_name) -} -inline ::std::string* ClubStateAssignment::mutable_short_name() { - set_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - short_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.short_name) - return short_name_; -} -inline ::std::string* ClubStateAssignment::release_short_name() { - clear_has_short_name(); - if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = short_name_; - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_name) { - if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete short_name_; - } - if (short_name) { - set_has_short_name(); - short_name_ = short_name; - } else { - clear_has_short_name(); - short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.short_name) -} - -// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10; -inline bool ClubStateAssignment::has_visibility_level() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubStateAssignment::set_has_visibility_level() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubStateAssignment::clear_has_visibility_level() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubStateAssignment::clear_visibility_level() { - visibility_level_ = 0; - clear_has_visibility_level(); -} -inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateAssignment::visibility_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.visibility_level) - return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_); -} -inline void ClubStateAssignment::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) { - assert(::bgs::protocol::club::v1::VisibilityLevel_IsValid(value)); - set_has_visibility_level(); - visibility_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.visibility_level) -} - -// optional string locale = 11; -inline bool ClubStateAssignment::has_locale() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void ClubStateAssignment::set_has_locale() { - _has_bits_[0] |= 0x00000400u; -} -inline void ClubStateAssignment::clear_has_locale() { - _has_bits_[0] &= ~0x00000400u; -} -inline void ClubStateAssignment::clear_locale() { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_->clear(); - } - clear_has_locale(); -} -inline const ::std::string& ClubStateAssignment::locale() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.locale) - return *locale_; -} -inline void ClubStateAssignment::set_locale(const ::std::string& value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.locale) -} -inline void ClubStateAssignment::set_locale(const char* value) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.locale) -} -inline void ClubStateAssignment::set_locale(const char* value, size_t size) { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - locale_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.locale) -} -inline ::std::string* ClubStateAssignment::mutable_locale() { - set_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - locale_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.locale) - return locale_; -} -inline ::std::string* ClubStateAssignment::release_locale() { - clear_has_locale(); - if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = locale_; - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) { - if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete locale_; - } - if (locale) { - set_has_locale(); - locale_ = locale; - } else { - clear_has_locale(); - locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.locale) -} - -// optional string timezone = 12; -inline bool ClubStateAssignment::has_timezone() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void ClubStateAssignment::set_has_timezone() { - _has_bits_[0] |= 0x00000800u; -} -inline void ClubStateAssignment::clear_has_timezone() { - _has_bits_[0] &= ~0x00000800u; -} -inline void ClubStateAssignment::clear_timezone() { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_->clear(); - } - clear_has_timezone(); -} -inline const ::std::string& ClubStateAssignment::timezone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.timezone) - return *timezone_; -} -inline void ClubStateAssignment::set_timezone(const ::std::string& value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.timezone) -} -inline void ClubStateAssignment::set_timezone(const char* value) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.timezone) -} -inline void ClubStateAssignment::set_timezone(const char* value, size_t size) { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - timezone_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.timezone) -} -inline ::std::string* ClubStateAssignment::mutable_timezone() { - set_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - timezone_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.timezone) - return timezone_; -} -inline ::std::string* ClubStateAssignment::release_timezone() { - clear_has_timezone(); - if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = timezone_; - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) { - if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete timezone_; - } - if (timezone) { - set_has_timezone(); - timezone_ = timezone; - } else { - clear_has_timezone(); - timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.timezone) -} - -// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13; -inline int ClubStateAssignment::tag_size() const { - return tag_.size(); -} -inline void ClubStateAssignment::clear_tag() { - tag_.Clear(); -} -inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag) - return tag_.Get(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.tag) - return tag_.Mutable(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.tag) - return tag_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& -ClubStateAssignment::tag() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.tag) - return tag_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* -ClubStateAssignment::mutable_tag() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.tag) - return &tag_; -} - -// repeated .bgs.protocol.v2.Attribute search_attribute = 14; -inline int ClubStateAssignment::search_attribute_size() const { - return search_attribute_.size(); -} -inline void ClubStateAssignment::clear_search_attribute() { - search_attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.search_attribute) - return search_attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.search_attribute) - return search_attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.search_attribute) - return search_attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubStateAssignment::search_attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute) - return search_attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubStateAssignment::mutable_search_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute) - return &search_attribute_; -} - -// optional bool tag_cleared = 15; -inline bool ClubStateAssignment::has_tag_cleared() const { - return (_has_bits_[0] & 0x00004000u) != 0; -} -inline void ClubStateAssignment::set_has_tag_cleared() { - _has_bits_[0] |= 0x00004000u; -} -inline void ClubStateAssignment::clear_has_tag_cleared() { - _has_bits_[0] &= ~0x00004000u; -} -inline void ClubStateAssignment::clear_tag_cleared() { - tag_cleared_ = false; - clear_has_tag_cleared(); -} -inline bool ClubStateAssignment::tag_cleared() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared) - return tag_cleared_; -} -inline void ClubStateAssignment::set_tag_cleared(bool value) { - set_has_tag_cleared(); - tag_cleared_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared) -} - -// ------------------------------------------------------------------- - -// StreamSettings - -// optional uint64 stream_id = 1; -inline bool StreamSettings::has_stream_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamSettings::set_has_stream_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamSettings::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamSettings::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamSettings::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamSettings.stream_id) - return stream_id_; -} -inline void StreamSettings::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamSettings.stream_id) -} - -// optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2; -inline bool StreamSettings::has_filter() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamSettings::set_has_filter() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamSettings::clear_has_filter() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamSettings::clear_filter() { - filter_ = 0; - clear_has_filter(); -} -inline ::bgs::protocol::club::v1::StreamNotificationFilter StreamSettings::filter() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamSettings.filter) - return static_cast< ::bgs::protocol::club::v1::StreamNotificationFilter >(filter_); -} -inline void StreamSettings::set_filter(::bgs::protocol::club::v1::StreamNotificationFilter value) { - assert(::bgs::protocol::club::v1::StreamNotificationFilter_IsValid(value)); - set_has_filter(); - filter_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamSettings.filter) -} - -// ------------------------------------------------------------------- - -// ClubSettings - -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1; -inline int ClubSettings::stream_size() const { - return stream_.size(); -} -inline void ClubSettings::clear_stream() { - stream_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettings::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.stream) - return stream_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettings::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettings.stream) - return stream_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettings::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettings.stream) - return stream_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& -ClubSettings::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettings.stream) - return stream_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* -ClubSettings::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettings.stream) - return &stream_; -} - -// optional bool stream_notification_filter_all = 2; -inline bool ClubSettings::has_stream_notification_filter_all() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubSettings::set_has_stream_notification_filter_all() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubSettings::clear_has_stream_notification_filter_all() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubSettings::clear_stream_notification_filter_all() { - stream_notification_filter_all_ = false; - clear_has_stream_notification_filter_all(); -} -inline bool ClubSettings::stream_notification_filter_all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.stream_notification_filter_all) - return stream_notification_filter_all_; -} -inline void ClubSettings::set_stream_notification_filter_all(bool value) { - set_has_stream_notification_filter_all(); - stream_notification_filter_all_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettings.stream_notification_filter_all) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 3; -inline int ClubSettings::attribute_size() const { - return attribute_.size(); -} -inline void ClubSettings::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubSettings::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubSettings::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettings.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubSettings::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettings.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubSettings::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettings.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubSettings::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettings.attribute) - return &attribute_; -} - -// optional bool push_notification_filter_all = 4; -inline bool ClubSettings::has_push_notification_filter_all() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubSettings::set_has_push_notification_filter_all() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubSettings::clear_has_push_notification_filter_all() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubSettings::clear_push_notification_filter_all() { - push_notification_filter_all_ = false; - clear_has_push_notification_filter_all(); -} -inline bool ClubSettings::push_notification_filter_all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.push_notification_filter_all) - return push_notification_filter_all_; -} -inline void ClubSettings::set_push_notification_filter_all(bool value) { - set_has_push_notification_filter_all(); - push_notification_filter_all_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettings.push_notification_filter_all) -} - -// ------------------------------------------------------------------- - -// ClubSettingsOptions - -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; -inline int ClubSettingsOptions::stream_size() const { - return stream_.size(); -} -inline void ClubSettingsOptions::clear_stream() { - stream_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettingsOptions::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.stream) - return stream_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsOptions::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsOptions.stream) - return stream_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsOptions::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsOptions.stream) - return stream_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& -ClubSettingsOptions::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsOptions.stream) - return stream_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* -ClubSettingsOptions::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsOptions.stream) - return &stream_; -} - -// optional .bgs.protocol.club.v1.ClubSettings settings = 2; -inline bool ClubSettingsOptions::has_settings() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubSettingsOptions::set_has_settings() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubSettingsOptions::clear_has_settings() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubSettingsOptions::clear_settings() { - if (settings_ != NULL) settings_->::bgs::protocol::club::v1::ClubSettings::Clear(); - clear_has_settings(); -} -inline const ::bgs::protocol::club::v1::ClubSettings& ClubSettingsOptions::settings() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.settings) - return settings_ != NULL ? *settings_ : *default_instance_->settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsOptions::mutable_settings() { - set_has_settings(); - if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::ClubSettings; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsOptions.settings) - return settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsOptions::release_settings() { - clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; - settings_ = NULL; - return temp; -} -inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { - delete settings_; - settings_ = settings; - if (settings) { - set_has_settings(); - } else { - clear_has_settings(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsOptions.settings) -} - -// optional uint32 version = 3; -inline bool ClubSettingsOptions::has_version() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubSettingsOptions::set_has_version() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubSettingsOptions::clear_has_version() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubSettingsOptions::clear_version() { - version_ = 0u; - clear_has_version(); -} -inline ::google::protobuf::uint32 ClubSettingsOptions::version() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.version) - return version_; -} -inline void ClubSettingsOptions::set_version(::google::protobuf::uint32 value) { - set_has_version(); - version_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettingsOptions.version) -} - -// ------------------------------------------------------------------- - -// ClubSettingsAssignment - -// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true]; -inline int ClubSettingsAssignment::stream_size() const { - return stream_.size(); -} -inline void ClubSettingsAssignment::clear_stream() { - stream_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettingsAssignment::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsAssignment.stream) - return stream_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsAssignment.stream) - return stream_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsAssignment::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsAssignment.stream) - return stream_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >& -ClubSettingsAssignment::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream) - return stream_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >* -ClubSettingsAssignment::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream) - return &stream_; -} - -// optional .bgs.protocol.club.v1.ClubSettings settings = 2; -inline bool ClubSettingsAssignment::has_settings() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubSettingsAssignment::set_has_settings() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubSettingsAssignment::clear_has_settings() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubSettingsAssignment::clear_settings() { - if (settings_ != NULL) settings_->::bgs::protocol::club::v1::ClubSettings::Clear(); - clear_has_settings(); -} -inline const ::bgs::protocol::club::v1::ClubSettings& ClubSettingsAssignment::settings() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsAssignment.settings) - return settings_ != NULL ? *settings_ : *default_instance_->settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsAssignment::mutable_settings() { - set_has_settings(); - if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::ClubSettings; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsAssignment.settings) - return settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsAssignment::release_settings() { - clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; - settings_ = NULL; - return temp; -} -inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { - delete settings_; - settings_ = settings; - if (settings) { - set_has_settings(); - } else { - clear_has_settings(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsAssignment.settings) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fcore_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_enum.pb.cc b/src/server/proto/Client/club_enum.pb.cc deleted file mode 100644 index f4609131843..00000000000 --- a/src/server/proto/Client/club_enum.pb.cc +++ /dev/null @@ -1,266 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_enum.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_enum.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fenum_2eproto() { - protobuf_AddDesc_club_5fenum_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_enum.proto"); - GOOGLE_CHECK(file != NULL); - PrivacyLevel_descriptor_ = file->enum_type(0); - VisibilityLevel_descriptor_ = file->enum_type(1); - ClubRemovedReason_descriptor_ = file->enum_type(2); - StreamVoiceLevel_descriptor_ = file->enum_type(3); - VoiceMicrophoneState_descriptor_ = file->enum_type(4); - PresenceLevel_descriptor_ = file->enum_type(5); - WhisperLevel_descriptor_ = file->enum_type(6); - StreamNotificationFilter_descriptor_ = file->enum_type(7); - JoinClubSource_descriptor_ = file->enum_type(8); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fenum_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fenum_2eproto() { -} - -void protobuf_AddDesc_club_5fenum_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\017club_enum.proto\022\024bgs.protocol.club.v1*" - "\202\001\n\014PrivacyLevel\022\030\n\024PRIVACY_LEVEL_CLOSED" - "\020\000\022!\n\035PRIVACY_LEVEL_OPEN_INVITATION\020\001\022\035\n" - "\031PRIVACY_LEVEL_OPEN_TICKET\020\002\022\026\n\022PRIVACY_" - "LEVEL_OPEN\020\003*L\n\017VisibilityLevel\022\034\n\030VISIB" - "ILITY_LEVEL_PRIVATE\020\000\022\033\n\027VISIBILITY_LEVE" - "L_PUBLIC\020\001*\262\002\n\021ClubRemovedReason\022\034\n\030CLUB" - "_REMOVED_REASON_NONE\020\000\022#\n\037CLUB_REMOVED_R" - "EASON_MEMBER_LEFT\020\001\022%\n!CLUB_REMOVED_REAS" - "ON_MEMBER_KICKED\020\002\022%\n!CLUB_REMOVED_REASO" - "N_MEMBER_BANNED\020\003\0221\n-CLUB_REMOVED_REASON" - "_MEMBER_REMOVED_BY_SERVICE\020\004\022+\n\'CLUB_REM" - "OVED_REASON_DESTROYED_BY_MEMBER\020\005\022,\n(CLU" - "B_REMOVED_REASON_DESTROYED_BY_SERVICE\020\006*" - "d\n\020StreamVoiceLevel\022\030\n\024VOICE_LEVEL_DISAB" - "LED\020\000\022\034\n\030VOICE_LEVEL_PUSH_TO_TALK\020\001\022\030\n\024V" - "OICE_LEVEL_OPEN_MIC\020\002*s\n\024VoiceMicrophone" - "State\022\033\n\027MICROPHONE_STATE_NORMAL\020\000\022\036\n\032MI" - "CROPHONE_STATE_SELF_MUTE\020\001\022\036\n\032MICROPHONE" - "_STATE_SELF_DEAF\020\002*[\n\rPresenceLevel\022\027\n\023P" - "RESENCE_LEVEL_NONE\020\000\022\030\n\024PRESENCE_LEVEL_B" - "ASIC\020\001\022\027\n\023PRESENCE_LEVEL_RICH\020\002*D\n\014Whisp" - "erLevel\022\026\n\022WHISPER_LEVEL_OPEN\020\000\022\034\n\030WHISP" - "ER_LEVEL_RESTRICTED\020\001*\213\001\n\030StreamNotifica" - "tionFilter\022#\n\037STREAM_NOTIFICATION_FILTER" - "_NONE\020\000\022&\n\"STREAM_NOTIFICATION_FILTER_ME" - "NTION\020\001\022\"\n\036STREAM_NOTIFICATION_FILTER_AL" - "L\020\002*w\n\016JoinClubSource\022\031\n\025JOIN_CLUB_SOURC" - "E_NONE\020\000\022 \n\034JOIN_CLUB_SOURCE_CLUB_FINDER" - "\020\001\022(\n$JOIN_CLUB_SOURCE_CLUB_RECOMMENDATI" - "ON\020\002B\002H\002", 1208); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_enum.proto", &protobuf_RegisterTypes); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fenum_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fenum_2eproto { - StaticDescriptorInitializer_club_5fenum_2eproto() { - protobuf_AddDesc_club_5fenum_2eproto(); - } -} static_descriptor_initializer_club_5fenum_2eproto_; -const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return PrivacyLevel_descriptor_; -} -bool PrivacyLevel_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return VisibilityLevel_descriptor_; -} -bool VisibilityLevel_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubRemovedReason_descriptor_; -} -bool ClubRemovedReason_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamVoiceLevel_descriptor_; -} -bool StreamVoiceLevel_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor() { - protobuf_AssignDescriptorsOnce(); - return VoiceMicrophoneState_descriptor_; -} -bool VoiceMicrophoneState_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return PresenceLevel_descriptor_; -} -bool PresenceLevel_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor() { - protobuf_AssignDescriptorsOnce(); - return WhisperLevel_descriptor_; -} -bool WhisperLevel_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamNotificationFilter_descriptor_; -} -bool StreamNotificationFilter_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor() { - protobuf_AssignDescriptorsOnce(); - return JoinClubSource_descriptor_; -} -bool JoinClubSource_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_enum.pb.h b/src/server/proto/Client/club_enum.pb.h deleted file mode 100644 index dc0125ad274..00000000000 --- a/src/server/proto/Client/club_enum.pb.h +++ /dev/null @@ -1,290 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_enum.proto - -#ifndef PROTOBUF_club_5fenum_2eproto__INCLUDED -#define PROTOBUF_club_5fenum_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fenum_2eproto(); -void protobuf_AssignDesc_club_5fenum_2eproto(); -void protobuf_ShutdownFile_club_5fenum_2eproto(); - -enum PrivacyLevel { - PRIVACY_LEVEL_CLOSED = 0, - PRIVACY_LEVEL_OPEN_INVITATION = 1, - PRIVACY_LEVEL_OPEN_TICKET = 2, - PRIVACY_LEVEL_OPEN = 3 -}; -TC_PROTO_API bool PrivacyLevel_IsValid(int value); -const PrivacyLevel PrivacyLevel_MIN = PRIVACY_LEVEL_CLOSED; -const PrivacyLevel PrivacyLevel_MAX = PRIVACY_LEVEL_OPEN; -const int PrivacyLevel_ARRAYSIZE = PrivacyLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* PrivacyLevel_descriptor(); -inline const ::std::string& PrivacyLevel_Name(PrivacyLevel value) { - return ::google::protobuf::internal::NameOfEnum( - PrivacyLevel_descriptor(), value); -} -inline bool PrivacyLevel_Parse( - const ::std::string& name, PrivacyLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - PrivacyLevel_descriptor(), name, value); -} -enum VisibilityLevel { - VISIBILITY_LEVEL_PRIVATE = 0, - VISIBILITY_LEVEL_PUBLIC = 1 -}; -TC_PROTO_API bool VisibilityLevel_IsValid(int value); -const VisibilityLevel VisibilityLevel_MIN = VISIBILITY_LEVEL_PRIVATE; -const VisibilityLevel VisibilityLevel_MAX = VISIBILITY_LEVEL_PUBLIC; -const int VisibilityLevel_ARRAYSIZE = VisibilityLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* VisibilityLevel_descriptor(); -inline const ::std::string& VisibilityLevel_Name(VisibilityLevel value) { - return ::google::protobuf::internal::NameOfEnum( - VisibilityLevel_descriptor(), value); -} -inline bool VisibilityLevel_Parse( - const ::std::string& name, VisibilityLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VisibilityLevel_descriptor(), name, value); -} -enum ClubRemovedReason { - CLUB_REMOVED_REASON_NONE = 0, - CLUB_REMOVED_REASON_MEMBER_LEFT = 1, - CLUB_REMOVED_REASON_MEMBER_KICKED = 2, - CLUB_REMOVED_REASON_MEMBER_BANNED = 3, - CLUB_REMOVED_REASON_MEMBER_REMOVED_BY_SERVICE = 4, - CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER = 5, - CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE = 6 -}; -TC_PROTO_API bool ClubRemovedReason_IsValid(int value); -const ClubRemovedReason ClubRemovedReason_MIN = CLUB_REMOVED_REASON_NONE; -const ClubRemovedReason ClubRemovedReason_MAX = CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE; -const int ClubRemovedReason_ARRAYSIZE = ClubRemovedReason_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* ClubRemovedReason_descriptor(); -inline const ::std::string& ClubRemovedReason_Name(ClubRemovedReason value) { - return ::google::protobuf::internal::NameOfEnum( - ClubRemovedReason_descriptor(), value); -} -inline bool ClubRemovedReason_Parse( - const ::std::string& name, ClubRemovedReason* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ClubRemovedReason_descriptor(), name, value); -} -enum StreamVoiceLevel { - VOICE_LEVEL_DISABLED = 0, - VOICE_LEVEL_PUSH_TO_TALK = 1, - VOICE_LEVEL_OPEN_MIC = 2 -}; -TC_PROTO_API bool StreamVoiceLevel_IsValid(int value); -const StreamVoiceLevel StreamVoiceLevel_MIN = VOICE_LEVEL_DISABLED; -const StreamVoiceLevel StreamVoiceLevel_MAX = VOICE_LEVEL_OPEN_MIC; -const int StreamVoiceLevel_ARRAYSIZE = StreamVoiceLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamVoiceLevel_descriptor(); -inline const ::std::string& StreamVoiceLevel_Name(StreamVoiceLevel value) { - return ::google::protobuf::internal::NameOfEnum( - StreamVoiceLevel_descriptor(), value); -} -inline bool StreamVoiceLevel_Parse( - const ::std::string& name, StreamVoiceLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - StreamVoiceLevel_descriptor(), name, value); -} -enum VoiceMicrophoneState { - MICROPHONE_STATE_NORMAL = 0, - MICROPHONE_STATE_SELF_MUTE = 1, - MICROPHONE_STATE_SELF_DEAF = 2 -}; -TC_PROTO_API bool VoiceMicrophoneState_IsValid(int value); -const VoiceMicrophoneState VoiceMicrophoneState_MIN = MICROPHONE_STATE_NORMAL; -const VoiceMicrophoneState VoiceMicrophoneState_MAX = MICROPHONE_STATE_SELF_DEAF; -const int VoiceMicrophoneState_ARRAYSIZE = VoiceMicrophoneState_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMicrophoneState_descriptor(); -inline const ::std::string& VoiceMicrophoneState_Name(VoiceMicrophoneState value) { - return ::google::protobuf::internal::NameOfEnum( - VoiceMicrophoneState_descriptor(), value); -} -inline bool VoiceMicrophoneState_Parse( - const ::std::string& name, VoiceMicrophoneState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VoiceMicrophoneState_descriptor(), name, value); -} -enum PresenceLevel { - PRESENCE_LEVEL_NONE = 0, - PRESENCE_LEVEL_BASIC = 1, - PRESENCE_LEVEL_RICH = 2 -}; -TC_PROTO_API bool PresenceLevel_IsValid(int value); -const PresenceLevel PresenceLevel_MIN = PRESENCE_LEVEL_NONE; -const PresenceLevel PresenceLevel_MAX = PRESENCE_LEVEL_RICH; -const int PresenceLevel_ARRAYSIZE = PresenceLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* PresenceLevel_descriptor(); -inline const ::std::string& PresenceLevel_Name(PresenceLevel value) { - return ::google::protobuf::internal::NameOfEnum( - PresenceLevel_descriptor(), value); -} -inline bool PresenceLevel_Parse( - const ::std::string& name, PresenceLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - PresenceLevel_descriptor(), name, value); -} -enum WhisperLevel { - WHISPER_LEVEL_OPEN = 0, - WHISPER_LEVEL_RESTRICTED = 1 -}; -TC_PROTO_API bool WhisperLevel_IsValid(int value); -const WhisperLevel WhisperLevel_MIN = WHISPER_LEVEL_OPEN; -const WhisperLevel WhisperLevel_MAX = WHISPER_LEVEL_RESTRICTED; -const int WhisperLevel_ARRAYSIZE = WhisperLevel_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* WhisperLevel_descriptor(); -inline const ::std::string& WhisperLevel_Name(WhisperLevel value) { - return ::google::protobuf::internal::NameOfEnum( - WhisperLevel_descriptor(), value); -} -inline bool WhisperLevel_Parse( - const ::std::string& name, WhisperLevel* value) { - return ::google::protobuf::internal::ParseNamedEnum( - WhisperLevel_descriptor(), name, value); -} -enum StreamNotificationFilter { - STREAM_NOTIFICATION_FILTER_NONE = 0, - STREAM_NOTIFICATION_FILTER_MENTION = 1, - STREAM_NOTIFICATION_FILTER_ALL = 2 -}; -TC_PROTO_API bool StreamNotificationFilter_IsValid(int value); -const StreamNotificationFilter StreamNotificationFilter_MIN = STREAM_NOTIFICATION_FILTER_NONE; -const StreamNotificationFilter StreamNotificationFilter_MAX = STREAM_NOTIFICATION_FILTER_ALL; -const int StreamNotificationFilter_ARRAYSIZE = StreamNotificationFilter_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* StreamNotificationFilter_descriptor(); -inline const ::std::string& StreamNotificationFilter_Name(StreamNotificationFilter value) { - return ::google::protobuf::internal::NameOfEnum( - StreamNotificationFilter_descriptor(), value); -} -inline bool StreamNotificationFilter_Parse( - const ::std::string& name, StreamNotificationFilter* value) { - return ::google::protobuf::internal::ParseNamedEnum( - StreamNotificationFilter_descriptor(), name, value); -} -enum JoinClubSource { - JOIN_CLUB_SOURCE_NONE = 0, - JOIN_CLUB_SOURCE_CLUB_FINDER = 1, - JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION = 2 -}; -TC_PROTO_API bool JoinClubSource_IsValid(int value); -const JoinClubSource JoinClubSource_MIN = JOIN_CLUB_SOURCE_NONE; -const JoinClubSource JoinClubSource_MAX = JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION; -const int JoinClubSource_ARRAYSIZE = JoinClubSource_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* JoinClubSource_descriptor(); -inline const ::std::string& JoinClubSource_Name(JoinClubSource value) { - return ::google::protobuf::internal::NameOfEnum( - JoinClubSource_descriptor(), value); -} -inline bool JoinClubSource_Parse( - const ::std::string& name, JoinClubSource* value) { - return ::google::protobuf::internal::ParseNamedEnum( - JoinClubSource_descriptor(), name, value); -} -// =================================================================== - -// =================================================================== - -// =================================================================== - -// =================================================================== -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::club::v1::PrivacyLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel>() { - return ::bgs::protocol::club::v1::PrivacyLevel_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::VisibilityLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel>() { - return ::bgs::protocol::club::v1::VisibilityLevel_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::ClubRemovedReason> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::ClubRemovedReason>() { - return ::bgs::protocol::club::v1::ClubRemovedReason_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::StreamVoiceLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::StreamVoiceLevel>() { - return ::bgs::protocol::club::v1::StreamVoiceLevel_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::VoiceMicrophoneState> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::VoiceMicrophoneState>() { - return ::bgs::protocol::club::v1::VoiceMicrophoneState_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::PresenceLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::PresenceLevel>() { - return ::bgs::protocol::club::v1::PresenceLevel_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::WhisperLevel> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::WhisperLevel>() { - return ::bgs::protocol::club::v1::WhisperLevel_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::StreamNotificationFilter> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::StreamNotificationFilter>() { - return ::bgs::protocol::club::v1::StreamNotificationFilter_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::JoinClubSource> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::JoinClubSource>() { - return ::bgs::protocol::club::v1::JoinClubSource_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fenum_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_invitation.pb.cc b/src/server/proto/Client/club_invitation.pb.cc deleted file mode 100644 index 16a7e624e3d..00000000000 --- a/src/server/proto/Client/club_invitation.pb.cc +++ /dev/null @@ -1,931 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_invitation.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_invitation.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* ClubSlot_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSlot_reflection_ = NULL; -const ::google::protobuf::Descriptor* SendInvitationOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SendInvitationOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubInvitation_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubInvitation_reflection_ = NULL; -const ::google::protobuf::Descriptor* SendSuggestionOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SendSuggestionOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSuggestion_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSuggestion_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateTicketOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateTicketOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubTicket_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubTicket_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5finvitation_2eproto() { - protobuf_AddDesc_club_5finvitation_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_invitation.proto"); - GOOGLE_CHECK(file != NULL); - ClubSlot_descriptor_ = file->message_type(0); - static const int ClubSlot_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, default_stream_id_), - }; - ClubSlot_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSlot_descriptor_, - ClubSlot::default_instance_, - ClubSlot_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSlot, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSlot)); - SendInvitationOptions_descriptor_ = file->message_type(1); - static const int SendInvitationOptions_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, target_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, attribute_), - }; - SendInvitationOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SendInvitationOptions_descriptor_, - SendInvitationOptions::default_instance_, - SendInvitationOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SendInvitationOptions)); - ClubInvitation_descriptor_ = file->message_type(2); - static const int ClubInvitation_offsets_[9] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, inviter_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, invitee_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, club_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, expiration_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, suggester_), - }; - ClubInvitation_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubInvitation_descriptor_, - ClubInvitation::default_instance_, - ClubInvitation_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitation, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubInvitation)); - SendSuggestionOptions_descriptor_ = file->message_type(3); - static const int SendSuggestionOptions_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, target_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, join_club_source_), - }; - SendSuggestionOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SendSuggestionOptions_descriptor_, - SendSuggestionOptions::default_instance_, - SendSuggestionOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SendSuggestionOptions)); - ClubSuggestion_descriptor_ = file->message_type(4); - static const int ClubSuggestion_offsets_[8] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggester_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, suggestee_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, expiration_time_), - }; - ClubSuggestion_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSuggestion_descriptor_, - ClubSuggestion::default_instance_, - ClubSuggestion_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestion, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSuggestion)); - CreateTicketOptions_descriptor_ = file->message_type(5); - static const int CreateTicketOptions_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, allowed_redeem_count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, expiration_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, join_club_source_), - }; - CreateTicketOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateTicketOptions_descriptor_, - CreateTicketOptions::default_instance_, - CreateTicketOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateTicketOptions)); - ClubTicket_descriptor_ = file->message_type(6); - static const int ClubTicket_offsets_[9] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creator_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, club_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, slot_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, current_redeem_count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, allowed_redeem_count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, expiration_time_), - }; - ClubTicket_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubTicket_descriptor_, - ClubTicket::default_instance_, - ClubTicket_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicket, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubTicket)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5finvitation_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSlot_descriptor_, &ClubSlot::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SendInvitationOptions_descriptor_, &SendInvitationOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubInvitation_descriptor_, &ClubInvitation::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SendSuggestionOptions_descriptor_, &SendSuggestionOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSuggestion_descriptor_, &ClubSuggestion::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateTicketOptions_descriptor_, &CreateTicketOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubTicket_descriptor_, &ClubTicket::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5finvitation_2eproto() { - delete ClubSlot::default_instance_; - delete ClubSlot_reflection_; - delete SendInvitationOptions::default_instance_; - delete SendInvitationOptions_reflection_; - delete ClubInvitation::default_instance_; - delete ClubInvitation_reflection_; - delete SendSuggestionOptions::default_instance_; - delete SendSuggestionOptions_reflection_; - delete ClubSuggestion::default_instance_; - delete ClubSuggestion_reflection_; - delete CreateTicketOptions::default_instance_; - delete CreateTicketOptions_reflection_; - delete ClubTicket::default_instance_; - delete ClubTicket_reflection_; -} - -void protobuf_AddDesc_club_5finvitation_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fcore_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\025club_invitation.proto\022\024bgs.protocol.cl" - "ub.v1\032%global_extensions/field_options.p" - "roto\032\017club_core.proto\032\021club_member.proto" - "\032#api/client/v2/attribute_types.proto\"3\n" - "\010ClubSlot\022\014\n\004role\030\001 \001(\r\022\031\n\021default_strea" - "m_id\030\002 \001(\004\"\247\001\n\025SendInvitationOptions\0221\n\t" - "target_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" - "emberId\022,\n\004slot\030\002 \001(\0132\036.bgs.protocol.clu" - "b.v1.ClubSlot\022-\n\tattribute\030\003 \003(\0132\032.bgs.p" - "rotocol.v2.Attribute\"\216\003\n\016ClubInvitation\022" - "\n\n\002id\030\001 \001(\006\0228\n\007inviter\030\002 \001(\0132\'.bgs.proto" - "col.club.v1.MemberDescription\0228\n\007invitee" - "\030\003 \001(\0132\'.bgs.protocol.club.v1.MemberDesc" - "ription\0223\n\004club\030\004 \001(\0132%.bgs.protocol.clu" - "b.v1.ClubDescription\022,\n\004slot\030\005 \001(\0132\036.bgs" - ".protocol.club.v1.ClubSlot\022-\n\tattribute\030" - "\006 \003(\0132\032.bgs.protocol.v2.Attribute\022\025\n\rcre" - "ation_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001(" - "\004\022:\n\tsuggester\030\t \001(\0132\'.bgs.protocol.club" - ".v1.MemberDescription\"\327\001\n\025SendSuggestion" - "Options\0221\n\ttarget_id\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.MemberId\022,\n\004slot\030\002 \001(\0132\036.bgs.p" - "rotocol.club.v1.ClubSlot\022-\n\tattribute\030\003 " - "\003(\0132\032.bgs.protocol.v2.Attribute\022.\n\020join_" - "club_source\030\004 \001(\rB\024\202\371+\020*\016JoinClubSource\"" - "\262\002\n\016ClubSuggestion\022\n\n\002id\030\001 \001(\006\022\017\n\007club_i" - "d\030\002 \001(\004\022:\n\tsuggester\030\003 \001(\0132\'.bgs.protoco" - "l.club.v1.MemberDescription\022:\n\tsuggestee" - "\030\004 \001(\0132\'.bgs.protocol.club.v1.MemberDesc" - "ription\022,\n\004slot\030\005 \001(\0132\036.bgs.protocol.clu" - "b.v1.ClubSlot\022-\n\tattribute\030\006 \003(\0132\032.bgs.p" - "rotocol.v2.Attribute\022\025\n\rcreation_time\030\007 " - "\001(\004\022\027\n\017expiration_time\030\010 \001(\004\"\331\001\n\023CreateT" - "icketOptions\022,\n\004slot\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.ClubSlot\022-\n\tattribute\030\002 \003(\0132\032." - "bgs.protocol.v2.Attribute\022\034\n\024allowed_red" - "eem_count\030\003 \001(\r\022\027\n\017expiration_time\030\004 \001(\004" - "\022.\n\020join_club_source\030\005 \001(\rB\024\202\371+\020*\016JoinCl" - "ubSource\"\320\002\n\nClubTicket\022\n\n\002id\030\001 \001(\t\0228\n\007c" - "reator\030\002 \001(\0132\'.bgs.protocol.club.v1.Memb" - "erDescription\0223\n\004club\030\003 \001(\0132%.bgs.protoc" - "ol.club.v1.ClubDescription\022,\n\004slot\030\004 \001(\013" - "2\036.bgs.protocol.club.v1.ClubSlot\022-\n\tattr" - "ibute\030\005 \003(\0132\032.bgs.protocol.v2.Attribute\022" - "\034\n\024current_redeem_count\030\006 \001(\r\022\034\n\024allowed" - "_redeem_count\030\007 \001(\r\022\025\n\rcreation_time\030\010 \001" - "(\004\022\027\n\017expiration_time\030\t \001(\004B\002H\002P\000", 1873); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_invitation.proto", &protobuf_RegisterTypes); - ClubSlot::default_instance_ = new ClubSlot(); - SendInvitationOptions::default_instance_ = new SendInvitationOptions(); - ClubInvitation::default_instance_ = new ClubInvitation(); - SendSuggestionOptions::default_instance_ = new SendSuggestionOptions(); - ClubSuggestion::default_instance_ = new ClubSuggestion(); - CreateTicketOptions::default_instance_ = new CreateTicketOptions(); - ClubTicket::default_instance_ = new ClubTicket(); - ClubSlot::default_instance_->InitAsDefaultInstance(); - SendInvitationOptions::default_instance_->InitAsDefaultInstance(); - ClubInvitation::default_instance_->InitAsDefaultInstance(); - SendSuggestionOptions::default_instance_->InitAsDefaultInstance(); - ClubSuggestion::default_instance_->InitAsDefaultInstance(); - CreateTicketOptions::default_instance_->InitAsDefaultInstance(); - ClubTicket::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5finvitation_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5finvitation_2eproto { - StaticDescriptorInitializer_club_5finvitation_2eproto() { - protobuf_AddDesc_club_5finvitation_2eproto(); - } -} static_descriptor_initializer_club_5finvitation_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ClubSlot::kRoleFieldNumber; -const int ClubSlot::kDefaultStreamIdFieldNumber; -#endif // !_MSC_VER - -ClubSlot::ClubSlot() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSlot) -} - -void ClubSlot::InitAsDefaultInstance() { -} - -ClubSlot::ClubSlot(const ClubSlot& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSlot) -} - -void ClubSlot::SharedCtor() { - _cached_size_ = 0; - role_ = 0u; - default_stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSlot::~ClubSlot() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSlot) - SharedDtor(); -} - -void ClubSlot::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubSlot::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSlot::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSlot_descriptor_; -} - -const ClubSlot& ClubSlot::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -ClubSlot* ClubSlot::default_instance_ = NULL; - -ClubSlot* ClubSlot::New() const { - return new ClubSlot; -} - -void ClubSlot::Swap(ClubSlot* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSlot::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSlot_descriptor_; - metadata.reflection = ClubSlot_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SendInvitationOptions::kTargetIdFieldNumber; -const int SendInvitationOptions::kSlotFieldNumber; -const int SendInvitationOptions::kAttributeFieldNumber; -#endif // !_MSC_VER - -SendInvitationOptions::SendInvitationOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendInvitationOptions) -} - -void SendInvitationOptions::InitAsDefaultInstance() { - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); -} - -SendInvitationOptions::SendInvitationOptions(const SendInvitationOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SendInvitationOptions) -} - -void SendInvitationOptions::SharedCtor() { - _cached_size_ = 0; - target_id_ = NULL; - slot_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SendInvitationOptions::~SendInvitationOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendInvitationOptions) - SharedDtor(); -} - -void SendInvitationOptions::SharedDtor() { - if (this != default_instance_) { - delete target_id_; - delete slot_; - } -} - -void SendInvitationOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SendInvitationOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SendInvitationOptions_descriptor_; -} - -const SendInvitationOptions& SendInvitationOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -SendInvitationOptions* SendInvitationOptions::default_instance_ = NULL; - -SendInvitationOptions* SendInvitationOptions::New() const { - return new SendInvitationOptions; -} - -void SendInvitationOptions::Swap(SendInvitationOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SendInvitationOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SendInvitationOptions_descriptor_; - metadata.reflection = SendInvitationOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubInvitation::kIdFieldNumber; -const int ClubInvitation::kInviterFieldNumber; -const int ClubInvitation::kInviteeFieldNumber; -const int ClubInvitation::kClubFieldNumber; -const int ClubInvitation::kSlotFieldNumber; -const int ClubInvitation::kAttributeFieldNumber; -const int ClubInvitation::kCreationTimeFieldNumber; -const int ClubInvitation::kExpirationTimeFieldNumber; -const int ClubInvitation::kSuggesterFieldNumber; -#endif // !_MSC_VER - -ClubInvitation::ClubInvitation() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubInvitation) -} - -void ClubInvitation::InitAsDefaultInstance() { - inviter_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - invitee_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); - suggester_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); -} - -ClubInvitation::ClubInvitation(const ClubInvitation& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubInvitation) -} - -void ClubInvitation::SharedCtor() { - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - inviter_ = NULL; - invitee_ = NULL; - club_ = NULL; - slot_ = NULL; - creation_time_ = GOOGLE_ULONGLONG(0); - expiration_time_ = GOOGLE_ULONGLONG(0); - suggester_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubInvitation::~ClubInvitation() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubInvitation) - SharedDtor(); -} - -void ClubInvitation::SharedDtor() { - if (this != default_instance_) { - delete inviter_; - delete invitee_; - delete club_; - delete slot_; - delete suggester_; - } -} - -void ClubInvitation::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubInvitation::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubInvitation_descriptor_; -} - -const ClubInvitation& ClubInvitation::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -ClubInvitation* ClubInvitation::default_instance_ = NULL; - -ClubInvitation* ClubInvitation::New() const { - return new ClubInvitation; -} - -void ClubInvitation::Swap(ClubInvitation* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubInvitation::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubInvitation_descriptor_; - metadata.reflection = ClubInvitation_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SendSuggestionOptions::kTargetIdFieldNumber; -const int SendSuggestionOptions::kSlotFieldNumber; -const int SendSuggestionOptions::kAttributeFieldNumber; -const int SendSuggestionOptions::kJoinClubSourceFieldNumber; -#endif // !_MSC_VER - -SendSuggestionOptions::SendSuggestionOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendSuggestionOptions) -} - -void SendSuggestionOptions::InitAsDefaultInstance() { - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); -} - -SendSuggestionOptions::SendSuggestionOptions(const SendSuggestionOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SendSuggestionOptions) -} - -void SendSuggestionOptions::SharedCtor() { - _cached_size_ = 0; - target_id_ = NULL; - slot_ = NULL; - join_club_source_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SendSuggestionOptions::~SendSuggestionOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendSuggestionOptions) - SharedDtor(); -} - -void SendSuggestionOptions::SharedDtor() { - if (this != default_instance_) { - delete target_id_; - delete slot_; - } -} - -void SendSuggestionOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SendSuggestionOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SendSuggestionOptions_descriptor_; -} - -const SendSuggestionOptions& SendSuggestionOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -SendSuggestionOptions* SendSuggestionOptions::default_instance_ = NULL; - -SendSuggestionOptions* SendSuggestionOptions::New() const { - return new SendSuggestionOptions; -} - -void SendSuggestionOptions::Swap(SendSuggestionOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SendSuggestionOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SendSuggestionOptions_descriptor_; - metadata.reflection = SendSuggestionOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSuggestion::kIdFieldNumber; -const int ClubSuggestion::kClubIdFieldNumber; -const int ClubSuggestion::kSuggesterFieldNumber; -const int ClubSuggestion::kSuggesteeFieldNumber; -const int ClubSuggestion::kSlotFieldNumber; -const int ClubSuggestion::kAttributeFieldNumber; -const int ClubSuggestion::kCreationTimeFieldNumber; -const int ClubSuggestion::kExpirationTimeFieldNumber; -#endif // !_MSC_VER - -ClubSuggestion::ClubSuggestion() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSuggestion) -} - -void ClubSuggestion::InitAsDefaultInstance() { - suggester_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - suggestee_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); -} - -ClubSuggestion::ClubSuggestion(const ClubSuggestion& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSuggestion) -} - -void ClubSuggestion::SharedCtor() { - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - club_id_ = GOOGLE_ULONGLONG(0); - suggester_ = NULL; - suggestee_ = NULL; - slot_ = NULL; - creation_time_ = GOOGLE_ULONGLONG(0); - expiration_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSuggestion::~ClubSuggestion() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSuggestion) - SharedDtor(); -} - -void ClubSuggestion::SharedDtor() { - if (this != default_instance_) { - delete suggester_; - delete suggestee_; - delete slot_; - } -} - -void ClubSuggestion::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSuggestion::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSuggestion_descriptor_; -} - -const ClubSuggestion& ClubSuggestion::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -ClubSuggestion* ClubSuggestion::default_instance_ = NULL; - -ClubSuggestion* ClubSuggestion::New() const { - return new ClubSuggestion; -} - -void ClubSuggestion::Swap(ClubSuggestion* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSuggestion::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSuggestion_descriptor_; - metadata.reflection = ClubSuggestion_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateTicketOptions::kSlotFieldNumber; -const int CreateTicketOptions::kAttributeFieldNumber; -const int CreateTicketOptions::kAllowedRedeemCountFieldNumber; -const int CreateTicketOptions::kExpirationTimeFieldNumber; -const int CreateTicketOptions::kJoinClubSourceFieldNumber; -#endif // !_MSC_VER - -CreateTicketOptions::CreateTicketOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketOptions) -} - -void CreateTicketOptions::InitAsDefaultInstance() { - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); -} - -CreateTicketOptions::CreateTicketOptions(const CreateTicketOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateTicketOptions) -} - -void CreateTicketOptions::SharedCtor() { - _cached_size_ = 0; - slot_ = NULL; - allowed_redeem_count_ = 0u; - expiration_time_ = GOOGLE_ULONGLONG(0); - join_club_source_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateTicketOptions::~CreateTicketOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketOptions) - SharedDtor(); -} - -void CreateTicketOptions::SharedDtor() { - if (this != default_instance_) { - delete slot_; - } -} - -void CreateTicketOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateTicketOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateTicketOptions_descriptor_; -} - -const CreateTicketOptions& CreateTicketOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -CreateTicketOptions* CreateTicketOptions::default_instance_ = NULL; - -CreateTicketOptions* CreateTicketOptions::New() const { - return new CreateTicketOptions; -} - -void CreateTicketOptions::Swap(CreateTicketOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateTicketOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateTicketOptions_descriptor_; - metadata.reflection = CreateTicketOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubTicket::kIdFieldNumber; -const int ClubTicket::kCreatorFieldNumber; -const int ClubTicket::kClubFieldNumber; -const int ClubTicket::kSlotFieldNumber; -const int ClubTicket::kAttributeFieldNumber; -const int ClubTicket::kCurrentRedeemCountFieldNumber; -const int ClubTicket::kAllowedRedeemCountFieldNumber; -const int ClubTicket::kCreationTimeFieldNumber; -const int ClubTicket::kExpirationTimeFieldNumber; -#endif // !_MSC_VER - -ClubTicket::ClubTicket() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTicket) -} - -void ClubTicket::InitAsDefaultInstance() { - creator_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); - slot_ = const_cast< ::bgs::protocol::club::v1::ClubSlot*>(&::bgs::protocol::club::v1::ClubSlot::default_instance()); -} - -ClubTicket::ClubTicket(const ClubTicket& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubTicket) -} - -void ClubTicket::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - creator_ = NULL; - club_ = NULL; - slot_ = NULL; - current_redeem_count_ = 0u; - allowed_redeem_count_ = 0u; - creation_time_ = GOOGLE_ULONGLONG(0); - expiration_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubTicket::~ClubTicket() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTicket) - SharedDtor(); -} - -void ClubTicket::SharedDtor() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (this != default_instance_) { - delete creator_; - delete club_; - delete slot_; - } -} - -void ClubTicket::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubTicket::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubTicket_descriptor_; -} - -const ClubTicket& ClubTicket::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5finvitation_2eproto(); - return *default_instance_; -} - -ClubTicket* ClubTicket::default_instance_ = NULL; - -ClubTicket* ClubTicket::New() const { - return new ClubTicket; -} - -void ClubTicket::Swap(ClubTicket* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubTicket::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubTicket_descriptor_; - metadata.reflection = ClubTicket_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_invitation.pb.h b/src/server/proto/Client/club_invitation.pb.h deleted file mode 100644 index a07a62131d9..00000000000 --- a/src/server/proto/Client/club_invitation.pb.h +++ /dev/null @@ -1,2267 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_invitation.proto - -#ifndef PROTOBUF_club_5finvitation_2eproto__INCLUDED -#define PROTOBUF_club_5finvitation_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "global_extensions/field_options.pb.h" // IWYU pragma: export -#include "club_core.pb.h" -#include "club_member.pb.h" -#include "api/client/v2/attribute_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); -void protobuf_AssignDesc_club_5finvitation_2eproto(); -void protobuf_ShutdownFile_club_5finvitation_2eproto(); - -class ClubSlot; -class SendInvitationOptions; -class ClubInvitation; -class SendSuggestionOptions; -class ClubSuggestion; -class CreateTicketOptions; -class ClubTicket; - -// =================================================================== - -class TC_PROTO_API ClubSlot : public ::google::protobuf::Message { - public: - ClubSlot(); - virtual ~ClubSlot(); - - ClubSlot(const ClubSlot& from); - - inline ClubSlot& operator=(const ClubSlot& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSlot& default_instance(); - - void Swap(ClubSlot* other); - - // implements Message ---------------------------------------------- - - ClubSlot* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 role = 1; - inline bool has_role() const; - inline void clear_role(); - static const int kRoleFieldNumber = 1; - inline ::google::protobuf::uint32 role() const; - inline void set_role(::google::protobuf::uint32 value); - - // optional uint64 default_stream_id = 2; - inline bool has_default_stream_id() const; - inline void clear_default_stream_id(); - static const int kDefaultStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 default_stream_id() const; - inline void set_default_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSlot) - private: - inline void set_has_role(); - inline void clear_has_role(); - inline void set_has_default_stream_id(); - inline void clear_has_default_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 default_stream_id_; - ::google::protobuf::uint32 role_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static ClubSlot* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SendInvitationOptions : public ::google::protobuf::Message { - public: - SendInvitationOptions(); - virtual ~SendInvitationOptions(); - - SendInvitationOptions(const SendInvitationOptions& from); - - inline SendInvitationOptions& operator=(const SendInvitationOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SendInvitationOptions& default_instance(); - - void Swap(SendInvitationOptions* other); - - // implements Message ---------------------------------------------- - - SendInvitationOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId target_id = 1; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // optional .bgs.protocol.club.v1.ClubSlot slot = 2; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendInvitationOptions) - private: - inline void set_has_target_id(); - inline void clear_has_target_id(); - inline void set_has_slot(); - inline void clear_has_slot(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* target_id_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static SendInvitationOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubInvitation : public ::google::protobuf::Message { - public: - ClubInvitation(); - virtual ~ClubInvitation(); - - ClubInvitation(const ClubInvitation& from); - - inline ClubInvitation& operator=(const ClubInvitation& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubInvitation& default_instance(); - - void Swap(ClubInvitation* other); - - // implements Message ---------------------------------------------- - - ClubInvitation* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional fixed64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberDescription inviter = 2; - inline bool has_inviter() const; - inline void clear_inviter(); - static const int kInviterFieldNumber = 2; - inline const ::bgs::protocol::club::v1::MemberDescription& inviter() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_inviter(); - inline ::bgs::protocol::club::v1::MemberDescription* release_inviter(); - inline void set_allocated_inviter(::bgs::protocol::club::v1::MemberDescription* inviter); - - // optional .bgs.protocol.club.v1.MemberDescription invitee = 3; - inline bool has_invitee() const; - inline void clear_invitee(); - static const int kInviteeFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberDescription& invitee() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_invitee(); - inline ::bgs::protocol::club::v1::MemberDescription* release_invitee(); - inline void set_allocated_invitee(::bgs::protocol::club::v1::MemberDescription* invitee); - - // optional .bgs.protocol.club.v1.ClubDescription club = 4; - inline bool has_club() const; - inline void clear_club(); - static const int kClubFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubDescription& club() const; - inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); - inline ::bgs::protocol::club::v1::ClubDescription* release_club(); - inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); - - // optional .bgs.protocol.club.v1.ClubSlot slot = 5; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 5; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 6; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 6; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint64 creation_time = 7; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 7; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional uint64 expiration_time = 8; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 8; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberDescription suggester = 9; - inline bool has_suggester() const; - inline void clear_suggester(); - static const int kSuggesterFieldNumber = 9; - inline const ::bgs::protocol::club::v1::MemberDescription& suggester() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_suggester(); - inline ::bgs::protocol::club::v1::MemberDescription* release_suggester(); - inline void set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubInvitation) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_inviter(); - inline void clear_has_inviter(); - inline void set_has_invitee(); - inline void clear_has_invitee(); - inline void set_has_club(); - inline void clear_has_club(); - inline void set_has_slot(); - inline void clear_has_slot(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - inline void set_has_suggester(); - inline void clear_has_suggester(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::bgs::protocol::club::v1::MemberDescription* inviter_; - ::bgs::protocol::club::v1::MemberDescription* invitee_; - ::bgs::protocol::club::v1::ClubDescription* club_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint64 creation_time_; - ::google::protobuf::uint64 expiration_time_; - ::bgs::protocol::club::v1::MemberDescription* suggester_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static ClubInvitation* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SendSuggestionOptions : public ::google::protobuf::Message { - public: - SendSuggestionOptions(); - virtual ~SendSuggestionOptions(); - - SendSuggestionOptions(const SendSuggestionOptions& from); - - inline SendSuggestionOptions& operator=(const SendSuggestionOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SendSuggestionOptions& default_instance(); - - void Swap(SendSuggestionOptions* other); - - // implements Message ---------------------------------------------- - - SendSuggestionOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId target_id = 1; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // optional .bgs.protocol.club.v1.ClubSlot slot = 2; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint32 join_club_source = 4; - inline bool has_join_club_source() const; - inline void clear_join_club_source(); - static const int kJoinClubSourceFieldNumber = 4; - inline ::google::protobuf::uint32 join_club_source() const; - inline void set_join_club_source(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendSuggestionOptions) - private: - inline void set_has_target_id(); - inline void clear_has_target_id(); - inline void set_has_slot(); - inline void clear_has_slot(); - inline void set_has_join_club_source(); - inline void clear_has_join_club_source(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* target_id_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint32 join_club_source_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static SendSuggestionOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSuggestion : public ::google::protobuf::Message { - public: - ClubSuggestion(); - virtual ~ClubSuggestion(); - - ClubSuggestion(const ClubSuggestion& from); - - inline ClubSuggestion& operator=(const ClubSuggestion& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSuggestion& default_instance(); - - void Swap(ClubSuggestion* other); - - // implements Message ---------------------------------------------- - - ClubSuggestion* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional fixed64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberDescription suggester = 3; - inline bool has_suggester() const; - inline void clear_suggester(); - static const int kSuggesterFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberDescription& suggester() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_suggester(); - inline ::bgs::protocol::club::v1::MemberDescription* release_suggester(); - inline void set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester); - - // optional .bgs.protocol.club.v1.MemberDescription suggestee = 4; - inline bool has_suggestee() const; - inline void clear_suggestee(); - static const int kSuggesteeFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberDescription& suggestee() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_suggestee(); - inline ::bgs::protocol::club::v1::MemberDescription* release_suggestee(); - inline void set_allocated_suggestee(::bgs::protocol::club::v1::MemberDescription* suggestee); - - // optional .bgs.protocol.club.v1.ClubSlot slot = 5; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 5; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 6; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 6; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint64 creation_time = 7; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 7; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional uint64 expiration_time = 8; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 8; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSuggestion) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggester(); - inline void clear_has_suggester(); - inline void set_has_suggestee(); - inline void clear_has_suggestee(); - inline void set_has_slot(); - inline void clear_has_slot(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberDescription* suggester_; - ::bgs::protocol::club::v1::MemberDescription* suggestee_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint64 creation_time_; - ::google::protobuf::uint64 expiration_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static ClubSuggestion* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateTicketOptions : public ::google::protobuf::Message { - public: - CreateTicketOptions(); - virtual ~CreateTicketOptions(); - - CreateTicketOptions(const CreateTicketOptions& from); - - inline CreateTicketOptions& operator=(const CreateTicketOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateTicketOptions& default_instance(); - - void Swap(CreateTicketOptions* other); - - // implements Message ---------------------------------------------- - - CreateTicketOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubSlot slot = 1; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint32 allowed_redeem_count = 3; - inline bool has_allowed_redeem_count() const; - inline void clear_allowed_redeem_count(); - static const int kAllowedRedeemCountFieldNumber = 3; - inline ::google::protobuf::uint32 allowed_redeem_count() const; - inline void set_allowed_redeem_count(::google::protobuf::uint32 value); - - // optional uint64 expiration_time = 4; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 4; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - // optional uint32 join_club_source = 5; - inline bool has_join_club_source() const; - inline void clear_join_club_source(); - static const int kJoinClubSourceFieldNumber = 5; - inline ::google::protobuf::uint32 join_club_source() const; - inline void set_join_club_source(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateTicketOptions) - private: - inline void set_has_slot(); - inline void clear_has_slot(); - inline void set_has_allowed_redeem_count(); - inline void clear_has_allowed_redeem_count(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - inline void set_has_join_club_source(); - inline void clear_has_join_club_source(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint64 expiration_time_; - ::google::protobuf::uint32 allowed_redeem_count_; - ::google::protobuf::uint32 join_club_source_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static CreateTicketOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubTicket : public ::google::protobuf::Message { - public: - ClubTicket(); - virtual ~ClubTicket(); - - ClubTicket(const ClubTicket& from); - - inline ClubTicket& operator=(const ClubTicket& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubTicket& default_instance(); - - void Swap(ClubTicket* other); - - // implements Message ---------------------------------------------- - - ClubTicket* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::std::string& id() const; - inline void set_id(const ::std::string& value); - inline void set_id(const char* value); - inline void set_id(const char* value, size_t size); - inline ::std::string* mutable_id(); - inline ::std::string* release_id(); - inline void set_allocated_id(::std::string* id); - - // optional .bgs.protocol.club.v1.MemberDescription creator = 2; - inline bool has_creator() const; - inline void clear_creator(); - static const int kCreatorFieldNumber = 2; - inline const ::bgs::protocol::club::v1::MemberDescription& creator() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_creator(); - inline ::bgs::protocol::club::v1::MemberDescription* release_creator(); - inline void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator); - - // optional .bgs.protocol.club.v1.ClubDescription club = 3; - inline bool has_club() const; - inline void clear_club(); - static const int kClubFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubDescription& club() const; - inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); - inline ::bgs::protocol::club::v1::ClubDescription* release_club(); - inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); - - // optional .bgs.protocol.club.v1.ClubSlot slot = 4; - inline bool has_slot() const; - inline void clear_slot(); - static const int kSlotFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubSlot& slot() const; - inline ::bgs::protocol::club::v1::ClubSlot* mutable_slot(); - inline ::bgs::protocol::club::v1::ClubSlot* release_slot(); - inline void set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot); - - // repeated .bgs.protocol.v2.Attribute attribute = 5; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 5; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint32 current_redeem_count = 6; - inline bool has_current_redeem_count() const; - inline void clear_current_redeem_count(); - static const int kCurrentRedeemCountFieldNumber = 6; - inline ::google::protobuf::uint32 current_redeem_count() const; - inline void set_current_redeem_count(::google::protobuf::uint32 value); - - // optional uint32 allowed_redeem_count = 7; - inline bool has_allowed_redeem_count() const; - inline void clear_allowed_redeem_count(); - static const int kAllowedRedeemCountFieldNumber = 7; - inline ::google::protobuf::uint32 allowed_redeem_count() const; - inline void set_allowed_redeem_count(::google::protobuf::uint32 value); - - // optional uint64 creation_time = 8; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 8; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional uint64 expiration_time = 9; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 9; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubTicket) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_creator(); - inline void clear_has_creator(); - inline void set_has_club(); - inline void clear_has_club(); - inline void set_has_slot(); - inline void clear_has_slot(); - inline void set_has_current_redeem_count(); - inline void clear_has_current_redeem_count(); - inline void set_has_allowed_redeem_count(); - inline void clear_has_allowed_redeem_count(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* id_; - ::bgs::protocol::club::v1::MemberDescription* creator_; - ::bgs::protocol::club::v1::ClubDescription* club_; - ::bgs::protocol::club::v1::ClubSlot* slot_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint32 current_redeem_count_; - ::google::protobuf::uint32 allowed_redeem_count_; - ::google::protobuf::uint64 creation_time_; - ::google::protobuf::uint64 expiration_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5finvitation_2eproto(); - friend void protobuf_AssignDesc_club_5finvitation_2eproto(); - friend void protobuf_ShutdownFile_club_5finvitation_2eproto(); - - void InitAsDefaultInstance(); - static ClubTicket* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// ClubSlot - -// optional uint32 role = 1; -inline bool ClubSlot::has_role() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSlot::set_has_role() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSlot::clear_has_role() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSlot::clear_role() { - role_ = 0u; - clear_has_role(); -} -inline ::google::protobuf::uint32 ClubSlot::role() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSlot.role) - return role_; -} -inline void ClubSlot::set_role(::google::protobuf::uint32 value) { - set_has_role(); - role_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSlot.role) -} - -// optional uint64 default_stream_id = 2; -inline bool ClubSlot::has_default_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubSlot::set_has_default_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubSlot::clear_has_default_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubSlot::clear_default_stream_id() { - default_stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_default_stream_id(); -} -inline ::google::protobuf::uint64 ClubSlot::default_stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSlot.default_stream_id) - return default_stream_id_; -} -inline void ClubSlot::set_default_stream_id(::google::protobuf::uint64 value) { - set_has_default_stream_id(); - default_stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSlot.default_stream_id) -} - -// ------------------------------------------------------------------- - -// SendInvitationOptions - -// optional .bgs.protocol.club.v1.MemberId target_id = 1; -inline bool SendInvitationOptions::has_target_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SendInvitationOptions::set_has_target_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SendInvitationOptions::clear_has_target_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SendInvitationOptions::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SendInvitationOptions::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationOptions.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendInvitationOptions.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendInvitationOptions::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void SendInvitationOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationOptions.target_id) -} - -// optional .bgs.protocol.club.v1.ClubSlot slot = 2; -inline bool SendInvitationOptions::has_slot() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SendInvitationOptions::set_has_slot() { - _has_bits_[0] |= 0x00000002u; -} -inline void SendInvitationOptions::clear_has_slot() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SendInvitationOptions::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& SendInvitationOptions::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationOptions.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* SendInvitationOptions::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendInvitationOptions.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* SendInvitationOptions::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void SendInvitationOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationOptions.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 3; -inline int SendInvitationOptions::attribute_size() const { - return attribute_.size(); -} -inline void SendInvitationOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& SendInvitationOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendInvitationOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* SendInvitationOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.SendInvitationOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -SendInvitationOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.SendInvitationOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -SendInvitationOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.SendInvitationOptions.attribute) - return &attribute_; -} - -// ------------------------------------------------------------------- - -// ClubInvitation - -// optional fixed64 id = 1; -inline bool ClubInvitation::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubInvitation::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubInvitation::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubInvitation::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 ClubInvitation::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.id) - return id_; -} -inline void ClubInvitation::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubInvitation.id) -} - -// optional .bgs.protocol.club.v1.MemberDescription inviter = 2; -inline bool ClubInvitation::has_inviter() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubInvitation::set_has_inviter() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubInvitation::clear_has_inviter() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubInvitation::clear_inviter() { - if (inviter_ != NULL) inviter_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_inviter(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubInvitation::inviter() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.inviter) - return inviter_ != NULL ? *inviter_ : *default_instance_->inviter_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::mutable_inviter() { - set_has_inviter(); - if (inviter_ == NULL) inviter_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.inviter) - return inviter_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::release_inviter() { - clear_has_inviter(); - ::bgs::protocol::club::v1::MemberDescription* temp = inviter_; - inviter_ = NULL; - return temp; -} -inline void ClubInvitation::set_allocated_inviter(::bgs::protocol::club::v1::MemberDescription* inviter) { - delete inviter_; - inviter_ = inviter; - if (inviter) { - set_has_inviter(); - } else { - clear_has_inviter(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.inviter) -} - -// optional .bgs.protocol.club.v1.MemberDescription invitee = 3; -inline bool ClubInvitation::has_invitee() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubInvitation::set_has_invitee() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubInvitation::clear_has_invitee() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubInvitation::clear_invitee() { - if (invitee_ != NULL) invitee_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_invitee(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubInvitation::invitee() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.invitee) - return invitee_ != NULL ? *invitee_ : *default_instance_->invitee_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::mutable_invitee() { - set_has_invitee(); - if (invitee_ == NULL) invitee_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.invitee) - return invitee_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::release_invitee() { - clear_has_invitee(); - ::bgs::protocol::club::v1::MemberDescription* temp = invitee_; - invitee_ = NULL; - return temp; -} -inline void ClubInvitation::set_allocated_invitee(::bgs::protocol::club::v1::MemberDescription* invitee) { - delete invitee_; - invitee_ = invitee; - if (invitee) { - set_has_invitee(); - } else { - clear_has_invitee(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.invitee) -} - -// optional .bgs.protocol.club.v1.ClubDescription club = 4; -inline bool ClubInvitation::has_club() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubInvitation::set_has_club() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubInvitation::clear_has_club() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubInvitation::clear_club() { - if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); - clear_has_club(); -} -inline const ::bgs::protocol::club::v1::ClubDescription& ClubInvitation::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.club) - return club_ != NULL ? *club_ : *default_instance_->club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::mutable_club() { - set_has_club(); - if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.club) - return club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubInvitation::release_club() { - clear_has_club(); - ::bgs::protocol::club::v1::ClubDescription* temp = club_; - club_ = NULL; - return temp; -} -inline void ClubInvitation::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { - delete club_; - club_ = club; - if (club) { - set_has_club(); - } else { - clear_has_club(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.club) -} - -// optional .bgs.protocol.club.v1.ClubSlot slot = 5; -inline bool ClubInvitation::has_slot() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubInvitation::set_has_slot() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubInvitation::clear_has_slot() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubInvitation::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& ClubInvitation::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubInvitation::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubInvitation::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void ClubInvitation::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 6; -inline int ClubInvitation::attribute_size() const { - return attribute_.size(); -} -inline void ClubInvitation::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubInvitation::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubInvitation::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubInvitation::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubInvitation.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubInvitation::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubInvitation.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubInvitation::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubInvitation.attribute) - return &attribute_; -} - -// optional uint64 creation_time = 7; -inline bool ClubInvitation::has_creation_time() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubInvitation::set_has_creation_time() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubInvitation::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubInvitation::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 ClubInvitation::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.creation_time) - return creation_time_; -} -inline void ClubInvitation::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubInvitation.creation_time) -} - -// optional uint64 expiration_time = 8; -inline bool ClubInvitation::has_expiration_time() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubInvitation::set_has_expiration_time() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubInvitation::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubInvitation::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 ClubInvitation::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.expiration_time) - return expiration_time_; -} -inline void ClubInvitation::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubInvitation.expiration_time) -} - -// optional .bgs.protocol.club.v1.MemberDescription suggester = 9; -inline bool ClubInvitation::has_suggester() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubInvitation::set_has_suggester() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubInvitation::clear_has_suggester() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubInvitation::clear_suggester() { - if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_suggester(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubInvitation::suggester() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitation.suggester) - return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::mutable_suggester() { - set_has_suggester(); - if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitation.suggester) - return suggester_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubInvitation::release_suggester() { - clear_has_suggester(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggester_; - suggester_ = NULL; - return temp; -} -inline void ClubInvitation::set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester) { - delete suggester_; - suggester_ = suggester; - if (suggester) { - set_has_suggester(); - } else { - clear_has_suggester(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitation.suggester) -} - -// ------------------------------------------------------------------- - -// SendSuggestionOptions - -// optional .bgs.protocol.club.v1.MemberId target_id = 1; -inline bool SendSuggestionOptions::has_target_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SendSuggestionOptions::set_has_target_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SendSuggestionOptions::clear_has_target_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SendSuggestionOptions::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionOptions::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionOptions.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendSuggestionOptions.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendSuggestionOptions::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void SendSuggestionOptions::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionOptions.target_id) -} - -// optional .bgs.protocol.club.v1.ClubSlot slot = 2; -inline bool SendSuggestionOptions::has_slot() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SendSuggestionOptions::set_has_slot() { - _has_bits_[0] |= 0x00000002u; -} -inline void SendSuggestionOptions::clear_has_slot() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SendSuggestionOptions::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& SendSuggestionOptions::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionOptions.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* SendSuggestionOptions::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendSuggestionOptions.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* SendSuggestionOptions::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void SendSuggestionOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionOptions.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 3; -inline int SendSuggestionOptions::attribute_size() const { - return attribute_.size(); -} -inline void SendSuggestionOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& SendSuggestionOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendSuggestionOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* SendSuggestionOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.SendSuggestionOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -SendSuggestionOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.SendSuggestionOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -SendSuggestionOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.SendSuggestionOptions.attribute) - return &attribute_; -} - -// optional uint32 join_club_source = 4; -inline bool SendSuggestionOptions::has_join_club_source() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void SendSuggestionOptions::set_has_join_club_source() { - _has_bits_[0] |= 0x00000008u; -} -inline void SendSuggestionOptions::clear_has_join_club_source() { - _has_bits_[0] &= ~0x00000008u; -} -inline void SendSuggestionOptions::clear_join_club_source() { - join_club_source_ = 0u; - clear_has_join_club_source(); -} -inline ::google::protobuf::uint32 SendSuggestionOptions::join_club_source() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionOptions.join_club_source) - return join_club_source_; -} -inline void SendSuggestionOptions::set_join_club_source(::google::protobuf::uint32 value) { - set_has_join_club_source(); - join_club_source_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SendSuggestionOptions.join_club_source) -} - -// ------------------------------------------------------------------- - -// ClubSuggestion - -// optional fixed64 id = 1; -inline bool ClubSuggestion::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSuggestion::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSuggestion::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSuggestion::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 ClubSuggestion::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.id) - return id_; -} -inline void ClubSuggestion::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSuggestion.id) -} - -// optional uint64 club_id = 2; -inline bool ClubSuggestion::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubSuggestion::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubSuggestion::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubSuggestion::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 ClubSuggestion::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.club_id) - return club_id_; -} -inline void ClubSuggestion::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSuggestion.club_id) -} - -// optional .bgs.protocol.club.v1.MemberDescription suggester = 3; -inline bool ClubSuggestion::has_suggester() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubSuggestion::set_has_suggester() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubSuggestion::clear_has_suggester() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubSuggestion::clear_suggester() { - if (suggester_ != NULL) suggester_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_suggester(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubSuggestion::suggester() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.suggester) - return suggester_ != NULL ? *suggester_ : *default_instance_->suggester_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubSuggestion::mutable_suggester() { - set_has_suggester(); - if (suggester_ == NULL) suggester_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSuggestion.suggester) - return suggester_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubSuggestion::release_suggester() { - clear_has_suggester(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggester_; - suggester_ = NULL; - return temp; -} -inline void ClubSuggestion::set_allocated_suggester(::bgs::protocol::club::v1::MemberDescription* suggester) { - delete suggester_; - suggester_ = suggester; - if (suggester) { - set_has_suggester(); - } else { - clear_has_suggester(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.suggester) -} - -// optional .bgs.protocol.club.v1.MemberDescription suggestee = 4; -inline bool ClubSuggestion::has_suggestee() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubSuggestion::set_has_suggestee() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubSuggestion::clear_has_suggestee() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubSuggestion::clear_suggestee() { - if (suggestee_ != NULL) suggestee_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_suggestee(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubSuggestion::suggestee() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.suggestee) - return suggestee_ != NULL ? *suggestee_ : *default_instance_->suggestee_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubSuggestion::mutable_suggestee() { - set_has_suggestee(); - if (suggestee_ == NULL) suggestee_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSuggestion.suggestee) - return suggestee_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubSuggestion::release_suggestee() { - clear_has_suggestee(); - ::bgs::protocol::club::v1::MemberDescription* temp = suggestee_; - suggestee_ = NULL; - return temp; -} -inline void ClubSuggestion::set_allocated_suggestee(::bgs::protocol::club::v1::MemberDescription* suggestee) { - delete suggestee_; - suggestee_ = suggestee; - if (suggestee) { - set_has_suggestee(); - } else { - clear_has_suggestee(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.suggestee) -} - -// optional .bgs.protocol.club.v1.ClubSlot slot = 5; -inline bool ClubSuggestion::has_slot() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubSuggestion::set_has_slot() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubSuggestion::clear_has_slot() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubSuggestion::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& ClubSuggestion::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubSuggestion::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSuggestion.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubSuggestion::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void ClubSuggestion::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestion.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 6; -inline int ClubSuggestion::attribute_size() const { - return attribute_.size(); -} -inline void ClubSuggestion::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubSuggestion::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubSuggestion::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSuggestion.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubSuggestion::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSuggestion.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubSuggestion::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSuggestion.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubSuggestion::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSuggestion.attribute) - return &attribute_; -} - -// optional uint64 creation_time = 7; -inline bool ClubSuggestion::has_creation_time() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubSuggestion::set_has_creation_time() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubSuggestion::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubSuggestion::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 ClubSuggestion::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.creation_time) - return creation_time_; -} -inline void ClubSuggestion::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSuggestion.creation_time) -} - -// optional uint64 expiration_time = 8; -inline bool ClubSuggestion::has_expiration_time() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubSuggestion::set_has_expiration_time() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubSuggestion::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubSuggestion::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 ClubSuggestion::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestion.expiration_time) - return expiration_time_; -} -inline void ClubSuggestion::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSuggestion.expiration_time) -} - -// ------------------------------------------------------------------- - -// CreateTicketOptions - -// optional .bgs.protocol.club.v1.ClubSlot slot = 1; -inline bool CreateTicketOptions::has_slot() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateTicketOptions::set_has_slot() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateTicketOptions::clear_has_slot() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateTicketOptions::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& CreateTicketOptions::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* CreateTicketOptions::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateTicketOptions.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* CreateTicketOptions::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void CreateTicketOptions::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketOptions.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int CreateTicketOptions::attribute_size() const { - return attribute_.size(); -} -inline void CreateTicketOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& CreateTicketOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateTicketOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* CreateTicketOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.CreateTicketOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -CreateTicketOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.CreateTicketOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -CreateTicketOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.CreateTicketOptions.attribute) - return &attribute_; -} - -// optional uint32 allowed_redeem_count = 3; -inline bool CreateTicketOptions::has_allowed_redeem_count() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateTicketOptions::set_has_allowed_redeem_count() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateTicketOptions::clear_has_allowed_redeem_count() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateTicketOptions::clear_allowed_redeem_count() { - allowed_redeem_count_ = 0u; - clear_has_allowed_redeem_count(); -} -inline ::google::protobuf::uint32 CreateTicketOptions::allowed_redeem_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.allowed_redeem_count) - return allowed_redeem_count_; -} -inline void CreateTicketOptions::set_allowed_redeem_count(::google::protobuf::uint32 value) { - set_has_allowed_redeem_count(); - allowed_redeem_count_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateTicketOptions.allowed_redeem_count) -} - -// optional uint64 expiration_time = 4; -inline bool CreateTicketOptions::has_expiration_time() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void CreateTicketOptions::set_has_expiration_time() { - _has_bits_[0] |= 0x00000008u; -} -inline void CreateTicketOptions::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000008u; -} -inline void CreateTicketOptions::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 CreateTicketOptions::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.expiration_time) - return expiration_time_; -} -inline void CreateTicketOptions::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateTicketOptions.expiration_time) -} - -// optional uint32 join_club_source = 5; -inline bool CreateTicketOptions::has_join_club_source() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void CreateTicketOptions::set_has_join_club_source() { - _has_bits_[0] |= 0x00000010u; -} -inline void CreateTicketOptions::clear_has_join_club_source() { - _has_bits_[0] &= ~0x00000010u; -} -inline void CreateTicketOptions::clear_join_club_source() { - join_club_source_ = 0u; - clear_has_join_club_source(); -} -inline ::google::protobuf::uint32 CreateTicketOptions::join_club_source() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketOptions.join_club_source) - return join_club_source_; -} -inline void CreateTicketOptions::set_join_club_source(::google::protobuf::uint32 value) { - set_has_join_club_source(); - join_club_source_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateTicketOptions.join_club_source) -} - -// ------------------------------------------------------------------- - -// ClubTicket - -// optional string id = 1; -inline bool ClubTicket::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubTicket::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubTicket::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubTicket::clear_id() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_->clear(); - } - clear_has_id(); -} -inline const ::std::string& ClubTicket::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.id) - return *id_; -} -inline void ClubTicket::set_id(const ::std::string& value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.id) -} -inline void ClubTicket::set_id(const char* value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubTicket.id) -} -inline void ClubTicket::set_id(const char* value, size_t size) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubTicket.id) -} -inline ::std::string* ClubTicket::mutable_id() { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicket.id) - return id_; -} -inline ::std::string* ClubTicket::release_id() { - clear_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = id_; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubTicket::set_allocated_id(::std::string* id) { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (id) { - set_has_id(); - id_ = id; - } else { - clear_has_id(); - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.id) -} - -// optional .bgs.protocol.club.v1.MemberDescription creator = 2; -inline bool ClubTicket::has_creator() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubTicket::set_has_creator() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubTicket::clear_has_creator() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubTicket::clear_creator() { - if (creator_ != NULL) creator_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_creator(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& ClubTicket::creator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.creator) - return creator_ != NULL ? *creator_ : *default_instance_->creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubTicket::mutable_creator() { - set_has_creator(); - if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicket.creator) - return creator_; -} -inline ::bgs::protocol::club::v1::MemberDescription* ClubTicket::release_creator() { - clear_has_creator(); - ::bgs::protocol::club::v1::MemberDescription* temp = creator_; - creator_ = NULL; - return temp; -} -inline void ClubTicket::set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator) { - delete creator_; - creator_ = creator; - if (creator) { - set_has_creator(); - } else { - clear_has_creator(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.creator) -} - -// optional .bgs.protocol.club.v1.ClubDescription club = 3; -inline bool ClubTicket::has_club() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubTicket::set_has_club() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubTicket::clear_has_club() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubTicket::clear_club() { - if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); - clear_has_club(); -} -inline const ::bgs::protocol::club::v1::ClubDescription& ClubTicket::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.club) - return club_ != NULL ? *club_ : *default_instance_->club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::mutable_club() { - set_has_club(); - if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicket.club) - return club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubTicket::release_club() { - clear_has_club(); - ::bgs::protocol::club::v1::ClubDescription* temp = club_; - club_ = NULL; - return temp; -} -inline void ClubTicket::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { - delete club_; - club_ = club; - if (club) { - set_has_club(); - } else { - clear_has_club(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.club) -} - -// optional .bgs.protocol.club.v1.ClubSlot slot = 4; -inline bool ClubTicket::has_slot() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubTicket::set_has_slot() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubTicket::clear_has_slot() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubTicket::clear_slot() { - if (slot_ != NULL) slot_->::bgs::protocol::club::v1::ClubSlot::Clear(); - clear_has_slot(); -} -inline const ::bgs::protocol::club::v1::ClubSlot& ClubTicket::slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.slot) - return slot_ != NULL ? *slot_ : *default_instance_->slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubTicket::mutable_slot() { - set_has_slot(); - if (slot_ == NULL) slot_ = new ::bgs::protocol::club::v1::ClubSlot; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicket.slot) - return slot_; -} -inline ::bgs::protocol::club::v1::ClubSlot* ClubTicket::release_slot() { - clear_has_slot(); - ::bgs::protocol::club::v1::ClubSlot* temp = slot_; - slot_ = NULL; - return temp; -} -inline void ClubTicket::set_allocated_slot(::bgs::protocol::club::v1::ClubSlot* slot) { - delete slot_; - slot_ = slot; - if (slot) { - set_has_slot(); - } else { - clear_has_slot(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicket.slot) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 5; -inline int ClubTicket::attribute_size() const { - return attribute_.size(); -} -inline void ClubTicket::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& ClubTicket::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* ClubTicket::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicket.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* ClubTicket::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubTicket.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -ClubTicket::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubTicket.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -ClubTicket::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubTicket.attribute) - return &attribute_; -} - -// optional uint32 current_redeem_count = 6; -inline bool ClubTicket::has_current_redeem_count() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubTicket::set_has_current_redeem_count() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubTicket::clear_has_current_redeem_count() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubTicket::clear_current_redeem_count() { - current_redeem_count_ = 0u; - clear_has_current_redeem_count(); -} -inline ::google::protobuf::uint32 ClubTicket::current_redeem_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.current_redeem_count) - return current_redeem_count_; -} -inline void ClubTicket::set_current_redeem_count(::google::protobuf::uint32 value) { - set_has_current_redeem_count(); - current_redeem_count_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.current_redeem_count) -} - -// optional uint32 allowed_redeem_count = 7; -inline bool ClubTicket::has_allowed_redeem_count() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubTicket::set_has_allowed_redeem_count() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubTicket::clear_has_allowed_redeem_count() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubTicket::clear_allowed_redeem_count() { - allowed_redeem_count_ = 0u; - clear_has_allowed_redeem_count(); -} -inline ::google::protobuf::uint32 ClubTicket::allowed_redeem_count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.allowed_redeem_count) - return allowed_redeem_count_; -} -inline void ClubTicket::set_allowed_redeem_count(::google::protobuf::uint32 value) { - set_has_allowed_redeem_count(); - allowed_redeem_count_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.allowed_redeem_count) -} - -// optional uint64 creation_time = 8; -inline bool ClubTicket::has_creation_time() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubTicket::set_has_creation_time() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubTicket::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubTicket::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 ClubTicket::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.creation_time) - return creation_time_; -} -inline void ClubTicket::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.creation_time) -} - -// optional uint64 expiration_time = 9; -inline bool ClubTicket::has_expiration_time() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubTicket::set_has_expiration_time() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubTicket::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubTicket::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 ClubTicket::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicket.expiration_time) - return expiration_time_; -} -inline void ClubTicket::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubTicket.expiration_time) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5finvitation_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_listener.pb.cc b/src/server/proto/Client/club_listener.pb.cc deleted file mode 100644 index a6c80e5f67b..00000000000 --- a/src/server/proto/Client/club_listener.pb.cc +++ /dev/null @@ -1,266 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_listener.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_listener.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::ServiceDescriptor* ClubListener_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5flistener_2eproto() { - protobuf_AddDesc_club_5flistener_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_listener.proto"); - GOOGLE_CHECK(file != NULL); - ClubListener_descriptor_ = file->service(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5flistener_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); -} - -} // namespace - -void protobuf_ShutdownFile_club_5flistener_2eproto() { -} - -void protobuf_AddDesc_club_5flistener_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fnotification_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\023club_listener.proto\022\024bgs.protocol.club" - ".v1\032\027club_notification.proto2\262\022\n\014ClubLis" - "tener\022]\n\013OnSubscribe\022+.bgs.protocol.club" - ".v1.SubscribeNotification\032\031.bgs.protocol" - ".NO_RESPONSE\"\006\202\371+\002\010\001\022a\n\rOnUnsubscribe\022-." - "bgs.protocol.club.v1.UnsubscribeNotifica" - "tion\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022" - "c\n\016OnStateChanged\022..bgs.protocol.club.v1" - ".StateChangedNotification\032\031.bgs.protocol" - ".NO_RESPONSE\"\006\202\371+\002\010\003\022i\n\021OnSettingsChange" - "d\0221.bgs.protocol.club.v1.SettingsChanged" - "Notification\032\031.bgs.protocol.NO_RESPONSE\"" - "\006\202\371+\002\010\004\022a\n\rOnMemberAdded\022-.bgs.protocol." - "club.v1.MemberAddedNotification\032\031.bgs.pr" - "otocol.NO_RESPONSE\"\006\202\371+\002\010\036\022e\n\017OnMemberRe" - "moved\022/.bgs.protocol.club.v1.MemberRemov" - "edNotification\032\031.bgs.protocol.NO_RESPONS" - "E\"\006\202\371+\002\010\037\022o\n\024OnMemberStateChanged\0224.bgs." - "protocol.club.v1.MemberStateChangedNotif" - "ication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002" - "\010 \022w\n\030OnSubscriberStateChanged\0228.bgs.pro" - "tocol.club.v1.SubscriberStateChangedNoti" - "fication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+" - "\002\010!\022m\n\023OnMemberRoleChanged\0223.bgs.protoco" - "l.club.v1.MemberRoleChangedNotification\032" - "\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\"\022i\n\021On" - "InvitationAdded\0221.bgs.protocol.club.v1.I" - "nvitationAddedNotification\032\031.bgs.protoco" - "l.NO_RESPONSE\"\006\202\371+\002\0102\022m\n\023OnInvitationRem" - "oved\0223.bgs.protocol.club.v1.InvitationRe" - "movedNotification\032\031.bgs.protocol.NO_RESP" - "ONSE\"\006\202\371+\002\0103\022i\n\021OnSuggestionAdded\0221.bgs." - "protocol.club.v1.SuggestionAddedNotifica" - "tion\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010F\022" - "m\n\023OnSuggestionRemoved\0223.bgs.protocol.cl" - "ub.v1.SuggestionRemovedNotification\032\031.bg" - "s.protocol.NO_RESPONSE\"\006\202\371+\002\010G\022a\n\rOnStre" - "amAdded\022-.bgs.protocol.club.v1.StreamAdd" - "edNotification\032\031.bgs.protocol.NO_RESPONS" - "E\"\006\202\371+\002\010d\022e\n\017OnStreamRemoved\022/.bgs.proto" - "col.club.v1.StreamRemovedNotification\032\031." - "bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010e\022o\n\024OnSt" - "reamStateChanged\0224.bgs.protocol.club.v1." - "StreamStateChangedNotification\032\031.bgs.pro" - "tocol.NO_RESPONSE\"\006\202\371+\002\010f\022p\n\024OnStreamMes" - "sageAdded\0224.bgs.protocol.club.v1.StreamM" - "essageAddedNotification\032\031.bgs.protocol.N" - "O_RESPONSE\"\007\202\371+\003\010\226\001\022t\n\026OnStreamMessageUp" - "dated\0226.bgs.protocol.club.v1.StreamMessa" - "geUpdatedNotification\032\031.bgs.protocol.NO_" - "RESPONSE\"\007\202\371+\003\010\230\001\022v\n\027OnStreamTypingIndic" - "ator\0227.bgs.protocol.club.v1.StreamTyping" - "IndicatorNotification\032\031.bgs.protocol.NO_" - "RESPONSE\"\007\202\371+\003\010\231\001\022v\n\027OnStreamUnreadIndic" - "ator\0227.bgs.protocol.club.v1.StreamUnread" - "IndicatorNotification\032\031.bgs.protocol.NO_" - "RESPONSE\"\007\202\371+\003\010\232\001\022v\n\027OnStreamAdvanceView" - "Time\0227.bgs.protocol.club.v1.StreamAdvanc" - "eViewTimeNotification\032\031.bgs.protocol.NO_" - "RESPONSE\"\007\202\371+\003\010\233\001\032.\202\371+$\n\"bnet.protocol.c" - "lub.v1.ClubListener\212\371+\002\010\001B\005H\002\200\001\000", 2432); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_listener.proto", &protobuf_RegisterTypes); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5flistener_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5flistener_2eproto { - StaticDescriptorInitializer_club_5flistener_2eproto() { - protobuf_AddDesc_club_5flistener_2eproto(); - } -} static_descriptor_initializer_club_5flistener_2eproto_; -// =================================================================== - -ClubListener::ClubListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -ClubListener::~ClubListener() { -} - -google::protobuf::ServiceDescriptor const* ClubListener::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubListener_descriptor_; -} - -void ClubListener::OnSubscribe(::bgs::protocol::club::v1::SubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnSubscribe", "bgs.protocol.club.v1.SubscribeNotification", request); - SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnUnsubscribe(::bgs::protocol::club::v1::UnsubscribeNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnUnsubscribe", "bgs.protocol.club.v1.UnsubscribeNotification", request); - SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStateChanged(::bgs::protocol::club::v1::StateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStateChanged", "bgs.protocol.club.v1.StateChangedNotification", request); - SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnSettingsChanged(::bgs::protocol::club::v1::SettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnSettingsChanged", "bgs.protocol.club.v1.SettingsChangedNotification", request); - SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnMemberAdded(::bgs::protocol::club::v1::MemberAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnMemberAdded", "bgs.protocol.club.v1.MemberAddedNotification", request); - SendRequest(service_hash_, 30 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnMemberRemoved(::bgs::protocol::club::v1::MemberRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnMemberRemoved", "bgs.protocol.club.v1.MemberRemovedNotification", request); - SendRequest(service_hash_, 31 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnMemberStateChanged(::bgs::protocol::club::v1::MemberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnMemberStateChanged", "bgs.protocol.club.v1.MemberStateChangedNotification", request); - SendRequest(service_hash_, 32 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnSubscriberStateChanged(::bgs::protocol::club::v1::SubscriberStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnSubscriberStateChanged", "bgs.protocol.club.v1.SubscriberStateChangedNotification", request); - SendRequest(service_hash_, 33 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnMemberRoleChanged(::bgs::protocol::club::v1::MemberRoleChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnMemberRoleChanged", "bgs.protocol.club.v1.MemberRoleChangedNotification", request); - SendRequest(service_hash_, 34 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnInvitationAdded(::bgs::protocol::club::v1::InvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnInvitationAdded", "bgs.protocol.club.v1.InvitationAddedNotification", request); - SendRequest(service_hash_, 50 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnInvitationRemoved(::bgs::protocol::club::v1::InvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnInvitationRemoved", "bgs.protocol.club.v1.InvitationRemovedNotification", request); - SendRequest(service_hash_, 51 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnSuggestionAdded(::bgs::protocol::club::v1::SuggestionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnSuggestionAdded", "bgs.protocol.club.v1.SuggestionAddedNotification", request); - SendRequest(service_hash_, 70 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnSuggestionRemoved(::bgs::protocol::club::v1::SuggestionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnSuggestionRemoved", "bgs.protocol.club.v1.SuggestionRemovedNotification", request); - SendRequest(service_hash_, 71 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamAdded(::bgs::protocol::club::v1::StreamAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamAdded", "bgs.protocol.club.v1.StreamAddedNotification", request); - SendRequest(service_hash_, 100 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamRemoved(::bgs::protocol::club::v1::StreamRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamRemoved", "bgs.protocol.club.v1.StreamRemovedNotification", request); - SendRequest(service_hash_, 101 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamStateChanged(::bgs::protocol::club::v1::StreamStateChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamStateChanged", "bgs.protocol.club.v1.StreamStateChangedNotification", request); - SendRequest(service_hash_, 102 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamMessageAdded(::bgs::protocol::club::v1::StreamMessageAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamMessageAdded", "bgs.protocol.club.v1.StreamMessageAddedNotification", request); - SendRequest(service_hash_, 150 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamMessageUpdated(::bgs::protocol::club::v1::StreamMessageUpdatedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamMessageUpdated", "bgs.protocol.club.v1.StreamMessageUpdatedNotification", request); - SendRequest(service_hash_, 152 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamTypingIndicator(::bgs::protocol::club::v1::StreamTypingIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamTypingIndicator", "bgs.protocol.club.v1.StreamTypingIndicatorNotification", request); - SendRequest(service_hash_, 153 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamUnreadIndicator(::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamUnreadIndicator", "bgs.protocol.club.v1.StreamUnreadIndicatorNotification", request); - SendRequest(service_hash_, 154 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::OnStreamAdvanceViewTime(::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubListener.OnStreamAdvanceViewTime", "bgs.protocol.club.v1.StreamAdvanceViewTimeNotification", request); - SendRequest(service_hash_, 155 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { - LogDisallowedMethod(methodId); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_listener.pb.h b/src/server/proto/Client/club_listener.pb.h deleted file mode 100644 index 8c0dbc2c9cb..00000000000 --- a/src/server/proto/Client/club_listener.pb.h +++ /dev/null @@ -1,107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_listener.proto - -#ifndef PROTOBUF_club_5flistener_2eproto__INCLUDED -#define PROTOBUF_club_5flistener_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include "club_notification.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5flistener_2eproto(); -void protobuf_AssignDesc_club_5flistener_2eproto(); -void protobuf_ShutdownFile_club_5flistener_2eproto(); - -// =================================================================== - -// =================================================================== - -class TC_PROTO_API ClubListener : public ServiceBase -{ - public: - - explicit ClubListener(bool use_original_hash); - ClubListener(ClubListener const&) = delete; - ClubListener(ClubListener&&) = delete; - ClubListener& operator=(ClubListener const&) = delete; - ClubListener& operator=(ClubListener&&) = delete; - virtual ~ClubListener(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - // client methods -------------------------------------------------- - void OnSubscribe(::bgs::protocol::club::v1::SubscribeNotification const* request, bool client = false, bool server = false); - void OnUnsubscribe(::bgs::protocol::club::v1::UnsubscribeNotification const* request, bool client = false, bool server = false); - void OnStateChanged(::bgs::protocol::club::v1::StateChangedNotification const* request, bool client = false, bool server = false); - void OnSettingsChanged(::bgs::protocol::club::v1::SettingsChangedNotification const* request, bool client = false, bool server = false); - void OnMemberAdded(::bgs::protocol::club::v1::MemberAddedNotification const* request, bool client = false, bool server = false); - void OnMemberRemoved(::bgs::protocol::club::v1::MemberRemovedNotification const* request, bool client = false, bool server = false); - void OnMemberStateChanged(::bgs::protocol::club::v1::MemberStateChangedNotification const* request, bool client = false, bool server = false); - void OnSubscriberStateChanged(::bgs::protocol::club::v1::SubscriberStateChangedNotification const* request, bool client = false, bool server = false); - void OnMemberRoleChanged(::bgs::protocol::club::v1::MemberRoleChangedNotification const* request, bool client = false, bool server = false); - void OnInvitationAdded(::bgs::protocol::club::v1::InvitationAddedNotification const* request, bool client = false, bool server = false); - void OnInvitationRemoved(::bgs::protocol::club::v1::InvitationRemovedNotification const* request, bool client = false, bool server = false); - void OnSuggestionAdded(::bgs::protocol::club::v1::SuggestionAddedNotification const* request, bool client = false, bool server = false); - void OnSuggestionRemoved(::bgs::protocol::club::v1::SuggestionRemovedNotification const* request, bool client = false, bool server = false); - void OnStreamAdded(::bgs::protocol::club::v1::StreamAddedNotification const* request, bool client = false, bool server = false); - void OnStreamRemoved(::bgs::protocol::club::v1::StreamRemovedNotification const* request, bool client = false, bool server = false); - void OnStreamStateChanged(::bgs::protocol::club::v1::StreamStateChangedNotification const* request, bool client = false, bool server = false); - void OnStreamMessageAdded(::bgs::protocol::club::v1::StreamMessageAddedNotification const* request, bool client = false, bool server = false); - void OnStreamMessageUpdated(::bgs::protocol::club::v1::StreamMessageUpdatedNotification const* request, bool client = false, bool server = false); - void OnStreamTypingIndicator(::bgs::protocol::club::v1::StreamTypingIndicatorNotification const* request, bool client = false, bool server = false); - void OnStreamUnreadIndicator(::bgs::protocol::club::v1::StreamUnreadIndicatorNotification const* request, bool client = false, bool server = false); - void OnStreamAdvanceViewTime(::bgs::protocol::club::v1::StreamAdvanceViewTimeNotification const* request, bool client = false, bool server = false); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; -}; - -// =================================================================== - -// =================================================================== -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_listener.proto b/src/server/proto/Client/club_listener.proto deleted file mode 100644 index 6ab55d30fa2..00000000000 --- a/src/server/proto/Client/club_listener.proto +++ /dev/null @@ -1,121 +0,0 @@ -syntax = "proto2"; - -import "club_notification.proto"; -package bgs.protocol.club.v1; - -option optimize_for = CODE_SIZE; -option cc_generic_services = false; - -service ClubListener { - option (.bgs.protocol.service_options) = { - descriptor_name: "bnet.protocol.club.v1.ClubListener" - }; - option (.bgs.protocol.sdk_service_options) = { - inbound: true - }; - rpc OnSubscribe(.bgs.protocol.club.v1.SubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 1 - }; - } - rpc OnUnsubscribe(.bgs.protocol.club.v1.UnsubscribeNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 2 - }; - } - rpc OnStateChanged(.bgs.protocol.club.v1.StateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 3 - }; - } - rpc OnSettingsChanged(.bgs.protocol.club.v1.SettingsChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 4 - }; - } - rpc OnMemberAdded(.bgs.protocol.club.v1.MemberAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 30 - }; - } - rpc OnMemberRemoved(.bgs.protocol.club.v1.MemberRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 31 - }; - } - rpc OnMemberStateChanged(.bgs.protocol.club.v1.MemberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 32 - }; - } - rpc OnSubscriberStateChanged(.bgs.protocol.club.v1.SubscriberStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 33 - }; - } - rpc OnMemberRoleChanged(.bgs.protocol.club.v1.MemberRoleChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 34 - }; - } - rpc OnInvitationAdded(.bgs.protocol.club.v1.InvitationAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 50 - }; - } - rpc OnInvitationRemoved(.bgs.protocol.club.v1.InvitationRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 51 - }; - } - rpc OnSuggestionAdded(.bgs.protocol.club.v1.SuggestionAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 70 - }; - } - rpc OnSuggestionRemoved(.bgs.protocol.club.v1.SuggestionRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 71 - }; - } - rpc OnStreamAdded(.bgs.protocol.club.v1.StreamAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 100 - }; - } - rpc OnStreamRemoved(.bgs.protocol.club.v1.StreamRemovedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 101 - }; - } - rpc OnStreamStateChanged(.bgs.protocol.club.v1.StreamStateChangedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 102 - }; - } - rpc OnStreamMessageAdded(.bgs.protocol.club.v1.StreamMessageAddedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 150 - }; - } - rpc OnStreamMessageUpdated(.bgs.protocol.club.v1.StreamMessageUpdatedNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 152 - }; - } - rpc OnStreamTypingIndicator(.bgs.protocol.club.v1.StreamTypingIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 153 - }; - } - rpc OnStreamUnreadIndicator(.bgs.protocol.club.v1.StreamUnreadIndicatorNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 154 - }; - } - rpc OnStreamAdvanceViewTime(.bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) returns (.bgs.protocol.NO_RESPONSE) { - option (.bgs.protocol.method_options) = { - id: 155 - }; - } -} diff --git a/src/server/proto/Client/club_member.pb.cc b/src/server/proto/Client/club_member.pb.cc deleted file mode 100644 index dabc89aa63d..00000000000 --- a/src/server/proto/Client/club_member.pb.cc +++ /dev/null @@ -1,1739 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_member.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* Member_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Member_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberResult_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberResult_reflection_ = NULL; -const ::google::protobuf::Descriptor* RemoveMemberOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RemoveMemberOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberRemovedAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberRemovedAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberVoiceOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberVoiceOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberVoiceState_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberVoiceState_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateMemberOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateMemberOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberDescription_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberDescription_reflection_ = NULL; -const ::google::protobuf::Descriptor* RoleOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RoleOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* RoleAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RoleAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberAttributeAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberAttributeAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscriberStateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscriberStateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscriberStateAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscriberStateAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberStateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberStateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberStateAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberStateAssignment_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fmember_2eproto() { - protobuf_AddDesc_club_5fmember_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_member.proto"); - GOOGLE_CHECK(file != NULL); - Member_descriptor_ = file->message_type(0); - static const int Member_offsets_[11] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, battle_tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, join_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, presence_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, moderator_mute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, whisper_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, note_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, active_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, voice_), - }; - Member_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Member_descriptor_, - Member::default_instance_, - Member_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Member, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Member)); - MemberResult_descriptor_ = file->message_type(1); - static const int MemberResult_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, status_), - }; - MemberResult_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberResult_descriptor_, - MemberResult::default_instance_, - MemberResult_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberResult, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberResult)); - RemoveMemberOptions_descriptor_ = file->message_type(2); - static const int RemoveMemberOptions_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, reason_), - }; - RemoveMemberOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RemoveMemberOptions_descriptor_, - RemoveMemberOptions::default_instance_, - RemoveMemberOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveMemberOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RemoveMemberOptions)); - MemberRemovedAssignment_descriptor_ = file->message_type(3); - static const int MemberRemovedAssignment_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, reason_), - }; - MemberRemovedAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberRemovedAssignment_descriptor_, - MemberRemovedAssignment::default_instance_, - MemberRemovedAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberRemovedAssignment)); - MemberVoiceOptions_descriptor_ = file->message_type(4); - static const int MemberVoiceOptions_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, joined_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, microphone_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, active_), - }; - MemberVoiceOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberVoiceOptions_descriptor_, - MemberVoiceOptions::default_instance_, - MemberVoiceOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberVoiceOptions)); - MemberVoiceState_descriptor_ = file->message_type(5); - static const int MemberVoiceState_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, joined_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, microphone_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, active_), - }; - MemberVoiceState_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberVoiceState_descriptor_, - MemberVoiceState::default_instance_, - MemberVoiceState_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberVoiceState, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberVoiceState)); - CreateMemberOptions_descriptor_ = file->message_type(6); - static const int CreateMemberOptions_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, join_club_source_), - }; - CreateMemberOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateMemberOptions_descriptor_, - CreateMemberOptions::default_instance_, - CreateMemberOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMemberOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateMemberOptions)); - MemberDescription_descriptor_ = file->message_type(7); - static const int MemberDescription_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, battle_tag_), - }; - MemberDescription_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberDescription_descriptor_, - MemberDescription::default_instance_, - MemberDescription_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberDescription, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberDescription)); - RoleOptions_descriptor_ = file->message_type(8); - static const int RoleOptions_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, role_), - }; - RoleOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RoleOptions_descriptor_, - RoleOptions::default_instance_, - RoleOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RoleOptions)); - RoleAssignment_descriptor_ = file->message_type(9); - static const int RoleAssignment_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, role_), - }; - RoleAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RoleAssignment_descriptor_, - RoleAssignment::default_instance_, - RoleAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RoleAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RoleAssignment)); - MemberAttributeAssignment_descriptor_ = file->message_type(10); - static const int MemberAttributeAssignment_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, attribute_), - }; - MemberAttributeAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberAttributeAssignment_descriptor_, - MemberAttributeAssignment::default_instance_, - MemberAttributeAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAttributeAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberAttributeAssignment)); - SubscriberStateOptions_descriptor_ = file->message_type(11); - static const int SubscriberStateOptions_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, voice_), - }; - SubscriberStateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscriberStateOptions_descriptor_, - SubscriberStateOptions::default_instance_, - SubscriberStateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscriberStateOptions)); - SubscriberStateAssignment_descriptor_ = file->message_type(12); - static const int SubscriberStateAssignment_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, active_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, voice_), - }; - SubscriberStateAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscriberStateAssignment_descriptor_, - SubscriberStateAssignment::default_instance_, - SubscriberStateAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscriberStateAssignment)); - MemberStateOptions_descriptor_ = file->message_type(13); - static const int MemberStateOptions_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, presence_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, moderator_mute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, whisper_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, note_), - }; - MemberStateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberStateOptions_descriptor_, - MemberStateOptions::default_instance_, - MemberStateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberStateOptions)); - MemberStateAssignment_descriptor_ = file->message_type(14); - static const int MemberStateAssignment_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, presence_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, moderator_mute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, whisper_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, note_), - }; - MemberStateAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberStateAssignment_descriptor_, - MemberStateAssignment::default_instance_, - MemberStateAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberStateAssignment)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmember_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Member_descriptor_, &Member::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberResult_descriptor_, &MemberResult::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RemoveMemberOptions_descriptor_, &RemoveMemberOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberRemovedAssignment_descriptor_, &MemberRemovedAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberVoiceOptions_descriptor_, &MemberVoiceOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberVoiceState_descriptor_, &MemberVoiceState::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateMemberOptions_descriptor_, &CreateMemberOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberDescription_descriptor_, &MemberDescription::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RoleOptions_descriptor_, &RoleOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RoleAssignment_descriptor_, &RoleAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberAttributeAssignment_descriptor_, &MemberAttributeAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscriberStateOptions_descriptor_, &SubscriberStateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscriberStateAssignment_descriptor_, &SubscriberStateAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberStateOptions_descriptor_, &MemberStateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberStateAssignment_descriptor_, &MemberStateAssignment::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fmember_2eproto() { - delete Member::default_instance_; - delete Member_reflection_; - delete MemberResult::default_instance_; - delete MemberResult_reflection_; - delete RemoveMemberOptions::default_instance_; - delete RemoveMemberOptions_reflection_; - delete MemberRemovedAssignment::default_instance_; - delete MemberRemovedAssignment_reflection_; - delete MemberVoiceOptions::default_instance_; - delete MemberVoiceOptions_reflection_; - delete MemberVoiceState::default_instance_; - delete MemberVoiceState_reflection_; - delete CreateMemberOptions::default_instance_; - delete CreateMemberOptions_reflection_; - delete MemberDescription::default_instance_; - delete MemberDescription_reflection_; - delete RoleOptions::default_instance_; - delete RoleOptions_reflection_; - delete RoleAssignment::default_instance_; - delete RoleAssignment_reflection_; - delete MemberAttributeAssignment::default_instance_; - delete MemberAttributeAssignment_reflection_; - delete SubscriberStateOptions::default_instance_; - delete SubscriberStateOptions_reflection_; - delete SubscriberStateAssignment::default_instance_; - delete SubscriberStateAssignment_reflection_; - delete MemberStateOptions::default_instance_; - delete MemberStateOptions_reflection_; - delete MemberStateAssignment::default_instance_; - delete MemberStateAssignment_reflection_; -} - -void protobuf_AddDesc_club_5fmember_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_5fid_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\021club_member.proto\022\024bgs.protocol.club.v" - "1\032\024club_member_id.proto\032#api/client/v2/a" - "ttribute_types.proto\032\017club_enum.proto\032\017r" - "pc_types.proto\"\211\003\n\006Member\022*\n\002id\030\001 \001(\0132\036." - "bgs.protocol.club.v1.MemberId\022\032\n\nbattle_" - "tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004role\030\003 \003(\rB\002\020\001\022-\n\ta" - "ttribute\030\004 \003(\0132\032.bgs.protocol.v2.Attribu" - "te\022\021\n\tjoin_time\030\005 \001(\004\022;\n\016presence_level\030" - "\006 \001(\0162#.bgs.protocol.club.v1.PresenceLev" - "el\022\026\n\016moderator_mute\030\007 \001(\010\0229\n\rwhisper_le" - "vel\030\010 \001(\0162\".bgs.protocol.club.v1.Whisper" - "Level\022\014\n\004note\030\t \001(\t\022\016\n\006active\0302 \001(\010\0225\n\005v" - "oice\0303 \001(\0132&.bgs.protocol.club.v1.Member" - "VoiceState\"Q\n\014MemberResult\0221\n\tmember_id\030" - "\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\016\n" - "\006status\030\002 \001(\r\"z\n\023RemoveMemberOptions\022*\n\002" - "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" - "\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol.club.v1." - "ClubRemovedReason\"~\n\027MemberRemovedAssign" - "ment\022*\n\002id\030\001 \001(\0132\036.bgs.protocol.club.v1." - "MemberId\0227\n\006reason\030\002 \001(\0162\'.bgs.protocol." - "club.v1.ClubRemovedReason\"\207\001\n\022MemberVoic" - "eOptions\022\021\n\tstream_id\030\001 \001(\004\022\016\n\006joined\030\002 " - "\001(\010\022>\n\nmicrophone\030\003 \001(\0162*.bgs.protocol.c" - "lub.v1.VoiceMicrophoneState\022\016\n\006active\030\004 " - "\001(\010\"\221\001\n\020MemberVoiceState\022\n\n\002id\030\001 \001(\t\022\021\n\t" - "stream_id\030\002 \001(\004\022\016\n\006joined\030\003 \001(\010\022>\n\nmicro" - "phone\030\004 \001(\0162*.bgs.protocol.club.v1.Voice" - "MicrophoneState\022\016\n\006active\030\005 \001(\010\"\240\001\n\023Crea" - "teMemberOptions\022*\n\002id\030\001 \001(\0132\036.bgs.protoc" - "ol.club.v1.MemberId\022-\n\tattribute\030\002 \003(\0132\032" - ".bgs.protocol.v2.Attribute\022.\n\020join_club_" - "source\030\003 \001(\rB\024\202\371+\020*\016JoinClubSource\"[\n\021Me" - "mberDescription\022*\n\002id\030\001 \001(\0132\036.bgs.protoc" - "ol.club.v1.MemberId\022\032\n\nbattle_tag\030\002 \001(\tB" - "\006\202\371+\002\010\001\"^\n\013RoleOptions\0221\n\tmember_id\030\001 \001(" - "\0132\036.bgs.protocol.club.v1.MemberId\022\034\n\004rol" - "e\030\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\"U\n\016RoleAssignmen" - "t\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol.club" - ".v1.MemberId\022\020\n\004role\030\002 \003(\rB\002\020\001\"}\n\031Member" - "AttributeAssignment\0221\n\tmember_id\030\001 \001(\0132\036" - ".bgs.protocol.club.v1.MemberId\022-\n\tattrib" - "ute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute\"Q\n" - "\026SubscriberStateOptions\0227\n\005voice\030\001 \001(\0132(" - ".bgs.protocol.club.v1.MemberVoiceOptions" - "\"\225\001\n\031SubscriberStateAssignment\0221\n\tmember" - "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" - "d\022\016\n\006active\030\002 \001(\010\0225\n\005voice\030\003 \001(\0132&.bgs.p" - "rotocol.club.v1.MemberVoiceState\"\341\001\n\022Mem" - "berStateOptions\022-\n\tattribute\030\001 \003(\0132\032.bgs" - ".protocol.v2.Attribute\022;\n\016presence_level" - "\030\002 \001(\0162#.bgs.protocol.club.v1.PresenceLe" - "vel\022\026\n\016moderator_mute\030\003 \001(\010\0229\n\rwhisper_l" - "evel\030\004 \001(\0162\".bgs.protocol.club.v1.Whispe" - "rLevel\022\014\n\004note\030\005 \001(\t\"\227\002\n\025MemberStateAssi" - "gnment\0221\n\tmember_id\030\001 \001(\0132\036.bgs.protocol" - ".club.v1.MemberId\022-\n\tattribute\030\002 \003(\0132\032.b" - "gs.protocol.v2.Attribute\022;\n\016presence_lev" - "el\030\003 \001(\0162#.bgs.protocol.club.v1.Presence" - "Level\022\026\n\016moderator_mute\030\004 \001(\010\0229\n\rwhisper" - "_level\030\005 \001(\0162\".bgs.protocol.club.v1.Whis" - "perLevel\022\014\n\004note\030\006 \001(\tB\002H\002P\000", 2468); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_member.proto", &protobuf_RegisterTypes); - Member::default_instance_ = new Member(); - MemberResult::default_instance_ = new MemberResult(); - RemoveMemberOptions::default_instance_ = new RemoveMemberOptions(); - MemberRemovedAssignment::default_instance_ = new MemberRemovedAssignment(); - MemberVoiceOptions::default_instance_ = new MemberVoiceOptions(); - MemberVoiceState::default_instance_ = new MemberVoiceState(); - CreateMemberOptions::default_instance_ = new CreateMemberOptions(); - MemberDescription::default_instance_ = new MemberDescription(); - RoleOptions::default_instance_ = new RoleOptions(); - RoleAssignment::default_instance_ = new RoleAssignment(); - MemberAttributeAssignment::default_instance_ = new MemberAttributeAssignment(); - SubscriberStateOptions::default_instance_ = new SubscriberStateOptions(); - SubscriberStateAssignment::default_instance_ = new SubscriberStateAssignment(); - MemberStateOptions::default_instance_ = new MemberStateOptions(); - MemberStateAssignment::default_instance_ = new MemberStateAssignment(); - Member::default_instance_->InitAsDefaultInstance(); - MemberResult::default_instance_->InitAsDefaultInstance(); - RemoveMemberOptions::default_instance_->InitAsDefaultInstance(); - MemberRemovedAssignment::default_instance_->InitAsDefaultInstance(); - MemberVoiceOptions::default_instance_->InitAsDefaultInstance(); - MemberVoiceState::default_instance_->InitAsDefaultInstance(); - CreateMemberOptions::default_instance_->InitAsDefaultInstance(); - MemberDescription::default_instance_->InitAsDefaultInstance(); - RoleOptions::default_instance_->InitAsDefaultInstance(); - RoleAssignment::default_instance_->InitAsDefaultInstance(); - MemberAttributeAssignment::default_instance_->InitAsDefaultInstance(); - SubscriberStateOptions::default_instance_->InitAsDefaultInstance(); - SubscriberStateAssignment::default_instance_->InitAsDefaultInstance(); - MemberStateOptions::default_instance_->InitAsDefaultInstance(); - MemberStateAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmember_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fmember_2eproto { - StaticDescriptorInitializer_club_5fmember_2eproto() { - protobuf_AddDesc_club_5fmember_2eproto(); - } -} static_descriptor_initializer_club_5fmember_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int Member::kIdFieldNumber; -const int Member::kBattleTagFieldNumber; -const int Member::kRoleFieldNumber; -const int Member::kAttributeFieldNumber; -const int Member::kJoinTimeFieldNumber; -const int Member::kPresenceLevelFieldNumber; -const int Member::kModeratorMuteFieldNumber; -const int Member::kWhisperLevelFieldNumber; -const int Member::kNoteFieldNumber; -const int Member::kActiveFieldNumber; -const int Member::kVoiceFieldNumber; -#endif // !_MSC_VER - -Member::Member() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Member) -} - -void Member::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - voice_ = const_cast< ::bgs::protocol::club::v1::MemberVoiceState*>(&::bgs::protocol::club::v1::MemberVoiceState::default_instance()); -} - -Member::Member(const Member& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.Member) -} - -void Member::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = NULL; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - join_time_ = GOOGLE_ULONGLONG(0); - presence_level_ = 0; - moderator_mute_ = false; - whisper_level_ = 0; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - active_ = false; - voice_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Member::~Member() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Member) - SharedDtor(); -} - -void Member::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (this != default_instance_) { - delete id_; - delete voice_; - } -} - -void Member::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Member::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Member_descriptor_; -} - -const Member& Member::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -Member* Member::default_instance_ = NULL; - -Member* Member::New() const { - return new Member; -} - -void Member::Swap(Member* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Member::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Member_descriptor_; - metadata.reflection = Member_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberResult::kMemberIdFieldNumber; -const int MemberResult::kStatusFieldNumber; -#endif // !_MSC_VER - -MemberResult::MemberResult() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberResult) -} - -void MemberResult::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberResult::MemberResult(const MemberResult& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberResult) -} - -void MemberResult::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - status_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberResult::~MemberResult() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberResult) - SharedDtor(); -} - -void MemberResult::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - } -} - -void MemberResult::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberResult::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberResult_descriptor_; -} - -const MemberResult& MemberResult::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberResult* MemberResult::default_instance_ = NULL; - -MemberResult* MemberResult::New() const { - return new MemberResult; -} - -void MemberResult::Swap(MemberResult* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberResult::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberResult_descriptor_; - metadata.reflection = MemberResult_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RemoveMemberOptions::kIdFieldNumber; -const int RemoveMemberOptions::kReasonFieldNumber; -#endif // !_MSC_VER - -RemoveMemberOptions::RemoveMemberOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RemoveMemberOptions) -} - -void RemoveMemberOptions::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RemoveMemberOptions::RemoveMemberOptions(const RemoveMemberOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RemoveMemberOptions) -} - -void RemoveMemberOptions::SharedCtor() { - _cached_size_ = 0; - id_ = NULL; - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RemoveMemberOptions::~RemoveMemberOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RemoveMemberOptions) - SharedDtor(); -} - -void RemoveMemberOptions::SharedDtor() { - if (this != default_instance_) { - delete id_; - } -} - -void RemoveMemberOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveMemberOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RemoveMemberOptions_descriptor_; -} - -const RemoveMemberOptions& RemoveMemberOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -RemoveMemberOptions* RemoveMemberOptions::default_instance_ = NULL; - -RemoveMemberOptions* RemoveMemberOptions::New() const { - return new RemoveMemberOptions; -} - -void RemoveMemberOptions::Swap(RemoveMemberOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RemoveMemberOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RemoveMemberOptions_descriptor_; - metadata.reflection = RemoveMemberOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberRemovedAssignment::kIdFieldNumber; -const int MemberRemovedAssignment::kReasonFieldNumber; -#endif // !_MSC_VER - -MemberRemovedAssignment::MemberRemovedAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRemovedAssignment) -} - -void MemberRemovedAssignment::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberRemovedAssignment::MemberRemovedAssignment(const MemberRemovedAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRemovedAssignment) -} - -void MemberRemovedAssignment::SharedCtor() { - _cached_size_ = 0; - id_ = NULL; - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberRemovedAssignment::~MemberRemovedAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRemovedAssignment) - SharedDtor(); -} - -void MemberRemovedAssignment::SharedDtor() { - if (this != default_instance_) { - delete id_; - } -} - -void MemberRemovedAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberRemovedAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberRemovedAssignment_descriptor_; -} - -const MemberRemovedAssignment& MemberRemovedAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberRemovedAssignment* MemberRemovedAssignment::default_instance_ = NULL; - -MemberRemovedAssignment* MemberRemovedAssignment::New() const { - return new MemberRemovedAssignment; -} - -void MemberRemovedAssignment::Swap(MemberRemovedAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberRemovedAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberRemovedAssignment_descriptor_; - metadata.reflection = MemberRemovedAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberVoiceOptions::kStreamIdFieldNumber; -const int MemberVoiceOptions::kJoinedFieldNumber; -const int MemberVoiceOptions::kMicrophoneFieldNumber; -const int MemberVoiceOptions::kActiveFieldNumber; -#endif // !_MSC_VER - -MemberVoiceOptions::MemberVoiceOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberVoiceOptions) -} - -void MemberVoiceOptions::InitAsDefaultInstance() { -} - -MemberVoiceOptions::MemberVoiceOptions(const MemberVoiceOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberVoiceOptions) -} - -void MemberVoiceOptions::SharedCtor() { - _cached_size_ = 0; - stream_id_ = GOOGLE_ULONGLONG(0); - joined_ = false; - microphone_ = 0; - active_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberVoiceOptions::~MemberVoiceOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberVoiceOptions) - SharedDtor(); -} - -void MemberVoiceOptions::SharedDtor() { - if (this != default_instance_) { - } -} - -void MemberVoiceOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberVoiceOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberVoiceOptions_descriptor_; -} - -const MemberVoiceOptions& MemberVoiceOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberVoiceOptions* MemberVoiceOptions::default_instance_ = NULL; - -MemberVoiceOptions* MemberVoiceOptions::New() const { - return new MemberVoiceOptions; -} - -void MemberVoiceOptions::Swap(MemberVoiceOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberVoiceOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberVoiceOptions_descriptor_; - metadata.reflection = MemberVoiceOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberVoiceState::kIdFieldNumber; -const int MemberVoiceState::kStreamIdFieldNumber; -const int MemberVoiceState::kJoinedFieldNumber; -const int MemberVoiceState::kMicrophoneFieldNumber; -const int MemberVoiceState::kActiveFieldNumber; -#endif // !_MSC_VER - -MemberVoiceState::MemberVoiceState() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberVoiceState) -} - -void MemberVoiceState::InitAsDefaultInstance() { -} - -MemberVoiceState::MemberVoiceState(const MemberVoiceState& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberVoiceState) -} - -void MemberVoiceState::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - stream_id_ = GOOGLE_ULONGLONG(0); - joined_ = false; - microphone_ = 0; - active_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberVoiceState::~MemberVoiceState() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberVoiceState) - SharedDtor(); -} - -void MemberVoiceState::SharedDtor() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (this != default_instance_) { - } -} - -void MemberVoiceState::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberVoiceState::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberVoiceState_descriptor_; -} - -const MemberVoiceState& MemberVoiceState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberVoiceState* MemberVoiceState::default_instance_ = NULL; - -MemberVoiceState* MemberVoiceState::New() const { - return new MemberVoiceState; -} - -void MemberVoiceState::Swap(MemberVoiceState* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberVoiceState::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberVoiceState_descriptor_; - metadata.reflection = MemberVoiceState_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateMemberOptions::kIdFieldNumber; -const int CreateMemberOptions::kAttributeFieldNumber; -const int CreateMemberOptions::kJoinClubSourceFieldNumber; -#endif // !_MSC_VER - -CreateMemberOptions::CreateMemberOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMemberOptions) -} - -void CreateMemberOptions::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -CreateMemberOptions::CreateMemberOptions(const CreateMemberOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateMemberOptions) -} - -void CreateMemberOptions::SharedCtor() { - _cached_size_ = 0; - id_ = NULL; - join_club_source_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateMemberOptions::~CreateMemberOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMemberOptions) - SharedDtor(); -} - -void CreateMemberOptions::SharedDtor() { - if (this != default_instance_) { - delete id_; - } -} - -void CreateMemberOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateMemberOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateMemberOptions_descriptor_; -} - -const CreateMemberOptions& CreateMemberOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -CreateMemberOptions* CreateMemberOptions::default_instance_ = NULL; - -CreateMemberOptions* CreateMemberOptions::New() const { - return new CreateMemberOptions; -} - -void CreateMemberOptions::Swap(CreateMemberOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateMemberOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateMemberOptions_descriptor_; - metadata.reflection = CreateMemberOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberDescription::kIdFieldNumber; -const int MemberDescription::kBattleTagFieldNumber; -#endif // !_MSC_VER - -MemberDescription::MemberDescription() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberDescription) -} - -void MemberDescription::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberDescription::MemberDescription(const MemberDescription& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberDescription) -} - -void MemberDescription::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = NULL; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberDescription::~MemberDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberDescription) - SharedDtor(); -} - -void MemberDescription::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (this != default_instance_) { - delete id_; - } -} - -void MemberDescription::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberDescription::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberDescription_descriptor_; -} - -const MemberDescription& MemberDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberDescription* MemberDescription::default_instance_ = NULL; - -MemberDescription* MemberDescription::New() const { - return new MemberDescription; -} - -void MemberDescription::Swap(MemberDescription* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberDescription::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberDescription_descriptor_; - metadata.reflection = MemberDescription_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RoleOptions::kMemberIdFieldNumber; -const int RoleOptions::kRoleFieldNumber; -#endif // !_MSC_VER - -RoleOptions::RoleOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RoleOptions) -} - -void RoleOptions::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RoleOptions::RoleOptions(const RoleOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RoleOptions) -} - -void RoleOptions::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RoleOptions::~RoleOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RoleOptions) - SharedDtor(); -} - -void RoleOptions::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - } -} - -void RoleOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RoleOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RoleOptions_descriptor_; -} - -const RoleOptions& RoleOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -RoleOptions* RoleOptions::default_instance_ = NULL; - -RoleOptions* RoleOptions::New() const { - return new RoleOptions; -} - -void RoleOptions::Swap(RoleOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RoleOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RoleOptions_descriptor_; - metadata.reflection = RoleOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RoleAssignment::kMemberIdFieldNumber; -const int RoleAssignment::kRoleFieldNumber; -#endif // !_MSC_VER - -RoleAssignment::RoleAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RoleAssignment) -} - -void RoleAssignment::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RoleAssignment::RoleAssignment(const RoleAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RoleAssignment) -} - -void RoleAssignment::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RoleAssignment::~RoleAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RoleAssignment) - SharedDtor(); -} - -void RoleAssignment::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - } -} - -void RoleAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RoleAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RoleAssignment_descriptor_; -} - -const RoleAssignment& RoleAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -RoleAssignment* RoleAssignment::default_instance_ = NULL; - -RoleAssignment* RoleAssignment::New() const { - return new RoleAssignment; -} - -void RoleAssignment::Swap(RoleAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RoleAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RoleAssignment_descriptor_; - metadata.reflection = RoleAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberAttributeAssignment::kMemberIdFieldNumber; -const int MemberAttributeAssignment::kAttributeFieldNumber; -#endif // !_MSC_VER - -MemberAttributeAssignment::MemberAttributeAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberAttributeAssignment) -} - -void MemberAttributeAssignment::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberAttributeAssignment::MemberAttributeAssignment(const MemberAttributeAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberAttributeAssignment) -} - -void MemberAttributeAssignment::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberAttributeAssignment::~MemberAttributeAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberAttributeAssignment) - SharedDtor(); -} - -void MemberAttributeAssignment::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - } -} - -void MemberAttributeAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberAttributeAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberAttributeAssignment_descriptor_; -} - -const MemberAttributeAssignment& MemberAttributeAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberAttributeAssignment* MemberAttributeAssignment::default_instance_ = NULL; - -MemberAttributeAssignment* MemberAttributeAssignment::New() const { - return new MemberAttributeAssignment; -} - -void MemberAttributeAssignment::Swap(MemberAttributeAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberAttributeAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberAttributeAssignment_descriptor_; - metadata.reflection = MemberAttributeAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscriberStateOptions::kVoiceFieldNumber; -#endif // !_MSC_VER - -SubscriberStateOptions::SubscriberStateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateOptions) -} - -void SubscriberStateOptions::InitAsDefaultInstance() { - voice_ = const_cast< ::bgs::protocol::club::v1::MemberVoiceOptions*>(&::bgs::protocol::club::v1::MemberVoiceOptions::default_instance()); -} - -SubscriberStateOptions::SubscriberStateOptions(const SubscriberStateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscriberStateOptions) -} - -void SubscriberStateOptions::SharedCtor() { - _cached_size_ = 0; - voice_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscriberStateOptions::~SubscriberStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateOptions) - SharedDtor(); -} - -void SubscriberStateOptions::SharedDtor() { - if (this != default_instance_) { - delete voice_; - } -} - -void SubscriberStateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscriberStateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscriberStateOptions_descriptor_; -} - -const SubscriberStateOptions& SubscriberStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -SubscriberStateOptions* SubscriberStateOptions::default_instance_ = NULL; - -SubscriberStateOptions* SubscriberStateOptions::New() const { - return new SubscriberStateOptions; -} - -void SubscriberStateOptions::Swap(SubscriberStateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscriberStateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscriberStateOptions_descriptor_; - metadata.reflection = SubscriberStateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscriberStateAssignment::kMemberIdFieldNumber; -const int SubscriberStateAssignment::kActiveFieldNumber; -const int SubscriberStateAssignment::kVoiceFieldNumber; -#endif // !_MSC_VER - -SubscriberStateAssignment::SubscriberStateAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateAssignment) -} - -void SubscriberStateAssignment::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - voice_ = const_cast< ::bgs::protocol::club::v1::MemberVoiceState*>(&::bgs::protocol::club::v1::MemberVoiceState::default_instance()); -} - -SubscriberStateAssignment::SubscriberStateAssignment(const SubscriberStateAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscriberStateAssignment) -} - -void SubscriberStateAssignment::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - active_ = false; - voice_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscriberStateAssignment::~SubscriberStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateAssignment) - SharedDtor(); -} - -void SubscriberStateAssignment::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - delete voice_; - } -} - -void SubscriberStateAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscriberStateAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscriberStateAssignment_descriptor_; -} - -const SubscriberStateAssignment& SubscriberStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -SubscriberStateAssignment* SubscriberStateAssignment::default_instance_ = NULL; - -SubscriberStateAssignment* SubscriberStateAssignment::New() const { - return new SubscriberStateAssignment; -} - -void SubscriberStateAssignment::Swap(SubscriberStateAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscriberStateAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscriberStateAssignment_descriptor_; - metadata.reflection = SubscriberStateAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberStateOptions::kAttributeFieldNumber; -const int MemberStateOptions::kPresenceLevelFieldNumber; -const int MemberStateOptions::kModeratorMuteFieldNumber; -const int MemberStateOptions::kWhisperLevelFieldNumber; -const int MemberStateOptions::kNoteFieldNumber; -#endif // !_MSC_VER - -MemberStateOptions::MemberStateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateOptions) -} - -void MemberStateOptions::InitAsDefaultInstance() { -} - -MemberStateOptions::MemberStateOptions(const MemberStateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateOptions) -} - -void MemberStateOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - presence_level_ = 0; - moderator_mute_ = false; - whisper_level_ = 0; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberStateOptions::~MemberStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateOptions) - SharedDtor(); -} - -void MemberStateOptions::SharedDtor() { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (this != default_instance_) { - } -} - -void MemberStateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberStateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberStateOptions_descriptor_; -} - -const MemberStateOptions& MemberStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberStateOptions* MemberStateOptions::default_instance_ = NULL; - -MemberStateOptions* MemberStateOptions::New() const { - return new MemberStateOptions; -} - -void MemberStateOptions::Swap(MemberStateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberStateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberStateOptions_descriptor_; - metadata.reflection = MemberStateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberStateAssignment::kMemberIdFieldNumber; -const int MemberStateAssignment::kAttributeFieldNumber; -const int MemberStateAssignment::kPresenceLevelFieldNumber; -const int MemberStateAssignment::kModeratorMuteFieldNumber; -const int MemberStateAssignment::kWhisperLevelFieldNumber; -const int MemberStateAssignment::kNoteFieldNumber; -#endif // !_MSC_VER - -MemberStateAssignment::MemberStateAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateAssignment) -} - -void MemberStateAssignment::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberStateAssignment::MemberStateAssignment(const MemberStateAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateAssignment) -} - -void MemberStateAssignment::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - member_id_ = NULL; - presence_level_ = 0; - moderator_mute_ = false; - whisper_level_ = 0; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberStateAssignment::~MemberStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateAssignment) - SharedDtor(); -} - -void MemberStateAssignment::SharedDtor() { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (this != default_instance_) { - delete member_id_; - } -} - -void MemberStateAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberStateAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberStateAssignment_descriptor_; -} - -const MemberStateAssignment& MemberStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_2eproto(); - return *default_instance_; -} - -MemberStateAssignment* MemberStateAssignment::default_instance_ = NULL; - -MemberStateAssignment* MemberStateAssignment::New() const { - return new MemberStateAssignment; -} - -void MemberStateAssignment::Swap(MemberStateAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberStateAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberStateAssignment_descriptor_; - metadata.reflection = MemberStateAssignment_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_member.pb.h b/src/server/proto/Client/club_member.pb.h deleted file mode 100644 index 48d329c370d..00000000000 --- a/src/server/proto/Client/club_member.pb.h +++ /dev/null @@ -1,3438 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member.proto - -#ifndef PROTOBUF_club_5fmember_2eproto__INCLUDED -#define PROTOBUF_club_5fmember_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_member_id.pb.h" // IWYU pragma: export -#include "api/client/v2/attribute_types.pb.h" -#include "club_enum.pb.h" -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); -void protobuf_AssignDesc_club_5fmember_2eproto(); -void protobuf_ShutdownFile_club_5fmember_2eproto(); - -class Member; -class MemberResult; -class RemoveMemberOptions; -class MemberRemovedAssignment; -class MemberVoiceOptions; -class MemberVoiceState; -class CreateMemberOptions; -class MemberDescription; -class RoleOptions; -class RoleAssignment; -class MemberAttributeAssignment; -class SubscriberStateOptions; -class SubscriberStateAssignment; -class MemberStateOptions; -class MemberStateAssignment; - -// =================================================================== - -class TC_PROTO_API Member : public ::google::protobuf::Message { - public: - Member(); - virtual ~Member(); - - Member(const Member& from); - - inline Member& operator=(const Member& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Member& default_instance(); - - void Swap(Member* other); - - // implements Message ---------------------------------------------- - - Member* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // optional string battle_tag = 2; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 2; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // repeated uint32 role = 3 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 3; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // repeated .bgs.protocol.v2.Attribute attribute = 4; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 4; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint64 join_time = 5; - inline bool has_join_time() const; - inline void clear_join_time(); - static const int kJoinTimeFieldNumber = 5; - inline ::google::protobuf::uint64 join_time() const; - inline void set_join_time(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.PresenceLevel presence_level = 6; - inline bool has_presence_level() const; - inline void clear_presence_level(); - static const int kPresenceLevelFieldNumber = 6; - inline ::bgs::protocol::club::v1::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); - - // optional bool moderator_mute = 7; - inline bool has_moderator_mute() const; - inline void clear_moderator_mute(); - static const int kModeratorMuteFieldNumber = 7; - inline bool moderator_mute() const; - inline void set_moderator_mute(bool value); - - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 8; - inline bool has_whisper_level() const; - inline void clear_whisper_level(); - static const int kWhisperLevelFieldNumber = 8; - inline ::bgs::protocol::club::v1::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); - - // optional string note = 9; - inline bool has_note() const; - inline void clear_note(); - static const int kNoteFieldNumber = 9; - inline const ::std::string& note() const; - inline void set_note(const ::std::string& value); - inline void set_note(const char* value); - inline void set_note(const char* value, size_t size); - inline ::std::string* mutable_note(); - inline ::std::string* release_note(); - inline void set_allocated_note(::std::string* note); - - // optional bool active = 50; - inline bool has_active() const; - inline void clear_active(); - static const int kActiveFieldNumber = 50; - inline bool active() const; - inline void set_active(bool value); - - // optional .bgs.protocol.club.v1.MemberVoiceState voice = 51; - inline bool has_voice() const; - inline void clear_voice(); - static const int kVoiceFieldNumber = 51; - inline const ::bgs::protocol::club::v1::MemberVoiceState& voice() const; - inline ::bgs::protocol::club::v1::MemberVoiceState* mutable_voice(); - inline ::bgs::protocol::club::v1::MemberVoiceState* release_voice(); - inline void set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Member) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - inline void set_has_join_time(); - inline void clear_has_join_time(); - inline void set_has_presence_level(); - inline void clear_has_presence_level(); - inline void set_has_moderator_mute(); - inline void clear_has_moderator_mute(); - inline void set_has_whisper_level(); - inline void clear_has_whisper_level(); - inline void set_has_note(); - inline void clear_has_note(); - inline void set_has_active(); - inline void clear_has_active(); - inline void set_has_voice(); - inline void clear_has_voice(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - ::std::string* battle_tag_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint64 join_time_; - int presence_level_; - int whisper_level_; - ::std::string* note_; - ::bgs::protocol::club::v1::MemberVoiceState* voice_; - bool moderator_mute_; - bool active_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static Member* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberResult : public ::google::protobuf::Message { - public: - MemberResult(); - virtual ~MemberResult(); - - MemberResult(const MemberResult& from); - - inline MemberResult& operator=(const MemberResult& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberResult& default_instance(); - - void Swap(MemberResult* other); - - // implements Message ---------------------------------------------- - - MemberResult* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional uint32 status = 2; - inline bool has_status() const; - inline void clear_status(); - static const int kStatusFieldNumber = 2; - inline ::google::protobuf::uint32 status() const; - inline void set_status(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberResult) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_status(); - inline void clear_has_status(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::uint32 status_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberResult* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RemoveMemberOptions : public ::google::protobuf::Message { - public: - RemoveMemberOptions(); - virtual ~RemoveMemberOptions(); - - RemoveMemberOptions(const RemoveMemberOptions& from); - - inline RemoveMemberOptions& operator=(const RemoveMemberOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveMemberOptions& default_instance(); - - void Swap(RemoveMemberOptions* other); - - // implements Message ---------------------------------------------- - - RemoveMemberOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 2; - inline ::bgs::protocol::club::v1::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RemoveMemberOptions) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static RemoveMemberOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberRemovedAssignment : public ::google::protobuf::Message { - public: - MemberRemovedAssignment(); - virtual ~MemberRemovedAssignment(); - - MemberRemovedAssignment(const MemberRemovedAssignment& from); - - inline MemberRemovedAssignment& operator=(const MemberRemovedAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberRemovedAssignment& default_instance(); - - void Swap(MemberRemovedAssignment* other); - - // implements Message ---------------------------------------------- - - MemberRemovedAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 2; - inline ::bgs::protocol::club::v1::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberRemovedAssignment) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberRemovedAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberVoiceOptions : public ::google::protobuf::Message { - public: - MemberVoiceOptions(); - virtual ~MemberVoiceOptions(); - - MemberVoiceOptions(const MemberVoiceOptions& from); - - inline MemberVoiceOptions& operator=(const MemberVoiceOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberVoiceOptions& default_instance(); - - void Swap(MemberVoiceOptions* other); - - // implements Message ---------------------------------------------- - - MemberVoiceOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 stream_id = 1; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional bool joined = 2; - inline bool has_joined() const; - inline void clear_joined(); - static const int kJoinedFieldNumber = 2; - inline bool joined() const; - inline void set_joined(bool value); - - // optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 3; - inline bool has_microphone() const; - inline void clear_microphone(); - static const int kMicrophoneFieldNumber = 3; - inline ::bgs::protocol::club::v1::VoiceMicrophoneState microphone() const; - inline void set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value); - - // optional bool active = 4; - inline bool has_active() const; - inline void clear_active(); - static const int kActiveFieldNumber = 4; - inline bool active() const; - inline void set_active(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberVoiceOptions) - private: - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_joined(); - inline void clear_has_joined(); - inline void set_has_microphone(); - inline void clear_has_microphone(); - inline void set_has_active(); - inline void clear_has_active(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 stream_id_; - int microphone_; - bool joined_; - bool active_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberVoiceOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberVoiceState : public ::google::protobuf::Message { - public: - MemberVoiceState(); - virtual ~MemberVoiceState(); - - MemberVoiceState(const MemberVoiceState& from); - - inline MemberVoiceState& operator=(const MemberVoiceState& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberVoiceState& default_instance(); - - void Swap(MemberVoiceState* other); - - // implements Message ---------------------------------------------- - - MemberVoiceState* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::std::string& id() const; - inline void set_id(const ::std::string& value); - inline void set_id(const char* value); - inline void set_id(const char* value, size_t size); - inline ::std::string* mutable_id(); - inline ::std::string* release_id(); - inline void set_allocated_id(::std::string* id); - - // optional uint64 stream_id = 2; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional bool joined = 3; - inline bool has_joined() const; - inline void clear_joined(); - static const int kJoinedFieldNumber = 3; - inline bool joined() const; - inline void set_joined(bool value); - - // optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 4; - inline bool has_microphone() const; - inline void clear_microphone(); - static const int kMicrophoneFieldNumber = 4; - inline ::bgs::protocol::club::v1::VoiceMicrophoneState microphone() const; - inline void set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value); - - // optional bool active = 5; - inline bool has_active() const; - inline void clear_active(); - static const int kActiveFieldNumber = 5; - inline bool active() const; - inline void set_active(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberVoiceState) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_joined(); - inline void clear_has_joined(); - inline void set_has_microphone(); - inline void clear_has_microphone(); - inline void set_has_active(); - inline void clear_has_active(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* id_; - ::google::protobuf::uint64 stream_id_; - int microphone_; - bool joined_; - bool active_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberVoiceState* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateMemberOptions : public ::google::protobuf::Message { - public: - CreateMemberOptions(); - virtual ~CreateMemberOptions(); - - CreateMemberOptions(const CreateMemberOptions& from); - - inline CreateMemberOptions& operator=(const CreateMemberOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateMemberOptions& default_instance(); - - void Swap(CreateMemberOptions* other); - - // implements Message ---------------------------------------------- - - CreateMemberOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional uint32 join_club_source = 3; - inline bool has_join_club_source() const; - inline void clear_join_club_source(); - static const int kJoinClubSourceFieldNumber = 3; - inline ::google::protobuf::uint32 join_club_source() const; - inline void set_join_club_source(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateMemberOptions) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_join_club_source(); - inline void clear_has_join_club_source(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::google::protobuf::uint32 join_club_source_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static CreateMemberOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberDescription : public ::google::protobuf::Message { - public: - MemberDescription(); - virtual ~MemberDescription(); - - MemberDescription(const MemberDescription& from); - - inline MemberDescription& operator=(const MemberDescription& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberDescription& default_instance(); - - void Swap(MemberDescription* other); - - // implements Message ---------------------------------------------- - - MemberDescription* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_id(); - inline ::bgs::protocol::club::v1::MemberId* release_id(); - inline void set_allocated_id(::bgs::protocol::club::v1::MemberId* id); - - // optional string battle_tag = 2; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 2; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberDescription) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* id_; - ::std::string* battle_tag_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberDescription* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RoleOptions : public ::google::protobuf::Message { - public: - RoleOptions(); - virtual ~RoleOptions(); - - RoleOptions(const RoleOptions& from); - - inline RoleOptions& operator=(const RoleOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RoleOptions& default_instance(); - - void Swap(RoleOptions* other); - - // implements Message ---------------------------------------------- - - RoleOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // repeated uint32 role = 2 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 2; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RoleOptions) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static RoleOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RoleAssignment : public ::google::protobuf::Message { - public: - RoleAssignment(); - virtual ~RoleAssignment(); - - RoleAssignment(const RoleAssignment& from); - - inline RoleAssignment& operator=(const RoleAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RoleAssignment& default_instance(); - - void Swap(RoleAssignment* other); - - // implements Message ---------------------------------------------- - - RoleAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // repeated uint32 role = 2 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 2; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RoleAssignment) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static RoleAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberAttributeAssignment : public ::google::protobuf::Message { - public: - MemberAttributeAssignment(); - virtual ~MemberAttributeAssignment(); - - MemberAttributeAssignment(const MemberAttributeAssignment& from); - - inline MemberAttributeAssignment& operator=(const MemberAttributeAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberAttributeAssignment& default_instance(); - - void Swap(MemberAttributeAssignment* other); - - // implements Message ---------------------------------------------- - - MemberAttributeAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberAttributeAssignment) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberAttributeAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscriberStateOptions : public ::google::protobuf::Message { - public: - SubscriberStateOptions(); - virtual ~SubscriberStateOptions(); - - SubscriberStateOptions(const SubscriberStateOptions& from); - - inline SubscriberStateOptions& operator=(const SubscriberStateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscriberStateOptions& default_instance(); - - void Swap(SubscriberStateOptions* other); - - // implements Message ---------------------------------------------- - - SubscriberStateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberVoiceOptions voice = 1; - inline bool has_voice() const; - inline void clear_voice(); - static const int kVoiceFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberVoiceOptions& voice() const; - inline ::bgs::protocol::club::v1::MemberVoiceOptions* mutable_voice(); - inline ::bgs::protocol::club::v1::MemberVoiceOptions* release_voice(); - inline void set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceOptions* voice); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscriberStateOptions) - private: - inline void set_has_voice(); - inline void clear_has_voice(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberVoiceOptions* voice_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static SubscriberStateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscriberStateAssignment : public ::google::protobuf::Message { - public: - SubscriberStateAssignment(); - virtual ~SubscriberStateAssignment(); - - SubscriberStateAssignment(const SubscriberStateAssignment& from); - - inline SubscriberStateAssignment& operator=(const SubscriberStateAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscriberStateAssignment& default_instance(); - - void Swap(SubscriberStateAssignment* other); - - // implements Message ---------------------------------------------- - - SubscriberStateAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional bool active = 2; - inline bool has_active() const; - inline void clear_active(); - static const int kActiveFieldNumber = 2; - inline bool active() const; - inline void set_active(bool value); - - // optional .bgs.protocol.club.v1.MemberVoiceState voice = 3; - inline bool has_voice() const; - inline void clear_voice(); - static const int kVoiceFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberVoiceState& voice() const; - inline ::bgs::protocol::club::v1::MemberVoiceState* mutable_voice(); - inline ::bgs::protocol::club::v1::MemberVoiceState* release_voice(); - inline void set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscriberStateAssignment) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_active(); - inline void clear_has_active(); - inline void set_has_voice(); - inline void clear_has_voice(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::MemberVoiceState* voice_; - bool active_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static SubscriberStateAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberStateOptions : public ::google::protobuf::Message { - public: - MemberStateOptions(); - virtual ~MemberStateOptions(); - - MemberStateOptions(const MemberStateOptions& from); - - inline MemberStateOptions& operator=(const MemberStateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberStateOptions& default_instance(); - - void Swap(MemberStateOptions* other); - - // implements Message ---------------------------------------------- - - MemberStateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.v2.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional .bgs.protocol.club.v1.PresenceLevel presence_level = 2; - inline bool has_presence_level() const; - inline void clear_presence_level(); - static const int kPresenceLevelFieldNumber = 2; - inline ::bgs::protocol::club::v1::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); - - // optional bool moderator_mute = 3; - inline bool has_moderator_mute() const; - inline void clear_moderator_mute(); - static const int kModeratorMuteFieldNumber = 3; - inline bool moderator_mute() const; - inline void set_moderator_mute(bool value); - - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 4; - inline bool has_whisper_level() const; - inline void clear_whisper_level(); - static const int kWhisperLevelFieldNumber = 4; - inline ::bgs::protocol::club::v1::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); - - // optional string note = 5; - inline bool has_note() const; - inline void clear_note(); - static const int kNoteFieldNumber = 5; - inline const ::std::string& note() const; - inline void set_note(const ::std::string& value); - inline void set_note(const char* value); - inline void set_note(const char* value, size_t size); - inline ::std::string* mutable_note(); - inline ::std::string* release_note(); - inline void set_allocated_note(::std::string* note); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateOptions) - private: - inline void set_has_presence_level(); - inline void clear_has_presence_level(); - inline void set_has_moderator_mute(); - inline void clear_has_moderator_mute(); - inline void set_has_whisper_level(); - inline void clear_has_whisper_level(); - inline void set_has_note(); - inline void clear_has_note(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - int presence_level_; - bool moderator_mute_; - ::std::string* note_; - int whisper_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberStateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberStateAssignment : public ::google::protobuf::Message { - public: - MemberStateAssignment(); - virtual ~MemberStateAssignment(); - - MemberStateAssignment(const MemberStateAssignment& from); - - inline MemberStateAssignment& operator=(const MemberStateAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberStateAssignment& default_instance(); - - void Swap(MemberStateAssignment* other); - - // implements Message ---------------------------------------------- - - MemberStateAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional .bgs.protocol.club.v1.PresenceLevel presence_level = 3; - inline bool has_presence_level() const; - inline void clear_presence_level(); - static const int kPresenceLevelFieldNumber = 3; - inline ::bgs::protocol::club::v1::PresenceLevel presence_level() const; - inline void set_presence_level(::bgs::protocol::club::v1::PresenceLevel value); - - // optional bool moderator_mute = 4; - inline bool has_moderator_mute() const; - inline void clear_moderator_mute(); - static const int kModeratorMuteFieldNumber = 4; - inline bool moderator_mute() const; - inline void set_moderator_mute(bool value); - - // optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 5; - inline bool has_whisper_level() const; - inline void clear_whisper_level(); - static const int kWhisperLevelFieldNumber = 5; - inline ::bgs::protocol::club::v1::WhisperLevel whisper_level() const; - inline void set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value); - - // optional string note = 6; - inline bool has_note() const; - inline void clear_note(); - static const int kNoteFieldNumber = 6; - inline const ::std::string& note() const; - inline void set_note(const ::std::string& value); - inline void set_note(const char* value); - inline void set_note(const char* value, size_t size); - inline ::std::string* mutable_note(); - inline ::std::string* release_note(); - inline void set_allocated_note(::std::string* note); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateAssignment) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_presence_level(); - inline void clear_has_presence_level(); - inline void set_has_moderator_mute(); - inline void clear_has_moderator_mute(); - inline void set_has_whisper_level(); - inline void clear_has_whisper_level(); - inline void set_has_note(); - inline void clear_has_note(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - int presence_level_; - bool moderator_mute_; - ::std::string* note_; - int whisper_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_2eproto(); - - void InitAsDefaultInstance(); - static MemberStateAssignment* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// Member - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool Member::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Member::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void Member::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Member::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& Member::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* Member::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Member.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* Member::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void Member::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.id) -} - -// optional string battle_tag = 2; -inline bool Member::has_battle_tag() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Member::set_has_battle_tag() { - _has_bits_[0] |= 0x00000002u; -} -inline void Member::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Member::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& Member::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.battle_tag) - return *battle_tag_; -} -inline void Member::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.battle_tag) -} -inline void Member::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Member.battle_tag) -} -inline void Member::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Member.battle_tag) -} -inline ::std::string* Member::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Member.battle_tag) - return battle_tag_; -} -inline ::std::string* Member::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Member::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.battle_tag) -} - -// repeated uint32 role = 3 [packed = true]; -inline int Member::role_size() const { - return role_.size(); -} -inline void Member::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 Member::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.role) - return role_.Get(index); -} -inline void Member::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.role) -} -inline void Member::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Member.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -Member::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Member.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -Member::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Member.role) - return &role_; -} - -// repeated .bgs.protocol.v2.Attribute attribute = 4; -inline int Member::attribute_size() const { - return attribute_.size(); -} -inline void Member::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& Member::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* Member::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Member.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* Member::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Member.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -Member::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Member.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -Member::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Member.attribute) - return &attribute_; -} - -// optional uint64 join_time = 5; -inline bool Member::has_join_time() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void Member::set_has_join_time() { - _has_bits_[0] |= 0x00000010u; -} -inline void Member::clear_has_join_time() { - _has_bits_[0] &= ~0x00000010u; -} -inline void Member::clear_join_time() { - join_time_ = GOOGLE_ULONGLONG(0); - clear_has_join_time(); -} -inline ::google::protobuf::uint64 Member::join_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.join_time) - return join_time_; -} -inline void Member::set_join_time(::google::protobuf::uint64 value) { - set_has_join_time(); - join_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.join_time) -} - -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 6; -inline bool Member::has_presence_level() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Member::set_has_presence_level() { - _has_bits_[0] |= 0x00000020u; -} -inline void Member::clear_has_presence_level() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Member::clear_presence_level() { - presence_level_ = 0; - clear_has_presence_level(); -} -inline ::bgs::protocol::club::v1::PresenceLevel Member::presence_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.presence_level) - return static_cast< ::bgs::protocol::club::v1::PresenceLevel >(presence_level_); -} -inline void Member::set_presence_level(::bgs::protocol::club::v1::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); - set_has_presence_level(); - presence_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.presence_level) -} - -// optional bool moderator_mute = 7; -inline bool Member::has_moderator_mute() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void Member::set_has_moderator_mute() { - _has_bits_[0] |= 0x00000040u; -} -inline void Member::clear_has_moderator_mute() { - _has_bits_[0] &= ~0x00000040u; -} -inline void Member::clear_moderator_mute() { - moderator_mute_ = false; - clear_has_moderator_mute(); -} -inline bool Member::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.moderator_mute) - return moderator_mute_; -} -inline void Member::set_moderator_mute(bool value) { - set_has_moderator_mute(); - moderator_mute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.moderator_mute) -} - -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 8; -inline bool Member::has_whisper_level() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void Member::set_has_whisper_level() { - _has_bits_[0] |= 0x00000080u; -} -inline void Member::clear_has_whisper_level() { - _has_bits_[0] &= ~0x00000080u; -} -inline void Member::clear_whisper_level() { - whisper_level_ = 0; - clear_has_whisper_level(); -} -inline ::bgs::protocol::club::v1::WhisperLevel Member::whisper_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.whisper_level) - return static_cast< ::bgs::protocol::club::v1::WhisperLevel >(whisper_level_); -} -inline void Member::set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); - set_has_whisper_level(); - whisper_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.whisper_level) -} - -// optional string note = 9; -inline bool Member::has_note() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void Member::set_has_note() { - _has_bits_[0] |= 0x00000100u; -} -inline void Member::clear_has_note() { - _has_bits_[0] &= ~0x00000100u; -} -inline void Member::clear_note() { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_->clear(); - } - clear_has_note(); -} -inline const ::std::string& Member::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.note) - return *note_; -} -inline void Member::set_note(const ::std::string& value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.note) -} -inline void Member::set_note(const char* value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Member.note) -} -inline void Member::set_note(const char* value, size_t size) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Member.note) -} -inline ::std::string* Member::mutable_note() { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Member.note) - return note_; -} -inline ::std::string* Member::release_note() { - clear_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = note_; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Member::set_allocated_note(::std::string* note) { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (note) { - set_has_note(); - note_ = note; - } else { - clear_has_note(); - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.note) -} - -// optional bool active = 50; -inline bool Member::has_active() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void Member::set_has_active() { - _has_bits_[0] |= 0x00000200u; -} -inline void Member::clear_has_active() { - _has_bits_[0] &= ~0x00000200u; -} -inline void Member::clear_active() { - active_ = false; - clear_has_active(); -} -inline bool Member::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.active) - return active_; -} -inline void Member::set_active(bool value) { - set_has_active(); - active_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Member.active) -} - -// optional .bgs.protocol.club.v1.MemberVoiceState voice = 51; -inline bool Member::has_voice() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void Member::set_has_voice() { - _has_bits_[0] |= 0x00000400u; -} -inline void Member::clear_has_voice() { - _has_bits_[0] &= ~0x00000400u; -} -inline void Member::clear_voice() { - if (voice_ != NULL) voice_->::bgs::protocol::club::v1::MemberVoiceState::Clear(); - clear_has_voice(); -} -inline const ::bgs::protocol::club::v1::MemberVoiceState& Member::voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Member.voice) - return voice_ != NULL ? *voice_ : *default_instance_->voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceState* Member::mutable_voice() { - set_has_voice(); - if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::MemberVoiceState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Member.voice) - return voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceState* Member::release_voice() { - clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceState* temp = voice_; - voice_ = NULL; - return temp; -} -inline void Member::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice) { - delete voice_; - voice_ = voice; - if (voice) { - set_has_voice(); - } else { - clear_has_voice(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Member.voice) -} - -// ------------------------------------------------------------------- - -// MemberResult - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool MemberResult::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberResult::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberResult::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberResult::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberResult::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberResult.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberResult::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberResult.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberResult::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void MemberResult::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberResult.member_id) -} - -// optional uint32 status = 2; -inline bool MemberResult::has_status() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberResult::set_has_status() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberResult::clear_has_status() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberResult::clear_status() { - status_ = 0u; - clear_has_status(); -} -inline ::google::protobuf::uint32 MemberResult::status() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberResult.status) - return status_; -} -inline void MemberResult::set_status(::google::protobuf::uint32 value) { - set_has_status(); - status_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberResult.status) -} - -// ------------------------------------------------------------------- - -// RemoveMemberOptions - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool RemoveMemberOptions::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RemoveMemberOptions::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RemoveMemberOptions::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RemoveMemberOptions::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RemoveMemberOptions::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveMemberOptions.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RemoveMemberOptions.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveMemberOptions::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void RemoveMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveMemberOptions.id) -} - -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; -inline bool RemoveMemberOptions::has_reason() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RemoveMemberOptions::set_has_reason() { - _has_bits_[0] |= 0x00000002u; -} -inline void RemoveMemberOptions::clear_has_reason() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RemoveMemberOptions::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::club::v1::ClubRemovedReason RemoveMemberOptions::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveMemberOptions.reason) - return static_cast< ::bgs::protocol::club::v1::ClubRemovedReason >(reason_); -} -inline void RemoveMemberOptions::set_reason(::bgs::protocol::club::v1::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RemoveMemberOptions.reason) -} - -// ------------------------------------------------------------------- - -// MemberRemovedAssignment - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool MemberRemovedAssignment::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberRemovedAssignment::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberRemovedAssignment::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberRemovedAssignment::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedAssignment::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedAssignment.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRemovedAssignment.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRemovedAssignment::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void MemberRemovedAssignment::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRemovedAssignment.id) -} - -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 2; -inline bool MemberRemovedAssignment::has_reason() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberRemovedAssignment::set_has_reason() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberRemovedAssignment::clear_has_reason() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberRemovedAssignment::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::club::v1::ClubRemovedReason MemberRemovedAssignment::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedAssignment.reason) - return static_cast< ::bgs::protocol::club::v1::ClubRemovedReason >(reason_); -} -inline void MemberRemovedAssignment::set_reason(::bgs::protocol::club::v1::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberRemovedAssignment.reason) -} - -// ------------------------------------------------------------------- - -// MemberVoiceOptions - -// optional uint64 stream_id = 1; -inline bool MemberVoiceOptions::has_stream_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberVoiceOptions::set_has_stream_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberVoiceOptions::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberVoiceOptions::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 MemberVoiceOptions::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.stream_id) - return stream_id_; -} -inline void MemberVoiceOptions::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceOptions.stream_id) -} - -// optional bool joined = 2; -inline bool MemberVoiceOptions::has_joined() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberVoiceOptions::set_has_joined() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberVoiceOptions::clear_has_joined() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberVoiceOptions::clear_joined() { - joined_ = false; - clear_has_joined(); -} -inline bool MemberVoiceOptions::joined() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.joined) - return joined_; -} -inline void MemberVoiceOptions::set_joined(bool value) { - set_has_joined(); - joined_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceOptions.joined) -} - -// optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 3; -inline bool MemberVoiceOptions::has_microphone() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void MemberVoiceOptions::set_has_microphone() { - _has_bits_[0] |= 0x00000004u; -} -inline void MemberVoiceOptions::clear_has_microphone() { - _has_bits_[0] &= ~0x00000004u; -} -inline void MemberVoiceOptions::clear_microphone() { - microphone_ = 0; - clear_has_microphone(); -} -inline ::bgs::protocol::club::v1::VoiceMicrophoneState MemberVoiceOptions::microphone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.microphone) - return static_cast< ::bgs::protocol::club::v1::VoiceMicrophoneState >(microphone_); -} -inline void MemberVoiceOptions::set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value) { - assert(::bgs::protocol::club::v1::VoiceMicrophoneState_IsValid(value)); - set_has_microphone(); - microphone_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceOptions.microphone) -} - -// optional bool active = 4; -inline bool MemberVoiceOptions::has_active() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void MemberVoiceOptions::set_has_active() { - _has_bits_[0] |= 0x00000008u; -} -inline void MemberVoiceOptions::clear_has_active() { - _has_bits_[0] &= ~0x00000008u; -} -inline void MemberVoiceOptions::clear_active() { - active_ = false; - clear_has_active(); -} -inline bool MemberVoiceOptions::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceOptions.active) - return active_; -} -inline void MemberVoiceOptions::set_active(bool value) { - set_has_active(); - active_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceOptions.active) -} - -// ------------------------------------------------------------------- - -// MemberVoiceState - -// optional string id = 1; -inline bool MemberVoiceState::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberVoiceState::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberVoiceState::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberVoiceState::clear_id() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_->clear(); - } - clear_has_id(); -} -inline const ::std::string& MemberVoiceState::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.id) - return *id_; -} -inline void MemberVoiceState::set_id(const ::std::string& value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.id) -} -inline void MemberVoiceState::set_id(const char* value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberVoiceState.id) -} -inline void MemberVoiceState::set_id(const char* value, size_t size) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberVoiceState.id) -} -inline ::std::string* MemberVoiceState::mutable_id() { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberVoiceState.id) - return id_; -} -inline ::std::string* MemberVoiceState::release_id() { - clear_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = id_; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void MemberVoiceState::set_allocated_id(::std::string* id) { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (id) { - set_has_id(); - id_ = id; - } else { - clear_has_id(); - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberVoiceState.id) -} - -// optional uint64 stream_id = 2; -inline bool MemberVoiceState::has_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberVoiceState::set_has_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberVoiceState::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberVoiceState::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 MemberVoiceState::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.stream_id) - return stream_id_; -} -inline void MemberVoiceState::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.stream_id) -} - -// optional bool joined = 3; -inline bool MemberVoiceState::has_joined() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void MemberVoiceState::set_has_joined() { - _has_bits_[0] |= 0x00000004u; -} -inline void MemberVoiceState::clear_has_joined() { - _has_bits_[0] &= ~0x00000004u; -} -inline void MemberVoiceState::clear_joined() { - joined_ = false; - clear_has_joined(); -} -inline bool MemberVoiceState::joined() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.joined) - return joined_; -} -inline void MemberVoiceState::set_joined(bool value) { - set_has_joined(); - joined_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.joined) -} - -// optional .bgs.protocol.club.v1.VoiceMicrophoneState microphone = 4; -inline bool MemberVoiceState::has_microphone() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void MemberVoiceState::set_has_microphone() { - _has_bits_[0] |= 0x00000008u; -} -inline void MemberVoiceState::clear_has_microphone() { - _has_bits_[0] &= ~0x00000008u; -} -inline void MemberVoiceState::clear_microphone() { - microphone_ = 0; - clear_has_microphone(); -} -inline ::bgs::protocol::club::v1::VoiceMicrophoneState MemberVoiceState::microphone() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.microphone) - return static_cast< ::bgs::protocol::club::v1::VoiceMicrophoneState >(microphone_); -} -inline void MemberVoiceState::set_microphone(::bgs::protocol::club::v1::VoiceMicrophoneState value) { - assert(::bgs::protocol::club::v1::VoiceMicrophoneState_IsValid(value)); - set_has_microphone(); - microphone_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.microphone) -} - -// optional bool active = 5; -inline bool MemberVoiceState::has_active() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void MemberVoiceState::set_has_active() { - _has_bits_[0] |= 0x00000010u; -} -inline void MemberVoiceState::clear_has_active() { - _has_bits_[0] &= ~0x00000010u; -} -inline void MemberVoiceState::clear_active() { - active_ = false; - clear_has_active(); -} -inline bool MemberVoiceState::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberVoiceState.active) - return active_; -} -inline void MemberVoiceState::set_active(bool value) { - set_has_active(); - active_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberVoiceState.active) -} - -// ------------------------------------------------------------------- - -// CreateMemberOptions - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool CreateMemberOptions::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateMemberOptions::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateMemberOptions::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateMemberOptions::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& CreateMemberOptions::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMemberOptions.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMemberOptions.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateMemberOptions::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void CreateMemberOptions::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMemberOptions.id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int CreateMemberOptions::attribute_size() const { - return attribute_.size(); -} -inline void CreateMemberOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& CreateMemberOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMemberOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMemberOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* CreateMemberOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.CreateMemberOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -CreateMemberOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.CreateMemberOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -CreateMemberOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.CreateMemberOptions.attribute) - return &attribute_; -} - -// optional uint32 join_club_source = 3; -inline bool CreateMemberOptions::has_join_club_source() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateMemberOptions::set_has_join_club_source() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateMemberOptions::clear_has_join_club_source() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateMemberOptions::clear_join_club_source() { - join_club_source_ = 0u; - clear_has_join_club_source(); -} -inline ::google::protobuf::uint32 CreateMemberOptions::join_club_source() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMemberOptions.join_club_source) - return join_club_source_; -} -inline void CreateMemberOptions::set_join_club_source(::google::protobuf::uint32 value) { - set_has_join_club_source(); - join_club_source_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMemberOptions.join_club_source) -} - -// ------------------------------------------------------------------- - -// MemberDescription - -// optional .bgs.protocol.club.v1.MemberId id = 1; -inline bool MemberDescription::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberDescription::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberDescription::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberDescription::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberDescription::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberDescription.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberDescription::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberDescription.id) - return id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberDescription::release_id() { - clear_has_id(); - ::bgs::protocol::club::v1::MemberId* temp = id_; - id_ = NULL; - return temp; -} -inline void MemberDescription::set_allocated_id(::bgs::protocol::club::v1::MemberId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberDescription.id) -} - -// optional string battle_tag = 2; -inline bool MemberDescription::has_battle_tag() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberDescription::set_has_battle_tag() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberDescription::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberDescription::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& MemberDescription::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberDescription.battle_tag) - return *battle_tag_; -} -inline void MemberDescription::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberDescription.battle_tag) -} -inline void MemberDescription::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberDescription.battle_tag) -} -inline void MemberDescription::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberDescription.battle_tag) -} -inline ::std::string* MemberDescription::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberDescription.battle_tag) - return battle_tag_; -} -inline ::std::string* MemberDescription::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void MemberDescription::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberDescription.battle_tag) -} - -// ------------------------------------------------------------------- - -// RoleOptions - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool RoleOptions::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RoleOptions::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RoleOptions::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RoleOptions::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RoleOptions::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RoleOptions.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RoleOptions::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RoleOptions.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RoleOptions::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void RoleOptions::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RoleOptions.member_id) -} - -// repeated uint32 role = 2 [packed = true]; -inline int RoleOptions::role_size() const { - return role_.size(); -} -inline void RoleOptions::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 RoleOptions::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RoleOptions.role) - return role_.Get(index); -} -inline void RoleOptions::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RoleOptions.role) -} -inline void RoleOptions::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.RoleOptions.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -RoleOptions::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.RoleOptions.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -RoleOptions::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.RoleOptions.role) - return &role_; -} - -// ------------------------------------------------------------------- - -// RoleAssignment - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool RoleAssignment::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RoleAssignment::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RoleAssignment::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RoleAssignment::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RoleAssignment::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RoleAssignment.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RoleAssignment.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RoleAssignment::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void RoleAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RoleAssignment.member_id) -} - -// repeated uint32 role = 2 [packed = true]; -inline int RoleAssignment::role_size() const { - return role_.size(); -} -inline void RoleAssignment::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 RoleAssignment::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RoleAssignment.role) - return role_.Get(index); -} -inline void RoleAssignment::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RoleAssignment.role) -} -inline void RoleAssignment::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.RoleAssignment.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -RoleAssignment::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.RoleAssignment.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -RoleAssignment::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.RoleAssignment.role) - return &role_; -} - -// ------------------------------------------------------------------- - -// MemberAttributeAssignment - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool MemberAttributeAssignment::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberAttributeAssignment::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberAttributeAssignment::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberAttributeAssignment::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberAttributeAssignment::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAttributeAssignment.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberAttributeAssignment.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberAttributeAssignment::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void MemberAttributeAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberAttributeAssignment.member_id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int MemberAttributeAssignment::attribute_size() const { - return attribute_.size(); -} -inline void MemberAttributeAssignment::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& MemberAttributeAssignment::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAttributeAssignment.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberAttributeAssignment.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* MemberAttributeAssignment::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberAttributeAssignment.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -MemberAttributeAssignment::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberAttributeAssignment.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -MemberAttributeAssignment::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberAttributeAssignment.attribute) - return &attribute_; -} - -// ------------------------------------------------------------------- - -// SubscriberStateOptions - -// optional .bgs.protocol.club.v1.MemberVoiceOptions voice = 1; -inline bool SubscriberStateOptions::has_voice() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscriberStateOptions::set_has_voice() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscriberStateOptions::clear_has_voice() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscriberStateOptions::clear_voice() { - if (voice_ != NULL) voice_->::bgs::protocol::club::v1::MemberVoiceOptions::Clear(); - clear_has_voice(); -} -inline const ::bgs::protocol::club::v1::MemberVoiceOptions& SubscriberStateOptions::voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateOptions.voice) - return voice_ != NULL ? *voice_ : *default_instance_->voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceOptions* SubscriberStateOptions::mutable_voice() { - set_has_voice(); - if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::MemberVoiceOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateOptions.voice) - return voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceOptions* SubscriberStateOptions::release_voice() { - clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceOptions* temp = voice_; - voice_ = NULL; - return temp; -} -inline void SubscriberStateOptions::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceOptions* voice) { - delete voice_; - voice_ = voice; - if (voice) { - set_has_voice(); - } else { - clear_has_voice(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateOptions.voice) -} - -// ------------------------------------------------------------------- - -// SubscriberStateAssignment - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool SubscriberStateAssignment::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscriberStateAssignment::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscriberStateAssignment::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscriberStateAssignment::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateAssignment::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateAssignment.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateAssignment.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscriberStateAssignment::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void SubscriberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateAssignment.member_id) -} - -// optional bool active = 2; -inline bool SubscriberStateAssignment::has_active() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscriberStateAssignment::set_has_active() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscriberStateAssignment::clear_has_active() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscriberStateAssignment::clear_active() { - active_ = false; - clear_has_active(); -} -inline bool SubscriberStateAssignment::active() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateAssignment.active) - return active_; -} -inline void SubscriberStateAssignment::set_active(bool value) { - set_has_active(); - active_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscriberStateAssignment.active) -} - -// optional .bgs.protocol.club.v1.MemberVoiceState voice = 3; -inline bool SubscriberStateAssignment::has_voice() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SubscriberStateAssignment::set_has_voice() { - _has_bits_[0] |= 0x00000004u; -} -inline void SubscriberStateAssignment::clear_has_voice() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SubscriberStateAssignment::clear_voice() { - if (voice_ != NULL) voice_->::bgs::protocol::club::v1::MemberVoiceState::Clear(); - clear_has_voice(); -} -inline const ::bgs::protocol::club::v1::MemberVoiceState& SubscriberStateAssignment::voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateAssignment.voice) - return voice_ != NULL ? *voice_ : *default_instance_->voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceState* SubscriberStateAssignment::mutable_voice() { - set_has_voice(); - if (voice_ == NULL) voice_ = new ::bgs::protocol::club::v1::MemberVoiceState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateAssignment.voice) - return voice_; -} -inline ::bgs::protocol::club::v1::MemberVoiceState* SubscriberStateAssignment::release_voice() { - clear_has_voice(); - ::bgs::protocol::club::v1::MemberVoiceState* temp = voice_; - voice_ = NULL; - return temp; -} -inline void SubscriberStateAssignment::set_allocated_voice(::bgs::protocol::club::v1::MemberVoiceState* voice) { - delete voice_; - voice_ = voice; - if (voice) { - set_has_voice(); - } else { - clear_has_voice(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateAssignment.voice) -} - -// ------------------------------------------------------------------- - -// MemberStateOptions - -// repeated .bgs.protocol.v2.Attribute attribute = 1; -inline int MemberStateOptions::attribute_size() const { - return attribute_.size(); -} -inline void MemberStateOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& MemberStateOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* MemberStateOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* MemberStateOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberStateOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -MemberStateOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberStateOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -MemberStateOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberStateOptions.attribute) - return &attribute_; -} - -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 2; -inline bool MemberStateOptions::has_presence_level() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberStateOptions::set_has_presence_level() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberStateOptions::clear_has_presence_level() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberStateOptions::clear_presence_level() { - presence_level_ = 0; - clear_has_presence_level(); -} -inline ::bgs::protocol::club::v1::PresenceLevel MemberStateOptions::presence_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.presence_level) - return static_cast< ::bgs::protocol::club::v1::PresenceLevel >(presence_level_); -} -inline void MemberStateOptions::set_presence_level(::bgs::protocol::club::v1::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); - set_has_presence_level(); - presence_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateOptions.presence_level) -} - -// optional bool moderator_mute = 3; -inline bool MemberStateOptions::has_moderator_mute() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void MemberStateOptions::set_has_moderator_mute() { - _has_bits_[0] |= 0x00000004u; -} -inline void MemberStateOptions::clear_has_moderator_mute() { - _has_bits_[0] &= ~0x00000004u; -} -inline void MemberStateOptions::clear_moderator_mute() { - moderator_mute_ = false; - clear_has_moderator_mute(); -} -inline bool MemberStateOptions::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.moderator_mute) - return moderator_mute_; -} -inline void MemberStateOptions::set_moderator_mute(bool value) { - set_has_moderator_mute(); - moderator_mute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateOptions.moderator_mute) -} - -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 4; -inline bool MemberStateOptions::has_whisper_level() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void MemberStateOptions::set_has_whisper_level() { - _has_bits_[0] |= 0x00000008u; -} -inline void MemberStateOptions::clear_has_whisper_level() { - _has_bits_[0] &= ~0x00000008u; -} -inline void MemberStateOptions::clear_whisper_level() { - whisper_level_ = 0; - clear_has_whisper_level(); -} -inline ::bgs::protocol::club::v1::WhisperLevel MemberStateOptions::whisper_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.whisper_level) - return static_cast< ::bgs::protocol::club::v1::WhisperLevel >(whisper_level_); -} -inline void MemberStateOptions::set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); - set_has_whisper_level(); - whisper_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateOptions.whisper_level) -} - -// optional string note = 5; -inline bool MemberStateOptions::has_note() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void MemberStateOptions::set_has_note() { - _has_bits_[0] |= 0x00000010u; -} -inline void MemberStateOptions::clear_has_note() { - _has_bits_[0] &= ~0x00000010u; -} -inline void MemberStateOptions::clear_note() { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_->clear(); - } - clear_has_note(); -} -inline const ::std::string& MemberStateOptions::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateOptions.note) - return *note_; -} -inline void MemberStateOptions::set_note(const ::std::string& value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateOptions.note) -} -inline void MemberStateOptions::set_note(const char* value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberStateOptions.note) -} -inline void MemberStateOptions::set_note(const char* value, size_t size) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberStateOptions.note) -} -inline ::std::string* MemberStateOptions::mutable_note() { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateOptions.note) - return note_; -} -inline ::std::string* MemberStateOptions::release_note() { - clear_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = note_; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void MemberStateOptions::set_allocated_note(::std::string* note) { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (note) { - set_has_note(); - note_ = note; - } else { - clear_has_note(); - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateOptions.note) -} - -// ------------------------------------------------------------------- - -// MemberStateAssignment - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool MemberStateAssignment::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberStateAssignment::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberStateAssignment::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberStateAssignment::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberStateAssignment::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateAssignment.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberStateAssignment::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void MemberStateAssignment::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateAssignment.member_id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int MemberStateAssignment::attribute_size() const { - return attribute_.size(); -} -inline void MemberStateAssignment::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& MemberStateAssignment::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateAssignment.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* MemberStateAssignment::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberStateAssignment.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -MemberStateAssignment::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberStateAssignment.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -MemberStateAssignment::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberStateAssignment.attribute) - return &attribute_; -} - -// optional .bgs.protocol.club.v1.PresenceLevel presence_level = 3; -inline bool MemberStateAssignment::has_presence_level() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void MemberStateAssignment::set_has_presence_level() { - _has_bits_[0] |= 0x00000004u; -} -inline void MemberStateAssignment::clear_has_presence_level() { - _has_bits_[0] &= ~0x00000004u; -} -inline void MemberStateAssignment::clear_presence_level() { - presence_level_ = 0; - clear_has_presence_level(); -} -inline ::bgs::protocol::club::v1::PresenceLevel MemberStateAssignment::presence_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.presence_level) - return static_cast< ::bgs::protocol::club::v1::PresenceLevel >(presence_level_); -} -inline void MemberStateAssignment::set_presence_level(::bgs::protocol::club::v1::PresenceLevel value) { - assert(::bgs::protocol::club::v1::PresenceLevel_IsValid(value)); - set_has_presence_level(); - presence_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateAssignment.presence_level) -} - -// optional bool moderator_mute = 4; -inline bool MemberStateAssignment::has_moderator_mute() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void MemberStateAssignment::set_has_moderator_mute() { - _has_bits_[0] |= 0x00000008u; -} -inline void MemberStateAssignment::clear_has_moderator_mute() { - _has_bits_[0] &= ~0x00000008u; -} -inline void MemberStateAssignment::clear_moderator_mute() { - moderator_mute_ = false; - clear_has_moderator_mute(); -} -inline bool MemberStateAssignment::moderator_mute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.moderator_mute) - return moderator_mute_; -} -inline void MemberStateAssignment::set_moderator_mute(bool value) { - set_has_moderator_mute(); - moderator_mute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateAssignment.moderator_mute) -} - -// optional .bgs.protocol.club.v1.WhisperLevel whisper_level = 5; -inline bool MemberStateAssignment::has_whisper_level() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void MemberStateAssignment::set_has_whisper_level() { - _has_bits_[0] |= 0x00000010u; -} -inline void MemberStateAssignment::clear_has_whisper_level() { - _has_bits_[0] &= ~0x00000010u; -} -inline void MemberStateAssignment::clear_whisper_level() { - whisper_level_ = 0; - clear_has_whisper_level(); -} -inline ::bgs::protocol::club::v1::WhisperLevel MemberStateAssignment::whisper_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.whisper_level) - return static_cast< ::bgs::protocol::club::v1::WhisperLevel >(whisper_level_); -} -inline void MemberStateAssignment::set_whisper_level(::bgs::protocol::club::v1::WhisperLevel value) { - assert(::bgs::protocol::club::v1::WhisperLevel_IsValid(value)); - set_has_whisper_level(); - whisper_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateAssignment.whisper_level) -} - -// optional string note = 6; -inline bool MemberStateAssignment::has_note() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void MemberStateAssignment::set_has_note() { - _has_bits_[0] |= 0x00000020u; -} -inline void MemberStateAssignment::clear_has_note() { - _has_bits_[0] &= ~0x00000020u; -} -inline void MemberStateAssignment::clear_note() { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_->clear(); - } - clear_has_note(); -} -inline const ::std::string& MemberStateAssignment::note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateAssignment.note) - return *note_; -} -inline void MemberStateAssignment::set_note(const ::std::string& value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateAssignment.note) -} -inline void MemberStateAssignment::set_note(const char* value) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.MemberStateAssignment.note) -} -inline void MemberStateAssignment::set_note(const char* value, size_t size) { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - note_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.MemberStateAssignment.note) -} -inline ::std::string* MemberStateAssignment::mutable_note() { - set_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - note_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateAssignment.note) - return note_; -} -inline ::std::string* MemberStateAssignment::release_note() { - clear_has_note(); - if (note_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = note_; - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void MemberStateAssignment::set_allocated_note(::std::string* note) { - if (note_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete note_; - } - if (note) { - set_has_note(); - note_ = note; - } else { - clear_has_note(); - note_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateAssignment.note) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fmember_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_member_id.pb.cc b/src/server/proto/Client/club_member_id.pb.cc deleted file mode 100644 index e00da71ba84..00000000000 --- a/src/server/proto/Client/club_member_id.pb.cc +++ /dev/null @@ -1,189 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member_id.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_member_id.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* MemberId_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberId_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fmember_5fid_2eproto() { - protobuf_AddDesc_club_5fmember_5fid_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_member_id.proto"); - GOOGLE_CHECK(file != NULL); - MemberId_descriptor_ = file->message_type(0); - static const int MemberId_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, account_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, unique_id_), - }; - MemberId_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberId_descriptor_, - MemberId::default_instance_, - MemberId_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberId, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberId)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmember_5fid_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberId_descriptor_, &MemberId::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fmember_5fid_2eproto() { - delete MemberId::default_instance_; - delete MemberId_reflection_; -} - -void protobuf_AddDesc_club_5fmember_5fid_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2fmessage_5foptions_2eproto(); - ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\024club_member_id.proto\022\024bgs.protocol.clu" - "b.v1\032\'global_extensions/message_options." - "proto\032\023account_types.proto\032\017rpc_types.pr" - "oto\"]\n\010MemberId\0226\n\naccount_id\030\001 \001(\0132\".bg" - "s.protocol.account.v1.AccountId\022\021\n\tuniqu" - "e_id\030\002 \001(\004:\006\202\371+\002\010\001B\002H\002", 222); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_member_id.proto", &protobuf_RegisterTypes); - MemberId::default_instance_ = new MemberId(); - MemberId::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmember_5fid_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fmember_5fid_2eproto { - StaticDescriptorInitializer_club_5fmember_5fid_2eproto() { - protobuf_AddDesc_club_5fmember_5fid_2eproto(); - } -} static_descriptor_initializer_club_5fmember_5fid_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int MemberId::kAccountIdFieldNumber; -const int MemberId::kUniqueIdFieldNumber; -#endif // !_MSC_VER - -MemberId::MemberId() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberId) -} - -void MemberId::InitAsDefaultInstance() { - account_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); -} - -MemberId::MemberId(const MemberId& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberId) -} - -void MemberId::SharedCtor() { - _cached_size_ = 0; - account_id_ = NULL; - unique_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberId::~MemberId() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberId) - SharedDtor(); -} - -void MemberId::SharedDtor() { - if (this != default_instance_) { - delete account_id_; - } -} - -void MemberId::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberId::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberId_descriptor_; -} - -const MemberId& MemberId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmember_5fid_2eproto(); - return *default_instance_; -} - -MemberId* MemberId::default_instance_ = NULL; - -MemberId* MemberId::New() const { - return new MemberId; -} - -void MemberId::Swap(MemberId* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberId::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberId_descriptor_; - metadata.reflection = MemberId_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_member_id.pb.h b/src/server/proto/Client/club_member_id.pb.h deleted file mode 100644 index ad9700ea0d0..00000000000 --- a/src/server/proto/Client/club_member_id.pb.h +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_member_id.proto - -#ifndef PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED -#define PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "global_extensions/message_options.pb.h" -#include "account_types.pb.h" -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fmember_5fid_2eproto(); -void protobuf_AssignDesc_club_5fmember_5fid_2eproto(); -void protobuf_ShutdownFile_club_5fmember_5fid_2eproto(); - -class MemberId; - -// =================================================================== - -class TC_PROTO_API MemberId : public ::google::protobuf::Message { - public: - MemberId(); - virtual ~MemberId(); - - MemberId(const MemberId& from); - - inline MemberId& operator=(const MemberId& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberId& default_instance(); - - void Swap(MemberId* other); - - // implements Message ---------------------------------------------- - - MemberId* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId account_id = 1; - inline bool has_account_id() const; - inline void clear_account_id(); - static const int kAccountIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& account_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_account_id(); - inline ::bgs::protocol::account::v1::AccountId* release_account_id(); - inline void set_allocated_account_id(::bgs::protocol::account::v1::AccountId* account_id); - - // optional uint64 unique_id = 2; - inline bool has_unique_id() const; - inline void clear_unique_id(); - static const int kUniqueIdFieldNumber = 2; - inline ::google::protobuf::uint64 unique_id() const; - inline void set_unique_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberId) - private: - inline void set_has_account_id(); - inline void clear_has_account_id(); - inline void set_has_unique_id(); - inline void clear_has_unique_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* account_id_; - ::google::protobuf::uint64 unique_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_5fid_2eproto(); - friend void protobuf_AssignDesc_club_5fmember_5fid_2eproto(); - friend void protobuf_ShutdownFile_club_5fmember_5fid_2eproto(); - - void InitAsDefaultInstance(); - static MemberId* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// MemberId - -// optional .bgs.protocol.account.v1.AccountId account_id = 1; -inline bool MemberId::has_account_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberId::set_has_account_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberId::clear_has_account_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberId::clear_account_id() { - if (account_id_ != NULL) account_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_account_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& MemberId::account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id) - return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; -} -inline ::bgs::protocol::account::v1::AccountId* MemberId::mutable_account_id() { - set_has_account_id(); - if (account_id_ == NULL) account_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberId.account_id) - return account_id_; -} -inline ::bgs::protocol::account::v1::AccountId* MemberId::release_account_id() { - clear_has_account_id(); - ::bgs::protocol::account::v1::AccountId* temp = account_id_; - account_id_ = NULL; - return temp; -} -inline void MemberId::set_allocated_account_id(::bgs::protocol::account::v1::AccountId* account_id) { - delete account_id_; - account_id_ = account_id; - if (account_id) { - set_has_account_id(); - } else { - clear_has_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id) -} - -// optional uint64 unique_id = 2; -inline bool MemberId::has_unique_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberId::set_has_unique_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberId::clear_has_unique_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberId::clear_unique_id() { - unique_id_ = GOOGLE_ULONGLONG(0); - clear_has_unique_id(); -} -inline ::google::protobuf::uint64 MemberId::unique_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.unique_id) - return unique_id_; -} -inline void MemberId::set_unique_id(::google::protobuf::uint64 value) { - set_has_unique_id(); - unique_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.unique_id) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_listener.pb.cc b/src/server/proto/Client/club_membership_listener.pb.cc deleted file mode 100644 index ed7ed29004e..00000000000 --- a/src/server/proto/Client/club_membership_listener.pb.cc +++ /dev/null @@ -1,1032 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_listener.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_listener.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { -namespace membership { - -namespace { - -const ::google::protobuf::Descriptor* ClubAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ReceivedInvitationAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ReceivedInvitationRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* SharedSettingsChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SharedSettingsChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMentionAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMentionAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMentionRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMentionRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMentionAdvanceViewTimeNotification_reflection_ = NULL; -const ::google::protobuf::ServiceDescriptor* ClubMembershipListener_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto() { - protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_membership_listener.proto"); - GOOGLE_CHECK(file != NULL); - ClubAddedNotification_descriptor_ = file->message_type(0); - static const int ClubAddedNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, membership_), - }; - ClubAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubAddedNotification_descriptor_, - ClubAddedNotification::default_instance_, - ClubAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubAddedNotification)); - ClubRemovedNotification_descriptor_ = file->message_type(1); - static const int ClubRemovedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, reason_), - }; - ClubRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubRemovedNotification_descriptor_, - ClubRemovedNotification::default_instance_, - ClubRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubRemovedNotification)); - ReceivedInvitationAddedNotification_descriptor_ = file->message_type(2); - static const int ReceivedInvitationAddedNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, invitation_), - }; - ReceivedInvitationAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ReceivedInvitationAddedNotification_descriptor_, - ReceivedInvitationAddedNotification::default_instance_, - ReceivedInvitationAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ReceivedInvitationAddedNotification)); - ReceivedInvitationRemovedNotification_descriptor_ = file->message_type(3); - static const int ReceivedInvitationRemovedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, invitation_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, reason_), - }; - ReceivedInvitationRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ReceivedInvitationRemovedNotification_descriptor_, - ReceivedInvitationRemovedNotification::default_instance_, - ReceivedInvitationRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReceivedInvitationRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ReceivedInvitationRemovedNotification)); - SharedSettingsChangedNotification_descriptor_ = file->message_type(4); - static const int SharedSettingsChangedNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, assignment_), - }; - SharedSettingsChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SharedSettingsChangedNotification_descriptor_, - SharedSettingsChangedNotification::default_instance_, - SharedSettingsChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SharedSettingsChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SharedSettingsChangedNotification)); - StreamMentionAddedNotification_descriptor_ = file->message_type(5); - static const int StreamMentionAddedNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, mention_), - }; - StreamMentionAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMentionAddedNotification_descriptor_, - StreamMentionAddedNotification::default_instance_, - StreamMentionAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMentionAddedNotification)); - StreamMentionRemovedNotification_descriptor_ = file->message_type(6); - static const int StreamMentionRemovedNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, mention_id_), - }; - StreamMentionRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMentionRemovedNotification_descriptor_, - StreamMentionRemovedNotification::default_instance_, - StreamMentionRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMentionRemovedNotification)); - StreamMentionAdvanceViewTimeNotification_descriptor_ = file->message_type(7); - static const int StreamMentionAdvanceViewTimeNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, view_time_), - }; - StreamMentionAdvanceViewTimeNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMentionAdvanceViewTimeNotification_descriptor_, - StreamMentionAdvanceViewTimeNotification::default_instance_, - StreamMentionAdvanceViewTimeNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionAdvanceViewTimeNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMentionAdvanceViewTimeNotification)); - ClubMembershipListener_descriptor_ = file->service(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5flistener_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubAddedNotification_descriptor_, &ClubAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubRemovedNotification_descriptor_, &ClubRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ReceivedInvitationAddedNotification_descriptor_, &ReceivedInvitationAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ReceivedInvitationRemovedNotification_descriptor_, &ReceivedInvitationRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SharedSettingsChangedNotification_descriptor_, &SharedSettingsChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMentionAddedNotification_descriptor_, &StreamMentionAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMentionRemovedNotification_descriptor_, &StreamMentionRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMentionAdvanceViewTimeNotification_descriptor_, &StreamMentionAdvanceViewTimeNotification::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto() { - delete ClubAddedNotification::default_instance_; - delete ClubAddedNotification_reflection_; - delete ClubRemovedNotification::default_instance_; - delete ClubRemovedNotification_reflection_; - delete ReceivedInvitationAddedNotification::default_instance_; - delete ReceivedInvitationAddedNotification_reflection_; - delete ReceivedInvitationRemovedNotification::default_instance_; - delete ReceivedInvitationRemovedNotification_reflection_; - delete SharedSettingsChangedNotification::default_instance_; - delete SharedSettingsChangedNotification_reflection_; - delete StreamMentionAddedNotification::default_instance_; - delete StreamMentionAddedNotification_reflection_; - delete StreamMentionRemovedNotification::default_instance_; - delete StreamMentionRemovedNotification_reflection_; - delete StreamMentionAdvanceViewTimeNotification::default_instance_; - delete StreamMentionAdvanceViewTimeNotification_reflection_; -} - -void protobuf_AddDesc_club_5fmembership_5flistener_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\036club_membership_listener.proto\022\037bgs.pr" - "otocol.club.v1.membership\032\020club_types.pr" - "oto\"\216\001\n\025ClubAddedNotification\0220\n\010agent_i" - "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" - "C\n\nmembership\030\003 \001(\0132/.bgs.protocol.club." - "v1.ClubMembershipDescription\"\310\001\n\027ClubRem" - "ovedNotification\0220\n\010agent_id\030\001 \001(\0132\036.bgs" - ".protocol.club.v1.MemberId\0221\n\tmember_id\030" - "\003 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n" - "\007club_id\030\004 \001(\004\0227\n\006reason\030\005 \001(\0162\'.bgs.pro" - "tocol.club.v1.ClubRemovedReason\"\221\001\n#Rece" - "ivedInvitationAddedNotification\0220\n\010agent" - "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" - "d\0228\n\ninvitation\030\003 \001(\0132$.bgs.protocol.clu" - "b.v1.ClubInvitation\"\247\001\n%ReceivedInvitati" - "onRemovedNotification\0220\n\010agent_id\030\001 \001(\0132" - "\036.bgs.protocol.club.v1.MemberId\022\025\n\rinvit" - "ation_id\030\003 \001(\006\0225\n\006reason\030\004 \001(\0162%.bgs.pro" - "tocol.InvitationRemovedReason\"\241\001\n!Shared" - "SettingsChangedNotification\0224\n\010agent_id\030" - "\001 \001(\0132\".bgs.protocol.account.v1.AccountI" - "d\022F\n\nassignment\030\004 \001(\01322.bgs.protocol.clu" - "b.v1.ClubSharedSettingsAssignment\"\210\001\n\036St" - "reamMentionAddedNotification\0220\n\010agent_id" - "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\0224" - "\n\007mention\030\003 \001(\0132#.bgs.protocol.club.v1.S" - "treamMention\"\210\001\n StreamMentionRemovedNot" - "ification\0224\n\010agent_id\030\001 \001(\0132\".bgs.protoc" - "ol.account.v1.AccountId\022.\n\nmention_id\030\003 " - "\001(\0132\032.bgs.protocol.TimeSeriesId\"s\n(Strea" - "mMentionAdvanceViewTimeNotification\0224\n\010a" - "gent_id\030\001 \001(\0132\".bgs.protocol.account.v1." - "AccountId\022\021\n\tview_time\030\003 \001(\0042\341\010\n\026ClubMem" - "bershipListener\022j\n\013OnClubAdded\0226.bgs.pro" - "tocol.club.v1.membership.ClubAddedNotifi" - "cation\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010" - "\001\030\001\022n\n\rOnClubRemoved\0228.bgs.protocol.club" - ".v1.membership.ClubRemovedNotification\032\031" - ".bgs.protocol.NO_RESPONSE\"\010\202\371+\004\010\002\030\001\022\206\001\n\031" - "OnReceivedInvitationAdded\022D.bgs.protocol" - ".club.v1.membership.ReceivedInvitationAd" - "dedNotification\032\031.bgs.protocol.NO_RESPON" - "SE\"\010\202\371+\004\010\003\030\001\022\212\001\n\033OnReceivedInvitationRem" - "oved\022F.bgs.protocol.club.v1.membership.R" - "eceivedInvitationRemovedNotification\032\031.b" - "gs.protocol.NO_RESPONSE\"\010\202\371+\004\010\004\030\001\022\202\001\n\027On" - "SharedSettingsChanged\022B.bgs.protocol.clu" - "b.v1.membership.SharedSettingsChangedNot" - "ification\032\031.bgs.protocol.NO_RESPONSE\"\010\202\371" - "+\004\010\005\030\001\022|\n\024OnStreamMentionAdded\022\?.bgs.pro" - "tocol.club.v1.membership.StreamMentionAd" - "dedNotification\032\031.bgs.protocol.NO_RESPON" - "SE\"\010\202\371+\004\010\006\030\001\022\200\001\n\026OnStreamMentionRemoved\022" - "A.bgs.protocol.club.v1.membership.Stream" - "MentionRemovedNotification\032\031.bgs.protoco" - "l.NO_RESPONSE\"\010\202\371+\004\010\007\030\001\022\220\001\n\036OnStreamMent" - "ionAdvanceViewTime\022I.bgs.protocol.club.v" - "1.membership.StreamMentionAdvanceViewTim" - "eNotification\032\031.bgs.protocol.NO_RESPONSE" - "\"\010\202\371+\004\010\010\030\001\032<\202\371+0\n,bnet.protocol.club.v1." - "ClubMembershipListener8\001\212\371+\004\010\001\030\001B\005H\002\200\001\000", 2439); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_membership_listener.proto", &protobuf_RegisterTypes); - ClubAddedNotification::default_instance_ = new ClubAddedNotification(); - ClubRemovedNotification::default_instance_ = new ClubRemovedNotification(); - ReceivedInvitationAddedNotification::default_instance_ = new ReceivedInvitationAddedNotification(); - ReceivedInvitationRemovedNotification::default_instance_ = new ReceivedInvitationRemovedNotification(); - SharedSettingsChangedNotification::default_instance_ = new SharedSettingsChangedNotification(); - StreamMentionAddedNotification::default_instance_ = new StreamMentionAddedNotification(); - StreamMentionRemovedNotification::default_instance_ = new StreamMentionRemovedNotification(); - StreamMentionAdvanceViewTimeNotification::default_instance_ = new StreamMentionAdvanceViewTimeNotification(); - ClubAddedNotification::default_instance_->InitAsDefaultInstance(); - ClubRemovedNotification::default_instance_->InitAsDefaultInstance(); - ReceivedInvitationAddedNotification::default_instance_->InitAsDefaultInstance(); - ReceivedInvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); - SharedSettingsChangedNotification::default_instance_->InitAsDefaultInstance(); - StreamMentionAddedNotification::default_instance_->InitAsDefaultInstance(); - StreamMentionRemovedNotification::default_instance_->InitAsDefaultInstance(); - StreamMentionAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fmembership_5flistener_2eproto { - StaticDescriptorInitializer_club_5fmembership_5flistener_2eproto() { - protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - } -} static_descriptor_initializer_club_5fmembership_5flistener_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ClubAddedNotification::kAgentIdFieldNumber; -const int ClubAddedNotification::kMembershipFieldNumber; -#endif // !_MSC_VER - -ClubAddedNotification::ClubAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ClubAddedNotification) -} - -void ClubAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - membership_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipDescription*>(&::bgs::protocol::club::v1::ClubMembershipDescription::default_instance()); -} - -ClubAddedNotification::ClubAddedNotification(const ClubAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ClubAddedNotification) -} - -void ClubAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - membership_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubAddedNotification::~ClubAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ClubAddedNotification) - SharedDtor(); -} - -void ClubAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete membership_; - } -} - -void ClubAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubAddedNotification_descriptor_; -} - -const ClubAddedNotification& ClubAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -ClubAddedNotification* ClubAddedNotification::default_instance_ = NULL; - -ClubAddedNotification* ClubAddedNotification::New() const { - return new ClubAddedNotification; -} - -void ClubAddedNotification::Swap(ClubAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubAddedNotification_descriptor_; - metadata.reflection = ClubAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubRemovedNotification::kAgentIdFieldNumber; -const int ClubRemovedNotification::kMemberIdFieldNumber; -const int ClubRemovedNotification::kClubIdFieldNumber; -const int ClubRemovedNotification::kReasonFieldNumber; -#endif // !_MSC_VER - -ClubRemovedNotification::ClubRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) -} - -void ClubRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -ClubRemovedNotification::ClubRemovedNotification(const ClubRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) -} - -void ClubRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - member_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubRemovedNotification::~ClubRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ClubRemovedNotification) - SharedDtor(); -} - -void ClubRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete member_id_; - } -} - -void ClubRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubRemovedNotification_descriptor_; -} - -const ClubRemovedNotification& ClubRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -ClubRemovedNotification* ClubRemovedNotification::default_instance_ = NULL; - -ClubRemovedNotification* ClubRemovedNotification::New() const { - return new ClubRemovedNotification; -} - -void ClubRemovedNotification::Swap(ClubRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubRemovedNotification_descriptor_; - metadata.reflection = ClubRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ReceivedInvitationAddedNotification::kAgentIdFieldNumber; -const int ReceivedInvitationAddedNotification::kInvitationFieldNumber; -#endif // !_MSC_VER - -ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) -} - -void ReceivedInvitationAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - invitation_ = const_cast< ::bgs::protocol::club::v1::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::default_instance()); -} - -ReceivedInvitationAddedNotification::ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) -} - -void ReceivedInvitationAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - invitation_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ReceivedInvitationAddedNotification::~ReceivedInvitationAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) - SharedDtor(); -} - -void ReceivedInvitationAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete invitation_; - } -} - -void ReceivedInvitationAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ReceivedInvitationAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ReceivedInvitationAddedNotification_descriptor_; -} - -const ReceivedInvitationAddedNotification& ReceivedInvitationAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::default_instance_ = NULL; - -ReceivedInvitationAddedNotification* ReceivedInvitationAddedNotification::New() const { - return new ReceivedInvitationAddedNotification; -} - -void ReceivedInvitationAddedNotification::Swap(ReceivedInvitationAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ReceivedInvitationAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ReceivedInvitationAddedNotification_descriptor_; - metadata.reflection = ReceivedInvitationAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ReceivedInvitationRemovedNotification::kAgentIdFieldNumber; -const int ReceivedInvitationRemovedNotification::kInvitationIdFieldNumber; -const int ReceivedInvitationRemovedNotification::kReasonFieldNumber; -#endif // !_MSC_VER - -ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) -} - -void ReceivedInvitationRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -ReceivedInvitationRemovedNotification::ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) -} - -void ReceivedInvitationRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - invitation_id_ = GOOGLE_ULONGLONG(0); - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ReceivedInvitationRemovedNotification::~ReceivedInvitationRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) - SharedDtor(); -} - -void ReceivedInvitationRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void ReceivedInvitationRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ReceivedInvitationRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ReceivedInvitationRemovedNotification_descriptor_; -} - -const ReceivedInvitationRemovedNotification& ReceivedInvitationRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::default_instance_ = NULL; - -ReceivedInvitationRemovedNotification* ReceivedInvitationRemovedNotification::New() const { - return new ReceivedInvitationRemovedNotification; -} - -void ReceivedInvitationRemovedNotification::Swap(ReceivedInvitationRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ReceivedInvitationRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ReceivedInvitationRemovedNotification_descriptor_; - metadata.reflection = ReceivedInvitationRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SharedSettingsChangedNotification::kAgentIdFieldNumber; -const int SharedSettingsChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -SharedSettingsChangedNotification::SharedSettingsChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification) -} - -void SharedSettingsChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - assignment_ = const_cast< ::bgs::protocol::club::v1::ClubSharedSettingsAssignment*>(&::bgs::protocol::club::v1::ClubSharedSettingsAssignment::default_instance()); -} - -SharedSettingsChangedNotification::SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification) -} - -void SharedSettingsChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - assignment_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SharedSettingsChangedNotification::~SharedSettingsChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification) - SharedDtor(); -} - -void SharedSettingsChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete assignment_; - } -} - -void SharedSettingsChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SharedSettingsChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SharedSettingsChangedNotification_descriptor_; -} - -const SharedSettingsChangedNotification& SharedSettingsChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -SharedSettingsChangedNotification* SharedSettingsChangedNotification::default_instance_ = NULL; - -SharedSettingsChangedNotification* SharedSettingsChangedNotification::New() const { - return new SharedSettingsChangedNotification; -} - -void SharedSettingsChangedNotification::Swap(SharedSettingsChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SharedSettingsChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SharedSettingsChangedNotification_descriptor_; - metadata.reflection = SharedSettingsChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMentionAddedNotification::kAgentIdFieldNumber; -const int StreamMentionAddedNotification::kMentionFieldNumber; -#endif // !_MSC_VER - -StreamMentionAddedNotification::StreamMentionAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) -} - -void StreamMentionAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - mention_ = const_cast< ::bgs::protocol::club::v1::StreamMention*>(&::bgs::protocol::club::v1::StreamMention::default_instance()); -} - -StreamMentionAddedNotification::StreamMentionAddedNotification(const StreamMentionAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) -} - -void StreamMentionAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - mention_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMentionAddedNotification::~StreamMentionAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) - SharedDtor(); -} - -void StreamMentionAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete mention_; - } -} - -void StreamMentionAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMentionAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMentionAddedNotification_descriptor_; -} - -const StreamMentionAddedNotification& StreamMentionAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -StreamMentionAddedNotification* StreamMentionAddedNotification::default_instance_ = NULL; - -StreamMentionAddedNotification* StreamMentionAddedNotification::New() const { - return new StreamMentionAddedNotification; -} - -void StreamMentionAddedNotification::Swap(StreamMentionAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMentionAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMentionAddedNotification_descriptor_; - metadata.reflection = StreamMentionAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMentionRemovedNotification::kAgentIdFieldNumber; -const int StreamMentionRemovedNotification::kMentionIdFieldNumber; -#endif // !_MSC_VER - -StreamMentionRemovedNotification::StreamMentionRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification) -} - -void StreamMentionRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); -} - -StreamMentionRemovedNotification::StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification) -} - -void StreamMentionRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - mention_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMentionRemovedNotification::~StreamMentionRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification) - SharedDtor(); -} - -void StreamMentionRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete mention_id_; - } -} - -void StreamMentionRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMentionRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMentionRemovedNotification_descriptor_; -} - -const StreamMentionRemovedNotification& StreamMentionRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -StreamMentionRemovedNotification* StreamMentionRemovedNotification::default_instance_ = NULL; - -StreamMentionRemovedNotification* StreamMentionRemovedNotification::New() const { - return new StreamMentionRemovedNotification; -} - -void StreamMentionRemovedNotification::Swap(StreamMentionRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMentionRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMentionRemovedNotification_descriptor_; - metadata.reflection = StreamMentionRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMentionAdvanceViewTimeNotification::kAgentIdFieldNumber; -const int StreamMentionAdvanceViewTimeNotification::kViewTimeFieldNumber; -#endif // !_MSC_VER - -StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification) -} - -void StreamMentionAdvanceViewTimeNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); -} - -StreamMentionAdvanceViewTimeNotification::StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification) -} - -void StreamMentionAdvanceViewTimeNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - view_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMentionAdvanceViewTimeNotification::~StreamMentionAdvanceViewTimeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification) - SharedDtor(); -} - -void StreamMentionAdvanceViewTimeNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void StreamMentionAdvanceViewTimeNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMentionAdvanceViewTimeNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMentionAdvanceViewTimeNotification_descriptor_; -} - -const StreamMentionAdvanceViewTimeNotification& StreamMentionAdvanceViewTimeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - return *default_instance_; -} - -StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::default_instance_ = NULL; - -StreamMentionAdvanceViewTimeNotification* StreamMentionAdvanceViewTimeNotification::New() const { - return new StreamMentionAdvanceViewTimeNotification; -} - -void StreamMentionAdvanceViewTimeNotification::Swap(StreamMentionAdvanceViewTimeNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMentionAdvanceViewTimeNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMentionAdvanceViewTimeNotification_descriptor_; - metadata.reflection = StreamMentionAdvanceViewTimeNotification_reflection_; - return metadata; -} - -// =================================================================== - -ClubMembershipListener::ClubMembershipListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -ClubMembershipListener::~ClubMembershipListener() { -} - -google::protobuf::ServiceDescriptor const* ClubMembershipListener::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipListener_descriptor_; -} - -void ClubMembershipListener::OnClubAdded(::bgs::protocol::club::v1::membership::ClubAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnClubAdded", "bgs.protocol.club.v1.membership.ClubAddedNotification", request); - SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnClubRemoved(::bgs::protocol::club::v1::membership::ClubRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnClubRemoved", "bgs.protocol.club.v1.membership.ClubRemovedNotification", request); - SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnReceivedInvitationAdded(::bgs::protocol::club::v1::membership::ReceivedInvitationAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationAdded", "bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification", request); - SendRequest(service_hash_, 3 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnReceivedInvitationRemoved(::bgs::protocol::club::v1::membership::ReceivedInvitationRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnReceivedInvitationRemoved", "bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification", request); - SendRequest(service_hash_, 4 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnSharedSettingsChanged(::bgs::protocol::club::v1::membership::SharedSettingsChangedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnSharedSettingsChanged", "bgs.protocol.club.v1.membership.SharedSettingsChangedNotification", request); - SendRequest(service_hash_, 5 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnStreamMentionAdded(::bgs::protocol::club::v1::membership::StreamMentionAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdded", "bgs.protocol.club.v1.membership.StreamMentionAddedNotification", request); - SendRequest(service_hash_, 6 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnStreamMentionRemoved(::bgs::protocol::club::v1::membership::StreamMentionRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionRemoved", "bgs.protocol.club.v1.membership.StreamMentionRemovedNotification", request); - SendRequest(service_hash_, 7 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::OnStreamMentionAdvanceViewTime(::bgs::protocol::club::v1::membership::StreamMentionAdvanceViewTimeNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("ClubMembershipListener.OnStreamMentionAdvanceViewTime", "bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification", request); - SendRequest(service_hash_, 8 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void ClubMembershipListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { - LogDisallowedMethod(methodId); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace membership -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_membership_listener.pb.h b/src/server/proto/Client/club_membership_listener.pb.h deleted file mode 100644 index c68bb604bf1..00000000000 --- a/src/server/proto/Client/club_membership_listener.pb.h +++ /dev/null @@ -1,1498 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_listener.proto - -#ifndef PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_types.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { -namespace membership { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); -void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); -void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - -class ClubAddedNotification; -class ClubRemovedNotification; -class ReceivedInvitationAddedNotification; -class ReceivedInvitationRemovedNotification; -class SharedSettingsChangedNotification; -class StreamMentionAddedNotification; -class StreamMentionRemovedNotification; -class StreamMentionAdvanceViewTimeNotification; - -// =================================================================== - -class TC_PROTO_API ClubAddedNotification : public ::google::protobuf::Message { - public: - ClubAddedNotification(); - virtual ~ClubAddedNotification(); - - ClubAddedNotification(const ClubAddedNotification& from); - - inline ClubAddedNotification& operator=(const ClubAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubAddedNotification& default_instance(); - - void Swap(ClubAddedNotification* other); - - // implements Message ---------------------------------------------- - - ClubAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.ClubMembershipDescription membership = 3; - inline bool has_membership() const; - inline void clear_membership(); - static const int kMembershipFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubMembershipDescription& membership() const; - inline ::bgs::protocol::club::v1::ClubMembershipDescription* mutable_membership(); - inline ::bgs::protocol::club::v1::ClubMembershipDescription* release_membership(); - inline void set_allocated_membership(::bgs::protocol::club::v1::ClubMembershipDescription* membership); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.ClubAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_membership(); - inline void clear_has_membership(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::ClubMembershipDescription* membership_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static ClubAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubRemovedNotification : public ::google::protobuf::Message { - public: - ClubRemovedNotification(); - virtual ~ClubRemovedNotification(); - - ClubRemovedNotification(const ClubRemovedNotification& from); - - inline ClubRemovedNotification& operator=(const ClubRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubRemovedNotification& default_instance(); - - void Swap(ClubRemovedNotification* other); - - // implements Message ---------------------------------------------- - - ClubRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.MemberId member_id = 3; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional uint64 club_id = 4; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 4; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubRemovedReason reason = 5; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 5; - inline ::bgs::protocol::club::v1::ClubRemovedReason reason() const; - inline void set_reason(::bgs::protocol::club::v1::ClubRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.ClubRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::google::protobuf::uint64 club_id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static ClubRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ReceivedInvitationAddedNotification : public ::google::protobuf::Message { - public: - ReceivedInvitationAddedNotification(); - virtual ~ReceivedInvitationAddedNotification(); - - ReceivedInvitationAddedNotification(const ReceivedInvitationAddedNotification& from); - - inline ReceivedInvitationAddedNotification& operator=(const ReceivedInvitationAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ReceivedInvitationAddedNotification& default_instance(); - - void Swap(ReceivedInvitationAddedNotification* other); - - // implements Message ---------------------------------------------- - - ReceivedInvitationAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.ClubInvitation invitation = 3; - inline bool has_invitation() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubInvitation& invitation() const; - inline ::bgs::protocol::club::v1::ClubInvitation* mutable_invitation(); - inline ::bgs::protocol::club::v1::ClubInvitation* release_invitation(); - inline void set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_invitation(); - inline void clear_has_invitation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::ClubInvitation* invitation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static ReceivedInvitationAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ReceivedInvitationRemovedNotification : public ::google::protobuf::Message { - public: - ReceivedInvitationRemovedNotification(); - virtual ~ReceivedInvitationRemovedNotification(); - - ReceivedInvitationRemovedNotification(const ReceivedInvitationRemovedNotification& from); - - inline ReceivedInvitationRemovedNotification& operator=(const ReceivedInvitationRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ReceivedInvitationRemovedNotification& default_instance(); - - void Swap(ReceivedInvitationRemovedNotification* other); - - // implements Message ---------------------------------------------- - - ReceivedInvitationRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional fixed64 invitation_id = 3; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 3; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.InvitationRemovedReason reason = 4; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 4; - inline ::bgs::protocol::InvitationRemovedReason reason() const; - inline void set_reason(::bgs::protocol::InvitationRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 invitation_id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static ReceivedInvitationRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SharedSettingsChangedNotification : public ::google::protobuf::Message { - public: - SharedSettingsChangedNotification(); - virtual ~SharedSettingsChangedNotification(); - - SharedSettingsChangedNotification(const SharedSettingsChangedNotification& from); - - inline SharedSettingsChangedNotification& operator=(const SharedSettingsChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SharedSettingsChangedNotification& default_instance(); - - void Swap(SharedSettingsChangedNotification* other); - - // implements Message ---------------------------------------------- - - SharedSettingsChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.club.v1.ClubSharedSettingsAssignment assignment = 4; - inline bool has_assignment() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubSharedSettingsAssignment& assignment() const; - inline ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* mutable_assignment(); - inline ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* release_assignment(); - inline void set_allocated_assignment(::bgs::protocol::club::v1::ClubSharedSettingsAssignment* assignment); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_assignment(); - inline void clear_has_assignment(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static SharedSettingsChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMentionAddedNotification : public ::google::protobuf::Message { - public: - StreamMentionAddedNotification(); - virtual ~StreamMentionAddedNotification(); - - StreamMentionAddedNotification(const StreamMentionAddedNotification& from); - - inline StreamMentionAddedNotification& operator=(const StreamMentionAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMentionAddedNotification& default_instance(); - - void Swap(StreamMentionAddedNotification* other); - - // implements Message ---------------------------------------------- - - StreamMentionAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.StreamMention mention = 3; - inline bool has_mention() const; - inline void clear_mention(); - static const int kMentionFieldNumber = 3; - inline const ::bgs::protocol::club::v1::StreamMention& mention() const; - inline ::bgs::protocol::club::v1::StreamMention* mutable_mention(); - inline ::bgs::protocol::club::v1::StreamMention* release_mention(); - inline void set_allocated_mention(::bgs::protocol::club::v1::StreamMention* mention); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.StreamMentionAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_mention(); - inline void clear_has_mention(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::StreamMention* mention_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static StreamMentionAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMentionRemovedNotification : public ::google::protobuf::Message { - public: - StreamMentionRemovedNotification(); - virtual ~StreamMentionRemovedNotification(); - - StreamMentionRemovedNotification(const StreamMentionRemovedNotification& from); - - inline StreamMentionRemovedNotification& operator=(const StreamMentionRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMentionRemovedNotification& default_instance(); - - void Swap(StreamMentionRemovedNotification* other); - - // implements Message ---------------------------------------------- - - StreamMentionRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.TimeSeriesId mention_id = 3; - inline bool has_mention_id() const; - inline void clear_mention_id(); - static const int kMentionIdFieldNumber = 3; - inline const ::bgs::protocol::TimeSeriesId& mention_id() const; - inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); - inline ::bgs::protocol::TimeSeriesId* release_mention_id(); - inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_mention_id(); - inline void clear_has_mention_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::TimeSeriesId* mention_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static StreamMentionRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMentionAdvanceViewTimeNotification : public ::google::protobuf::Message { - public: - StreamMentionAdvanceViewTimeNotification(); - virtual ~StreamMentionAdvanceViewTimeNotification(); - - StreamMentionAdvanceViewTimeNotification(const StreamMentionAdvanceViewTimeNotification& from); - - inline StreamMentionAdvanceViewTimeNotification& operator=(const StreamMentionAdvanceViewTimeNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMentionAdvanceViewTimeNotification& default_instance(); - - void Swap(StreamMentionAdvanceViewTimeNotification* other); - - // implements Message ---------------------------------------------- - - StreamMentionAdvanceViewTimeNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional uint64 view_time = 3; - inline bool has_view_time() const; - inline void clear_view_time(); - static const int kViewTimeFieldNumber = 3; - inline ::google::protobuf::uint64 view_time() const; - inline void set_view_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_view_time(); - inline void clear_has_view_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::google::protobuf::uint64 view_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5flistener_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5flistener_2eproto(); - - void InitAsDefaultInstance(); - static StreamMentionAdvanceViewTimeNotification* default_instance_; -}; -// =================================================================== - -class TC_PROTO_API ClubMembershipListener : public ServiceBase -{ - public: - - explicit ClubMembershipListener(bool use_original_hash); - ClubMembershipListener(ClubMembershipListener const&) = delete; - ClubMembershipListener(ClubMembershipListener&&) = delete; - ClubMembershipListener& operator=(ClubMembershipListener const&) = delete; - ClubMembershipListener& operator=(ClubMembershipListener&&) = delete; - virtual ~ClubMembershipListener(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - // client methods -------------------------------------------------- - void OnClubAdded(::bgs::protocol::club::v1::membership::ClubAddedNotification const* request, bool client = false, bool server = false); - void OnClubRemoved(::bgs::protocol::club::v1::membership::ClubRemovedNotification const* request, bool client = false, bool server = false); - void OnReceivedInvitationAdded(::bgs::protocol::club::v1::membership::ReceivedInvitationAddedNotification const* request, bool client = false, bool server = false); - void OnReceivedInvitationRemoved(::bgs::protocol::club::v1::membership::ReceivedInvitationRemovedNotification const* request, bool client = false, bool server = false); - void OnSharedSettingsChanged(::bgs::protocol::club::v1::membership::SharedSettingsChangedNotification const* request, bool client = false, bool server = false); - void OnStreamMentionAdded(::bgs::protocol::club::v1::membership::StreamMentionAddedNotification const* request, bool client = false, bool server = false); - void OnStreamMentionRemoved(::bgs::protocol::club::v1::membership::StreamMentionRemovedNotification const* request, bool client = false, bool server = false); - void OnStreamMentionAdvanceViewTime(::bgs::protocol::club::v1::membership::StreamMentionAdvanceViewTimeNotification const* request, bool client = false, bool server = false); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; -}; - -// =================================================================== - -// =================================================================== - -// ClubAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool ClubAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ClubAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void ClubAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubAddedNotification.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubMembershipDescription membership = 3; -inline bool ClubAddedNotification::has_membership() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubAddedNotification::set_has_membership() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubAddedNotification::clear_has_membership() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubAddedNotification::clear_membership() { - if (membership_ != NULL) membership_->::bgs::protocol::club::v1::ClubMembershipDescription::Clear(); - clear_has_membership(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipDescription& ClubAddedNotification::membership() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubAddedNotification.membership) - return membership_ != NULL ? *membership_ : *default_instance_->membership_; -} -inline ::bgs::protocol::club::v1::ClubMembershipDescription* ClubAddedNotification::mutable_membership() { - set_has_membership(); - if (membership_ == NULL) membership_ = new ::bgs::protocol::club::v1::ClubMembershipDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ClubAddedNotification.membership) - return membership_; -} -inline ::bgs::protocol::club::v1::ClubMembershipDescription* ClubAddedNotification::release_membership() { - clear_has_membership(); - ::bgs::protocol::club::v1::ClubMembershipDescription* temp = membership_; - membership_ = NULL; - return temp; -} -inline void ClubAddedNotification::set_allocated_membership(::bgs::protocol::club::v1::ClubMembershipDescription* membership) { - delete membership_; - membership_ = membership; - if (membership) { - set_has_membership(); - } else { - clear_has_membership(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubAddedNotification.membership) -} - -// ------------------------------------------------------------------- - -// ClubRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool ClubRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ClubRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void ClubRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubRemovedNotification.agent_id) -} - -// optional .bgs.protocol.club.v1.MemberId member_id = 3; -inline bool ClubRemovedNotification::has_member_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubRemovedNotification::set_has_member_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubRemovedNotification::clear_has_member_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubRemovedNotification::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubRemovedNotification::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubRemovedNotification.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ClubRemovedNotification.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubRemovedNotification::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void ClubRemovedNotification::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ClubRemovedNotification.member_id) -} - -// optional uint64 club_id = 4; -inline bool ClubRemovedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubRemovedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubRemovedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubRemovedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 ClubRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubRemovedNotification.club_id) - return club_id_; -} -inline void ClubRemovedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.ClubRemovedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.ClubRemovedReason reason = 5; -inline bool ClubRemovedNotification::has_reason() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubRemovedNotification::set_has_reason() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubRemovedNotification::clear_has_reason() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubRemovedNotification::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::club::v1::ClubRemovedReason ClubRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ClubRemovedNotification.reason) - return static_cast< ::bgs::protocol::club::v1::ClubRemovedReason >(reason_); -} -inline void ClubRemovedNotification::set_reason(::bgs::protocol::club::v1::ClubRemovedReason value) { - assert(::bgs::protocol::club::v1::ClubRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.ClubRemovedNotification.reason) -} - -// ------------------------------------------------------------------- - -// ReceivedInvitationAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool ReceivedInvitationAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ReceivedInvitationAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ReceivedInvitationAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ReceivedInvitationAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void ReceivedInvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 3; -inline bool ReceivedInvitationAddedNotification::has_invitation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ReceivedInvitationAddedNotification::set_has_invitation() { - _has_bits_[0] |= 0x00000002u; -} -inline void ReceivedInvitationAddedNotification::clear_has_invitation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ReceivedInvitationAddedNotification::clear_invitation() { - if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::ClubInvitation::Clear(); - clear_has_invitation(); -} -inline const ::bgs::protocol::club::v1::ClubInvitation& ReceivedInvitationAddedNotification::invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.invitation) - return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* ReceivedInvitationAddedNotification::mutable_invitation() { - set_has_invitation(); - if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::ClubInvitation; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.invitation) - return invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* ReceivedInvitationAddedNotification::release_invitation() { - clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; - invitation_ = NULL; - return temp; -} -inline void ReceivedInvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { - delete invitation_; - invitation_ = invitation; - if (invitation) { - set_has_invitation(); - } else { - clear_has_invitation(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationAddedNotification.invitation) -} - -// ------------------------------------------------------------------- - -// ReceivedInvitationRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool ReceivedInvitationRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ReceivedInvitationRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ReceivedInvitationRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ReceivedInvitationRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ReceivedInvitationRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ReceivedInvitationRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void ReceivedInvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.agent_id) -} - -// optional fixed64 invitation_id = 3; -inline bool ReceivedInvitationRemovedNotification::has_invitation_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ReceivedInvitationRemovedNotification::set_has_invitation_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void ReceivedInvitationRemovedNotification::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ReceivedInvitationRemovedNotification::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 ReceivedInvitationRemovedNotification::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.invitation_id) - return invitation_id_; -} -inline void ReceivedInvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.invitation_id) -} - -// optional .bgs.protocol.InvitationRemovedReason reason = 4; -inline bool ReceivedInvitationRemovedNotification::has_reason() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ReceivedInvitationRemovedNotification::set_has_reason() { - _has_bits_[0] |= 0x00000004u; -} -inline void ReceivedInvitationRemovedNotification::clear_has_reason() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ReceivedInvitationRemovedNotification::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::InvitationRemovedReason ReceivedInvitationRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.reason) - return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); -} -inline void ReceivedInvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { - assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.ReceivedInvitationRemovedNotification.reason) -} - -// ------------------------------------------------------------------- - -// SharedSettingsChangedNotification - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool SharedSettingsChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SharedSettingsChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SharedSettingsChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SharedSettingsChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& SharedSettingsChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* SharedSettingsChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SharedSettingsChangedNotification::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubSharedSettingsAssignment assignment = 4; -inline bool SharedSettingsChangedNotification::has_assignment() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SharedSettingsChangedNotification::set_has_assignment() { - _has_bits_[0] |= 0x00000002u; -} -inline void SharedSettingsChangedNotification::clear_has_assignment() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SharedSettingsChangedNotification::clear_assignment() { - if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::ClubSharedSettingsAssignment::Clear(); - clear_has_assignment(); -} -inline const ::bgs::protocol::club::v1::ClubSharedSettingsAssignment& SharedSettingsChangedNotification::assignment() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.assignment) - return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::mutable_assignment() { - set_has_assignment(); - if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::ClubSharedSettingsAssignment; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.assignment) - return assignment_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* SharedSettingsChangedNotification::release_assignment() { - clear_has_assignment(); - ::bgs::protocol::club::v1::ClubSharedSettingsAssignment* temp = assignment_; - assignment_ = NULL; - return temp; -} -inline void SharedSettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubSharedSettingsAssignment* assignment) { - delete assignment_; - assignment_ = assignment; - if (assignment) { - set_has_assignment(); - } else { - clear_has_assignment(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SharedSettingsChangedNotification.assignment) -} - -// ------------------------------------------------------------------- - -// StreamMentionAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamMentionAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMentionAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMentionAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMentionAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamMentionAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMentionAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamMentionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.agent_id) -} - -// optional .bgs.protocol.club.v1.StreamMention mention = 3; -inline bool StreamMentionAddedNotification::has_mention() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMentionAddedNotification::set_has_mention() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMentionAddedNotification::clear_has_mention() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMentionAddedNotification::clear_mention() { - if (mention_ != NULL) mention_->::bgs::protocol::club::v1::StreamMention::Clear(); - clear_has_mention(); -} -inline const ::bgs::protocol::club::v1::StreamMention& StreamMentionAddedNotification::mention() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.mention) - return mention_ != NULL ? *mention_ : *default_instance_->mention_; -} -inline ::bgs::protocol::club::v1::StreamMention* StreamMentionAddedNotification::mutable_mention() { - set_has_mention(); - if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::StreamMention; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.mention) - return mention_; -} -inline ::bgs::protocol::club::v1::StreamMention* StreamMentionAddedNotification::release_mention() { - clear_has_mention(); - ::bgs::protocol::club::v1::StreamMention* temp = mention_; - mention_ = NULL; - return temp; -} -inline void StreamMentionAddedNotification::set_allocated_mention(::bgs::protocol::club::v1::StreamMention* mention) { - delete mention_; - mention_ = mention; - if (mention) { - set_has_mention(); - } else { - clear_has_mention(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAddedNotification.mention) -} - -// ------------------------------------------------------------------- - -// StreamMentionRemovedNotification - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool StreamMentionRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMentionRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMentionRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMentionRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& StreamMentionRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* StreamMentionRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamMentionRemovedNotification::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.agent_id) -} - -// optional .bgs.protocol.TimeSeriesId mention_id = 3; -inline bool StreamMentionRemovedNotification::has_mention_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMentionRemovedNotification::set_has_mention_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMentionRemovedNotification::clear_has_mention_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMentionRemovedNotification::clear_mention_id() { - if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); - clear_has_mention_id(); -} -inline const ::bgs::protocol::TimeSeriesId& StreamMentionRemovedNotification::mention_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.mention_id) - return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; -} -inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::mutable_mention_id() { - set_has_mention_id(); - if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.mention_id) - return mention_id_; -} -inline ::bgs::protocol::TimeSeriesId* StreamMentionRemovedNotification::release_mention_id() { - clear_has_mention_id(); - ::bgs::protocol::TimeSeriesId* temp = mention_id_; - mention_id_ = NULL; - return temp; -} -inline void StreamMentionRemovedNotification::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { - delete mention_id_; - mention_id_ = mention_id; - if (mention_id) { - set_has_mention_id(); - } else { - clear_has_mention_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionRemovedNotification.mention_id) -} - -// ------------------------------------------------------------------- - -// StreamMentionAdvanceViewTimeNotification - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool StreamMentionAdvanceViewTimeNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMentionAdvanceViewTimeNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMentionAdvanceViewTimeNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMentionAdvanceViewTimeNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& StreamMentionAdvanceViewTimeNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* StreamMentionAdvanceViewTimeNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamMentionAdvanceViewTimeNotification::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.agent_id) -} - -// optional uint64 view_time = 3; -inline bool StreamMentionAdvanceViewTimeNotification::has_view_time() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMentionAdvanceViewTimeNotification::set_has_view_time() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMentionAdvanceViewTimeNotification::clear_has_view_time() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMentionAdvanceViewTimeNotification::clear_view_time() { - view_time_ = GOOGLE_ULONGLONG(0); - clear_has_view_time(); -} -inline ::google::protobuf::uint64 StreamMentionAdvanceViewTimeNotification::view_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.view_time) - return view_time_; -} -inline void StreamMentionAdvanceViewTimeNotification::set_view_time(::google::protobuf::uint64 value) { - set_has_view_time(); - view_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.StreamMentionAdvanceViewTimeNotification.view_time) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace membership -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fmembership_5flistener_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_service.pb.cc b/src/server/proto/Client/club_membership_service.pb.cc deleted file mode 100644 index 5da13dcbca6..00000000000 --- a/src/server/proto/Client/club_membership_service.pb.cc +++ /dev/null @@ -1,1332 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_service.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_service.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { -namespace membership { - -namespace { - -const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnsubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStateResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStateResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateClubSharedSettingsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamMentionsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamMentionsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamMentionsResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamMentionsResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RemoveStreamMentionsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; -const ::google::protobuf::ServiceDescriptor* ClubMembershipService_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto() { - protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_membership_service.proto"); - GOOGLE_CHECK(file != NULL); - SubscribeRequest_descriptor_ = file->message_type(0); - static const int SubscribeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, options_), - }; - SubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeRequest_descriptor_, - SubscribeRequest::default_instance_, - SubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeRequest)); - SubscribeResponse_descriptor_ = file->message_type(1); - static const int SubscribeResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, state_), - }; - SubscribeResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeResponse_descriptor_, - SubscribeResponse::default_instance_, - SubscribeResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeResponse)); - UnsubscribeRequest_descriptor_ = file->message_type(2); - static const int UnsubscribeRequest_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), - }; - UnsubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnsubscribeRequest_descriptor_, - UnsubscribeRequest::default_instance_, - UnsubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnsubscribeRequest)); - GetStateRequest_descriptor_ = file->message_type(3); - static const int GetStateRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, options_), - }; - GetStateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStateRequest_descriptor_, - GetStateRequest::default_instance_, - GetStateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStateRequest)); - GetStateResponse_descriptor_ = file->message_type(4); - static const int GetStateResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, state_), - }; - GetStateResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStateResponse_descriptor_, - GetStateResponse::default_instance_, - GetStateResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStateResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStateResponse)); - UpdateClubSharedSettingsRequest_descriptor_ = file->message_type(5); - static const int UpdateClubSharedSettingsRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, options_), - }; - UpdateClubSharedSettingsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateClubSharedSettingsRequest_descriptor_, - UpdateClubSharedSettingsRequest::default_instance_, - UpdateClubSharedSettingsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSharedSettingsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateClubSharedSettingsRequest)); - GetStreamMentionsRequest_descriptor_ = file->message_type(6); - static const int GetStreamMentionsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, options_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, fetch_messages_), - }; - GetStreamMentionsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamMentionsRequest_descriptor_, - GetStreamMentionsRequest::default_instance_, - GetStreamMentionsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamMentionsRequest)); - GetStreamMentionsResponse_descriptor_ = file->message_type(7); - static const int GetStreamMentionsResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, mention_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, continuation_), - }; - GetStreamMentionsResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamMentionsResponse_descriptor_, - GetStreamMentionsResponse::default_instance_, - GetStreamMentionsResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMentionsResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamMentionsResponse)); - RemoveStreamMentionsRequest_descriptor_ = file->message_type(8); - static const int RemoveStreamMentionsRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, mention_id_), - }; - RemoveStreamMentionsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RemoveStreamMentionsRequest_descriptor_, - RemoveStreamMentionsRequest::default_instance_, - RemoveStreamMentionsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveStreamMentionsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RemoveStreamMentionsRequest)); - AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(9); - static const int AdvanceStreamMentionViewTimeRequest_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_), - }; - AdvanceStreamMentionViewTimeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AdvanceStreamMentionViewTimeRequest_descriptor_, - AdvanceStreamMentionViewTimeRequest::default_instance_, - AdvanceStreamMentionViewTimeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AdvanceStreamMentionViewTimeRequest)); - ClubMembershipService_descriptor_ = file->service(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5fservice_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStateRequest_descriptor_, &GetStateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStateResponse_descriptor_, &GetStateResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateClubSharedSettingsRequest_descriptor_, &UpdateClubSharedSettingsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamMentionsRequest_descriptor_, &GetStreamMentionsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamMentionsResponse_descriptor_, &GetStreamMentionsResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RemoveStreamMentionsRequest_descriptor_, &RemoveStreamMentionsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto() { - delete SubscribeRequest::default_instance_; - delete SubscribeRequest_reflection_; - delete SubscribeResponse::default_instance_; - delete SubscribeResponse_reflection_; - delete UnsubscribeRequest::default_instance_; - delete UnsubscribeRequest_reflection_; - delete GetStateRequest::default_instance_; - delete GetStateRequest_reflection_; - delete GetStateResponse::default_instance_; - delete GetStateResponse_reflection_; - delete UpdateClubSharedSettingsRequest::default_instance_; - delete UpdateClubSharedSettingsRequest_reflection_; - delete GetStreamMentionsRequest::default_instance_; - delete GetStreamMentionsRequest_reflection_; - delete GetStreamMentionsResponse::default_instance_; - delete GetStreamMentionsResponse_reflection_; - delete RemoveStreamMentionsRequest::default_instance_; - delete RemoveStreamMentionsRequest_reflection_; - delete AdvanceStreamMentionViewTimeRequest::default_instance_; - delete AdvanceStreamMentionViewTimeRequest_reflection_; -} - -void protobuf_AddDesc_club_5fmembership_5fservice_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\035club_membership_service.proto\022\037bgs.pro" - "tocol.club.v1.membership\032\020club_types.pro" - "to\032\021club_stream.proto\"\227\001\n\020SubscribeReque" - "st\022<\n\010agent_id\030\001 \001(\0132\".bgs.protocol.acco" - "unt.v1.AccountIdB\006\202\371+\002\020\001\022E\n\007options\030\002 \001(" - "\01324.bgs.protocol.club.v1.ClubMembershipS" - "ubscribeOptions\"M\n\021SubscribeResponse\0228\n\005" - "state\030\001 \001(\0132).bgs.protocol.club.v1.ClubM" - "embershipState\"R\n\022UnsubscribeRequest\022<\n\010" - "agent_id\030\001 \001(\0132\".bgs.protocol.account.v1" - ".AccountIdB\006\202\371+\002\020\001\"\225\001\n\017GetStateRequest\022<" - "\n\010agent_id\030\001 \001(\0132\".bgs.protocol.account." - "v1.AccountIdB\006\202\371+\002\020\001\022D\n\007options\030\002 \001(\01323." - "bgs.protocol.club.v1.ClubMembershipGetSt" - "ateOptions\"L\n\020GetStateResponse\0228\n\005state\030" - "\001 \001(\0132).bgs.protocol.club.v1.ClubMembers" - "hipState\"\241\001\n\037UpdateClubSharedSettingsReq" - "uest\022<\n\010agent_id\030\001 \001(\0132\".bgs.protocol.ac" - "count.v1.AccountIdB\006\202\371+\002\020\001\022@\n\007options\030\002 " - "\001(\0132/.bgs.protocol.club.v1.ClubSharedSet" - "tingsOptions\"\240\001\n\030GetStreamMentionsReques" - "t\022<\n\010agent_id\030\001 \001(\0132\".bgs.protocol.accou" - "nt.v1.AccountIdB\006\202\371+\002\020\001\022.\n\007options\030\002 \001(\013" - "2\035.bgs.protocol.GetEventOptions\022\026\n\016fetch" - "_messages\030\003 \001(\010\"g\n\031GetStreamMentionsResp" - "onse\0224\n\007mention\030\001 \003(\0132#.bgs.protocol.clu" - "b.v1.StreamMention\022\024\n\014continuation\030\002 \001(\004" - "\"\213\001\n\033RemoveStreamMentionsRequest\022<\n\010agen" - "t_id\030\001 \001(\0132\".bgs.protocol.account.v1.Acc" - "ountIdB\006\202\371+\002\020\001\022.\n\nmention_id\030\002 \003(\0132\032.bgs" - ".protocol.TimeSeriesId\"c\n#AdvanceStreamM" - "entionViewTimeRequest\022<\n\010agent_id\030\001 \001(\0132" - "\".bgs.protocol.account.v1.AccountIdB\006\202\371+" - "\002\020\0012\312\007\n\025ClubMembershipService\022z\n\tSubscri" - "be\0221.bgs.protocol.club.v1.membership.Sub" - "scribeRequest\0322.bgs.protocol.club.v1.mem" - "bership.SubscribeResponse\"\006\202\371+\002\010\001\022`\n\013Uns" - "ubscribe\0223.bgs.protocol.club.v1.membersh" - "ip.UnsubscribeRequest\032\024.bgs.protocol.NoD" - "ata\"\006\202\371+\002\010\002\022y\n\010GetState\0220.bgs.protocol.c" - "lub.v1.membership.GetStateRequest\0321.bgs." - "protocol.club.v1.membership.GetStateResp" - "onse\"\010\202\371+\004\010\0030\001\022z\n\030UpdateClubSharedSettin" - "gs\022@.bgs.protocol.club.v1.membership.Upd" - "ateClubSharedSettingsRequest\032\024.bgs.proto" - "col.NoData\"\006\202\371+\002\010\004\022\224\001\n\021GetStreamMentions" - "\0229.bgs.protocol.club.v1.membership.GetSt" - "reamMentionsRequest\032:.bgs.protocol.club." - "v1.membership.GetStreamMentionsResponse\"" - "\010\202\371+\004\010\0050\001\022r\n\024RemoveStreamMentions\022<.bgs." - "protocol.club.v1.membership.RemoveStream" - "MentionsRequest\032\024.bgs.protocol.NoData\"\006\202" - "\371+\002\010\006\022\202\001\n\034AdvanceStreamMentionViewTime\022D" - ".bgs.protocol.club.v1.membership.Advance" - "StreamMentionViewTimeRequest\032\024.bgs.proto" - "col.NoData\"\006\202\371+\002\010\007\032L\202\371+@\n+bnet.protocol." - "club.v1.ClubMembershipService*\017club_memb" - "ershipH\001\212\371+\004\020\001\030\001B\005H\002\200\001\000", 2303); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_membership_service.proto", &protobuf_RegisterTypes); - SubscribeRequest::default_instance_ = new SubscribeRequest(); - SubscribeResponse::default_instance_ = new SubscribeResponse(); - UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); - GetStateRequest::default_instance_ = new GetStateRequest(); - GetStateResponse::default_instance_ = new GetStateResponse(); - UpdateClubSharedSettingsRequest::default_instance_ = new UpdateClubSharedSettingsRequest(); - GetStreamMentionsRequest::default_instance_ = new GetStreamMentionsRequest(); - GetStreamMentionsResponse::default_instance_ = new GetStreamMentionsResponse(); - RemoveStreamMentionsRequest::default_instance_ = new RemoveStreamMentionsRequest(); - AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); - SubscribeRequest::default_instance_->InitAsDefaultInstance(); - SubscribeResponse::default_instance_->InitAsDefaultInstance(); - UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); - GetStateRequest::default_instance_->InitAsDefaultInstance(); - GetStateResponse::default_instance_->InitAsDefaultInstance(); - UpdateClubSharedSettingsRequest::default_instance_->InitAsDefaultInstance(); - GetStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); - GetStreamMentionsResponse::default_instance_->InitAsDefaultInstance(); - RemoveStreamMentionsRequest::default_instance_->InitAsDefaultInstance(); - AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fmembership_5fservice_2eproto { - StaticDescriptorInitializer_club_5fmembership_5fservice_2eproto() { - protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - } -} static_descriptor_initializer_club_5fmembership_5fservice_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeRequest::kAgentIdFieldNumber; -const int SubscribeRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -SubscribeRequest::SubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SubscribeRequest) -} - -void SubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions*>(&::bgs::protocol::club::v1::ClubMembershipSubscribeOptions::default_instance()); -} - -SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.SubscribeRequest) -} - -void SubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeRequest::~SubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.SubscribeRequest) - SharedDtor(); -} - -void SubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void SubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeRequest_descriptor_; -} - -const SubscribeRequest& SubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -SubscribeRequest* SubscribeRequest::default_instance_ = NULL; - -SubscribeRequest* SubscribeRequest::New() const { - return new SubscribeRequest; -} - -void SubscribeRequest::Swap(SubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeRequest_descriptor_; - metadata.reflection = SubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeResponse::kStateFieldNumber; -#endif // !_MSC_VER - -SubscribeResponse::SubscribeResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.SubscribeResponse) -} - -void SubscribeResponse::InitAsDefaultInstance() { - state_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipState*>(&::bgs::protocol::club::v1::ClubMembershipState::default_instance()); -} - -SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.SubscribeResponse) -} - -void SubscribeResponse::SharedCtor() { - _cached_size_ = 0; - state_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeResponse::~SubscribeResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.SubscribeResponse) - SharedDtor(); -} - -void SubscribeResponse::SharedDtor() { - if (this != default_instance_) { - delete state_; - } -} - -void SubscribeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeResponse_descriptor_; -} - -const SubscribeResponse& SubscribeResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -SubscribeResponse* SubscribeResponse::default_instance_ = NULL; - -SubscribeResponse* SubscribeResponse::New() const { - return new SubscribeResponse; -} - -void SubscribeResponse::Swap(SubscribeResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeResponse_descriptor_; - metadata.reflection = SubscribeResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnsubscribeRequest::kAgentIdFieldNumber; -#endif // !_MSC_VER - -UnsubscribeRequest::UnsubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.UnsubscribeRequest) -} - -void UnsubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); -} - -UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.UnsubscribeRequest) -} - -void UnsubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnsubscribeRequest::~UnsubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.UnsubscribeRequest) - SharedDtor(); -} - -void UnsubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void UnsubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnsubscribeRequest_descriptor_; -} - -const UnsubscribeRequest& UnsubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; - -UnsubscribeRequest* UnsubscribeRequest::New() const { - return new UnsubscribeRequest; -} - -void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnsubscribeRequest_descriptor_; - metadata.reflection = UnsubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStateRequest::kAgentIdFieldNumber; -const int GetStateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -GetStateRequest::GetStateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStateRequest) -} - -void GetStateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipGetStateOptions*>(&::bgs::protocol::club::v1::ClubMembershipGetStateOptions::default_instance()); -} - -GetStateRequest::GetStateRequest(const GetStateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStateRequest) -} - -void GetStateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStateRequest::~GetStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStateRequest) - SharedDtor(); -} - -void GetStateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void GetStateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStateRequest_descriptor_; -} - -const GetStateRequest& GetStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -GetStateRequest* GetStateRequest::default_instance_ = NULL; - -GetStateRequest* GetStateRequest::New() const { - return new GetStateRequest; -} - -void GetStateRequest::Swap(GetStateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStateRequest_descriptor_; - metadata.reflection = GetStateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStateResponse::kStateFieldNumber; -#endif // !_MSC_VER - -GetStateResponse::GetStateResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStateResponse) -} - -void GetStateResponse::InitAsDefaultInstance() { - state_ = const_cast< ::bgs::protocol::club::v1::ClubMembershipState*>(&::bgs::protocol::club::v1::ClubMembershipState::default_instance()); -} - -GetStateResponse::GetStateResponse(const GetStateResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStateResponse) -} - -void GetStateResponse::SharedCtor() { - _cached_size_ = 0; - state_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStateResponse::~GetStateResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStateResponse) - SharedDtor(); -} - -void GetStateResponse::SharedDtor() { - if (this != default_instance_) { - delete state_; - } -} - -void GetStateResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStateResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStateResponse_descriptor_; -} - -const GetStateResponse& GetStateResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -GetStateResponse* GetStateResponse::default_instance_ = NULL; - -GetStateResponse* GetStateResponse::New() const { - return new GetStateResponse; -} - -void GetStateResponse::Swap(GetStateResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStateResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStateResponse_descriptor_; - metadata.reflection = GetStateResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateClubSharedSettingsRequest::kAgentIdFieldNumber; -const int UpdateClubSharedSettingsRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) -} - -void UpdateClubSharedSettingsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubSharedSettingsOptions*>(&::bgs::protocol::club::v1::ClubSharedSettingsOptions::default_instance()); -} - -UpdateClubSharedSettingsRequest::UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) -} - -void UpdateClubSharedSettingsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateClubSharedSettingsRequest::~UpdateClubSharedSettingsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) - SharedDtor(); -} - -void UpdateClubSharedSettingsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UpdateClubSharedSettingsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateClubSharedSettingsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateClubSharedSettingsRequest_descriptor_; -} - -const UpdateClubSharedSettingsRequest& UpdateClubSharedSettingsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::default_instance_ = NULL; - -UpdateClubSharedSettingsRequest* UpdateClubSharedSettingsRequest::New() const { - return new UpdateClubSharedSettingsRequest; -} - -void UpdateClubSharedSettingsRequest::Swap(UpdateClubSharedSettingsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateClubSharedSettingsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateClubSharedSettingsRequest_descriptor_; - metadata.reflection = UpdateClubSharedSettingsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamMentionsRequest::kAgentIdFieldNumber; -const int GetStreamMentionsRequest::kOptionsFieldNumber; -const int GetStreamMentionsRequest::kFetchMessagesFieldNumber; -#endif // !_MSC_VER - -GetStreamMentionsRequest::GetStreamMentionsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) -} - -void GetStreamMentionsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); - options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); -} - -GetStreamMentionsRequest::GetStreamMentionsRequest(const GetStreamMentionsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) -} - -void GetStreamMentionsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - options_ = NULL; - fetch_messages_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamMentionsRequest::~GetStreamMentionsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) - SharedDtor(); -} - -void GetStreamMentionsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void GetStreamMentionsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamMentionsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamMentionsRequest_descriptor_; -} - -const GetStreamMentionsRequest& GetStreamMentionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -GetStreamMentionsRequest* GetStreamMentionsRequest::default_instance_ = NULL; - -GetStreamMentionsRequest* GetStreamMentionsRequest::New() const { - return new GetStreamMentionsRequest; -} - -void GetStreamMentionsRequest::Swap(GetStreamMentionsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamMentionsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamMentionsRequest_descriptor_; - metadata.reflection = GetStreamMentionsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamMentionsResponse::kMentionFieldNumber; -const int GetStreamMentionsResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetStreamMentionsResponse::GetStreamMentionsResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) -} - -void GetStreamMentionsResponse::InitAsDefaultInstance() { -} - -GetStreamMentionsResponse::GetStreamMentionsResponse(const GetStreamMentionsResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) -} - -void GetStreamMentionsResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamMentionsResponse::~GetStreamMentionsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) - SharedDtor(); -} - -void GetStreamMentionsResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetStreamMentionsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamMentionsResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamMentionsResponse_descriptor_; -} - -const GetStreamMentionsResponse& GetStreamMentionsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -GetStreamMentionsResponse* GetStreamMentionsResponse::default_instance_ = NULL; - -GetStreamMentionsResponse* GetStreamMentionsResponse::New() const { - return new GetStreamMentionsResponse; -} - -void GetStreamMentionsResponse::Swap(GetStreamMentionsResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamMentionsResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamMentionsResponse_descriptor_; - metadata.reflection = GetStreamMentionsResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RemoveStreamMentionsRequest::kAgentIdFieldNumber; -const int RemoveStreamMentionsRequest::kMentionIdFieldNumber; -#endif // !_MSC_VER - -RemoveStreamMentionsRequest::RemoveStreamMentionsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) -} - -void RemoveStreamMentionsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); -} - -RemoveStreamMentionsRequest::RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) -} - -void RemoveStreamMentionsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RemoveStreamMentionsRequest::~RemoveStreamMentionsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) - SharedDtor(); -} - -void RemoveStreamMentionsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void RemoveStreamMentionsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveStreamMentionsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RemoveStreamMentionsRequest_descriptor_; -} - -const RemoveStreamMentionsRequest& RemoveStreamMentionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::default_instance_ = NULL; - -RemoveStreamMentionsRequest* RemoveStreamMentionsRequest::New() const { - return new RemoveStreamMentionsRequest; -} - -void RemoveStreamMentionsRequest::Swap(RemoveStreamMentionsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RemoveStreamMentionsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RemoveStreamMentionsRequest_descriptor_; - metadata.reflection = RemoveStreamMentionsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AdvanceStreamMentionViewTimeRequest::kAgentIdFieldNumber; -#endif // !_MSC_VER - -AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) -} - -void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::AccountId*>(&::bgs::protocol::account::v1::AccountId::default_instance()); -} - -AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) -} - -void AdvanceStreamMentionViewTimeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) - SharedDtor(); -} - -void AdvanceStreamMentionViewTimeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AdvanceStreamMentionViewTimeRequest_descriptor_; -} - -const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - return *default_instance_; -} - -AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; - -AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { - return new AdvanceStreamMentionViewTimeRequest; -} - -void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; - metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; - return metadata; -} - -// =================================================================== - -ClubMembershipService::ClubMembershipService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -ClubMembershipService::~ClubMembershipService() { -} - -google::protobuf::ServiceDescriptor const* ClubMembershipService::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipService_descriptor_; -} - -void ClubMembershipService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { - switch(methodId & 0x3FFFFFFF) { - case 1: - ParseAndHandleSubscribe(token, methodId, buffer); - break; - case 2: - ParseAndHandleUnsubscribe(token, methodId, buffer); - break; - case 3: - ParseAndHandleGetState(token, methodId, buffer); - break; - case 4: - ParseAndHandleUpdateClubSharedSettings(token, methodId, buffer); - break; - case 5: - ParseAndHandleGetStreamMentions(token, methodId, buffer); - break; - case 6: - ParseAndHandleRemoveStreamMentions(token, methodId, buffer); - break; - case 7: - ParseAndHandleAdvanceStreamMentionViewTime(token, methodId, buffer); - break; - default: - LogInvalidMethod(methodId); - SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); - break; - } -} - -uint32 ClubMembershipService::HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const* request, ::bgs::protocol::club::v1::membership::SubscribeResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.Subscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleUnsubscribe(::bgs::protocol::club::v1::membership::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.Unsubscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleGetState(::bgs::protocol::club::v1::membership::GetStateRequest const* request, ::bgs::protocol::club::v1::membership::GetStateResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.GetState", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleUpdateClubSharedSettings(::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.UpdateClubSharedSettings", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleGetStreamMentions(::bgs::protocol::club::v1::membership::GetStreamMentionsRequest const* request, ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.GetStreamMentions", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleRemoveStreamMentions(::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.RemoveStreamMentions", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubMembershipService::HandleAdvanceStreamMentionViewTime(::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -void ClubMembershipService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::SubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.Subscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.Subscribe", "bgs.protocol.club.v1.membership.SubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Subscribe", ::bgs::protocol::club::v1::membership::SubscribeResponse::descriptor()); - ::bgs::protocol::club::v1::membership::SubscribeResponse response; - uint32 status = HandleSubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::UnsubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.Unsubscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.Unsubscribe", "bgs.protocol.club.v1.membership.UnsubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnsubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::GetStateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.GetState"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.GetState", "bgs.protocol.club.v1.membership.GetStateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetState", ::bgs::protocol::club::v1::membership::GetStateResponse::descriptor()); - ::bgs::protocol::club::v1::membership::GetStateResponse response; - uint32 status = HandleGetState(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.UpdateClubSharedSettings"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.UpdateClubSharedSettings", "bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.UpdateClubSharedSettings", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateClubSharedSettings(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::GetStreamMentionsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.GetStreamMentions"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.GetStreamMentions", "bgs.protocol.club.v1.membership.GetStreamMentionsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.GetStreamMentions", ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse::descriptor()); - ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse response; - uint32 status = HandleGetStreamMentions(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.RemoveStreamMentions"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.RemoveStreamMentions", "bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.RemoveStreamMentions", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleRemoveStreamMentions(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubMembershipService::ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubMembershipService.AdvanceStreamMentionViewTime"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubMembershipService.AdvanceStreamMentionViewTime", "bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubMembershipService.AdvanceStreamMentionViewTime", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAdvanceStreamMentionViewTime(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace membership -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_membership_service.pb.h b/src/server/proto/Client/club_membership_service.pb.h deleted file mode 100644 index 2a002aa33de..00000000000 --- a/src/server/proto/Client/club_membership_service.pb.h +++ /dev/null @@ -1,1559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_service.proto - -#ifndef PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_types.pb.h" -#include "club_stream.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { -namespace membership { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); -void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); -void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - -class SubscribeRequest; -class SubscribeResponse; -class UnsubscribeRequest; -class GetStateRequest; -class GetStateResponse; -class UpdateClubSharedSettingsRequest; -class GetStreamMentionsRequest; -class GetStreamMentionsResponse; -class RemoveStreamMentionsRequest; -class AdvanceStreamMentionViewTimeRequest; - -// =================================================================== - -class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { - public: - SubscribeRequest(); - virtual ~SubscribeRequest(); - - SubscribeRequest(const SubscribeRequest& from); - - inline SubscribeRequest& operator=(const SubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeRequest& default_instance(); - - void Swap(SubscribeRequest* other); - - // implements Message ---------------------------------------------- - - SubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.club.v1.ClubMembershipSubscribeOptions options = 2; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions& options() const; - inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.SubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { - public: - SubscribeResponse(); - virtual ~SubscribeResponse(); - - SubscribeResponse(const SubscribeResponse& from); - - inline SubscribeResponse& operator=(const SubscribeResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeResponse& default_instance(); - - void Swap(SubscribeResponse* other); - - // implements Message ---------------------------------------------- - - SubscribeResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubMembershipState state = 1; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubMembershipState& state() const; - inline ::bgs::protocol::club::v1::ClubMembershipState* mutable_state(); - inline ::bgs::protocol::club::v1::ClubMembershipState* release_state(); - inline void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.SubscribeResponse) - private: - inline void set_has_state(); - inline void clear_has_state(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubMembershipState* state_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { - public: - UnsubscribeRequest(); - virtual ~UnsubscribeRequest(); - - UnsubscribeRequest(const UnsubscribeRequest& from); - - inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnsubscribeRequest& default_instance(); - - void Swap(UnsubscribeRequest* other); - - // implements Message ---------------------------------------------- - - UnsubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.UnsubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static UnsubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStateRequest : public ::google::protobuf::Message { - public: - GetStateRequest(); - virtual ~GetStateRequest(); - - GetStateRequest(const GetStateRequest& from); - - inline GetStateRequest& operator=(const GetStateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStateRequest& default_instance(); - - void Swap(GetStateRequest* other); - - // implements Message ---------------------------------------------- - - GetStateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.club.v1.ClubMembershipGetStateOptions options = 2; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubMembershipGetStateOptions& options() const; - inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubMembershipGetStateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static GetStateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStateResponse : public ::google::protobuf::Message { - public: - GetStateResponse(); - virtual ~GetStateResponse(); - - GetStateResponse(const GetStateResponse& from); - - inline GetStateResponse& operator=(const GetStateResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStateResponse& default_instance(); - - void Swap(GetStateResponse* other); - - // implements Message ---------------------------------------------- - - GetStateResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubMembershipState state = 1; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubMembershipState& state() const; - inline ::bgs::protocol::club::v1::ClubMembershipState* mutable_state(); - inline ::bgs::protocol::club::v1::ClubMembershipState* release_state(); - inline void set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStateResponse) - private: - inline void set_has_state(); - inline void clear_has_state(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubMembershipState* state_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static GetStateResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateClubSharedSettingsRequest : public ::google::protobuf::Message { - public: - UpdateClubSharedSettingsRequest(); - virtual ~UpdateClubSharedSettingsRequest(); - - UpdateClubSharedSettingsRequest(const UpdateClubSharedSettingsRequest& from); - - inline UpdateClubSharedSettingsRequest& operator=(const UpdateClubSharedSettingsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateClubSharedSettingsRequest& default_instance(); - - void Swap(UpdateClubSharedSettingsRequest* other); - - // implements Message ---------------------------------------------- - - UpdateClubSharedSettingsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.club.v1.ClubSharedSettingsOptions options = 2; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubSharedSettingsOptions& options() const; - inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubSharedSettingsOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::club::v1::ClubSharedSettingsOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static UpdateClubSharedSettingsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamMentionsRequest : public ::google::protobuf::Message { - public: - GetStreamMentionsRequest(); - virtual ~GetStreamMentionsRequest(); - - GetStreamMentionsRequest(const GetStreamMentionsRequest& from); - - inline GetStreamMentionsRequest& operator=(const GetStreamMentionsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamMentionsRequest& default_instance(); - - void Swap(GetStreamMentionsRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamMentionsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // optional .bgs.protocol.GetEventOptions options = 2; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::bgs::protocol::GetEventOptions& options() const; - inline ::bgs::protocol::GetEventOptions* mutable_options(); - inline ::bgs::protocol::GetEventOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); - - // optional bool fetch_messages = 3; - inline bool has_fetch_messages() const; - inline void clear_fetch_messages(); - static const int kFetchMessagesFieldNumber = 3; - inline bool fetch_messages() const; - inline void set_fetch_messages(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStreamMentionsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_options(); - inline void clear_has_options(); - inline void set_has_fetch_messages(); - inline void clear_has_fetch_messages(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::bgs::protocol::GetEventOptions* options_; - bool fetch_messages_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamMentionsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamMentionsResponse : public ::google::protobuf::Message { - public: - GetStreamMentionsResponse(); - virtual ~GetStreamMentionsResponse(); - - GetStreamMentionsResponse(const GetStreamMentionsResponse& from); - - inline GetStreamMentionsResponse& operator=(const GetStreamMentionsResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamMentionsResponse& default_instance(); - - void Swap(GetStreamMentionsResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamMentionsResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamMention mention = 1; - inline int mention_size() const; - inline void clear_mention(); - static const int kMentionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMention& mention(int index) const; - inline ::bgs::protocol::club::v1::StreamMention* mutable_mention(int index); - inline ::bgs::protocol::club::v1::StreamMention* add_mention(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >& - mention() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >* - mutable_mention(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.GetStreamMentionsResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention > mention_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamMentionsResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RemoveStreamMentionsRequest : public ::google::protobuf::Message { - public: - RemoveStreamMentionsRequest(); - virtual ~RemoveStreamMentionsRequest(); - - RemoveStreamMentionsRequest(const RemoveStreamMentionsRequest& from); - - inline RemoveStreamMentionsRequest& operator=(const RemoveStreamMentionsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveStreamMentionsRequest& default_instance(); - - void Swap(RemoveStreamMentionsRequest* other); - - // implements Message ---------------------------------------------- - - RemoveStreamMentionsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // repeated .bgs.protocol.TimeSeriesId mention_id = 2; - inline int mention_id_size() const; - inline void clear_mention_id(); - static const int kMentionIdFieldNumber = 2; - inline const ::bgs::protocol::TimeSeriesId& mention_id(int index) const; - inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(int index); - inline ::bgs::protocol::TimeSeriesId* add_mention_id(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& - mention_id() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* - mutable_mention_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId > mention_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static RemoveStreamMentionsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { - public: - AdvanceStreamMentionViewTimeRequest(); - virtual ~AdvanceStreamMentionViewTimeRequest(); - - AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); - - inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AdvanceStreamMentionViewTimeRequest& default_instance(); - - void Swap(AdvanceStreamMentionViewTimeRequest* other); - - // implements Message ---------------------------------------------- - - AdvanceStreamMentionViewTimeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.AccountId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::AccountId& agent_id() const; - inline ::bgs::protocol::account::v1::AccountId* mutable_agent_id(); - inline ::bgs::protocol::account::v1::AccountId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::AccountId* agent_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5fservice_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static AdvanceStreamMentionViewTimeRequest* default_instance_; -}; -// =================================================================== - -class TC_PROTO_API ClubMembershipService : public ServiceBase -{ - public: - - explicit ClubMembershipService(bool use_original_hash); - ClubMembershipService(ClubMembershipService const&) = delete; - ClubMembershipService(ClubMembershipService&&) = delete; - ClubMembershipService& operator=(ClubMembershipService const&) = delete; - ClubMembershipService& operator=(ClubMembershipService&&) = delete; - virtual ~ClubMembershipService(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; - - protected: - // server methods -------------------------------------------------- - virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::membership::SubscribeRequest const* request, ::bgs::protocol::club::v1::membership::SubscribeResponse* response, std::function& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::membership::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetState(::bgs::protocol::club::v1::membership::GetStateRequest const* request, ::bgs::protocol::club::v1::membership::GetStateResponse* response, std::function& continuation); - virtual uint32 HandleUpdateClubSharedSettings(::bgs::protocol::club::v1::membership::UpdateClubSharedSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetStreamMentions(::bgs::protocol::club::v1::membership::GetStreamMentionsRequest const* request, ::bgs::protocol::club::v1::membership::GetStreamMentionsResponse* response, std::function& continuation); - virtual uint32 HandleRemoveStreamMentions(::bgs::protocol::club::v1::membership::RemoveStreamMentionsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleAdvanceStreamMentionViewTime(::bgs::protocol::club::v1::membership::AdvanceStreamMentionViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - - private: - void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetState(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateClubSharedSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleRemoveStreamMentions(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAdvanceStreamMentionViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); -}; - -// =================================================================== - -// =================================================================== - -// SubscribeRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool SubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& SubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* SubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubMembershipSubscribeOptions options = 2; -inline bool SubscribeRequest::has_options() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscribeRequest::set_has_options() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscribeRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscribeRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubMembershipSubscribeOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions& SubscribeRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* SubscribeRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* SubscribeRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void SubscribeRequest::set_allocated_options(::bgs::protocol::club::v1::ClubMembershipSubscribeOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeRequest.options) -} - -// ------------------------------------------------------------------- - -// SubscribeResponse - -// optional .bgs.protocol.club.v1.ClubMembershipState state = 1; -inline bool SubscribeResponse::has_state() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeResponse::set_has_state() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeResponse::clear_has_state() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeResponse::clear_state() { - if (state_ != NULL) state_->::bgs::protocol::club::v1::ClubMembershipState::Clear(); - clear_has_state(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipState& SubscribeResponse::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.SubscribeResponse.state) - return state_ != NULL ? *state_ : *default_instance_->state_; -} -inline ::bgs::protocol::club::v1::ClubMembershipState* SubscribeResponse::mutable_state() { - set_has_state(); - if (state_ == NULL) state_ = new ::bgs::protocol::club::v1::ClubMembershipState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.SubscribeResponse.state) - return state_; -} -inline ::bgs::protocol::club::v1::ClubMembershipState* SubscribeResponse::release_state() { - clear_has_state(); - ::bgs::protocol::club::v1::ClubMembershipState* temp = state_; - state_ = NULL; - return temp; -} -inline void SubscribeResponse::set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state) { - delete state_; - state_ = state; - if (state) { - set_has_state(); - } else { - clear_has_state(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.SubscribeResponse.state) -} - -// ------------------------------------------------------------------- - -// UnsubscribeRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool UnsubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnsubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnsubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnsubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& UnsubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* UnsubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UnsubscribeRequest.agent_id) -} - -// ------------------------------------------------------------------- - -// GetStateRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool GetStateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& GetStateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* GetStateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStateRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubMembershipGetStateOptions options = 2; -inline bool GetStateRequest::has_options() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStateRequest::set_has_options() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubMembershipGetStateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipGetStateOptions& GetStateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* GetStateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubMembershipGetStateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* GetStateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubMembershipGetStateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void GetStateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubMembershipGetStateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateRequest.options) -} - -// ------------------------------------------------------------------- - -// GetStateResponse - -// optional .bgs.protocol.club.v1.ClubMembershipState state = 1; -inline bool GetStateResponse::has_state() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStateResponse::set_has_state() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStateResponse::clear_has_state() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStateResponse::clear_state() { - if (state_ != NULL) state_->::bgs::protocol::club::v1::ClubMembershipState::Clear(); - clear_has_state(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipState& GetStateResponse::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStateResponse.state) - return state_ != NULL ? *state_ : *default_instance_->state_; -} -inline ::bgs::protocol::club::v1::ClubMembershipState* GetStateResponse::mutable_state() { - set_has_state(); - if (state_ == NULL) state_ = new ::bgs::protocol::club::v1::ClubMembershipState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStateResponse.state) - return state_; -} -inline ::bgs::protocol::club::v1::ClubMembershipState* GetStateResponse::release_state() { - clear_has_state(); - ::bgs::protocol::club::v1::ClubMembershipState* temp = state_; - state_ = NULL; - return temp; -} -inline void GetStateResponse::set_allocated_state(::bgs::protocol::club::v1::ClubMembershipState* state) { - delete state_; - state_ = state; - if (state) { - set_has_state(); - } else { - clear_has_state(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStateResponse.state) -} - -// ------------------------------------------------------------------- - -// UpdateClubSharedSettingsRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool UpdateClubSharedSettingsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateClubSharedSettingsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateClubSharedSettingsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateClubSharedSettingsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& UpdateClubSharedSettingsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* UpdateClubSharedSettingsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateClubSharedSettingsRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubSharedSettingsOptions options = 2; -inline bool UpdateClubSharedSettingsRequest::has_options() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateClubSharedSettingsRequest::set_has_options() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateClubSharedSettingsRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateClubSharedSettingsRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubSharedSettingsOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubSharedSettingsOptions& UpdateClubSharedSettingsRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubSharedSettingsOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettingsOptions* UpdateClubSharedSettingsRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubSharedSettingsOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateClubSharedSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::ClubSharedSettingsOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.UpdateClubSharedSettingsRequest.options) -} - -// ------------------------------------------------------------------- - -// GetStreamMentionsRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool GetStreamMentionsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamMentionsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamMentionsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamMentionsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& GetStreamMentionsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* GetStreamMentionsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamMentionsRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.agent_id) -} - -// optional .bgs.protocol.GetEventOptions options = 2; -inline bool GetStreamMentionsRequest::has_options() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamMentionsRequest::set_has_options() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamMentionsRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamMentionsRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::GetEventOptions& GetStreamMentionsRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options) - return options_; -} -inline ::bgs::protocol::GetEventOptions* GetStreamMentionsRequest::release_options() { - clear_has_options(); - ::bgs::protocol::GetEventOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void GetStreamMentionsRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.options) -} - -// optional bool fetch_messages = 3; -inline bool GetStreamMentionsRequest::has_fetch_messages() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamMentionsRequest::set_has_fetch_messages() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamMentionsRequest::clear_has_fetch_messages() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamMentionsRequest::clear_fetch_messages() { - fetch_messages_ = false; - clear_has_fetch_messages(); -} -inline bool GetStreamMentionsRequest::fetch_messages() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.fetch_messages) - return fetch_messages_; -} -inline void GetStreamMentionsRequest::set_fetch_messages(bool value) { - set_has_fetch_messages(); - fetch_messages_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.GetStreamMentionsRequest.fetch_messages) -} - -// ------------------------------------------------------------------- - -// GetStreamMentionsResponse - -// repeated .bgs.protocol.club.v1.StreamMention mention = 1; -inline int GetStreamMentionsResponse::mention_size() const { - return mention_.size(); -} -inline void GetStreamMentionsResponse::clear_mention() { - mention_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamMention& GetStreamMentionsResponse::mention(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) - return mention_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamMention* GetStreamMentionsResponse::mutable_mention(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) - return mention_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamMention* GetStreamMentionsResponse::add_mention() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) - return mention_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >& -GetStreamMentionsResponse::mention() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) - return mention_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMention >* -GetStreamMentionsResponse::mutable_mention() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.mention) - return &mention_; -} - -// optional uint64 continuation = 2; -inline bool GetStreamMentionsResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamMentionsResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamMentionsResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamMentionsResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetStreamMentionsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.continuation) - return continuation_; -} -inline void GetStreamMentionsResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.membership.GetStreamMentionsResponse.continuation) -} - -// ------------------------------------------------------------------- - -// RemoveStreamMentionsRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool RemoveStreamMentionsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RemoveStreamMentionsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RemoveStreamMentionsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RemoveStreamMentionsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& RemoveStreamMentionsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* RemoveStreamMentionsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void RemoveStreamMentionsRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.agent_id) -} - -// repeated .bgs.protocol.TimeSeriesId mention_id = 2; -inline int RemoveStreamMentionsRequest::mention_id_size() const { - return mention_id_.size(); -} -inline void RemoveStreamMentionsRequest::clear_mention_id() { - mention_id_.Clear(); -} -inline const ::bgs::protocol::TimeSeriesId& RemoveStreamMentionsRequest::mention_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id) - return mention_id_.Get(index); -} -inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::mutable_mention_id(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id) - return mention_id_.Mutable(index); -} -inline ::bgs::protocol::TimeSeriesId* RemoveStreamMentionsRequest::add_mention_id() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id) - return mention_id_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >& -RemoveStreamMentionsRequest::mention_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id) - return mention_id_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::TimeSeriesId >* -RemoveStreamMentionsRequest::mutable_mention_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.membership.RemoveStreamMentionsRequest.mention_id) - return &mention_id_; -} - -// ------------------------------------------------------------------- - -// AdvanceStreamMentionViewTimeRequest - -// optional .bgs.protocol.account.v1.AccountId agent_id = 1; -inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::AccountId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::AccountId& AdvanceStreamMentionViewTimeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::AccountId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::AccountId* AdvanceStreamMentionViewTimeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::AccountId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id(::bgs::protocol::account::v1::AccountId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.membership.AdvanceStreamMentionViewTimeRequest.agent_id) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace membership -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fmembership_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_membership_types.pb.cc b/src/server/proto/Client/club_membership_types.pb.cc deleted file mode 100644 index 3d6df09a82f..00000000000 --- a/src/server/proto/Client/club_membership_types.pb.cc +++ /dev/null @@ -1,1008 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_membership_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* ClubMembershipFilter_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMembershipFilter_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMembershipSubscribeOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMembershipGetStateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubMembershipDescription_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMembershipDescription_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubMembershipState_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMembershipState_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubPosition_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubPosition_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSharedSettings_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSharedSettings_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSharedSettingsOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSharedSettingsOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSharedSettingsAssignment_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto() { - protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_membership_types.proto"); - GOOGLE_CHECK(file != NULL); - ClubMembershipFilter_descriptor_ = file->message_type(0); - static const int ClubMembershipFilter_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, type_), - }; - ClubMembershipFilter_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMembershipFilter_descriptor_, - ClubMembershipFilter::default_instance_, - ClubMembershipFilter_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipFilter, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMembershipFilter)); - ClubMembershipSubscribeOptions_descriptor_ = file->message_type(1); - static const int ClubMembershipSubscribeOptions_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, filter_), - }; - ClubMembershipSubscribeOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMembershipSubscribeOptions_descriptor_, - ClubMembershipSubscribeOptions::default_instance_, - ClubMembershipSubscribeOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipSubscribeOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMembershipSubscribeOptions)); - ClubMembershipGetStateOptions_descriptor_ = file->message_type(2); - static const int ClubMembershipGetStateOptions_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, filter_), - }; - ClubMembershipGetStateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMembershipGetStateOptions_descriptor_, - ClubMembershipGetStateOptions::default_instance_, - ClubMembershipGetStateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipGetStateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMembershipGetStateOptions)); - ClubMembershipDescription_descriptor_ = file->message_type(3); - static const int ClubMembershipDescription_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, club_), - }; - ClubMembershipDescription_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMembershipDescription_descriptor_, - ClubMembershipDescription::default_instance_, - ClubMembershipDescription_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipDescription, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMembershipDescription)); - ClubMembershipState_descriptor_ = file->message_type(4); - static const int ClubMembershipState_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, setting_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, mention_view_), - }; - ClubMembershipState_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMembershipState_descriptor_, - ClubMembershipState::default_instance_, - ClubMembershipState_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMembershipState, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMembershipState)); - ClubPosition_descriptor_ = file->message_type(5); - static const int ClubPosition_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, club_id_), - }; - ClubPosition_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubPosition_descriptor_, - ClubPosition::default_instance_, - ClubPosition_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPosition, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubPosition)); - ClubSharedSettings_descriptor_ = file->message_type(6); - static const int ClubSharedSettings_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, club_position_), - }; - ClubSharedSettings_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSharedSettings_descriptor_, - ClubSharedSettings::default_instance_, - ClubSharedSettings_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettings, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSharedSettings)); - ClubSharedSettingsOptions_descriptor_ = file->message_type(7); - static const int ClubSharedSettingsOptions_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, club_position_), - }; - ClubSharedSettingsOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSharedSettingsOptions_descriptor_, - ClubSharedSettingsOptions::default_instance_, - ClubSharedSettingsOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSharedSettingsOptions)); - ClubSharedSettingsAssignment_descriptor_ = file->message_type(8); - static const int ClubSharedSettingsAssignment_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, club_position_), - }; - ClubSharedSettingsAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSharedSettingsAssignment_descriptor_, - ClubSharedSettingsAssignment::default_instance_, - ClubSharedSettingsAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSharedSettingsAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSharedSettingsAssignment)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMembershipFilter_descriptor_, &ClubMembershipFilter::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMembershipSubscribeOptions_descriptor_, &ClubMembershipSubscribeOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMembershipGetStateOptions_descriptor_, &ClubMembershipGetStateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMembershipDescription_descriptor_, &ClubMembershipDescription::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMembershipState_descriptor_, &ClubMembershipState::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubPosition_descriptor_, &ClubPosition::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSharedSettings_descriptor_, &ClubSharedSettings::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSharedSettingsOptions_descriptor_, &ClubSharedSettingsOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSharedSettingsAssignment_descriptor_, &ClubSharedSettingsAssignment::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto() { - delete ClubMembershipFilter::default_instance_; - delete ClubMembershipFilter_reflection_; - delete ClubMembershipSubscribeOptions::default_instance_; - delete ClubMembershipSubscribeOptions_reflection_; - delete ClubMembershipGetStateOptions::default_instance_; - delete ClubMembershipGetStateOptions_reflection_; - delete ClubMembershipDescription::default_instance_; - delete ClubMembershipDescription_reflection_; - delete ClubMembershipState::default_instance_; - delete ClubMembershipState_reflection_; - delete ClubPosition::default_instance_; - delete ClubPosition_reflection_; - delete ClubSharedSettings::default_instance_; - delete ClubSharedSettings_reflection_; - delete ClubSharedSettingsOptions::default_instance_; - delete ClubSharedSettingsOptions_reflection_; - delete ClubSharedSettingsAssignment::default_instance_; - delete ClubSharedSettingsAssignment_reflection_; -} - -void protobuf_AddDesc_club_5fmembership_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fcore_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5finvitation_2eproto(); - ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\033club_membership_types.proto\022\024bgs.proto" - "col.club.v1\032\017club_core.proto\032\017club_type." - "proto\032\021club_member.proto\032\025club_invitatio" - "n.proto\032\026event_view_types.proto\032\017rpc_typ" - "es.proto\"}\n\024ClubMembershipFilter\0221\n\tmemb" - "er_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe" - "rId\0222\n\004type\030\002 \001(\0132$.bgs.protocol.club.v1" - ".UniqueClubType\"j\n\036ClubMembershipSubscri" - "beOptions\022H\n\006filter\030\001 \003(\0132*.bgs.protocol" - ".club.v1.ClubMembershipFilterB\014\212\371+\010*\006\n\004\010" - "\000\020\031\"i\n\035ClubMembershipGetStateOptions\022H\n\006" - "filter\030\001 \003(\0132*.bgs.protocol.club.v1.Club" - "MembershipFilterB\014\212\371+\010*\006\n\004\010\000\020\031\"\203\001\n\031ClubM" - "embershipDescription\0221\n\tmember_id\030\001 \001(\0132" - "\036.bgs.protocol.club.v1.MemberId\0223\n\004club\030" - "\002 \001(\0132%.bgs.protocol.club.v1.ClubDescrip" - "tion\"\200\002\n\023ClubMembershipState\022D\n\013descript" - "ion\030\001 \003(\0132/.bgs.protocol.club.v1.ClubMem" - "bershipDescription\0228\n\ninvitation\030\002 \003(\0132$" - ".bgs.protocol.club.v1.ClubInvitation\0229\n\007" - "setting\030\003 \001(\0132(.bgs.protocol.club.v1.Clu" - "bSharedSettings\022.\n\014mention_view\030\004 \001(\0132\030." - "bgs.protocol.ViewMarker\"#\n\014ClubPosition\022" - "\023\n\007club_id\030\001 \003(\004B\002\020\001\"O\n\022ClubSharedSettin" - "gs\0229\n\rclub_position\030\001 \001(\0132\".bgs.protocol" - ".club.v1.ClubPosition\"V\n\031ClubSharedSetti" - "ngsOptions\0229\n\rclub_position\030\001 \001(\0132\".bgs." - "protocol.club.v1.ClubPosition\"Y\n\034ClubSha" - "redSettingsAssignment\0229\n\rclub_position\030\001" - " \001(\0132\".bgs.protocol.club.v1.ClubPosition" - "B\002H\002", 1204); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_membership_types.proto", &protobuf_RegisterTypes); - ClubMembershipFilter::default_instance_ = new ClubMembershipFilter(); - ClubMembershipSubscribeOptions::default_instance_ = new ClubMembershipSubscribeOptions(); - ClubMembershipGetStateOptions::default_instance_ = new ClubMembershipGetStateOptions(); - ClubMembershipDescription::default_instance_ = new ClubMembershipDescription(); - ClubMembershipState::default_instance_ = new ClubMembershipState(); - ClubPosition::default_instance_ = new ClubPosition(); - ClubSharedSettings::default_instance_ = new ClubSharedSettings(); - ClubSharedSettingsOptions::default_instance_ = new ClubSharedSettingsOptions(); - ClubSharedSettingsAssignment::default_instance_ = new ClubSharedSettingsAssignment(); - ClubMembershipFilter::default_instance_->InitAsDefaultInstance(); - ClubMembershipSubscribeOptions::default_instance_->InitAsDefaultInstance(); - ClubMembershipGetStateOptions::default_instance_->InitAsDefaultInstance(); - ClubMembershipDescription::default_instance_->InitAsDefaultInstance(); - ClubMembershipState::default_instance_->InitAsDefaultInstance(); - ClubPosition::default_instance_->InitAsDefaultInstance(); - ClubSharedSettings::default_instance_->InitAsDefaultInstance(); - ClubSharedSettingsOptions::default_instance_->InitAsDefaultInstance(); - ClubSharedSettingsAssignment::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fmembership_5ftypes_2eproto { - StaticDescriptorInitializer_club_5fmembership_5ftypes_2eproto() { - protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - } -} static_descriptor_initializer_club_5fmembership_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ClubMembershipFilter::kMemberIdFieldNumber; -const int ClubMembershipFilter::kTypeFieldNumber; -#endif // !_MSC_VER - -ClubMembershipFilter::ClubMembershipFilter() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipFilter) -} - -void ClubMembershipFilter::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); -} - -ClubMembershipFilter::ClubMembershipFilter(const ClubMembershipFilter& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipFilter) -} - -void ClubMembershipFilter::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - type_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMembershipFilter::~ClubMembershipFilter() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipFilter) - SharedDtor(); -} - -void ClubMembershipFilter::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - delete type_; - } -} - -void ClubMembershipFilter::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMembershipFilter::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipFilter_descriptor_; -} - -const ClubMembershipFilter& ClubMembershipFilter::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubMembershipFilter* ClubMembershipFilter::default_instance_ = NULL; - -ClubMembershipFilter* ClubMembershipFilter::New() const { - return new ClubMembershipFilter; -} - -void ClubMembershipFilter::Swap(ClubMembershipFilter* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMembershipFilter::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMembershipFilter_descriptor_; - metadata.reflection = ClubMembershipFilter_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubMembershipSubscribeOptions::kFilterFieldNumber; -#endif // !_MSC_VER - -ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) -} - -void ClubMembershipSubscribeOptions::InitAsDefaultInstance() { -} - -ClubMembershipSubscribeOptions::ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) -} - -void ClubMembershipSubscribeOptions::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMembershipSubscribeOptions::~ClubMembershipSubscribeOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) - SharedDtor(); -} - -void ClubMembershipSubscribeOptions::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubMembershipSubscribeOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMembershipSubscribeOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipSubscribeOptions_descriptor_; -} - -const ClubMembershipSubscribeOptions& ClubMembershipSubscribeOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::default_instance_ = NULL; - -ClubMembershipSubscribeOptions* ClubMembershipSubscribeOptions::New() const { - return new ClubMembershipSubscribeOptions; -} - -void ClubMembershipSubscribeOptions::Swap(ClubMembershipSubscribeOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMembershipSubscribeOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMembershipSubscribeOptions_descriptor_; - metadata.reflection = ClubMembershipSubscribeOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubMembershipGetStateOptions::kFilterFieldNumber; -#endif // !_MSC_VER - -ClubMembershipGetStateOptions::ClubMembershipGetStateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) -} - -void ClubMembershipGetStateOptions::InitAsDefaultInstance() { -} - -ClubMembershipGetStateOptions::ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) -} - -void ClubMembershipGetStateOptions::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMembershipGetStateOptions::~ClubMembershipGetStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipGetStateOptions) - SharedDtor(); -} - -void ClubMembershipGetStateOptions::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubMembershipGetStateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMembershipGetStateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipGetStateOptions_descriptor_; -} - -const ClubMembershipGetStateOptions& ClubMembershipGetStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::default_instance_ = NULL; - -ClubMembershipGetStateOptions* ClubMembershipGetStateOptions::New() const { - return new ClubMembershipGetStateOptions; -} - -void ClubMembershipGetStateOptions::Swap(ClubMembershipGetStateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMembershipGetStateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMembershipGetStateOptions_descriptor_; - metadata.reflection = ClubMembershipGetStateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubMembershipDescription::kMemberIdFieldNumber; -const int ClubMembershipDescription::kClubFieldNumber; -#endif // !_MSC_VER - -ClubMembershipDescription::ClubMembershipDescription() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipDescription) -} - -void ClubMembershipDescription::InitAsDefaultInstance() { - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); -} - -ClubMembershipDescription::ClubMembershipDescription(const ClubMembershipDescription& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipDescription) -} - -void ClubMembershipDescription::SharedCtor() { - _cached_size_ = 0; - member_id_ = NULL; - club_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMembershipDescription::~ClubMembershipDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipDescription) - SharedDtor(); -} - -void ClubMembershipDescription::SharedDtor() { - if (this != default_instance_) { - delete member_id_; - delete club_; - } -} - -void ClubMembershipDescription::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMembershipDescription::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipDescription_descriptor_; -} - -const ClubMembershipDescription& ClubMembershipDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubMembershipDescription* ClubMembershipDescription::default_instance_ = NULL; - -ClubMembershipDescription* ClubMembershipDescription::New() const { - return new ClubMembershipDescription; -} - -void ClubMembershipDescription::Swap(ClubMembershipDescription* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMembershipDescription::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMembershipDescription_descriptor_; - metadata.reflection = ClubMembershipDescription_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubMembershipState::kDescriptionFieldNumber; -const int ClubMembershipState::kInvitationFieldNumber; -const int ClubMembershipState::kSettingFieldNumber; -const int ClubMembershipState::kMentionViewFieldNumber; -#endif // !_MSC_VER - -ClubMembershipState::ClubMembershipState() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMembershipState) -} - -void ClubMembershipState::InitAsDefaultInstance() { - setting_ = const_cast< ::bgs::protocol::club::v1::ClubSharedSettings*>(&::bgs::protocol::club::v1::ClubSharedSettings::default_instance()); - mention_view_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); -} - -ClubMembershipState::ClubMembershipState(const ClubMembershipState& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMembershipState) -} - -void ClubMembershipState::SharedCtor() { - _cached_size_ = 0; - setting_ = NULL; - mention_view_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMembershipState::~ClubMembershipState() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMembershipState) - SharedDtor(); -} - -void ClubMembershipState::SharedDtor() { - if (this != default_instance_) { - delete setting_; - delete mention_view_; - } -} - -void ClubMembershipState::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMembershipState::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMembershipState_descriptor_; -} - -const ClubMembershipState& ClubMembershipState::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubMembershipState* ClubMembershipState::default_instance_ = NULL; - -ClubMembershipState* ClubMembershipState::New() const { - return new ClubMembershipState; -} - -void ClubMembershipState::Swap(ClubMembershipState* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMembershipState::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMembershipState_descriptor_; - metadata.reflection = ClubMembershipState_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubPosition::kClubIdFieldNumber; -#endif // !_MSC_VER - -ClubPosition::ClubPosition() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubPosition) -} - -void ClubPosition::InitAsDefaultInstance() { -} - -ClubPosition::ClubPosition(const ClubPosition& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubPosition) -} - -void ClubPosition::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubPosition::~ClubPosition() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubPosition) - SharedDtor(); -} - -void ClubPosition::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubPosition::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubPosition::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubPosition_descriptor_; -} - -const ClubPosition& ClubPosition::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubPosition* ClubPosition::default_instance_ = NULL; - -ClubPosition* ClubPosition::New() const { - return new ClubPosition; -} - -void ClubPosition::Swap(ClubPosition* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubPosition::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubPosition_descriptor_; - metadata.reflection = ClubPosition_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSharedSettings::kClubPositionFieldNumber; -#endif // !_MSC_VER - -ClubSharedSettings::ClubSharedSettings() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettings) -} - -void ClubSharedSettings::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); -} - -ClubSharedSettings::ClubSharedSettings(const ClubSharedSettings& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSharedSettings) -} - -void ClubSharedSettings::SharedCtor() { - _cached_size_ = 0; - club_position_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSharedSettings::~ClubSharedSettings() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettings) - SharedDtor(); -} - -void ClubSharedSettings::SharedDtor() { - if (this != default_instance_) { - delete club_position_; - } -} - -void ClubSharedSettings::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSharedSettings::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSharedSettings_descriptor_; -} - -const ClubSharedSettings& ClubSharedSettings::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubSharedSettings* ClubSharedSettings::default_instance_ = NULL; - -ClubSharedSettings* ClubSharedSettings::New() const { - return new ClubSharedSettings; -} - -void ClubSharedSettings::Swap(ClubSharedSettings* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSharedSettings::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSharedSettings_descriptor_; - metadata.reflection = ClubSharedSettings_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSharedSettingsOptions::kClubPositionFieldNumber; -#endif // !_MSC_VER - -ClubSharedSettingsOptions::ClubSharedSettingsOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettingsOptions) -} - -void ClubSharedSettingsOptions::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); -} - -ClubSharedSettingsOptions::ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSharedSettingsOptions) -} - -void ClubSharedSettingsOptions::SharedCtor() { - _cached_size_ = 0; - club_position_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSharedSettingsOptions::~ClubSharedSettingsOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettingsOptions) - SharedDtor(); -} - -void ClubSharedSettingsOptions::SharedDtor() { - if (this != default_instance_) { - delete club_position_; - } -} - -void ClubSharedSettingsOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSharedSettingsOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSharedSettingsOptions_descriptor_; -} - -const ClubSharedSettingsOptions& ClubSharedSettingsOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubSharedSettingsOptions* ClubSharedSettingsOptions::default_instance_ = NULL; - -ClubSharedSettingsOptions* ClubSharedSettingsOptions::New() const { - return new ClubSharedSettingsOptions; -} - -void ClubSharedSettingsOptions::Swap(ClubSharedSettingsOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSharedSettingsOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSharedSettingsOptions_descriptor_; - metadata.reflection = ClubSharedSettingsOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSharedSettingsAssignment::kClubPositionFieldNumber; -#endif // !_MSC_VER - -ClubSharedSettingsAssignment::ClubSharedSettingsAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSharedSettingsAssignment) -} - -void ClubSharedSettingsAssignment::InitAsDefaultInstance() { - club_position_ = const_cast< ::bgs::protocol::club::v1::ClubPosition*>(&::bgs::protocol::club::v1::ClubPosition::default_instance()); -} - -ClubSharedSettingsAssignment::ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSharedSettingsAssignment) -} - -void ClubSharedSettingsAssignment::SharedCtor() { - _cached_size_ = 0; - club_position_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSharedSettingsAssignment::~ClubSharedSettingsAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSharedSettingsAssignment) - SharedDtor(); -} - -void ClubSharedSettingsAssignment::SharedDtor() { - if (this != default_instance_) { - delete club_position_; - } -} - -void ClubSharedSettingsAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSharedSettingsAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSharedSettingsAssignment_descriptor_; -} - -const ClubSharedSettingsAssignment& ClubSharedSettingsAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - return *default_instance_; -} - -ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::default_instance_ = NULL; - -ClubSharedSettingsAssignment* ClubSharedSettingsAssignment::New() const { - return new ClubSharedSettingsAssignment; -} - -void ClubSharedSettingsAssignment::Swap(ClubSharedSettingsAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSharedSettingsAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSharedSettingsAssignment_descriptor_; - metadata.reflection = ClubSharedSettingsAssignment_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_membership_types.pb.h b/src/server/proto/Client/club_membership_types.pb.h deleted file mode 100644 index c053212bdeb..00000000000 --- a/src/server/proto/Client/club_membership_types.pb.h +++ /dev/null @@ -1,1308 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_membership_types.proto - -#ifndef PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED -#define PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_core.pb.h" -#include "club_type.pb.h" -#include "club_member.pb.h" -#include "club_invitation.pb.h" -#include "event_view_types.pb.h" -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); -void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); -void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - -class ClubMembershipFilter; -class ClubMembershipSubscribeOptions; -class ClubMembershipGetStateOptions; -class ClubMembershipDescription; -class ClubMembershipState; -class ClubPosition; -class ClubSharedSettings; -class ClubSharedSettingsOptions; -class ClubSharedSettingsAssignment; - -// =================================================================== - -class TC_PROTO_API ClubMembershipFilter : public ::google::protobuf::Message { - public: - ClubMembershipFilter(); - virtual ~ClubMembershipFilter(); - - ClubMembershipFilter(const ClubMembershipFilter& from); - - inline ClubMembershipFilter& operator=(const ClubMembershipFilter& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMembershipFilter& default_instance(); - - void Swap(ClubMembershipFilter* other); - - // implements Message ---------------------------------------------- - - ClubMembershipFilter* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional .bgs.protocol.club.v1.UniqueClubType type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipFilter) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubMembershipFilter* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubMembershipSubscribeOptions : public ::google::protobuf::Message { - public: - ClubMembershipSubscribeOptions(); - virtual ~ClubMembershipSubscribeOptions(); - - ClubMembershipSubscribeOptions(const ClubMembershipSubscribeOptions& from); - - inline ClubMembershipSubscribeOptions& operator=(const ClubMembershipSubscribeOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMembershipSubscribeOptions& default_instance(); - - void Swap(ClubMembershipSubscribeOptions* other); - - // implements Message ---------------------------------------------- - - ClubMembershipSubscribeOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; - inline int filter_size() const; - inline void clear_filter(); - static const int kFilterFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubMembershipFilter& filter(int index) const; - inline ::bgs::protocol::club::v1::ClubMembershipFilter* mutable_filter(int index); - inline ::bgs::protocol::club::v1::ClubMembershipFilter* add_filter(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >& - filter() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* - mutable_filter(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipSubscribeOptions) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter > filter_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubMembershipSubscribeOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubMembershipGetStateOptions : public ::google::protobuf::Message { - public: - ClubMembershipGetStateOptions(); - virtual ~ClubMembershipGetStateOptions(); - - ClubMembershipGetStateOptions(const ClubMembershipGetStateOptions& from); - - inline ClubMembershipGetStateOptions& operator=(const ClubMembershipGetStateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMembershipGetStateOptions& default_instance(); - - void Swap(ClubMembershipGetStateOptions* other); - - // implements Message ---------------------------------------------- - - ClubMembershipGetStateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; - inline int filter_size() const; - inline void clear_filter(); - static const int kFilterFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubMembershipFilter& filter(int index) const; - inline ::bgs::protocol::club::v1::ClubMembershipFilter* mutable_filter(int index); - inline ::bgs::protocol::club::v1::ClubMembershipFilter* add_filter(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >& - filter() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* - mutable_filter(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipGetStateOptions) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter > filter_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubMembershipGetStateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubMembershipDescription : public ::google::protobuf::Message { - public: - ClubMembershipDescription(); - virtual ~ClubMembershipDescription(); - - ClubMembershipDescription(const ClubMembershipDescription& from); - - inline ClubMembershipDescription& operator=(const ClubMembershipDescription& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMembershipDescription& default_instance(); - - void Swap(ClubMembershipDescription* other); - - // implements Message ---------------------------------------------- - - ClubMembershipDescription* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId member_id = 1; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional .bgs.protocol.club.v1.ClubDescription club = 2; - inline bool has_club() const; - inline void clear_club(); - static const int kClubFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubDescription& club() const; - inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); - inline ::bgs::protocol::club::v1::ClubDescription* release_club(); - inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipDescription) - private: - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_club(); - inline void clear_has_club(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::ClubDescription* club_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubMembershipDescription* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubMembershipState : public ::google::protobuf::Message { - public: - ClubMembershipState(); - virtual ~ClubMembershipState(); - - ClubMembershipState(const ClubMembershipState& from); - - inline ClubMembershipState& operator=(const ClubMembershipState& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMembershipState& default_instance(); - - void Swap(ClubMembershipState* other); - - // implements Message ---------------------------------------------- - - ClubMembershipState* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubMembershipDescription description = 1; - inline int description_size() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubMembershipDescription& description(int index) const; - inline ::bgs::protocol::club::v1::ClubMembershipDescription* mutable_description(int index); - inline ::bgs::protocol::club::v1::ClubMembershipDescription* add_description(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription >& - description() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription >* - mutable_description(); - - // repeated .bgs.protocol.club.v1.ClubInvitation invitation = 2; - inline int invitation_size() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubInvitation& invitation(int index) const; - inline ::bgs::protocol::club::v1::ClubInvitation* mutable_invitation(int index); - inline ::bgs::protocol::club::v1::ClubInvitation* add_invitation(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >& - invitation() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* - mutable_invitation(); - - // optional .bgs.protocol.club.v1.ClubSharedSettings setting = 3; - inline bool has_setting() const; - inline void clear_setting(); - static const int kSettingFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubSharedSettings& setting() const; - inline ::bgs::protocol::club::v1::ClubSharedSettings* mutable_setting(); - inline ::bgs::protocol::club::v1::ClubSharedSettings* release_setting(); - inline void set_allocated_setting(::bgs::protocol::club::v1::ClubSharedSettings* setting); - - // optional .bgs.protocol.ViewMarker mention_view = 4; - inline bool has_mention_view() const; - inline void clear_mention_view(); - static const int kMentionViewFieldNumber = 4; - inline const ::bgs::protocol::ViewMarker& mention_view() const; - inline ::bgs::protocol::ViewMarker* mutable_mention_view(); - inline ::bgs::protocol::ViewMarker* release_mention_view(); - inline void set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMembershipState) - private: - inline void set_has_setting(); - inline void clear_has_setting(); - inline void set_has_mention_view(); - inline void clear_has_mention_view(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription > description_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation > invitation_; - ::bgs::protocol::club::v1::ClubSharedSettings* setting_; - ::bgs::protocol::ViewMarker* mention_view_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubMembershipState* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubPosition : public ::google::protobuf::Message { - public: - ClubPosition(); - virtual ~ClubPosition(); - - ClubPosition(const ClubPosition& from); - - inline ClubPosition& operator=(const ClubPosition& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubPosition& default_instance(); - - void Swap(ClubPosition* other); - - // implements Message ---------------------------------------------- - - ClubPosition* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated uint64 club_id = 1 [packed = true]; - inline int club_id_size() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id(int index) const; - inline void set_club_id(int index, ::google::protobuf::uint64 value); - inline void add_club_id(::google::protobuf::uint64 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& - club_id() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* - mutable_club_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubPosition) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubPosition* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSharedSettings : public ::google::protobuf::Message { - public: - ClubSharedSettings(); - virtual ~ClubSharedSettings(); - - ClubSharedSettings(const ClubSharedSettings& from); - - inline ClubSharedSettings& operator=(const ClubSharedSettings& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSharedSettings& default_instance(); - - void Swap(ClubSharedSettings* other); - - // implements Message ---------------------------------------------- - - ClubSharedSettings* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; - inline bool has_club_position() const; - inline void clear_club_position(); - static const int kClubPositionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubPosition& club_position() const; - inline ::bgs::protocol::club::v1::ClubPosition* mutable_club_position(); - inline ::bgs::protocol::club::v1::ClubPosition* release_club_position(); - inline void set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSharedSettings) - private: - inline void set_has_club_position(); - inline void clear_has_club_position(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubPosition* club_position_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubSharedSettings* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSharedSettingsOptions : public ::google::protobuf::Message { - public: - ClubSharedSettingsOptions(); - virtual ~ClubSharedSettingsOptions(); - - ClubSharedSettingsOptions(const ClubSharedSettingsOptions& from); - - inline ClubSharedSettingsOptions& operator=(const ClubSharedSettingsOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSharedSettingsOptions& default_instance(); - - void Swap(ClubSharedSettingsOptions* other); - - // implements Message ---------------------------------------------- - - ClubSharedSettingsOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; - inline bool has_club_position() const; - inline void clear_club_position(); - static const int kClubPositionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubPosition& club_position() const; - inline ::bgs::protocol::club::v1::ClubPosition* mutable_club_position(); - inline ::bgs::protocol::club::v1::ClubPosition* release_club_position(); - inline void set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSharedSettingsOptions) - private: - inline void set_has_club_position(); - inline void clear_has_club_position(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubPosition* club_position_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubSharedSettingsOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSharedSettingsAssignment : public ::google::protobuf::Message { - public: - ClubSharedSettingsAssignment(); - virtual ~ClubSharedSettingsAssignment(); - - ClubSharedSettingsAssignment(const ClubSharedSettingsAssignment& from); - - inline ClubSharedSettingsAssignment& operator=(const ClubSharedSettingsAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSharedSettingsAssignment& default_instance(); - - void Swap(ClubSharedSettingsAssignment* other); - - // implements Message ---------------------------------------------- - - ClubSharedSettingsAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubPosition club_position = 1; - inline bool has_club_position() const; - inline void clear_club_position(); - static const int kClubPositionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubPosition& club_position() const; - inline ::bgs::protocol::club::v1::ClubPosition* mutable_club_position(); - inline ::bgs::protocol::club::v1::ClubPosition* release_club_position(); - inline void set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSharedSettingsAssignment) - private: - inline void set_has_club_position(); - inline void clear_has_club_position(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubPosition* club_position_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_AssignDesc_club_5fmembership_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_club_5fmembership_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ClubSharedSettingsAssignment* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// ClubMembershipFilter - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool ClubMembershipFilter::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubMembershipFilter::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubMembershipFilter::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubMembershipFilter::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipFilter::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipFilter.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipFilter.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubMembershipFilter::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void ClubMembershipFilter::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipFilter.member_id) -} - -// optional .bgs.protocol.club.v1.UniqueClubType type = 2; -inline bool ClubMembershipFilter::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubMembershipFilter::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubMembershipFilter::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubMembershipFilter::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& ClubMembershipFilter::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipFilter.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipFilter.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* ClubMembershipFilter::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void ClubMembershipFilter::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipFilter.type) -} - -// ------------------------------------------------------------------- - -// ClubMembershipSubscribeOptions - -// repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; -inline int ClubMembershipSubscribeOptions::filter_size() const { - return filter_.size(); -} -inline void ClubMembershipSubscribeOptions::clear_filter() { - filter_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipFilter& ClubMembershipSubscribeOptions::filter(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) - return filter_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipFilter* ClubMembershipSubscribeOptions::mutable_filter(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) - return filter_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipFilter* ClubMembershipSubscribeOptions::add_filter() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) - return filter_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >& -ClubMembershipSubscribeOptions::filter() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) - return filter_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* -ClubMembershipSubscribeOptions::mutable_filter() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipSubscribeOptions.filter) - return &filter_; -} - -// ------------------------------------------------------------------- - -// ClubMembershipGetStateOptions - -// repeated .bgs.protocol.club.v1.ClubMembershipFilter filter = 1; -inline int ClubMembershipGetStateOptions::filter_size() const { - return filter_.size(); -} -inline void ClubMembershipGetStateOptions::clear_filter() { - filter_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipFilter& ClubMembershipGetStateOptions::filter(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) - return filter_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipFilter* ClubMembershipGetStateOptions::mutable_filter(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) - return filter_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipFilter* ClubMembershipGetStateOptions::add_filter() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) - return filter_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >& -ClubMembershipGetStateOptions::filter() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) - return filter_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipFilter >* -ClubMembershipGetStateOptions::mutable_filter() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipGetStateOptions.filter) - return &filter_; -} - -// ------------------------------------------------------------------- - -// ClubMembershipDescription - -// optional .bgs.protocol.club.v1.MemberId member_id = 1; -inline bool ClubMembershipDescription::has_member_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubMembershipDescription::set_has_member_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubMembershipDescription::clear_has_member_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubMembershipDescription::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& ClubMembershipDescription::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipDescription.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipDescription.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* ClubMembershipDescription::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void ClubMembershipDescription::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipDescription.member_id) -} - -// optional .bgs.protocol.club.v1.ClubDescription club = 2; -inline bool ClubMembershipDescription::has_club() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubMembershipDescription::set_has_club() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubMembershipDescription::clear_has_club() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubMembershipDescription::clear_club() { - if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); - clear_has_club(); -} -inline const ::bgs::protocol::club::v1::ClubDescription& ClubMembershipDescription::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipDescription.club) - return club_ != NULL ? *club_ : *default_instance_->club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::mutable_club() { - set_has_club(); - if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipDescription.club) - return club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* ClubMembershipDescription::release_club() { - clear_has_club(); - ::bgs::protocol::club::v1::ClubDescription* temp = club_; - club_ = NULL; - return temp; -} -inline void ClubMembershipDescription::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { - delete club_; - club_ = club; - if (club) { - set_has_club(); - } else { - clear_has_club(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipDescription.club) -} - -// ------------------------------------------------------------------- - -// ClubMembershipState - -// repeated .bgs.protocol.club.v1.ClubMembershipDescription description = 1; -inline int ClubMembershipState::description_size() const { - return description_.size(); -} -inline void ClubMembershipState::clear_description() { - description_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubMembershipDescription& ClubMembershipState::description(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.description) - return description_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipDescription* ClubMembershipState::mutable_description(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.description) - return description_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubMembershipDescription* ClubMembershipState::add_description() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipState.description) - return description_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription >& -ClubMembershipState::description() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipState.description) - return description_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubMembershipDescription >* -ClubMembershipState::mutable_description() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipState.description) - return &description_; -} - -// repeated .bgs.protocol.club.v1.ClubInvitation invitation = 2; -inline int ClubMembershipState::invitation_size() const { - return invitation_.size(); -} -inline void ClubMembershipState::clear_invitation() { - invitation_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubInvitation& ClubMembershipState::invitation(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.invitation) - return invitation_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubInvitation* ClubMembershipState::mutable_invitation(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.invitation) - return invitation_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubInvitation* ClubMembershipState::add_invitation() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubMembershipState.invitation) - return invitation_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >& -ClubMembershipState::invitation() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubMembershipState.invitation) - return invitation_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* -ClubMembershipState::mutable_invitation() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubMembershipState.invitation) - return &invitation_; -} - -// optional .bgs.protocol.club.v1.ClubSharedSettings setting = 3; -inline bool ClubMembershipState::has_setting() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubMembershipState::set_has_setting() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubMembershipState::clear_has_setting() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubMembershipState::clear_setting() { - if (setting_ != NULL) setting_->::bgs::protocol::club::v1::ClubSharedSettings::Clear(); - clear_has_setting(); -} -inline const ::bgs::protocol::club::v1::ClubSharedSettings& ClubMembershipState::setting() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.setting) - return setting_ != NULL ? *setting_ : *default_instance_->setting_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettings* ClubMembershipState::mutable_setting() { - set_has_setting(); - if (setting_ == NULL) setting_ = new ::bgs::protocol::club::v1::ClubSharedSettings; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.setting) - return setting_; -} -inline ::bgs::protocol::club::v1::ClubSharedSettings* ClubMembershipState::release_setting() { - clear_has_setting(); - ::bgs::protocol::club::v1::ClubSharedSettings* temp = setting_; - setting_ = NULL; - return temp; -} -inline void ClubMembershipState::set_allocated_setting(::bgs::protocol::club::v1::ClubSharedSettings* setting) { - delete setting_; - setting_ = setting; - if (setting) { - set_has_setting(); - } else { - clear_has_setting(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipState.setting) -} - -// optional .bgs.protocol.ViewMarker mention_view = 4; -inline bool ClubMembershipState::has_mention_view() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubMembershipState::set_has_mention_view() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubMembershipState::clear_has_mention_view() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubMembershipState::clear_mention_view() { - if (mention_view_ != NULL) mention_view_->::bgs::protocol::ViewMarker::Clear(); - clear_has_mention_view(); -} -inline const ::bgs::protocol::ViewMarker& ClubMembershipState::mention_view() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMembershipState.mention_view) - return mention_view_ != NULL ? *mention_view_ : *default_instance_->mention_view_; -} -inline ::bgs::protocol::ViewMarker* ClubMembershipState::mutable_mention_view() { - set_has_mention_view(); - if (mention_view_ == NULL) mention_view_ = new ::bgs::protocol::ViewMarker; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMembershipState.mention_view) - return mention_view_; -} -inline ::bgs::protocol::ViewMarker* ClubMembershipState::release_mention_view() { - clear_has_mention_view(); - ::bgs::protocol::ViewMarker* temp = mention_view_; - mention_view_ = NULL; - return temp; -} -inline void ClubMembershipState::set_allocated_mention_view(::bgs::protocol::ViewMarker* mention_view) { - delete mention_view_; - mention_view_ = mention_view; - if (mention_view) { - set_has_mention_view(); - } else { - clear_has_mention_view(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMembershipState.mention_view) -} - -// ------------------------------------------------------------------- - -// ClubPosition - -// repeated uint64 club_id = 1 [packed = true]; -inline int ClubPosition::club_id_size() const { - return club_id_.size(); -} -inline void ClubPosition::clear_club_id() { - club_id_.Clear(); -} -inline ::google::protobuf::uint64 ClubPosition::club_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPosition.club_id) - return club_id_.Get(index); -} -inline void ClubPosition::set_club_id(int index, ::google::protobuf::uint64 value) { - club_id_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPosition.club_id) -} -inline void ClubPosition::add_club_id(::google::protobuf::uint64 value) { - club_id_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubPosition.club_id) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& -ClubPosition::club_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubPosition.club_id) - return club_id_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* -ClubPosition::mutable_club_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubPosition.club_id) - return &club_id_; -} - -// ------------------------------------------------------------------- - -// ClubSharedSettings - -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; -inline bool ClubSharedSettings::has_club_position() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSharedSettings::set_has_club_position() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSharedSettings::clear_has_club_position() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSharedSettings::clear_club_position() { - if (club_position_ != NULL) club_position_->::bgs::protocol::club::v1::ClubPosition::Clear(); - clear_has_club_position(); -} -inline const ::bgs::protocol::club::v1::ClubPosition& ClubSharedSettings::club_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSharedSettings.club_position) - return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettings::mutable_club_position() { - set_has_club_position(); - if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettings.club_position) - return club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettings::release_club_position() { - clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = club_position_; - club_position_ = NULL; - return temp; -} -inline void ClubSharedSettings::set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position) { - delete club_position_; - club_position_ = club_position; - if (club_position) { - set_has_club_position(); - } else { - clear_has_club_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettings.club_position) -} - -// ------------------------------------------------------------------- - -// ClubSharedSettingsOptions - -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; -inline bool ClubSharedSettingsOptions::has_club_position() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSharedSettingsOptions::set_has_club_position() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSharedSettingsOptions::clear_has_club_position() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSharedSettingsOptions::clear_club_position() { - if (club_position_ != NULL) club_position_->::bgs::protocol::club::v1::ClubPosition::Clear(); - clear_has_club_position(); -} -inline const ::bgs::protocol::club::v1::ClubPosition& ClubSharedSettingsOptions::club_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSharedSettingsOptions.club_position) - return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettingsOptions::mutable_club_position() { - set_has_club_position(); - if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettingsOptions.club_position) - return club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettingsOptions::release_club_position() { - clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = club_position_; - club_position_ = NULL; - return temp; -} -inline void ClubSharedSettingsOptions::set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position) { - delete club_position_; - club_position_ = club_position; - if (club_position) { - set_has_club_position(); - } else { - clear_has_club_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettingsOptions.club_position) -} - -// ------------------------------------------------------------------- - -// ClubSharedSettingsAssignment - -// optional .bgs.protocol.club.v1.ClubPosition club_position = 1; -inline bool ClubSharedSettingsAssignment::has_club_position() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSharedSettingsAssignment::set_has_club_position() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSharedSettingsAssignment::clear_has_club_position() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSharedSettingsAssignment::clear_club_position() { - if (club_position_ != NULL) club_position_->::bgs::protocol::club::v1::ClubPosition::Clear(); - clear_has_club_position(); -} -inline const ::bgs::protocol::club::v1::ClubPosition& ClubSharedSettingsAssignment::club_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSharedSettingsAssignment.club_position) - return club_position_ != NULL ? *club_position_ : *default_instance_->club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettingsAssignment::mutable_club_position() { - set_has_club_position(); - if (club_position_ == NULL) club_position_ = new ::bgs::protocol::club::v1::ClubPosition; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSharedSettingsAssignment.club_position) - return club_position_; -} -inline ::bgs::protocol::club::v1::ClubPosition* ClubSharedSettingsAssignment::release_club_position() { - clear_has_club_position(); - ::bgs::protocol::club::v1::ClubPosition* temp = club_position_; - club_position_ = NULL; - return temp; -} -inline void ClubSharedSettingsAssignment::set_allocated_club_position(::bgs::protocol::club::v1::ClubPosition* club_position) { - delete club_position_; - club_position_ = club_position; - if (club_position) { - set_has_club_position(); - } else { - clear_has_club_position(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSharedSettingsAssignment.club_position) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fmembership_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_name_generator.pb.cc b/src/server/proto/Client/club_name_generator.pb.cc deleted file mode 100644 index a59ae5616a1..00000000000 --- a/src/server/proto/Client/club_name_generator.pb.cc +++ /dev/null @@ -1,514 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_name_generator.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_name_generator.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* NameGeneratorConfig_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - NameGeneratorConfig_reflection_ = NULL; -const ::google::protobuf::Descriptor* NameGeneratorScorecard_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - NameGeneratorScorecard_reflection_ = NULL; -const ::google::protobuf::Descriptor* NameGenerator_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - NameGenerator_reflection_ = NULL; -const ::google::protobuf::Descriptor* NameGeneratorReplacement_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - NameGeneratorReplacement_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto() { - protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_name_generator.proto"); - GOOGLE_CHECK(file != NULL); - NameGeneratorConfig_descriptor_ = file->message_type(0); - static const int NameGeneratorConfig_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, name_generators_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, club_type_scorecard_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, locale_scorecard_), - }; - NameGeneratorConfig_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - NameGeneratorConfig_descriptor_, - NameGeneratorConfig::default_instance_, - NameGeneratorConfig_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorConfig, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(NameGeneratorConfig)); - NameGeneratorScorecard_descriptor_ = file->message_type(1); - static const int NameGeneratorScorecard_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, is_required_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_match_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_match_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, partial_fallback_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, full_fallback_), - }; - NameGeneratorScorecard_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - NameGeneratorScorecard_descriptor_, - NameGeneratorScorecard::default_instance_, - NameGeneratorScorecard_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorScorecard, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(NameGeneratorScorecard)); - NameGenerator_descriptor_ = file->message_type(2); - static const int NameGenerator_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, names_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, replacements_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, club_types_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, locales_), - }; - NameGenerator_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - NameGenerator_descriptor_, - NameGenerator::default_instance_, - NameGenerator_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGenerator, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(NameGenerator)); - NameGeneratorReplacement_descriptor_ = file->message_type(3); - static const int NameGeneratorReplacement_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, options_), - }; - NameGeneratorReplacement_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - NameGeneratorReplacement_descriptor_, - NameGeneratorReplacement::default_instance_, - NameGeneratorReplacement_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(NameGeneratorReplacement, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(NameGeneratorReplacement)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fname_5fgenerator_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - NameGeneratorConfig_descriptor_, &NameGeneratorConfig::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - NameGeneratorScorecard_descriptor_, &NameGeneratorScorecard::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - NameGenerator_descriptor_, &NameGenerator::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - NameGeneratorReplacement_descriptor_, &NameGeneratorReplacement::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto() { - delete NameGeneratorConfig::default_instance_; - delete NameGeneratorConfig_reflection_; - delete NameGeneratorScorecard::default_instance_; - delete NameGeneratorScorecard_reflection_; - delete NameGenerator::default_instance_; - delete NameGenerator_reflection_; - delete NameGeneratorReplacement::default_instance_; - delete NameGeneratorReplacement_reflection_; -} - -void protobuf_AddDesc_club_5fname_5fgenerator_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\031club_name_generator.proto\022\024bgs.protoco" - "l.club.v1\032\017club_type.proto\"\346\001\n\023NameGener" - "atorConfig\022<\n\017name_generators\030\001 \003(\0132#.bg" - "s.protocol.club.v1.NameGenerator\022I\n\023club" - "_type_scorecard\030\002 \001(\0132,.bgs.protocol.clu" - "b.v1.NameGeneratorScorecard\022F\n\020locale_sc" - "orecard\030\003 \001(\0132,.bgs.protocol.club.v1.Nam" - "eGeneratorScorecard\"\211\001\n\026NameGeneratorSco" - "recard\022\023\n\013is_required\030\001 \001(\010\022\022\n\nfull_matc" - "h\030\002 \001(\r\022\025\n\rpartial_match\030\003 \001(\r\022\030\n\020partia" - "l_fallback\030\004 \001(\r\022\025\n\rfull_fallback\030\005 \001(\r\"" - "\257\001\n\rNameGenerator\022\r\n\005names\030\001 \003(\t\022D\n\014repl" - "acements\030\002 \003(\0132..bgs.protocol.club.v1.Na" - "meGeneratorReplacement\0228\n\nclub_types\030\003 \003" - "(\0132$.bgs.protocol.club.v1.UniqueClubType" - "\022\017\n\007locales\030\004 \003(\t\"7\n\030NameGeneratorReplac" - "ement\022\n\n\002id\030\001 \001(\t\022\017\n\007options\030\002 \003(\tB\002H\002P\000", 680); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_name_generator.proto", &protobuf_RegisterTypes); - NameGeneratorConfig::default_instance_ = new NameGeneratorConfig(); - NameGeneratorScorecard::default_instance_ = new NameGeneratorScorecard(); - NameGenerator::default_instance_ = new NameGenerator(); - NameGeneratorReplacement::default_instance_ = new NameGeneratorReplacement(); - NameGeneratorConfig::default_instance_->InitAsDefaultInstance(); - NameGeneratorScorecard::default_instance_->InitAsDefaultInstance(); - NameGenerator::default_instance_->InitAsDefaultInstance(); - NameGeneratorReplacement::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fname_5fgenerator_2eproto { - StaticDescriptorInitializer_club_5fname_5fgenerator_2eproto() { - protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - } -} static_descriptor_initializer_club_5fname_5fgenerator_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int NameGeneratorConfig::kNameGeneratorsFieldNumber; -const int NameGeneratorConfig::kClubTypeScorecardFieldNumber; -const int NameGeneratorConfig::kLocaleScorecardFieldNumber; -#endif // !_MSC_VER - -NameGeneratorConfig::NameGeneratorConfig() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorConfig) -} - -void NameGeneratorConfig::InitAsDefaultInstance() { - club_type_scorecard_ = const_cast< ::bgs::protocol::club::v1::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::NameGeneratorScorecard::default_instance()); - locale_scorecard_ = const_cast< ::bgs::protocol::club::v1::NameGeneratorScorecard*>(&::bgs::protocol::club::v1::NameGeneratorScorecard::default_instance()); -} - -NameGeneratorConfig::NameGeneratorConfig(const NameGeneratorConfig& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorConfig) -} - -void NameGeneratorConfig::SharedCtor() { - _cached_size_ = 0; - club_type_scorecard_ = NULL; - locale_scorecard_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -NameGeneratorConfig::~NameGeneratorConfig() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorConfig) - SharedDtor(); -} - -void NameGeneratorConfig::SharedDtor() { - if (this != default_instance_) { - delete club_type_scorecard_; - delete locale_scorecard_; - } -} - -void NameGeneratorConfig::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NameGeneratorConfig::descriptor() { - protobuf_AssignDescriptorsOnce(); - return NameGeneratorConfig_descriptor_; -} - -const NameGeneratorConfig& NameGeneratorConfig::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - return *default_instance_; -} - -NameGeneratorConfig* NameGeneratorConfig::default_instance_ = NULL; - -NameGeneratorConfig* NameGeneratorConfig::New() const { - return new NameGeneratorConfig; -} - -void NameGeneratorConfig::Swap(NameGeneratorConfig* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata NameGeneratorConfig::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = NameGeneratorConfig_descriptor_; - metadata.reflection = NameGeneratorConfig_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int NameGeneratorScorecard::kIsRequiredFieldNumber; -const int NameGeneratorScorecard::kFullMatchFieldNumber; -const int NameGeneratorScorecard::kPartialMatchFieldNumber; -const int NameGeneratorScorecard::kPartialFallbackFieldNumber; -const int NameGeneratorScorecard::kFullFallbackFieldNumber; -#endif // !_MSC_VER - -NameGeneratorScorecard::NameGeneratorScorecard() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorScorecard) -} - -void NameGeneratorScorecard::InitAsDefaultInstance() { -} - -NameGeneratorScorecard::NameGeneratorScorecard(const NameGeneratorScorecard& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorScorecard) -} - -void NameGeneratorScorecard::SharedCtor() { - _cached_size_ = 0; - is_required_ = false; - full_match_ = 0u; - partial_match_ = 0u; - partial_fallback_ = 0u; - full_fallback_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -NameGeneratorScorecard::~NameGeneratorScorecard() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorScorecard) - SharedDtor(); -} - -void NameGeneratorScorecard::SharedDtor() { - if (this != default_instance_) { - } -} - -void NameGeneratorScorecard::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NameGeneratorScorecard::descriptor() { - protobuf_AssignDescriptorsOnce(); - return NameGeneratorScorecard_descriptor_; -} - -const NameGeneratorScorecard& NameGeneratorScorecard::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - return *default_instance_; -} - -NameGeneratorScorecard* NameGeneratorScorecard::default_instance_ = NULL; - -NameGeneratorScorecard* NameGeneratorScorecard::New() const { - return new NameGeneratorScorecard; -} - -void NameGeneratorScorecard::Swap(NameGeneratorScorecard* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata NameGeneratorScorecard::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = NameGeneratorScorecard_descriptor_; - metadata.reflection = NameGeneratorScorecard_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int NameGenerator::kNamesFieldNumber; -const int NameGenerator::kReplacementsFieldNumber; -const int NameGenerator::kClubTypesFieldNumber; -const int NameGenerator::kLocalesFieldNumber; -#endif // !_MSC_VER - -NameGenerator::NameGenerator() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGenerator) -} - -void NameGenerator::InitAsDefaultInstance() { -} - -NameGenerator::NameGenerator(const NameGenerator& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGenerator) -} - -void NameGenerator::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -NameGenerator::~NameGenerator() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGenerator) - SharedDtor(); -} - -void NameGenerator::SharedDtor() { - if (this != default_instance_) { - } -} - -void NameGenerator::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NameGenerator::descriptor() { - protobuf_AssignDescriptorsOnce(); - return NameGenerator_descriptor_; -} - -const NameGenerator& NameGenerator::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - return *default_instance_; -} - -NameGenerator* NameGenerator::default_instance_ = NULL; - -NameGenerator* NameGenerator::New() const { - return new NameGenerator; -} - -void NameGenerator::Swap(NameGenerator* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata NameGenerator::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = NameGenerator_descriptor_; - metadata.reflection = NameGenerator_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int NameGeneratorReplacement::kIdFieldNumber; -const int NameGeneratorReplacement::kOptionsFieldNumber; -#endif // !_MSC_VER - -NameGeneratorReplacement::NameGeneratorReplacement() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.NameGeneratorReplacement) -} - -void NameGeneratorReplacement::InitAsDefaultInstance() { -} - -NameGeneratorReplacement::NameGeneratorReplacement(const NameGeneratorReplacement& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.NameGeneratorReplacement) -} - -void NameGeneratorReplacement::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -NameGeneratorReplacement::~NameGeneratorReplacement() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.NameGeneratorReplacement) - SharedDtor(); -} - -void NameGeneratorReplacement::SharedDtor() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (this != default_instance_) { - } -} - -void NameGeneratorReplacement::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NameGeneratorReplacement::descriptor() { - protobuf_AssignDescriptorsOnce(); - return NameGeneratorReplacement_descriptor_; -} - -const NameGeneratorReplacement& NameGeneratorReplacement::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - return *default_instance_; -} - -NameGeneratorReplacement* NameGeneratorReplacement::default_instance_ = NULL; - -NameGeneratorReplacement* NameGeneratorReplacement::New() const { - return new NameGeneratorReplacement; -} - -void NameGeneratorReplacement::Swap(NameGeneratorReplacement* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata NameGeneratorReplacement::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = NameGeneratorReplacement_descriptor_; - metadata.reflection = NameGeneratorReplacement_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_name_generator.pb.h b/src/server/proto/Client/club_name_generator.pb.h deleted file mode 100644 index 8c83d631e9e..00000000000 --- a/src/server/proto/Client/club_name_generator.pb.h +++ /dev/null @@ -1,1015 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_name_generator.proto - -#ifndef PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED -#define PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_type.pb.h" // IWYU pragma: export -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); -void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); -void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); - -class NameGeneratorConfig; -class NameGeneratorScorecard; -class NameGenerator; -class NameGeneratorReplacement; - -// =================================================================== - -class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message { - public: - NameGeneratorConfig(); - virtual ~NameGeneratorConfig(); - - NameGeneratorConfig(const NameGeneratorConfig& from); - - inline NameGeneratorConfig& operator=(const NameGeneratorConfig& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const NameGeneratorConfig& default_instance(); - - void Swap(NameGeneratorConfig* other); - - // implements Message ---------------------------------------------- - - NameGeneratorConfig* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1; - inline int name_generators_size() const; - inline void clear_name_generators(); - static const int kNameGeneratorsFieldNumber = 1; - inline const ::bgs::protocol::club::v1::NameGenerator& name_generators(int index) const; - inline ::bgs::protocol::club::v1::NameGenerator* mutable_name_generators(int index); - inline ::bgs::protocol::club::v1::NameGenerator* add_name_generators(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >& - name_generators() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >* - mutable_name_generators(); - - // optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2; - inline bool has_club_type_scorecard() const; - inline void clear_club_type_scorecard(); - static const int kClubTypeScorecardFieldNumber = 2; - inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& club_type_scorecard() const; - inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_club_type_scorecard(); - inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_club_type_scorecard(); - inline void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard); - - // optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3; - inline bool has_locale_scorecard() const; - inline void clear_locale_scorecard(); - static const int kLocaleScorecardFieldNumber = 3; - inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& locale_scorecard() const; - inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_locale_scorecard(); - inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_locale_scorecard(); - inline void set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorConfig) - private: - inline void set_has_club_type_scorecard(); - inline void clear_has_club_type_scorecard(); - inline void set_has_locale_scorecard(); - inline void clear_has_locale_scorecard(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > name_generators_; - ::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard_; - ::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); - - void InitAsDefaultInstance(); - static NameGeneratorConfig* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message { - public: - NameGeneratorScorecard(); - virtual ~NameGeneratorScorecard(); - - NameGeneratorScorecard(const NameGeneratorScorecard& from); - - inline NameGeneratorScorecard& operator=(const NameGeneratorScorecard& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const NameGeneratorScorecard& default_instance(); - - void Swap(NameGeneratorScorecard* other); - - // implements Message ---------------------------------------------- - - NameGeneratorScorecard* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional bool is_required = 1; - inline bool has_is_required() const; - inline void clear_is_required(); - static const int kIsRequiredFieldNumber = 1; - inline bool is_required() const; - inline void set_is_required(bool value); - - // optional uint32 full_match = 2; - inline bool has_full_match() const; - inline void clear_full_match(); - static const int kFullMatchFieldNumber = 2; - inline ::google::protobuf::uint32 full_match() const; - inline void set_full_match(::google::protobuf::uint32 value); - - // optional uint32 partial_match = 3; - inline bool has_partial_match() const; - inline void clear_partial_match(); - static const int kPartialMatchFieldNumber = 3; - inline ::google::protobuf::uint32 partial_match() const; - inline void set_partial_match(::google::protobuf::uint32 value); - - // optional uint32 partial_fallback = 4; - inline bool has_partial_fallback() const; - inline void clear_partial_fallback(); - static const int kPartialFallbackFieldNumber = 4; - inline ::google::protobuf::uint32 partial_fallback() const; - inline void set_partial_fallback(::google::protobuf::uint32 value); - - // optional uint32 full_fallback = 5; - inline bool has_full_fallback() const; - inline void clear_full_fallback(); - static const int kFullFallbackFieldNumber = 5; - inline ::google::protobuf::uint32 full_fallback() const; - inline void set_full_fallback(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorScorecard) - private: - inline void set_has_is_required(); - inline void clear_has_is_required(); - inline void set_has_full_match(); - inline void clear_has_full_match(); - inline void set_has_partial_match(); - inline void clear_has_partial_match(); - inline void set_has_partial_fallback(); - inline void clear_has_partial_fallback(); - inline void set_has_full_fallback(); - inline void clear_has_full_fallback(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - bool is_required_; - ::google::protobuf::uint32 full_match_; - ::google::protobuf::uint32 partial_match_; - ::google::protobuf::uint32 partial_fallback_; - ::google::protobuf::uint32 full_fallback_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); - - void InitAsDefaultInstance(); - static NameGeneratorScorecard* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API NameGenerator : public ::google::protobuf::Message { - public: - NameGenerator(); - virtual ~NameGenerator(); - - NameGenerator(const NameGenerator& from); - - inline NameGenerator& operator=(const NameGenerator& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const NameGenerator& default_instance(); - - void Swap(NameGenerator* other); - - // implements Message ---------------------------------------------- - - NameGenerator* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string names = 1; - inline int names_size() const; - inline void clear_names(); - static const int kNamesFieldNumber = 1; - inline const ::std::string& names(int index) const; - inline ::std::string* mutable_names(int index); - inline void set_names(int index, const ::std::string& value); - inline void set_names(int index, const char* value); - inline void set_names(int index, const char* value, size_t size); - inline ::std::string* add_names(); - inline void add_names(const ::std::string& value); - inline void add_names(const char* value); - inline void add_names(const char* value, size_t size); - inline const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const; - inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names(); - - // repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2; - inline int replacements_size() const; - inline void clear_replacements(); - static const int kReplacementsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& replacements(int index) const; - inline ::bgs::protocol::club::v1::NameGeneratorReplacement* mutable_replacements(int index); - inline ::bgs::protocol::club::v1::NameGeneratorReplacement* add_replacements(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >& - replacements() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >* - mutable_replacements(); - - // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; - inline int club_types_size() const; - inline void clear_club_types(); - static const int kClubTypesFieldNumber = 3; - inline const ::bgs::protocol::club::v1::UniqueClubType& club_types(int index) const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_types(int index); - inline ::bgs::protocol::club::v1::UniqueClubType* add_club_types(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& - club_types() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* - mutable_club_types(); - - // repeated string locales = 4; - inline int locales_size() const; - inline void clear_locales(); - static const int kLocalesFieldNumber = 4; - inline const ::std::string& locales(int index) const; - inline ::std::string* mutable_locales(int index); - inline void set_locales(int index, const ::std::string& value); - inline void set_locales(int index, const char* value); - inline void set_locales(int index, const char* value, size_t size); - inline ::std::string* add_locales(); - inline void add_locales(const ::std::string& value); - inline void add_locales(const char* value); - inline void add_locales(const char* value, size_t size); - inline const ::google::protobuf::RepeatedPtrField< ::std::string>& locales() const; - inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_locales(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGenerator) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::std::string> names_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > replacements_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_; - ::google::protobuf::RepeatedPtrField< ::std::string> locales_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); - - void InitAsDefaultInstance(); - static NameGenerator* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message { - public: - NameGeneratorReplacement(); - virtual ~NameGeneratorReplacement(); - - NameGeneratorReplacement(const NameGeneratorReplacement& from); - - inline NameGeneratorReplacement& operator=(const NameGeneratorReplacement& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const NameGeneratorReplacement& default_instance(); - - void Swap(NameGeneratorReplacement* other); - - // implements Message ---------------------------------------------- - - NameGeneratorReplacement* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline const ::std::string& id() const; - inline void set_id(const ::std::string& value); - inline void set_id(const char* value); - inline void set_id(const char* value, size_t size); - inline ::std::string* mutable_id(); - inline ::std::string* release_id(); - inline void set_allocated_id(::std::string* id); - - // repeated string options = 2; - inline int options_size() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::std::string& options(int index) const; - inline ::std::string* mutable_options(int index); - inline void set_options(int index, const ::std::string& value); - inline void set_options(int index, const char* value); - inline void set_options(int index, const char* value, size_t size); - inline ::std::string* add_options(); - inline void add_options(const ::std::string& value); - inline void add_options(const char* value); - inline void add_options(const char* value, size_t size); - inline const ::google::protobuf::RepeatedPtrField< ::std::string>& options() const; - inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_options(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorReplacement) - private: - inline void set_has_id(); - inline void clear_has_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* id_; - ::google::protobuf::RepeatedPtrField< ::std::string> options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto(); - friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto(); - - void InitAsDefaultInstance(); - static NameGeneratorReplacement* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// NameGeneratorConfig - -// repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1; -inline int NameGeneratorConfig::name_generators_size() const { - return name_generators_.size(); -} -inline void NameGeneratorConfig::clear_name_generators() { - name_generators_.Clear(); -} -inline const ::bgs::protocol::club::v1::NameGenerator& NameGeneratorConfig::name_generators(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) - return name_generators_.Get(index); -} -inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) - return name_generators_.Mutable(index); -} -inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::add_name_generators() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) - return name_generators_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >& -NameGeneratorConfig::name_generators() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) - return name_generators_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >* -NameGeneratorConfig::mutable_name_generators() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators) - return &name_generators_; -} - -// optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2; -inline bool NameGeneratorConfig::has_club_type_scorecard() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void NameGeneratorConfig::set_has_club_type_scorecard() { - _has_bits_[0] |= 0x00000002u; -} -inline void NameGeneratorConfig::clear_has_club_type_scorecard() { - _has_bits_[0] &= ~0x00000002u; -} -inline void NameGeneratorConfig::clear_club_type_scorecard() { - if (club_type_scorecard_ != NULL) club_type_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear(); - clear_has_club_type_scorecard(); -} -inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard) - return club_type_scorecard_ != NULL ? *club_type_scorecard_ : *default_instance_->club_type_scorecard_; -} -inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_club_type_scorecard() { - set_has_club_type_scorecard(); - if (club_type_scorecard_ == NULL) club_type_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard) - return club_type_scorecard_; -} -inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() { - clear_has_club_type_scorecard(); - ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = club_type_scorecard_; - club_type_scorecard_ = NULL; - return temp; -} -inline void NameGeneratorConfig::set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard) { - delete club_type_scorecard_; - club_type_scorecard_ = club_type_scorecard; - if (club_type_scorecard) { - set_has_club_type_scorecard(); - } else { - clear_has_club_type_scorecard(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard) -} - -// optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3; -inline bool NameGeneratorConfig::has_locale_scorecard() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void NameGeneratorConfig::set_has_locale_scorecard() { - _has_bits_[0] |= 0x00000004u; -} -inline void NameGeneratorConfig::clear_has_locale_scorecard() { - _has_bits_[0] &= ~0x00000004u; -} -inline void NameGeneratorConfig::clear_locale_scorecard() { - if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear(); - clear_has_locale_scorecard(); -} -inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::locale_scorecard() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard) - return locale_scorecard_ != NULL ? *locale_scorecard_ : *default_instance_->locale_scorecard_; -} -inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_locale_scorecard() { - set_has_locale_scorecard(); - if (locale_scorecard_ == NULL) locale_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard) - return locale_scorecard_; -} -inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() { - clear_has_locale_scorecard(); - ::bgs::protocol::club::v1::NameGeneratorScorecard* temp = locale_scorecard_; - locale_scorecard_ = NULL; - return temp; -} -inline void NameGeneratorConfig::set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard) { - delete locale_scorecard_; - locale_scorecard_ = locale_scorecard; - if (locale_scorecard) { - set_has_locale_scorecard(); - } else { - clear_has_locale_scorecard(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard) -} - -// ------------------------------------------------------------------- - -// NameGeneratorScorecard - -// optional bool is_required = 1; -inline bool NameGeneratorScorecard::has_is_required() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void NameGeneratorScorecard::set_has_is_required() { - _has_bits_[0] |= 0x00000001u; -} -inline void NameGeneratorScorecard::clear_has_is_required() { - _has_bits_[0] &= ~0x00000001u; -} -inline void NameGeneratorScorecard::clear_is_required() { - is_required_ = false; - clear_has_is_required(); -} -inline bool NameGeneratorScorecard::is_required() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.is_required) - return is_required_; -} -inline void NameGeneratorScorecard::set_is_required(bool value) { - set_has_is_required(); - is_required_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.is_required) -} - -// optional uint32 full_match = 2; -inline bool NameGeneratorScorecard::has_full_match() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void NameGeneratorScorecard::set_has_full_match() { - _has_bits_[0] |= 0x00000002u; -} -inline void NameGeneratorScorecard::clear_has_full_match() { - _has_bits_[0] &= ~0x00000002u; -} -inline void NameGeneratorScorecard::clear_full_match() { - full_match_ = 0u; - clear_has_full_match(); -} -inline ::google::protobuf::uint32 NameGeneratorScorecard::full_match() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_match) - return full_match_; -} -inline void NameGeneratorScorecard::set_full_match(::google::protobuf::uint32 value) { - set_has_full_match(); - full_match_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_match) -} - -// optional uint32 partial_match = 3; -inline bool NameGeneratorScorecard::has_partial_match() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void NameGeneratorScorecard::set_has_partial_match() { - _has_bits_[0] |= 0x00000004u; -} -inline void NameGeneratorScorecard::clear_has_partial_match() { - _has_bits_[0] &= ~0x00000004u; -} -inline void NameGeneratorScorecard::clear_partial_match() { - partial_match_ = 0u; - clear_has_partial_match(); -} -inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_match() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match) - return partial_match_; -} -inline void NameGeneratorScorecard::set_partial_match(::google::protobuf::uint32 value) { - set_has_partial_match(); - partial_match_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match) -} - -// optional uint32 partial_fallback = 4; -inline bool NameGeneratorScorecard::has_partial_fallback() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void NameGeneratorScorecard::set_has_partial_fallback() { - _has_bits_[0] |= 0x00000008u; -} -inline void NameGeneratorScorecard::clear_has_partial_fallback() { - _has_bits_[0] &= ~0x00000008u; -} -inline void NameGeneratorScorecard::clear_partial_fallback() { - partial_fallback_ = 0u; - clear_has_partial_fallback(); -} -inline ::google::protobuf::uint32 NameGeneratorScorecard::partial_fallback() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback) - return partial_fallback_; -} -inline void NameGeneratorScorecard::set_partial_fallback(::google::protobuf::uint32 value) { - set_has_partial_fallback(); - partial_fallback_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback) -} - -// optional uint32 full_fallback = 5; -inline bool NameGeneratorScorecard::has_full_fallback() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void NameGeneratorScorecard::set_has_full_fallback() { - _has_bits_[0] |= 0x00000010u; -} -inline void NameGeneratorScorecard::clear_has_full_fallback() { - _has_bits_[0] &= ~0x00000010u; -} -inline void NameGeneratorScorecard::clear_full_fallback() { - full_fallback_ = 0u; - clear_has_full_fallback(); -} -inline ::google::protobuf::uint32 NameGeneratorScorecard::full_fallback() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback) - return full_fallback_; -} -inline void NameGeneratorScorecard::set_full_fallback(::google::protobuf::uint32 value) { - set_has_full_fallback(); - full_fallback_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback) -} - -// ------------------------------------------------------------------- - -// NameGenerator - -// repeated string names = 1; -inline int NameGenerator::names_size() const { - return names_.size(); -} -inline void NameGenerator::clear_names() { - names_.Clear(); -} -inline const ::std::string& NameGenerator::names(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.names) - return names_.Get(index); -} -inline ::std::string* NameGenerator::mutable_names(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.names) - return names_.Mutable(index); -} -inline void NameGenerator::set_names(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.names) - names_.Mutable(index)->assign(value); -} -inline void NameGenerator::set_names(int index, const char* value) { - names_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.names) -} -inline void NameGenerator::set_names(int index, const char* value, size_t size) { - names_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.names) -} -inline ::std::string* NameGenerator::add_names() { - return names_.Add(); -} -inline void NameGenerator::add_names(const ::std::string& value) { - names_.Add()->assign(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.names) -} -inline void NameGenerator::add_names(const char* value) { - names_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.names) -} -inline void NameGenerator::add_names(const char* value, size_t size) { - names_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.names) -} -inline const ::google::protobuf::RepeatedPtrField< ::std::string>& -NameGenerator::names() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.names) - return names_; -} -inline ::google::protobuf::RepeatedPtrField< ::std::string>* -NameGenerator::mutable_names() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.names) - return &names_; -} - -// repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2; -inline int NameGenerator::replacements_size() const { - return replacements_.size(); -} -inline void NameGenerator::clear_replacements() { - replacements_.Clear(); -} -inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& NameGenerator::replacements(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.replacements) - return replacements_.Get(index); -} -inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.replacements) - return replacements_.Mutable(index); -} -inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::add_replacements() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.replacements) - return replacements_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >& -NameGenerator::replacements() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.replacements) - return replacements_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >* -NameGenerator::mutable_replacements() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.replacements) - return &replacements_; -} - -// repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3; -inline int NameGenerator::club_types_size() const { - return club_types_.size(); -} -inline void NameGenerator::clear_club_types() { - club_types_.Clear(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& NameGenerator::club_types(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.club_types) - return club_types_.Get(index); -} -inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::mutable_club_types(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.club_types) - return club_types_.Mutable(index); -} -inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::add_club_types() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.club_types) - return club_types_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >& -NameGenerator::club_types() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.club_types) - return club_types_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >* -NameGenerator::mutable_club_types() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.club_types) - return &club_types_; -} - -// repeated string locales = 4; -inline int NameGenerator::locales_size() const { - return locales_.size(); -} -inline void NameGenerator::clear_locales() { - locales_.Clear(); -} -inline const ::std::string& NameGenerator::locales(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.locales) - return locales_.Get(index); -} -inline ::std::string* NameGenerator::mutable_locales(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.locales) - return locales_.Mutable(index); -} -inline void NameGenerator::set_locales(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.locales) - locales_.Mutable(index)->assign(value); -} -inline void NameGenerator::set_locales(int index, const char* value) { - locales_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.locales) -} -inline void NameGenerator::set_locales(int index, const char* value, size_t size) { - locales_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.locales) -} -inline ::std::string* NameGenerator::add_locales() { - return locales_.Add(); -} -inline void NameGenerator::add_locales(const ::std::string& value) { - locales_.Add()->assign(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.locales) -} -inline void NameGenerator::add_locales(const char* value) { - locales_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.locales) -} -inline void NameGenerator::add_locales(const char* value, size_t size) { - locales_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.locales) -} -inline const ::google::protobuf::RepeatedPtrField< ::std::string>& -NameGenerator::locales() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.locales) - return locales_; -} -inline ::google::protobuf::RepeatedPtrField< ::std::string>* -NameGenerator::mutable_locales() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.locales) - return &locales_; -} - -// ------------------------------------------------------------------- - -// NameGeneratorReplacement - -// optional string id = 1; -inline bool NameGeneratorReplacement::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void NameGeneratorReplacement::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void NameGeneratorReplacement::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void NameGeneratorReplacement::clear_id() { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_->clear(); - } - clear_has_id(); -} -inline const ::std::string& NameGeneratorReplacement::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.id) - return *id_; -} -inline void NameGeneratorReplacement::set_id(const ::std::string& value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.id) -} -inline void NameGeneratorReplacement::set_id(const char* value) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.id) -} -inline void NameGeneratorReplacement::set_id(const char* value, size_t size) { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.id) -} -inline ::std::string* NameGeneratorReplacement::mutable_id() { - set_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.id) - return id_; -} -inline ::std::string* NameGeneratorReplacement::release_id() { - clear_has_id(); - if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = id_; - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) { - if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete id_; - } - if (id) { - set_has_id(); - id_ = id; - } else { - clear_has_id(); - id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorReplacement.id) -} - -// repeated string options = 2; -inline int NameGeneratorReplacement::options_size() const { - return options_.size(); -} -inline void NameGeneratorReplacement::clear_options() { - options_.Clear(); -} -inline const ::std::string& NameGeneratorReplacement::options(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.options) - return options_.Get(index); -} -inline ::std::string* NameGeneratorReplacement::mutable_options(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.options) - return options_.Mutable(index); -} -inline void NameGeneratorReplacement::set_options(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.options) - options_.Mutable(index)->assign(value); -} -inline void NameGeneratorReplacement::set_options(int index, const char* value) { - options_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.options) -} -inline void NameGeneratorReplacement::set_options(int index, const char* value, size_t size) { - options_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options) -} -inline ::std::string* NameGeneratorReplacement::add_options() { - return options_.Add(); -} -inline void NameGeneratorReplacement::add_options(const ::std::string& value) { - options_.Add()->assign(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorReplacement.options) -} -inline void NameGeneratorReplacement::add_options(const char* value) { - options_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGeneratorReplacement.options) -} -inline void NameGeneratorReplacement::add_options(const char* value, size_t size) { - options_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options) -} -inline const ::google::protobuf::RepeatedPtrField< ::std::string>& -NameGeneratorReplacement::options() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorReplacement.options) - return options_; -} -inline ::google::protobuf::RepeatedPtrField< ::std::string>* -NameGeneratorReplacement::mutable_options() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorReplacement.options) - return &options_; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_notification.pb.cc b/src/server/proto/Client/club_notification.pb.cc deleted file mode 100644 index 181acd24dcc..00000000000 --- a/src/server/proto/Client/club_notification.pb.cc +++ /dev/null @@ -1,2404 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_notification.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_notification.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* SubscribeNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnsubscribeNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnsubscribeNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StateChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StateChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* SettingsChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SettingsChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberStateChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberStateChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscriberStateChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscriberStateChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* MemberRoleChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MemberRoleChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* InvitationAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - InvitationAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* InvitationRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - InvitationRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* SuggestionAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SuggestionAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* SuggestionRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SuggestionRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamStateChangedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamStateChangedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMessageAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMessageAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMessageUpdatedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamTypingIndicatorNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamUnreadIndicatorNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamAdvanceViewTimeNotification_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fnotification_2eproto() { - protobuf_AddDesc_club_5fnotification_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_notification.proto"); - GOOGLE_CHECK(file != NULL); - SubscribeNotification_descriptor_ = file->message_type(0); - static const int SubscribeNotification_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, club_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, view_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, settings_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, member_), - }; - SubscribeNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeNotification_descriptor_, - SubscribeNotification::default_instance_, - SubscribeNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeNotification)); - UnsubscribeNotification_descriptor_ = file->message_type(1); - static const int UnsubscribeNotification_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, club_id_), - }; - UnsubscribeNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnsubscribeNotification_descriptor_, - UnsubscribeNotification::default_instance_, - UnsubscribeNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnsubscribeNotification)); - StateChangedNotification_descriptor_ = file->message_type(2); - static const int StateChangedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, assignment_), - }; - StateChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StateChangedNotification_descriptor_, - StateChangedNotification::default_instance_, - StateChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StateChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StateChangedNotification)); - SettingsChangedNotification_descriptor_ = file->message_type(3); - static const int SettingsChangedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, assignment_), - }; - SettingsChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SettingsChangedNotification_descriptor_, - SettingsChangedNotification::default_instance_, - SettingsChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SettingsChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SettingsChangedNotification)); - MemberAddedNotification_descriptor_ = file->message_type(4); - static const int MemberAddedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, member_), - }; - MemberAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberAddedNotification_descriptor_, - MemberAddedNotification::default_instance_, - MemberAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberAddedNotification)); - MemberRemovedNotification_descriptor_ = file->message_type(5); - static const int MemberRemovedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, member_), - }; - MemberRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberRemovedNotification_descriptor_, - MemberRemovedNotification::default_instance_, - MemberRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberRemovedNotification)); - MemberStateChangedNotification_descriptor_ = file->message_type(6); - static const int MemberStateChangedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, assignment_), - }; - MemberStateChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberStateChangedNotification_descriptor_, - MemberStateChangedNotification::default_instance_, - MemberStateChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberStateChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberStateChangedNotification)); - SubscriberStateChangedNotification_descriptor_ = file->message_type(7); - static const int SubscriberStateChangedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, assignment_), - }; - SubscriberStateChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscriberStateChangedNotification_descriptor_, - SubscriberStateChangedNotification::default_instance_, - SubscriberStateChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscriberStateChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscriberStateChangedNotification)); - MemberRoleChangedNotification_descriptor_ = file->message_type(8); - static const int MemberRoleChangedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, assignment_), - }; - MemberRoleChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MemberRoleChangedNotification_descriptor_, - MemberRoleChangedNotification::default_instance_, - MemberRoleChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberRoleChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MemberRoleChangedNotification)); - InvitationAddedNotification_descriptor_ = file->message_type(9); - static const int InvitationAddedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, invitation_), - }; - InvitationAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - InvitationAddedNotification_descriptor_, - InvitationAddedNotification::default_instance_, - InvitationAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(InvitationAddedNotification)); - InvitationRemovedNotification_descriptor_ = file->message_type(10); - static const int InvitationRemovedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, invitation_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, reason_), - }; - InvitationRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - InvitationRemovedNotification_descriptor_, - InvitationRemovedNotification::default_instance_, - InvitationRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(InvitationRemovedNotification)); - SuggestionAddedNotification_descriptor_ = file->message_type(11); - static const int SuggestionAddedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, suggestion_), - }; - SuggestionAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SuggestionAddedNotification_descriptor_, - SuggestionAddedNotification::default_instance_, - SuggestionAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SuggestionAddedNotification)); - SuggestionRemovedNotification_descriptor_ = file->message_type(12); - static const int SuggestionRemovedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, suggestion_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, reason_), - }; - SuggestionRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SuggestionRemovedNotification_descriptor_, - SuggestionRemovedNotification::default_instance_, - SuggestionRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SuggestionRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SuggestionRemovedNotification)); - StreamAddedNotification_descriptor_ = file->message_type(13); - static const int StreamAddedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, stream_), - }; - StreamAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamAddedNotification_descriptor_, - StreamAddedNotification::default_instance_, - StreamAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamAddedNotification)); - StreamRemovedNotification_descriptor_ = file->message_type(14); - static const int StreamRemovedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, stream_id_), - }; - StreamRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamRemovedNotification_descriptor_, - StreamRemovedNotification::default_instance_, - StreamRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamRemovedNotification)); - StreamStateChangedNotification_descriptor_ = file->message_type(15); - static const int StreamStateChangedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, assignment_), - }; - StreamStateChangedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamStateChangedNotification_descriptor_, - StreamStateChangedNotification::default_instance_, - StreamStateChangedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateChangedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamStateChangedNotification)); - StreamMessageAddedNotification_descriptor_ = file->message_type(16); - static const int StreamMessageAddedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, message_), - }; - StreamMessageAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMessageAddedNotification_descriptor_, - StreamMessageAddedNotification::default_instance_, - StreamMessageAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMessageAddedNotification)); - StreamMessageUpdatedNotification_descriptor_ = file->message_type(17); - static const int StreamMessageUpdatedNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, message_), - }; - StreamMessageUpdatedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMessageUpdatedNotification_descriptor_, - StreamMessageUpdatedNotification::default_instance_, - StreamMessageUpdatedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessageUpdatedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMessageUpdatedNotification)); - StreamTypingIndicatorNotification_descriptor_ = file->message_type(18); - static const int StreamTypingIndicatorNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, indicator_), - }; - StreamTypingIndicatorNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamTypingIndicatorNotification_descriptor_, - StreamTypingIndicatorNotification::default_instance_, - StreamTypingIndicatorNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicatorNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamTypingIndicatorNotification)); - StreamUnreadIndicatorNotification_descriptor_ = file->message_type(19); - static const int StreamUnreadIndicatorNotification_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, event_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, message_), - }; - StreamUnreadIndicatorNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamUnreadIndicatorNotification_descriptor_, - StreamUnreadIndicatorNotification::default_instance_, - StreamUnreadIndicatorNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamUnreadIndicatorNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamUnreadIndicatorNotification)); - StreamAdvanceViewTimeNotification_descriptor_ = file->message_type(20); - static const int StreamAdvanceViewTimeNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, view_), - }; - StreamAdvanceViewTimeNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamAdvanceViewTimeNotification_descriptor_, - StreamAdvanceViewTimeNotification::default_instance_, - StreamAdvanceViewTimeNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTimeNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamAdvanceViewTimeNotification)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fnotification_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeNotification_descriptor_, &SubscribeNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnsubscribeNotification_descriptor_, &UnsubscribeNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StateChangedNotification_descriptor_, &StateChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SettingsChangedNotification_descriptor_, &SettingsChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberAddedNotification_descriptor_, &MemberAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberRemovedNotification_descriptor_, &MemberRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberStateChangedNotification_descriptor_, &MemberStateChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscriberStateChangedNotification_descriptor_, &SubscriberStateChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MemberRoleChangedNotification_descriptor_, &MemberRoleChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - InvitationAddedNotification_descriptor_, &InvitationAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - InvitationRemovedNotification_descriptor_, &InvitationRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SuggestionAddedNotification_descriptor_, &SuggestionAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SuggestionRemovedNotification_descriptor_, &SuggestionRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamAddedNotification_descriptor_, &StreamAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamRemovedNotification_descriptor_, &StreamRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamStateChangedNotification_descriptor_, &StreamStateChangedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMessageAddedNotification_descriptor_, &StreamMessageAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMessageUpdatedNotification_descriptor_, &StreamMessageUpdatedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamTypingIndicatorNotification_descriptor_, &StreamTypingIndicatorNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamUnreadIndicatorNotification_descriptor_, &StreamUnreadIndicatorNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamAdvanceViewTimeNotification_descriptor_, &StreamAdvanceViewTimeNotification::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fnotification_2eproto() { - delete SubscribeNotification::default_instance_; - delete SubscribeNotification_reflection_; - delete UnsubscribeNotification::default_instance_; - delete UnsubscribeNotification_reflection_; - delete StateChangedNotification::default_instance_; - delete StateChangedNotification_reflection_; - delete SettingsChangedNotification::default_instance_; - delete SettingsChangedNotification_reflection_; - delete MemberAddedNotification::default_instance_; - delete MemberAddedNotification_reflection_; - delete MemberRemovedNotification::default_instance_; - delete MemberRemovedNotification_reflection_; - delete MemberStateChangedNotification::default_instance_; - delete MemberStateChangedNotification_reflection_; - delete SubscriberStateChangedNotification::default_instance_; - delete SubscriberStateChangedNotification_reflection_; - delete MemberRoleChangedNotification::default_instance_; - delete MemberRoleChangedNotification_reflection_; - delete InvitationAddedNotification::default_instance_; - delete InvitationAddedNotification_reflection_; - delete InvitationRemovedNotification::default_instance_; - delete InvitationRemovedNotification_reflection_; - delete SuggestionAddedNotification::default_instance_; - delete SuggestionAddedNotification_reflection_; - delete SuggestionRemovedNotification::default_instance_; - delete SuggestionRemovedNotification_reflection_; - delete StreamAddedNotification::default_instance_; - delete StreamAddedNotification_reflection_; - delete StreamRemovedNotification::default_instance_; - delete StreamRemovedNotification_reflection_; - delete StreamStateChangedNotification::default_instance_; - delete StreamStateChangedNotification_reflection_; - delete StreamMessageAddedNotification::default_instance_; - delete StreamMessageAddedNotification_reflection_; - delete StreamMessageUpdatedNotification::default_instance_; - delete StreamMessageUpdatedNotification_reflection_; - delete StreamTypingIndicatorNotification::default_instance_; - delete StreamTypingIndicatorNotification_reflection_; - delete StreamUnreadIndicatorNotification::default_instance_; - delete StreamUnreadIndicatorNotification_reflection_; - delete StreamAdvanceViewTimeNotification::default_instance_; - delete StreamAdvanceViewTimeNotification_reflection_; -} - -void protobuf_AddDesc_club_5fnotification_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\027club_notification.proto\022\024bgs.protocol." - "club.v1\032\020club_types.proto\032\017rpc_types.pro" - "to\"\226\002\n\025SubscribeNotification\0220\n\010agent_id" - "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017" - "\n\007club_id\030\003 \001(\004\022(\n\004club\030\004 \001(\0132\032.bgs.prot" - "ocol.club.v1.Club\022,\n\004view\030\005 \001(\0132\036.bgs.pr" - "otocol.club.v1.ClubView\0224\n\010settings\030\n \001(" - "\0132\".bgs.protocol.club.v1.ClubSettings\022,\n" - "\006member\030\013 \001(\0132\034.bgs.protocol.club.v1.Mem" - "ber\"\\\n\027UnsubscribeNotification\0220\n\010agent_" - "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" - "\022\017\n\007club_id\030\003 \001(\004\"\234\001\n\030StateChangedNotifi" - "cation\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol." - "club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022=\n\nass" - "ignment\030\005 \001(\0132).bgs.protocol.club.v1.Clu" - "bStateAssignment\"\242\001\n\033SettingsChangedNoti" - "fication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022@\n\na" - "ssignment\030\004 \001(\0132,.bgs.protocol.club.v1.C" - "lubSettingsAssignment\"\212\001\n\027MemberAddedNot" - "ification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" - "ol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022,\n\006" - "member\030\004 \003(\0132\034.bgs.protocol.club.v1.Memb" - "er\"\235\001\n\031MemberRemovedNotification\0220\n\010agen" - "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" - "Id\022\017\n\007club_id\030\003 \001(\004\022=\n\006member\030\004 \003(\0132-.bg" - "s.protocol.club.v1.MemberRemovedAssignme" - "nt\"\244\001\n\036MemberStateChangedNotification\0220\n" - "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" - "emberId\022\017\n\007club_id\030\003 \001(\004\022\?\n\nassignment\030\004" - " \003(\0132+.bgs.protocol.club.v1.MemberStateA" - "ssignment\"\254\001\n\"SubscriberStateChangedNoti" - "fication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022C\n\na" - "ssignment\030\004 \003(\0132/.bgs.protocol.club.v1.S" - "ubscriberStateAssignment\"\234\001\n\035MemberRoleC" - "hangedNotification\0220\n\010agent_id\030\001 \001(\0132\036.b" - "gs.protocol.club.v1.MemberId\022\017\n\007club_id\030" - "\003 \001(\004\0228\n\nassignment\030\004 \003(\0132$.bgs.protocol" - ".club.v1.RoleAssignment\"\232\001\n\033InvitationAd" - "dedNotification\0220\n\010agent_id\030\001 \001(\0132\036.bgs." - "protocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001" - "(\004\0228\n\ninvitation\030\004 \001(\0132$.bgs.protocol.cl" - "ub.v1.ClubInvitation\"\260\001\n\035InvitationRemov" - "edNotification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p" - "rotocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(" - "\004\022\025\n\rinvitation_id\030\004 \001(\006\0225\n\006reason\030\005 \001(\016" - "2%.bgs.protocol.InvitationRemovedReason\"" - "\232\001\n\033SuggestionAddedNotification\0220\n\010agent" - "_id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberI" - "d\022\017\n\007club_id\030\003 \001(\004\0228\n\nsuggestion\030\004 \001(\0132$" - ".bgs.protocol.club.v1.ClubSuggestion\"\260\001\n" - "\035SuggestionRemovedNotification\0220\n\010agent_" - "id\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId" - "\022\017\n\007club_id\030\003 \001(\004\022\025\n\rsuggestion_id\030\004 \001(\006" - "\0225\n\006reason\030\005 \001(\0162%.bgs.protocol.Suggesti" - "onRemovedReason\"\212\001\n\027StreamAddedNotificat" - "ion\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" - "b.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022,\n\006stream" - "\030\004 \001(\0132\034.bgs.protocol.club.v1.Stream\"q\n\031" - "StreamRemovedNotification\0220\n\010agent_id\030\001 " - "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007c" - "lub_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\"\267\001\n\036Stre" - "amStateChangedNotification\0220\n\010agent_id\030\001" - " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\017\n\007" - "club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\022\?\n\nassi" - "gnment\030\005 \001(\0132+.bgs.protocol.club.v1.Stre" - "amStateAssignment\"\254\001\n\036StreamMessageAdded" - "Notification\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro" - "tocol.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022" - "\021\n\tstream_id\030\004 \001(\004\0224\n\007message\030\005 \001(\0132#.bg" - "s.protocol.club.v1.StreamMessage\"\256\001\n Str" - "eamMessageUpdatedNotification\0220\n\010agent_i" - "d\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022" - "\017\n\007club_id\030\003 \001(\004\022\021\n\tstream_id\030\004 \001(\004\0224\n\007m" - "essage\030\005 \001(\0132#.bgs.protocol.club.v1.Stre" - "amMessage\"\271\001\n!StreamTypingIndicatorNotif" - "ication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" - ".club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\022\021\n\tst" - "ream_id\030\004 \001(\004\022>\n\tindicator\030\005 \003(\0132+.bgs.p" - "rotocol.club.v1.StreamTypingIndicator\"\322\001" - "\n!StreamUnreadIndicatorNotification\0220\n\010a" - "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" - "berId\022\017\n\007club_id\030\003 \001(\004\0224\n\005event\030\004 \001(\0132%." - "bgs.protocol.club.v1.StreamEventTime\0224\n\007" - "message\030\005 \001(\0132#.bgs.protocol.club.v1.Str" - "eamMessage\"\241\001\n!StreamAdvanceViewTimeNoti" - "fication\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.MemberId\022\017\n\007club_id\030\003 \001(\004\0229\n\004v" - "iew\030\004 \003(\0132+.bgs.protocol.club.v1.StreamA" - "dvanceViewTimeB\002H\002P\000P\001", 3622); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_notification.proto", &protobuf_RegisterTypes); - SubscribeNotification::default_instance_ = new SubscribeNotification(); - UnsubscribeNotification::default_instance_ = new UnsubscribeNotification(); - StateChangedNotification::default_instance_ = new StateChangedNotification(); - SettingsChangedNotification::default_instance_ = new SettingsChangedNotification(); - MemberAddedNotification::default_instance_ = new MemberAddedNotification(); - MemberRemovedNotification::default_instance_ = new MemberRemovedNotification(); - MemberStateChangedNotification::default_instance_ = new MemberStateChangedNotification(); - SubscriberStateChangedNotification::default_instance_ = new SubscriberStateChangedNotification(); - MemberRoleChangedNotification::default_instance_ = new MemberRoleChangedNotification(); - InvitationAddedNotification::default_instance_ = new InvitationAddedNotification(); - InvitationRemovedNotification::default_instance_ = new InvitationRemovedNotification(); - SuggestionAddedNotification::default_instance_ = new SuggestionAddedNotification(); - SuggestionRemovedNotification::default_instance_ = new SuggestionRemovedNotification(); - StreamAddedNotification::default_instance_ = new StreamAddedNotification(); - StreamRemovedNotification::default_instance_ = new StreamRemovedNotification(); - StreamStateChangedNotification::default_instance_ = new StreamStateChangedNotification(); - StreamMessageAddedNotification::default_instance_ = new StreamMessageAddedNotification(); - StreamMessageUpdatedNotification::default_instance_ = new StreamMessageUpdatedNotification(); - StreamTypingIndicatorNotification::default_instance_ = new StreamTypingIndicatorNotification(); - StreamUnreadIndicatorNotification::default_instance_ = new StreamUnreadIndicatorNotification(); - StreamAdvanceViewTimeNotification::default_instance_ = new StreamAdvanceViewTimeNotification(); - SubscribeNotification::default_instance_->InitAsDefaultInstance(); - UnsubscribeNotification::default_instance_->InitAsDefaultInstance(); - StateChangedNotification::default_instance_->InitAsDefaultInstance(); - SettingsChangedNotification::default_instance_->InitAsDefaultInstance(); - MemberAddedNotification::default_instance_->InitAsDefaultInstance(); - MemberRemovedNotification::default_instance_->InitAsDefaultInstance(); - MemberStateChangedNotification::default_instance_->InitAsDefaultInstance(); - SubscriberStateChangedNotification::default_instance_->InitAsDefaultInstance(); - MemberRoleChangedNotification::default_instance_->InitAsDefaultInstance(); - InvitationAddedNotification::default_instance_->InitAsDefaultInstance(); - InvitationRemovedNotification::default_instance_->InitAsDefaultInstance(); - SuggestionAddedNotification::default_instance_->InitAsDefaultInstance(); - SuggestionRemovedNotification::default_instance_->InitAsDefaultInstance(); - StreamAddedNotification::default_instance_->InitAsDefaultInstance(); - StreamRemovedNotification::default_instance_->InitAsDefaultInstance(); - StreamStateChangedNotification::default_instance_->InitAsDefaultInstance(); - StreamMessageAddedNotification::default_instance_->InitAsDefaultInstance(); - StreamMessageUpdatedNotification::default_instance_->InitAsDefaultInstance(); - StreamTypingIndicatorNotification::default_instance_->InitAsDefaultInstance(); - StreamUnreadIndicatorNotification::default_instance_->InitAsDefaultInstance(); - StreamAdvanceViewTimeNotification::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fnotification_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fnotification_2eproto { - StaticDescriptorInitializer_club_5fnotification_2eproto() { - protobuf_AddDesc_club_5fnotification_2eproto(); - } -} static_descriptor_initializer_club_5fnotification_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeNotification::kAgentIdFieldNumber; -const int SubscribeNotification::kClubIdFieldNumber; -const int SubscribeNotification::kClubFieldNumber; -const int SubscribeNotification::kViewFieldNumber; -const int SubscribeNotification::kSettingsFieldNumber; -const int SubscribeNotification::kMemberFieldNumber; -#endif // !_MSC_VER - -SubscribeNotification::SubscribeNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeNotification) -} - -void SubscribeNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - club_ = const_cast< ::bgs::protocol::club::v1::Club*>(&::bgs::protocol::club::v1::Club::default_instance()); - view_ = const_cast< ::bgs::protocol::club::v1::ClubView*>(&::bgs::protocol::club::v1::ClubView::default_instance()); - settings_ = const_cast< ::bgs::protocol::club::v1::ClubSettings*>(&::bgs::protocol::club::v1::ClubSettings::default_instance()); - member_ = const_cast< ::bgs::protocol::club::v1::Member*>(&::bgs::protocol::club::v1::Member::default_instance()); -} - -SubscribeNotification::SubscribeNotification(const SubscribeNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscribeNotification) -} - -void SubscribeNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - club_ = NULL; - view_ = NULL; - settings_ = NULL; - member_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeNotification::~SubscribeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeNotification) - SharedDtor(); -} - -void SubscribeNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete club_; - delete view_; - delete settings_; - delete member_; - } -} - -void SubscribeNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeNotification_descriptor_; -} - -const SubscribeNotification& SubscribeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -SubscribeNotification* SubscribeNotification::default_instance_ = NULL; - -SubscribeNotification* SubscribeNotification::New() const { - return new SubscribeNotification; -} - -void SubscribeNotification::Swap(SubscribeNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeNotification_descriptor_; - metadata.reflection = SubscribeNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnsubscribeNotification::kAgentIdFieldNumber; -const int UnsubscribeNotification::kClubIdFieldNumber; -#endif // !_MSC_VER - -UnsubscribeNotification::UnsubscribeNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeNotification) -} - -void UnsubscribeNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -UnsubscribeNotification::UnsubscribeNotification(const UnsubscribeNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeNotification) -} - -void UnsubscribeNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnsubscribeNotification::~UnsubscribeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeNotification) - SharedDtor(); -} - -void UnsubscribeNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void UnsubscribeNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnsubscribeNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnsubscribeNotification_descriptor_; -} - -const UnsubscribeNotification& UnsubscribeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -UnsubscribeNotification* UnsubscribeNotification::default_instance_ = NULL; - -UnsubscribeNotification* UnsubscribeNotification::New() const { - return new UnsubscribeNotification; -} - -void UnsubscribeNotification::Swap(UnsubscribeNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnsubscribeNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnsubscribeNotification_descriptor_; - metadata.reflection = UnsubscribeNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StateChangedNotification::kAgentIdFieldNumber; -const int StateChangedNotification::kClubIdFieldNumber; -const int StateChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -StateChangedNotification::StateChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StateChangedNotification) -} - -void StateChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - assignment_ = const_cast< ::bgs::protocol::club::v1::ClubStateAssignment*>(&::bgs::protocol::club::v1::ClubStateAssignment::default_instance()); -} - -StateChangedNotification::StateChangedNotification(const StateChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StateChangedNotification) -} - -void StateChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - assignment_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StateChangedNotification::~StateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StateChangedNotification) - SharedDtor(); -} - -void StateChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete assignment_; - } -} - -void StateChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StateChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StateChangedNotification_descriptor_; -} - -const StateChangedNotification& StateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StateChangedNotification* StateChangedNotification::default_instance_ = NULL; - -StateChangedNotification* StateChangedNotification::New() const { - return new StateChangedNotification; -} - -void StateChangedNotification::Swap(StateChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StateChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StateChangedNotification_descriptor_; - metadata.reflection = StateChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SettingsChangedNotification::kAgentIdFieldNumber; -const int SettingsChangedNotification::kClubIdFieldNumber; -const int SettingsChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -SettingsChangedNotification::SettingsChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SettingsChangedNotification) -} - -void SettingsChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - assignment_ = const_cast< ::bgs::protocol::club::v1::ClubSettingsAssignment*>(&::bgs::protocol::club::v1::ClubSettingsAssignment::default_instance()); -} - -SettingsChangedNotification::SettingsChangedNotification(const SettingsChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SettingsChangedNotification) -} - -void SettingsChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - assignment_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SettingsChangedNotification::~SettingsChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SettingsChangedNotification) - SharedDtor(); -} - -void SettingsChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete assignment_; - } -} - -void SettingsChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SettingsChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SettingsChangedNotification_descriptor_; -} - -const SettingsChangedNotification& SettingsChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -SettingsChangedNotification* SettingsChangedNotification::default_instance_ = NULL; - -SettingsChangedNotification* SettingsChangedNotification::New() const { - return new SettingsChangedNotification; -} - -void SettingsChangedNotification::Swap(SettingsChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SettingsChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SettingsChangedNotification_descriptor_; - metadata.reflection = SettingsChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberAddedNotification::kAgentIdFieldNumber; -const int MemberAddedNotification::kClubIdFieldNumber; -const int MemberAddedNotification::kMemberFieldNumber; -#endif // !_MSC_VER - -MemberAddedNotification::MemberAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberAddedNotification) -} - -void MemberAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberAddedNotification::MemberAddedNotification(const MemberAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberAddedNotification) -} - -void MemberAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberAddedNotification::~MemberAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberAddedNotification) - SharedDtor(); -} - -void MemberAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void MemberAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberAddedNotification_descriptor_; -} - -const MemberAddedNotification& MemberAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -MemberAddedNotification* MemberAddedNotification::default_instance_ = NULL; - -MemberAddedNotification* MemberAddedNotification::New() const { - return new MemberAddedNotification; -} - -void MemberAddedNotification::Swap(MemberAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberAddedNotification_descriptor_; - metadata.reflection = MemberAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberRemovedNotification::kAgentIdFieldNumber; -const int MemberRemovedNotification::kClubIdFieldNumber; -const int MemberRemovedNotification::kMemberFieldNumber; -#endif // !_MSC_VER - -MemberRemovedNotification::MemberRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRemovedNotification) -} - -void MemberRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberRemovedNotification::MemberRemovedNotification(const MemberRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRemovedNotification) -} - -void MemberRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberRemovedNotification::~MemberRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRemovedNotification) - SharedDtor(); -} - -void MemberRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void MemberRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberRemovedNotification_descriptor_; -} - -const MemberRemovedNotification& MemberRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -MemberRemovedNotification* MemberRemovedNotification::default_instance_ = NULL; - -MemberRemovedNotification* MemberRemovedNotification::New() const { - return new MemberRemovedNotification; -} - -void MemberRemovedNotification::Swap(MemberRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberRemovedNotification_descriptor_; - metadata.reflection = MemberRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberStateChangedNotification::kAgentIdFieldNumber; -const int MemberStateChangedNotification::kClubIdFieldNumber; -const int MemberStateChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -MemberStateChangedNotification::MemberStateChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberStateChangedNotification) -} - -void MemberStateChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberStateChangedNotification::MemberStateChangedNotification(const MemberStateChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberStateChangedNotification) -} - -void MemberStateChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberStateChangedNotification::~MemberStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberStateChangedNotification) - SharedDtor(); -} - -void MemberStateChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void MemberStateChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberStateChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberStateChangedNotification_descriptor_; -} - -const MemberStateChangedNotification& MemberStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -MemberStateChangedNotification* MemberStateChangedNotification::default_instance_ = NULL; - -MemberStateChangedNotification* MemberStateChangedNotification::New() const { - return new MemberStateChangedNotification; -} - -void MemberStateChangedNotification::Swap(MemberStateChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberStateChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberStateChangedNotification_descriptor_; - metadata.reflection = MemberStateChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscriberStateChangedNotification::kAgentIdFieldNumber; -const int SubscriberStateChangedNotification::kClubIdFieldNumber; -const int SubscriberStateChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -SubscriberStateChangedNotification::SubscriberStateChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) -} - -void SubscriberStateChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SubscriberStateChangedNotification::SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) -} - -void SubscriberStateChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscriberStateChangedNotification::~SubscriberStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscriberStateChangedNotification) - SharedDtor(); -} - -void SubscriberStateChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SubscriberStateChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscriberStateChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscriberStateChangedNotification_descriptor_; -} - -const SubscriberStateChangedNotification& SubscriberStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -SubscriberStateChangedNotification* SubscriberStateChangedNotification::default_instance_ = NULL; - -SubscriberStateChangedNotification* SubscriberStateChangedNotification::New() const { - return new SubscriberStateChangedNotification; -} - -void SubscriberStateChangedNotification::Swap(SubscriberStateChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscriberStateChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscriberStateChangedNotification_descriptor_; - metadata.reflection = SubscriberStateChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MemberRoleChangedNotification::kAgentIdFieldNumber; -const int MemberRoleChangedNotification::kClubIdFieldNumber; -const int MemberRoleChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -MemberRoleChangedNotification::MemberRoleChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MemberRoleChangedNotification) -} - -void MemberRoleChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -MemberRoleChangedNotification::MemberRoleChangedNotification(const MemberRoleChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MemberRoleChangedNotification) -} - -void MemberRoleChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MemberRoleChangedNotification::~MemberRoleChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MemberRoleChangedNotification) - SharedDtor(); -} - -void MemberRoleChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void MemberRoleChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MemberRoleChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MemberRoleChangedNotification_descriptor_; -} - -const MemberRoleChangedNotification& MemberRoleChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -MemberRoleChangedNotification* MemberRoleChangedNotification::default_instance_ = NULL; - -MemberRoleChangedNotification* MemberRoleChangedNotification::New() const { - return new MemberRoleChangedNotification; -} - -void MemberRoleChangedNotification::Swap(MemberRoleChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MemberRoleChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MemberRoleChangedNotification_descriptor_; - metadata.reflection = MemberRoleChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int InvitationAddedNotification::kAgentIdFieldNumber; -const int InvitationAddedNotification::kClubIdFieldNumber; -const int InvitationAddedNotification::kInvitationFieldNumber; -#endif // !_MSC_VER - -InvitationAddedNotification::InvitationAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.InvitationAddedNotification) -} - -void InvitationAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - invitation_ = const_cast< ::bgs::protocol::club::v1::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::default_instance()); -} - -InvitationAddedNotification::InvitationAddedNotification(const InvitationAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.InvitationAddedNotification) -} - -void InvitationAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -InvitationAddedNotification::~InvitationAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.InvitationAddedNotification) - SharedDtor(); -} - -void InvitationAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete invitation_; - } -} - -void InvitationAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* InvitationAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return InvitationAddedNotification_descriptor_; -} - -const InvitationAddedNotification& InvitationAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -InvitationAddedNotification* InvitationAddedNotification::default_instance_ = NULL; - -InvitationAddedNotification* InvitationAddedNotification::New() const { - return new InvitationAddedNotification; -} - -void InvitationAddedNotification::Swap(InvitationAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata InvitationAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = InvitationAddedNotification_descriptor_; - metadata.reflection = InvitationAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int InvitationRemovedNotification::kAgentIdFieldNumber; -const int InvitationRemovedNotification::kClubIdFieldNumber; -const int InvitationRemovedNotification::kInvitationIdFieldNumber; -const int InvitationRemovedNotification::kReasonFieldNumber; -#endif // !_MSC_VER - -InvitationRemovedNotification::InvitationRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.InvitationRemovedNotification) -} - -void InvitationRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -InvitationRemovedNotification::InvitationRemovedNotification(const InvitationRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.InvitationRemovedNotification) -} - -void InvitationRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_id_ = GOOGLE_ULONGLONG(0); - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -InvitationRemovedNotification::~InvitationRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.InvitationRemovedNotification) - SharedDtor(); -} - -void InvitationRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void InvitationRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* InvitationRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return InvitationRemovedNotification_descriptor_; -} - -const InvitationRemovedNotification& InvitationRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -InvitationRemovedNotification* InvitationRemovedNotification::default_instance_ = NULL; - -InvitationRemovedNotification* InvitationRemovedNotification::New() const { - return new InvitationRemovedNotification; -} - -void InvitationRemovedNotification::Swap(InvitationRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata InvitationRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = InvitationRemovedNotification_descriptor_; - metadata.reflection = InvitationRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SuggestionAddedNotification::kAgentIdFieldNumber; -const int SuggestionAddedNotification::kClubIdFieldNumber; -const int SuggestionAddedNotification::kSuggestionFieldNumber; -#endif // !_MSC_VER - -SuggestionAddedNotification::SuggestionAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SuggestionAddedNotification) -} - -void SuggestionAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - suggestion_ = const_cast< ::bgs::protocol::club::v1::ClubSuggestion*>(&::bgs::protocol::club::v1::ClubSuggestion::default_instance()); -} - -SuggestionAddedNotification::SuggestionAddedNotification(const SuggestionAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SuggestionAddedNotification) -} - -void SuggestionAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - suggestion_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SuggestionAddedNotification::~SuggestionAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SuggestionAddedNotification) - SharedDtor(); -} - -void SuggestionAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete suggestion_; - } -} - -void SuggestionAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SuggestionAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SuggestionAddedNotification_descriptor_; -} - -const SuggestionAddedNotification& SuggestionAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -SuggestionAddedNotification* SuggestionAddedNotification::default_instance_ = NULL; - -SuggestionAddedNotification* SuggestionAddedNotification::New() const { - return new SuggestionAddedNotification; -} - -void SuggestionAddedNotification::Swap(SuggestionAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SuggestionAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SuggestionAddedNotification_descriptor_; - metadata.reflection = SuggestionAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SuggestionRemovedNotification::kAgentIdFieldNumber; -const int SuggestionRemovedNotification::kClubIdFieldNumber; -const int SuggestionRemovedNotification::kSuggestionIdFieldNumber; -const int SuggestionRemovedNotification::kReasonFieldNumber; -#endif // !_MSC_VER - -SuggestionRemovedNotification::SuggestionRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SuggestionRemovedNotification) -} - -void SuggestionRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SuggestionRemovedNotification::SuggestionRemovedNotification(const SuggestionRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SuggestionRemovedNotification) -} - -void SuggestionRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - suggestion_id_ = GOOGLE_ULONGLONG(0); - reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SuggestionRemovedNotification::~SuggestionRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SuggestionRemovedNotification) - SharedDtor(); -} - -void SuggestionRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SuggestionRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SuggestionRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SuggestionRemovedNotification_descriptor_; -} - -const SuggestionRemovedNotification& SuggestionRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -SuggestionRemovedNotification* SuggestionRemovedNotification::default_instance_ = NULL; - -SuggestionRemovedNotification* SuggestionRemovedNotification::New() const { - return new SuggestionRemovedNotification; -} - -void SuggestionRemovedNotification::Swap(SuggestionRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SuggestionRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SuggestionRemovedNotification_descriptor_; - metadata.reflection = SuggestionRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamAddedNotification::kAgentIdFieldNumber; -const int StreamAddedNotification::kClubIdFieldNumber; -const int StreamAddedNotification::kStreamFieldNumber; -#endif // !_MSC_VER - -StreamAddedNotification::StreamAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAddedNotification) -} - -void StreamAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - stream_ = const_cast< ::bgs::protocol::club::v1::Stream*>(&::bgs::protocol::club::v1::Stream::default_instance()); -} - -StreamAddedNotification::StreamAddedNotification(const StreamAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAddedNotification) -} - -void StreamAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamAddedNotification::~StreamAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAddedNotification) - SharedDtor(); -} - -void StreamAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete stream_; - } -} - -void StreamAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamAddedNotification_descriptor_; -} - -const StreamAddedNotification& StreamAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamAddedNotification* StreamAddedNotification::default_instance_ = NULL; - -StreamAddedNotification* StreamAddedNotification::New() const { - return new StreamAddedNotification; -} - -void StreamAddedNotification::Swap(StreamAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamAddedNotification_descriptor_; - metadata.reflection = StreamAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamRemovedNotification::kAgentIdFieldNumber; -const int StreamRemovedNotification::kClubIdFieldNumber; -const int StreamRemovedNotification::kStreamIdFieldNumber; -#endif // !_MSC_VER - -StreamRemovedNotification::StreamRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamRemovedNotification) -} - -void StreamRemovedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -StreamRemovedNotification::StreamRemovedNotification(const StreamRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamRemovedNotification) -} - -void StreamRemovedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamRemovedNotification::~StreamRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamRemovedNotification) - SharedDtor(); -} - -void StreamRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void StreamRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamRemovedNotification_descriptor_; -} - -const StreamRemovedNotification& StreamRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamRemovedNotification* StreamRemovedNotification::default_instance_ = NULL; - -StreamRemovedNotification* StreamRemovedNotification::New() const { - return new StreamRemovedNotification; -} - -void StreamRemovedNotification::Swap(StreamRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamRemovedNotification_descriptor_; - metadata.reflection = StreamRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamStateChangedNotification::kAgentIdFieldNumber; -const int StreamStateChangedNotification::kClubIdFieldNumber; -const int StreamStateChangedNotification::kStreamIdFieldNumber; -const int StreamStateChangedNotification::kAssignmentFieldNumber; -#endif // !_MSC_VER - -StreamStateChangedNotification::StreamStateChangedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateChangedNotification) -} - -void StreamStateChangedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - assignment_ = const_cast< ::bgs::protocol::club::v1::StreamStateAssignment*>(&::bgs::protocol::club::v1::StreamStateAssignment::default_instance()); -} - -StreamStateChangedNotification::StreamStateChangedNotification(const StreamStateChangedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamStateChangedNotification) -} - -void StreamStateChangedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - assignment_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamStateChangedNotification::~StreamStateChangedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateChangedNotification) - SharedDtor(); -} - -void StreamStateChangedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete assignment_; - } -} - -void StreamStateChangedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamStateChangedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamStateChangedNotification_descriptor_; -} - -const StreamStateChangedNotification& StreamStateChangedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamStateChangedNotification* StreamStateChangedNotification::default_instance_ = NULL; - -StreamStateChangedNotification* StreamStateChangedNotification::New() const { - return new StreamStateChangedNotification; -} - -void StreamStateChangedNotification::Swap(StreamStateChangedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamStateChangedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamStateChangedNotification_descriptor_; - metadata.reflection = StreamStateChangedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMessageAddedNotification::kAgentIdFieldNumber; -const int StreamMessageAddedNotification::kClubIdFieldNumber; -const int StreamMessageAddedNotification::kStreamIdFieldNumber; -const int StreamMessageAddedNotification::kMessageFieldNumber; -#endif // !_MSC_VER - -StreamMessageAddedNotification::StreamMessageAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMessageAddedNotification) -} - -void StreamMessageAddedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -StreamMessageAddedNotification::StreamMessageAddedNotification(const StreamMessageAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMessageAddedNotification) -} - -void StreamMessageAddedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMessageAddedNotification::~StreamMessageAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMessageAddedNotification) - SharedDtor(); -} - -void StreamMessageAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete message_; - } -} - -void StreamMessageAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMessageAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMessageAddedNotification_descriptor_; -} - -const StreamMessageAddedNotification& StreamMessageAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamMessageAddedNotification* StreamMessageAddedNotification::default_instance_ = NULL; - -StreamMessageAddedNotification* StreamMessageAddedNotification::New() const { - return new StreamMessageAddedNotification; -} - -void StreamMessageAddedNotification::Swap(StreamMessageAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMessageAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMessageAddedNotification_descriptor_; - metadata.reflection = StreamMessageAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMessageUpdatedNotification::kAgentIdFieldNumber; -const int StreamMessageUpdatedNotification::kClubIdFieldNumber; -const int StreamMessageUpdatedNotification::kStreamIdFieldNumber; -const int StreamMessageUpdatedNotification::kMessageFieldNumber; -#endif // !_MSC_VER - -StreamMessageUpdatedNotification::StreamMessageUpdatedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMessageUpdatedNotification) -} - -void StreamMessageUpdatedNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -StreamMessageUpdatedNotification::StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMessageUpdatedNotification) -} - -void StreamMessageUpdatedNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMessageUpdatedNotification::~StreamMessageUpdatedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMessageUpdatedNotification) - SharedDtor(); -} - -void StreamMessageUpdatedNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete message_; - } -} - -void StreamMessageUpdatedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMessageUpdatedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMessageUpdatedNotification_descriptor_; -} - -const StreamMessageUpdatedNotification& StreamMessageUpdatedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::default_instance_ = NULL; - -StreamMessageUpdatedNotification* StreamMessageUpdatedNotification::New() const { - return new StreamMessageUpdatedNotification; -} - -void StreamMessageUpdatedNotification::Swap(StreamMessageUpdatedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMessageUpdatedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMessageUpdatedNotification_descriptor_; - metadata.reflection = StreamMessageUpdatedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamTypingIndicatorNotification::kAgentIdFieldNumber; -const int StreamTypingIndicatorNotification::kClubIdFieldNumber; -const int StreamTypingIndicatorNotification::kStreamIdFieldNumber; -const int StreamTypingIndicatorNotification::kIndicatorFieldNumber; -#endif // !_MSC_VER - -StreamTypingIndicatorNotification::StreamTypingIndicatorNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) -} - -void StreamTypingIndicatorNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -StreamTypingIndicatorNotification::StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) -} - -void StreamTypingIndicatorNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamTypingIndicatorNotification::~StreamTypingIndicatorNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamTypingIndicatorNotification) - SharedDtor(); -} - -void StreamTypingIndicatorNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void StreamTypingIndicatorNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamTypingIndicatorNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamTypingIndicatorNotification_descriptor_; -} - -const StreamTypingIndicatorNotification& StreamTypingIndicatorNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::default_instance_ = NULL; - -StreamTypingIndicatorNotification* StreamTypingIndicatorNotification::New() const { - return new StreamTypingIndicatorNotification; -} - -void StreamTypingIndicatorNotification::Swap(StreamTypingIndicatorNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamTypingIndicatorNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamTypingIndicatorNotification_descriptor_; - metadata.reflection = StreamTypingIndicatorNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamUnreadIndicatorNotification::kAgentIdFieldNumber; -const int StreamUnreadIndicatorNotification::kClubIdFieldNumber; -const int StreamUnreadIndicatorNotification::kEventFieldNumber; -const int StreamUnreadIndicatorNotification::kMessageFieldNumber; -#endif // !_MSC_VER - -StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) -} - -void StreamUnreadIndicatorNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - event_ = const_cast< ::bgs::protocol::club::v1::StreamEventTime*>(&::bgs::protocol::club::v1::StreamEventTime::default_instance()); - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -StreamUnreadIndicatorNotification::StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) -} - -void StreamUnreadIndicatorNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - event_ = NULL; - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamUnreadIndicatorNotification::~StreamUnreadIndicatorNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) - SharedDtor(); -} - -void StreamUnreadIndicatorNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete event_; - delete message_; - } -} - -void StreamUnreadIndicatorNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamUnreadIndicatorNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamUnreadIndicatorNotification_descriptor_; -} - -const StreamUnreadIndicatorNotification& StreamUnreadIndicatorNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::default_instance_ = NULL; - -StreamUnreadIndicatorNotification* StreamUnreadIndicatorNotification::New() const { - return new StreamUnreadIndicatorNotification; -} - -void StreamUnreadIndicatorNotification::Swap(StreamUnreadIndicatorNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamUnreadIndicatorNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamUnreadIndicatorNotification_descriptor_; - metadata.reflection = StreamUnreadIndicatorNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamAdvanceViewTimeNotification::kAgentIdFieldNumber; -const int StreamAdvanceViewTimeNotification::kClubIdFieldNumber; -const int StreamAdvanceViewTimeNotification::kViewFieldNumber; -#endif // !_MSC_VER - -StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) -} - -void StreamAdvanceViewTimeNotification::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -StreamAdvanceViewTimeNotification::StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) -} - -void StreamAdvanceViewTimeNotification::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamAdvanceViewTimeNotification::~StreamAdvanceViewTimeNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) - SharedDtor(); -} - -void StreamAdvanceViewTimeNotification::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void StreamAdvanceViewTimeNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamAdvanceViewTimeNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamAdvanceViewTimeNotification_descriptor_; -} - -const StreamAdvanceViewTimeNotification& StreamAdvanceViewTimeNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fnotification_2eproto(); - return *default_instance_; -} - -StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::default_instance_ = NULL; - -StreamAdvanceViewTimeNotification* StreamAdvanceViewTimeNotification::New() const { - return new StreamAdvanceViewTimeNotification; -} - -void StreamAdvanceViewTimeNotification::Swap(StreamAdvanceViewTimeNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamAdvanceViewTimeNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamAdvanceViewTimeNotification_descriptor_; - metadata.reflection = StreamAdvanceViewTimeNotification_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_notification.pb.h b/src/server/proto/Client/club_notification.pb.h deleted file mode 100644 index c0a4fee213b..00000000000 --- a/src/server/proto/Client/club_notification.pb.h +++ /dev/null @@ -1,4522 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_notification.proto - -#ifndef PROTOBUF_club_5fnotification_2eproto__INCLUDED -#define PROTOBUF_club_5fnotification_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_types.pb.h" // IWYU pragma: export -#include "rpc_types.pb.h" // IWYU pragma: export -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); -void protobuf_AssignDesc_club_5fnotification_2eproto(); -void protobuf_ShutdownFile_club_5fnotification_2eproto(); - -class SubscribeNotification; -class UnsubscribeNotification; -class StateChangedNotification; -class SettingsChangedNotification; -class MemberAddedNotification; -class MemberRemovedNotification; -class MemberStateChangedNotification; -class SubscriberStateChangedNotification; -class MemberRoleChangedNotification; -class InvitationAddedNotification; -class InvitationRemovedNotification; -class SuggestionAddedNotification; -class SuggestionRemovedNotification; -class StreamAddedNotification; -class StreamRemovedNotification; -class StreamStateChangedNotification; -class StreamMessageAddedNotification; -class StreamMessageUpdatedNotification; -class StreamTypingIndicatorNotification; -class StreamUnreadIndicatorNotification; -class StreamAdvanceViewTimeNotification; - -// =================================================================== - -class TC_PROTO_API SubscribeNotification : public ::google::protobuf::Message { - public: - SubscribeNotification(); - virtual ~SubscribeNotification(); - - SubscribeNotification(const SubscribeNotification& from); - - inline SubscribeNotification& operator=(const SubscribeNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeNotification& default_instance(); - - void Swap(SubscribeNotification* other); - - // implements Message ---------------------------------------------- - - SubscribeNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.Club club = 4; - inline bool has_club() const; - inline void clear_club(); - static const int kClubFieldNumber = 4; - inline const ::bgs::protocol::club::v1::Club& club() const; - inline ::bgs::protocol::club::v1::Club* mutable_club(); - inline ::bgs::protocol::club::v1::Club* release_club(); - inline void set_allocated_club(::bgs::protocol::club::v1::Club* club); - - // optional .bgs.protocol.club.v1.ClubView view = 5; - inline bool has_view() const; - inline void clear_view(); - static const int kViewFieldNumber = 5; - inline const ::bgs::protocol::club::v1::ClubView& view() const; - inline ::bgs::protocol::club::v1::ClubView* mutable_view(); - inline ::bgs::protocol::club::v1::ClubView* release_view(); - inline void set_allocated_view(::bgs::protocol::club::v1::ClubView* view); - - // optional .bgs.protocol.club.v1.ClubSettings settings = 10; - inline bool has_settings() const; - inline void clear_settings(); - static const int kSettingsFieldNumber = 10; - inline const ::bgs::protocol::club::v1::ClubSettings& settings() const; - inline ::bgs::protocol::club::v1::ClubSettings* mutable_settings(); - inline ::bgs::protocol::club::v1::ClubSettings* release_settings(); - inline void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings); - - // optional .bgs.protocol.club.v1.Member member = 11; - inline bool has_member() const; - inline void clear_member(); - static const int kMemberFieldNumber = 11; - inline const ::bgs::protocol::club::v1::Member& member() const; - inline ::bgs::protocol::club::v1::Member* mutable_member(); - inline ::bgs::protocol::club::v1::Member* release_member(); - inline void set_allocated_member(::bgs::protocol::club::v1::Member* member); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscribeNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_club(); - inline void clear_has_club(); - inline void set_has_view(); - inline void clear_has_view(); - inline void set_has_settings(); - inline void clear_has_settings(); - inline void set_has_member(); - inline void clear_has_member(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::Club* club_; - ::bgs::protocol::club::v1::ClubView* view_; - ::bgs::protocol::club::v1::ClubSettings* settings_; - ::bgs::protocol::club::v1::Member* member_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnsubscribeNotification : public ::google::protobuf::Message { - public: - UnsubscribeNotification(); - virtual ~UnsubscribeNotification(); - - UnsubscribeNotification(const UnsubscribeNotification& from); - - inline UnsubscribeNotification& operator=(const UnsubscribeNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnsubscribeNotification& default_instance(); - - void Swap(UnsubscribeNotification* other); - - // implements Message ---------------------------------------------- - - UnsubscribeNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UnsubscribeNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static UnsubscribeNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StateChangedNotification : public ::google::protobuf::Message { - public: - StateChangedNotification(); - virtual ~StateChangedNotification(); - - StateChangedNotification(const StateChangedNotification& from); - - inline StateChangedNotification& operator=(const StateChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StateChangedNotification& default_instance(); - - void Swap(StateChangedNotification* other); - - // implements Message ---------------------------------------------- - - StateChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubStateAssignment assignment = 5; - inline bool has_assignment() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 5; - inline const ::bgs::protocol::club::v1::ClubStateAssignment& assignment() const; - inline ::bgs::protocol::club::v1::ClubStateAssignment* mutable_assignment(); - inline ::bgs::protocol::club::v1::ClubStateAssignment* release_assignment(); - inline void set_allocated_assignment(::bgs::protocol::club::v1::ClubStateAssignment* assignment); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StateChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_assignment(); - inline void clear_has_assignment(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubStateAssignment* assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StateChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SettingsChangedNotification : public ::google::protobuf::Message { - public: - SettingsChangedNotification(); - virtual ~SettingsChangedNotification(); - - SettingsChangedNotification(const SettingsChangedNotification& from); - - inline SettingsChangedNotification& operator=(const SettingsChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SettingsChangedNotification& default_instance(); - - void Swap(SettingsChangedNotification* other); - - // implements Message ---------------------------------------------- - - SettingsChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubSettingsAssignment assignment = 4; - inline bool has_assignment() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubSettingsAssignment& assignment() const; - inline ::bgs::protocol::club::v1::ClubSettingsAssignment* mutable_assignment(); - inline ::bgs::protocol::club::v1::ClubSettingsAssignment* release_assignment(); - inline void set_allocated_assignment(::bgs::protocol::club::v1::ClubSettingsAssignment* assignment); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SettingsChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_assignment(); - inline void clear_has_assignment(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubSettingsAssignment* assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static SettingsChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberAddedNotification : public ::google::protobuf::Message { - public: - MemberAddedNotification(); - virtual ~MemberAddedNotification(); - - MemberAddedNotification(const MemberAddedNotification& from); - - inline MemberAddedNotification& operator=(const MemberAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberAddedNotification& default_instance(); - - void Swap(MemberAddedNotification* other); - - // implements Message ---------------------------------------------- - - MemberAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.Member member = 4; - inline int member_size() const; - inline void clear_member(); - static const int kMemberFieldNumber = 4; - inline const ::bgs::protocol::club::v1::Member& member(int index) const; - inline ::bgs::protocol::club::v1::Member* mutable_member(int index); - inline ::bgs::protocol::club::v1::Member* add_member(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >& - member() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* - mutable_member(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member > member_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static MemberAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberRemovedNotification : public ::google::protobuf::Message { - public: - MemberRemovedNotification(); - virtual ~MemberRemovedNotification(); - - MemberRemovedNotification(const MemberRemovedNotification& from); - - inline MemberRemovedNotification& operator=(const MemberRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberRemovedNotification& default_instance(); - - void Swap(MemberRemovedNotification* other); - - // implements Message ---------------------------------------------- - - MemberRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.MemberRemovedAssignment member = 4; - inline int member_size() const; - inline void clear_member(); - static const int kMemberFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberRemovedAssignment& member(int index) const; - inline ::bgs::protocol::club::v1::MemberRemovedAssignment* mutable_member(int index); - inline ::bgs::protocol::club::v1::MemberRemovedAssignment* add_member(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment >& - member() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment >* - mutable_member(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment > member_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static MemberRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberStateChangedNotification : public ::google::protobuf::Message { - public: - MemberStateChangedNotification(); - virtual ~MemberStateChangedNotification(); - - MemberStateChangedNotification(const MemberStateChangedNotification& from); - - inline MemberStateChangedNotification& operator=(const MemberStateChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberStateChangedNotification& default_instance(); - - void Swap(MemberStateChangedNotification* other); - - // implements Message ---------------------------------------------- - - MemberStateChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.MemberStateAssignment assignment = 4; - inline int assignment_size() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberStateAssignment& assignment(int index) const; - inline ::bgs::protocol::club::v1::MemberStateAssignment* mutable_assignment(int index); - inline ::bgs::protocol::club::v1::MemberStateAssignment* add_assignment(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment >& - assignment() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment >* - mutable_assignment(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberStateChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment > assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static MemberStateChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscriberStateChangedNotification : public ::google::protobuf::Message { - public: - SubscriberStateChangedNotification(); - virtual ~SubscriberStateChangedNotification(); - - SubscriberStateChangedNotification(const SubscriberStateChangedNotification& from); - - inline SubscriberStateChangedNotification& operator=(const SubscriberStateChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscriberStateChangedNotification& default_instance(); - - void Swap(SubscriberStateChangedNotification* other); - - // implements Message ---------------------------------------------- - - SubscriberStateChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.SubscriberStateAssignment assignment = 4; - inline int assignment_size() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 4; - inline const ::bgs::protocol::club::v1::SubscriberStateAssignment& assignment(int index) const; - inline ::bgs::protocol::club::v1::SubscriberStateAssignment* mutable_assignment(int index); - inline ::bgs::protocol::club::v1::SubscriberStateAssignment* add_assignment(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment >& - assignment() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment >* - mutable_assignment(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscriberStateChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment > assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static SubscriberStateChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MemberRoleChangedNotification : public ::google::protobuf::Message { - public: - MemberRoleChangedNotification(); - virtual ~MemberRoleChangedNotification(); - - MemberRoleChangedNotification(const MemberRoleChangedNotification& from); - - inline MemberRoleChangedNotification& operator=(const MemberRoleChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MemberRoleChangedNotification& default_instance(); - - void Swap(MemberRoleChangedNotification* other); - - // implements Message ---------------------------------------------- - - MemberRoleChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.RoleAssignment assignment = 4; - inline int assignment_size() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 4; - inline const ::bgs::protocol::club::v1::RoleAssignment& assignment(int index) const; - inline ::bgs::protocol::club::v1::RoleAssignment* mutable_assignment(int index); - inline ::bgs::protocol::club::v1::RoleAssignment* add_assignment(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment >& - assignment() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment >* - mutable_assignment(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberRoleChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment > assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static MemberRoleChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API InvitationAddedNotification : public ::google::protobuf::Message { - public: - InvitationAddedNotification(); - virtual ~InvitationAddedNotification(); - - InvitationAddedNotification(const InvitationAddedNotification& from); - - inline InvitationAddedNotification& operator=(const InvitationAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const InvitationAddedNotification& default_instance(); - - void Swap(InvitationAddedNotification* other); - - // implements Message ---------------------------------------------- - - InvitationAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubInvitation invitation = 4; - inline bool has_invitation() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubInvitation& invitation() const; - inline ::bgs::protocol::club::v1::ClubInvitation* mutable_invitation(); - inline ::bgs::protocol::club::v1::ClubInvitation* release_invitation(); - inline void set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.InvitationAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation(); - inline void clear_has_invitation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubInvitation* invitation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static InvitationAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API InvitationRemovedNotification : public ::google::protobuf::Message { - public: - InvitationRemovedNotification(); - virtual ~InvitationRemovedNotification(); - - InvitationRemovedNotification(const InvitationRemovedNotification& from); - - inline InvitationRemovedNotification& operator=(const InvitationRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const InvitationRemovedNotification& default_instance(); - - void Swap(InvitationRemovedNotification* other); - - // implements Message ---------------------------------------------- - - InvitationRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 invitation_id = 4; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 4; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.InvitationRemovedReason reason = 5; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 5; - inline ::bgs::protocol::InvitationRemovedReason reason() const; - inline void set_reason(::bgs::protocol::InvitationRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.InvitationRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 invitation_id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static InvitationRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SuggestionAddedNotification : public ::google::protobuf::Message { - public: - SuggestionAddedNotification(); - virtual ~SuggestionAddedNotification(); - - SuggestionAddedNotification(const SuggestionAddedNotification& from); - - inline SuggestionAddedNotification& operator=(const SuggestionAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SuggestionAddedNotification& default_instance(); - - void Swap(SuggestionAddedNotification* other); - - // implements Message ---------------------------------------------- - - SuggestionAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 4; - inline bool has_suggestion() const; - inline void clear_suggestion(); - static const int kSuggestionFieldNumber = 4; - inline const ::bgs::protocol::club::v1::ClubSuggestion& suggestion() const; - inline ::bgs::protocol::club::v1::ClubSuggestion* mutable_suggestion(); - inline ::bgs::protocol::club::v1::ClubSuggestion* release_suggestion(); - inline void set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SuggestionAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggestion(); - inline void clear_has_suggestion(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubSuggestion* suggestion_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static SuggestionAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SuggestionRemovedNotification : public ::google::protobuf::Message { - public: - SuggestionRemovedNotification(); - virtual ~SuggestionRemovedNotification(); - - SuggestionRemovedNotification(const SuggestionRemovedNotification& from); - - inline SuggestionRemovedNotification& operator=(const SuggestionRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SuggestionRemovedNotification& default_instance(); - - void Swap(SuggestionRemovedNotification* other); - - // implements Message ---------------------------------------------- - - SuggestionRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 suggestion_id = 4; - inline bool has_suggestion_id() const; - inline void clear_suggestion_id(); - static const int kSuggestionIdFieldNumber = 4; - inline ::google::protobuf::uint64 suggestion_id() const; - inline void set_suggestion_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.SuggestionRemovedReason reason = 5; - inline bool has_reason() const; - inline void clear_reason(); - static const int kReasonFieldNumber = 5; - inline ::bgs::protocol::SuggestionRemovedReason reason() const; - inline void set_reason(::bgs::protocol::SuggestionRemovedReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SuggestionRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggestion_id(); - inline void clear_has_suggestion_id(); - inline void set_has_reason(); - inline void clear_has_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 suggestion_id_; - int reason_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static SuggestionRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamAddedNotification : public ::google::protobuf::Message { - public: - StreamAddedNotification(); - virtual ~StreamAddedNotification(); - - StreamAddedNotification(const StreamAddedNotification& from); - - inline StreamAddedNotification& operator=(const StreamAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamAddedNotification& default_instance(); - - void Swap(StreamAddedNotification* other); - - // implements Message ---------------------------------------------- - - StreamAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.Stream stream = 4; - inline bool has_stream() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 4; - inline const ::bgs::protocol::club::v1::Stream& stream() const; - inline ::bgs::protocol::club::v1::Stream* mutable_stream(); - inline ::bgs::protocol::club::v1::Stream* release_stream(); - inline void set_allocated_stream(::bgs::protocol::club::v1::Stream* stream); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream(); - inline void clear_has_stream(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::Stream* stream_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamRemovedNotification : public ::google::protobuf::Message { - public: - StreamRemovedNotification(); - virtual ~StreamRemovedNotification(); - - StreamRemovedNotification(const StreamRemovedNotification& from); - - inline StreamRemovedNotification& operator=(const StreamRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamRemovedNotification& default_instance(); - - void Swap(StreamRemovedNotification* other); - - // implements Message ---------------------------------------------- - - StreamRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 4; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamRemovedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamStateChangedNotification : public ::google::protobuf::Message { - public: - StreamStateChangedNotification(); - virtual ~StreamStateChangedNotification(); - - StreamStateChangedNotification(const StreamStateChangedNotification& from); - - inline StreamStateChangedNotification& operator=(const StreamStateChangedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamStateChangedNotification& default_instance(); - - void Swap(StreamStateChangedNotification* other); - - // implements Message ---------------------------------------------- - - StreamStateChangedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 4; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamStateAssignment assignment = 5; - inline bool has_assignment() const; - inline void clear_assignment(); - static const int kAssignmentFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamStateAssignment& assignment() const; - inline ::bgs::protocol::club::v1::StreamStateAssignment* mutable_assignment(); - inline ::bgs::protocol::club::v1::StreamStateAssignment* release_assignment(); - inline void set_allocated_assignment(::bgs::protocol::club::v1::StreamStateAssignment* assignment); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamStateChangedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_assignment(); - inline void clear_has_assignment(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::StreamStateAssignment* assignment_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamStateChangedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMessageAddedNotification : public ::google::protobuf::Message { - public: - StreamMessageAddedNotification(); - virtual ~StreamMessageAddedNotification(); - - StreamMessageAddedNotification(const StreamMessageAddedNotification& from); - - inline StreamMessageAddedNotification& operator=(const StreamMessageAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMessageAddedNotification& default_instance(); - - void Swap(StreamMessageAddedNotification* other); - - // implements Message ---------------------------------------------- - - StreamMessageAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 4; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamMessage message = 5; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMessageAddedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamMessageAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMessageUpdatedNotification : public ::google::protobuf::Message { - public: - StreamMessageUpdatedNotification(); - virtual ~StreamMessageUpdatedNotification(); - - StreamMessageUpdatedNotification(const StreamMessageUpdatedNotification& from); - - inline StreamMessageUpdatedNotification& operator=(const StreamMessageUpdatedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMessageUpdatedNotification& default_instance(); - - void Swap(StreamMessageUpdatedNotification* other); - - // implements Message ---------------------------------------------- - - StreamMessageUpdatedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 4; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamMessage message = 5; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMessageUpdatedNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamMessageUpdatedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamTypingIndicatorNotification : public ::google::protobuf::Message { - public: - StreamTypingIndicatorNotification(); - virtual ~StreamTypingIndicatorNotification(); - - StreamTypingIndicatorNotification(const StreamTypingIndicatorNotification& from); - - inline StreamTypingIndicatorNotification& operator=(const StreamTypingIndicatorNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamTypingIndicatorNotification& default_instance(); - - void Swap(StreamTypingIndicatorNotification* other); - - // implements Message ---------------------------------------------- - - StreamTypingIndicatorNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 4; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.StreamTypingIndicator indicator = 5; - inline int indicator_size() const; - inline void clear_indicator(); - static const int kIndicatorFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamTypingIndicator& indicator(int index) const; - inline ::bgs::protocol::club::v1::StreamTypingIndicator* mutable_indicator(int index); - inline ::bgs::protocol::club::v1::StreamTypingIndicator* add_indicator(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator >& - indicator() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator >* - mutable_indicator(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamTypingIndicatorNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator > indicator_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamTypingIndicatorNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamUnreadIndicatorNotification : public ::google::protobuf::Message { - public: - StreamUnreadIndicatorNotification(); - virtual ~StreamUnreadIndicatorNotification(); - - StreamUnreadIndicatorNotification(const StreamUnreadIndicatorNotification& from); - - inline StreamUnreadIndicatorNotification& operator=(const StreamUnreadIndicatorNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamUnreadIndicatorNotification& default_instance(); - - void Swap(StreamUnreadIndicatorNotification* other); - - // implements Message ---------------------------------------------- - - StreamUnreadIndicatorNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamEventTime event = 4; - inline bool has_event() const; - inline void clear_event(); - static const int kEventFieldNumber = 4; - inline const ::bgs::protocol::club::v1::StreamEventTime& event() const; - inline ::bgs::protocol::club::v1::StreamEventTime* mutable_event(); - inline ::bgs::protocol::club::v1::StreamEventTime* release_event(); - inline void set_allocated_event(::bgs::protocol::club::v1::StreamEventTime* event); - - // optional .bgs.protocol.club.v1.StreamMessage message = 5; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamUnreadIndicatorNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_event(); - inline void clear_has_event(); - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::StreamEventTime* event_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamUnreadIndicatorNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamAdvanceViewTimeNotification : public ::google::protobuf::Message { - public: - StreamAdvanceViewTimeNotification(); - virtual ~StreamAdvanceViewTimeNotification(); - - StreamAdvanceViewTimeNotification(const StreamAdvanceViewTimeNotification& from); - - inline StreamAdvanceViewTimeNotification& operator=(const StreamAdvanceViewTimeNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamAdvanceViewTimeNotification& default_instance(); - - void Swap(StreamAdvanceViewTimeNotification* other); - - // implements Message ---------------------------------------------- - - StreamAdvanceViewTimeNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 3; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 3; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.club.v1.StreamAdvanceViewTime view = 4; - inline int view_size() const; - inline void clear_view(); - static const int kViewFieldNumber = 4; - inline const ::bgs::protocol::club::v1::StreamAdvanceViewTime& view(int index) const; - inline ::bgs::protocol::club::v1::StreamAdvanceViewTime* mutable_view(int index); - inline ::bgs::protocol::club::v1::StreamAdvanceViewTime* add_view(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime >& - view() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime >* - mutable_view(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime > view_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fnotification_2eproto(); - friend void protobuf_AssignDesc_club_5fnotification_2eproto(); - friend void protobuf_ShutdownFile_club_5fnotification_2eproto(); - - void InitAsDefaultInstance(); - static StreamAdvanceViewTimeNotification* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// SubscribeNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SubscribeNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SubscribeNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool SubscribeNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscribeNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscribeNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscribeNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SubscribeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.club_id) - return club_id_; -} -inline void SubscribeNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscribeNotification.club_id) -} - -// optional .bgs.protocol.club.v1.Club club = 4; -inline bool SubscribeNotification::has_club() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SubscribeNotification::set_has_club() { - _has_bits_[0] |= 0x00000004u; -} -inline void SubscribeNotification::clear_has_club() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SubscribeNotification::clear_club() { - if (club_ != NULL) club_->::bgs::protocol::club::v1::Club::Clear(); - clear_has_club(); -} -inline const ::bgs::protocol::club::v1::Club& SubscribeNotification::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.club) - return club_ != NULL ? *club_ : *default_instance_->club_; -} -inline ::bgs::protocol::club::v1::Club* SubscribeNotification::mutable_club() { - set_has_club(); - if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::Club; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeNotification.club) - return club_; -} -inline ::bgs::protocol::club::v1::Club* SubscribeNotification::release_club() { - clear_has_club(); - ::bgs::protocol::club::v1::Club* temp = club_; - club_ = NULL; - return temp; -} -inline void SubscribeNotification::set_allocated_club(::bgs::protocol::club::v1::Club* club) { - delete club_; - club_ = club; - if (club) { - set_has_club(); - } else { - clear_has_club(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.club) -} - -// optional .bgs.protocol.club.v1.ClubView view = 5; -inline bool SubscribeNotification::has_view() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void SubscribeNotification::set_has_view() { - _has_bits_[0] |= 0x00000008u; -} -inline void SubscribeNotification::clear_has_view() { - _has_bits_[0] &= ~0x00000008u; -} -inline void SubscribeNotification::clear_view() { - if (view_ != NULL) view_->::bgs::protocol::club::v1::ClubView::Clear(); - clear_has_view(); -} -inline const ::bgs::protocol::club::v1::ClubView& SubscribeNotification::view() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.view) - return view_ != NULL ? *view_ : *default_instance_->view_; -} -inline ::bgs::protocol::club::v1::ClubView* SubscribeNotification::mutable_view() { - set_has_view(); - if (view_ == NULL) view_ = new ::bgs::protocol::club::v1::ClubView; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeNotification.view) - return view_; -} -inline ::bgs::protocol::club::v1::ClubView* SubscribeNotification::release_view() { - clear_has_view(); - ::bgs::protocol::club::v1::ClubView* temp = view_; - view_ = NULL; - return temp; -} -inline void SubscribeNotification::set_allocated_view(::bgs::protocol::club::v1::ClubView* view) { - delete view_; - view_ = view; - if (view) { - set_has_view(); - } else { - clear_has_view(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.view) -} - -// optional .bgs.protocol.club.v1.ClubSettings settings = 10; -inline bool SubscribeNotification::has_settings() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void SubscribeNotification::set_has_settings() { - _has_bits_[0] |= 0x00000010u; -} -inline void SubscribeNotification::clear_has_settings() { - _has_bits_[0] &= ~0x00000010u; -} -inline void SubscribeNotification::clear_settings() { - if (settings_ != NULL) settings_->::bgs::protocol::club::v1::ClubSettings::Clear(); - clear_has_settings(); -} -inline const ::bgs::protocol::club::v1::ClubSettings& SubscribeNotification::settings() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.settings) - return settings_ != NULL ? *settings_ : *default_instance_->settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* SubscribeNotification::mutable_settings() { - set_has_settings(); - if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::ClubSettings; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeNotification.settings) - return settings_; -} -inline ::bgs::protocol::club::v1::ClubSettings* SubscribeNotification::release_settings() { - clear_has_settings(); - ::bgs::protocol::club::v1::ClubSettings* temp = settings_; - settings_ = NULL; - return temp; -} -inline void SubscribeNotification::set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings) { - delete settings_; - settings_ = settings; - if (settings) { - set_has_settings(); - } else { - clear_has_settings(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.settings) -} - -// optional .bgs.protocol.club.v1.Member member = 11; -inline bool SubscribeNotification::has_member() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void SubscribeNotification::set_has_member() { - _has_bits_[0] |= 0x00000020u; -} -inline void SubscribeNotification::clear_has_member() { - _has_bits_[0] &= ~0x00000020u; -} -inline void SubscribeNotification::clear_member() { - if (member_ != NULL) member_->::bgs::protocol::club::v1::Member::Clear(); - clear_has_member(); -} -inline const ::bgs::protocol::club::v1::Member& SubscribeNotification::member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeNotification.member) - return member_ != NULL ? *member_ : *default_instance_->member_; -} -inline ::bgs::protocol::club::v1::Member* SubscribeNotification::mutable_member() { - set_has_member(); - if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::Member; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeNotification.member) - return member_; -} -inline ::bgs::protocol::club::v1::Member* SubscribeNotification::release_member() { - clear_has_member(); - ::bgs::protocol::club::v1::Member* temp = member_; - member_ = NULL; - return temp; -} -inline void SubscribeNotification::set_allocated_member(::bgs::protocol::club::v1::Member* member) { - delete member_; - member_ = member; - if (member) { - set_has_member(); - } else { - clear_has_member(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeNotification.member) -} - -// ------------------------------------------------------------------- - -// UnsubscribeNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UnsubscribeNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnsubscribeNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnsubscribeNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnsubscribeNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UnsubscribeNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnsubscribeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool UnsubscribeNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnsubscribeNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnsubscribeNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnsubscribeNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UnsubscribeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeNotification.club_id) - return club_id_; -} -inline void UnsubscribeNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UnsubscribeNotification.club_id) -} - -// ------------------------------------------------------------------- - -// StateChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StateChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StateChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StateChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StateChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StateChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StateChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StateChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StateChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StateChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StateChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StateChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StateChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StateChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StateChangedNotification.club_id) - return club_id_; -} -inline void StateChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StateChangedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.ClubStateAssignment assignment = 5; -inline bool StateChangedNotification::has_assignment() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StateChangedNotification::set_has_assignment() { - _has_bits_[0] |= 0x00000004u; -} -inline void StateChangedNotification::clear_has_assignment() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StateChangedNotification::clear_assignment() { - if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::ClubStateAssignment::Clear(); - clear_has_assignment(); -} -inline const ::bgs::protocol::club::v1::ClubStateAssignment& StateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StateChangedNotification.assignment) - return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; -} -inline ::bgs::protocol::club::v1::ClubStateAssignment* StateChangedNotification::mutable_assignment() { - set_has_assignment(); - if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::ClubStateAssignment; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StateChangedNotification.assignment) - return assignment_; -} -inline ::bgs::protocol::club::v1::ClubStateAssignment* StateChangedNotification::release_assignment() { - clear_has_assignment(); - ::bgs::protocol::club::v1::ClubStateAssignment* temp = assignment_; - assignment_ = NULL; - return temp; -} -inline void StateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubStateAssignment* assignment) { - delete assignment_; - assignment_ = assignment; - if (assignment) { - set_has_assignment(); - } else { - clear_has_assignment(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StateChangedNotification.assignment) -} - -// ------------------------------------------------------------------- - -// SettingsChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SettingsChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SettingsChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SettingsChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SettingsChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SettingsChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SettingsChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SettingsChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SettingsChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SettingsChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SettingsChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool SettingsChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SettingsChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SettingsChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SettingsChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SettingsChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SettingsChangedNotification.club_id) - return club_id_; -} -inline void SettingsChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SettingsChangedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.ClubSettingsAssignment assignment = 4; -inline bool SettingsChangedNotification::has_assignment() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SettingsChangedNotification::set_has_assignment() { - _has_bits_[0] |= 0x00000004u; -} -inline void SettingsChangedNotification::clear_has_assignment() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SettingsChangedNotification::clear_assignment() { - if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::ClubSettingsAssignment::Clear(); - clear_has_assignment(); -} -inline const ::bgs::protocol::club::v1::ClubSettingsAssignment& SettingsChangedNotification::assignment() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SettingsChangedNotification.assignment) - return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; -} -inline ::bgs::protocol::club::v1::ClubSettingsAssignment* SettingsChangedNotification::mutable_assignment() { - set_has_assignment(); - if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::ClubSettingsAssignment; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SettingsChangedNotification.assignment) - return assignment_; -} -inline ::bgs::protocol::club::v1::ClubSettingsAssignment* SettingsChangedNotification::release_assignment() { - clear_has_assignment(); - ::bgs::protocol::club::v1::ClubSettingsAssignment* temp = assignment_; - assignment_ = NULL; - return temp; -} -inline void SettingsChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::ClubSettingsAssignment* assignment) { - delete assignment_; - assignment_ = assignment; - if (assignment) { - set_has_assignment(); - } else { - clear_has_assignment(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SettingsChangedNotification.assignment) -} - -// ------------------------------------------------------------------- - -// MemberAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool MemberAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void MemberAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberAddedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool MemberAddedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberAddedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberAddedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberAddedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 MemberAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAddedNotification.club_id) - return club_id_; -} -inline void MemberAddedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberAddedNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.Member member = 4; -inline int MemberAddedNotification::member_size() const { - return member_.size(); -} -inline void MemberAddedNotification::clear_member() { - member_.Clear(); -} -inline const ::bgs::protocol::club::v1::Member& MemberAddedNotification::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberAddedNotification.member) - return member_.Get(index); -} -inline ::bgs::protocol::club::v1::Member* MemberAddedNotification::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberAddedNotification.member) - return member_.Mutable(index); -} -inline ::bgs::protocol::club::v1::Member* MemberAddedNotification::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberAddedNotification.member) - return member_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >& -MemberAddedNotification::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberAddedNotification.member) - return member_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* -MemberAddedNotification::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberAddedNotification.member) - return &member_; -} - -// ------------------------------------------------------------------- - -// MemberRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool MemberRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void MemberRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRemovedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool MemberRemovedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberRemovedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberRemovedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberRemovedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 MemberRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedNotification.club_id) - return club_id_; -} -inline void MemberRemovedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberRemovedNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.MemberRemovedAssignment member = 4; -inline int MemberRemovedNotification::member_size() const { - return member_.size(); -} -inline void MemberRemovedNotification::clear_member() { - member_.Clear(); -} -inline const ::bgs::protocol::club::v1::MemberRemovedAssignment& MemberRemovedNotification::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRemovedNotification.member) - return member_.Get(index); -} -inline ::bgs::protocol::club::v1::MemberRemovedAssignment* MemberRemovedNotification::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRemovedNotification.member) - return member_.Mutable(index); -} -inline ::bgs::protocol::club::v1::MemberRemovedAssignment* MemberRemovedNotification::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberRemovedNotification.member) - return member_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment >& -MemberRemovedNotification::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberRemovedNotification.member) - return member_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberRemovedAssignment >* -MemberRemovedNotification::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberRemovedNotification.member) - return &member_; -} - -// ------------------------------------------------------------------- - -// MemberStateChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool MemberStateChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberStateChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberStateChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberStateChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberStateChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberStateChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void MemberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberStateChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool MemberStateChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberStateChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberStateChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberStateChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 MemberStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateChangedNotification.club_id) - return club_id_; -} -inline void MemberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberStateChangedNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.MemberStateAssignment assignment = 4; -inline int MemberStateChangedNotification::assignment_size() const { - return assignment_.size(); -} -inline void MemberStateChangedNotification::clear_assignment() { - assignment_.Clear(); -} -inline const ::bgs::protocol::club::v1::MemberStateAssignment& MemberStateChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) - return assignment_.Get(index); -} -inline ::bgs::protocol::club::v1::MemberStateAssignment* MemberStateChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) - return assignment_.Mutable(index); -} -inline ::bgs::protocol::club::v1::MemberStateAssignment* MemberStateChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) - return assignment_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment >& -MemberStateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) - return assignment_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberStateAssignment >* -MemberStateChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberStateChangedNotification.assignment) - return &assignment_; -} - -// ------------------------------------------------------------------- - -// SubscriberStateChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SubscriberStateChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscriberStateChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscriberStateChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscriberStateChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SubscriberStateChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscriberStateChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscriberStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscriberStateChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool SubscriberStateChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscriberStateChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscriberStateChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscriberStateChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SubscriberStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateChangedNotification.club_id) - return club_id_; -} -inline void SubscriberStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscriberStateChangedNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.SubscriberStateAssignment assignment = 4; -inline int SubscriberStateChangedNotification::assignment_size() const { - return assignment_.size(); -} -inline void SubscriberStateChangedNotification::clear_assignment() { - assignment_.Clear(); -} -inline const ::bgs::protocol::club::v1::SubscriberStateAssignment& SubscriberStateChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) - return assignment_.Get(index); -} -inline ::bgs::protocol::club::v1::SubscriberStateAssignment* SubscriberStateChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) - return assignment_.Mutable(index); -} -inline ::bgs::protocol::club::v1::SubscriberStateAssignment* SubscriberStateChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) - return assignment_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment >& -SubscriberStateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) - return assignment_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::SubscriberStateAssignment >* -SubscriberStateChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.SubscriberStateChangedNotification.assignment) - return &assignment_; -} - -// ------------------------------------------------------------------- - -// MemberRoleChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool MemberRoleChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MemberRoleChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void MemberRoleChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MemberRoleChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& MemberRoleChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRoleChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRoleChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* MemberRoleChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void MemberRoleChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberRoleChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool MemberRoleChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MemberRoleChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void MemberRoleChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MemberRoleChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 MemberRoleChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRoleChangedNotification.club_id) - return club_id_; -} -inline void MemberRoleChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberRoleChangedNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.RoleAssignment assignment = 4; -inline int MemberRoleChangedNotification::assignment_size() const { - return assignment_.size(); -} -inline void MemberRoleChangedNotification::clear_assignment() { - assignment_.Clear(); -} -inline const ::bgs::protocol::club::v1::RoleAssignment& MemberRoleChangedNotification::assignment(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) - return assignment_.Get(index); -} -inline ::bgs::protocol::club::v1::RoleAssignment* MemberRoleChangedNotification::mutable_assignment(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) - return assignment_.Mutable(index); -} -inline ::bgs::protocol::club::v1::RoleAssignment* MemberRoleChangedNotification::add_assignment() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) - return assignment_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment >& -MemberRoleChangedNotification::assignment() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) - return assignment_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::RoleAssignment >* -MemberRoleChangedNotification::mutable_assignment() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MemberRoleChangedNotification.assignment) - return &assignment_; -} - -// ------------------------------------------------------------------- - -// InvitationAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool InvitationAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void InvitationAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void InvitationAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void InvitationAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& InvitationAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.InvitationAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* InvitationAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void InvitationAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationAddedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool InvitationAddedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void InvitationAddedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void InvitationAddedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void InvitationAddedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 InvitationAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationAddedNotification.club_id) - return club_id_; -} -inline void InvitationAddedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.InvitationAddedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 4; -inline bool InvitationAddedNotification::has_invitation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void InvitationAddedNotification::set_has_invitation() { - _has_bits_[0] |= 0x00000004u; -} -inline void InvitationAddedNotification::clear_has_invitation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void InvitationAddedNotification::clear_invitation() { - if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::ClubInvitation::Clear(); - clear_has_invitation(); -} -inline const ::bgs::protocol::club::v1::ClubInvitation& InvitationAddedNotification::invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationAddedNotification.invitation) - return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* InvitationAddedNotification::mutable_invitation() { - set_has_invitation(); - if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::ClubInvitation; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.InvitationAddedNotification.invitation) - return invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* InvitationAddedNotification::release_invitation() { - clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; - invitation_ = NULL; - return temp; -} -inline void InvitationAddedNotification::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { - delete invitation_; - invitation_ = invitation; - if (invitation) { - set_has_invitation(); - } else { - clear_has_invitation(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationAddedNotification.invitation) -} - -// ------------------------------------------------------------------- - -// InvitationRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool InvitationRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void InvitationRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void InvitationRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void InvitationRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& InvitationRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.InvitationRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* InvitationRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void InvitationRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.InvitationRemovedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool InvitationRemovedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void InvitationRemovedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void InvitationRemovedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void InvitationRemovedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 InvitationRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.club_id) - return club_id_; -} -inline void InvitationRemovedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.InvitationRemovedNotification.club_id) -} - -// optional fixed64 invitation_id = 4; -inline bool InvitationRemovedNotification::has_invitation_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void InvitationRemovedNotification::set_has_invitation_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void InvitationRemovedNotification::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void InvitationRemovedNotification::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 InvitationRemovedNotification::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.invitation_id) - return invitation_id_; -} -inline void InvitationRemovedNotification::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.InvitationRemovedNotification.invitation_id) -} - -// optional .bgs.protocol.InvitationRemovedReason reason = 5; -inline bool InvitationRemovedNotification::has_reason() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void InvitationRemovedNotification::set_has_reason() { - _has_bits_[0] |= 0x00000008u; -} -inline void InvitationRemovedNotification::clear_has_reason() { - _has_bits_[0] &= ~0x00000008u; -} -inline void InvitationRemovedNotification::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::InvitationRemovedReason InvitationRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.InvitationRemovedNotification.reason) - return static_cast< ::bgs::protocol::InvitationRemovedReason >(reason_); -} -inline void InvitationRemovedNotification::set_reason(::bgs::protocol::InvitationRemovedReason value) { - assert(::bgs::protocol::InvitationRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.InvitationRemovedNotification.reason) -} - -// ------------------------------------------------------------------- - -// SuggestionAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SuggestionAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SuggestionAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SuggestionAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SuggestionAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SuggestionAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SuggestionAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SuggestionAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SuggestionAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionAddedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool SuggestionAddedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SuggestionAddedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SuggestionAddedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SuggestionAddedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SuggestionAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionAddedNotification.club_id) - return club_id_; -} -inline void SuggestionAddedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SuggestionAddedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 4; -inline bool SuggestionAddedNotification::has_suggestion() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SuggestionAddedNotification::set_has_suggestion() { - _has_bits_[0] |= 0x00000004u; -} -inline void SuggestionAddedNotification::clear_has_suggestion() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SuggestionAddedNotification::clear_suggestion() { - if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::ClubSuggestion::Clear(); - clear_has_suggestion(); -} -inline const ::bgs::protocol::club::v1::ClubSuggestion& SuggestionAddedNotification::suggestion() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionAddedNotification.suggestion) - return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestion* SuggestionAddedNotification::mutable_suggestion() { - set_has_suggestion(); - if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::ClubSuggestion; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SuggestionAddedNotification.suggestion) - return suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestion* SuggestionAddedNotification::release_suggestion() { - clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestion* temp = suggestion_; - suggestion_ = NULL; - return temp; -} -inline void SuggestionAddedNotification::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion) { - delete suggestion_; - suggestion_ = suggestion; - if (suggestion) { - set_has_suggestion(); - } else { - clear_has_suggestion(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionAddedNotification.suggestion) -} - -// ------------------------------------------------------------------- - -// SuggestionRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SuggestionRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SuggestionRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SuggestionRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SuggestionRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SuggestionRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SuggestionRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SuggestionRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SuggestionRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SuggestionRemovedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool SuggestionRemovedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SuggestionRemovedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SuggestionRemovedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SuggestionRemovedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SuggestionRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.club_id) - return club_id_; -} -inline void SuggestionRemovedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SuggestionRemovedNotification.club_id) -} - -// optional fixed64 suggestion_id = 4; -inline bool SuggestionRemovedNotification::has_suggestion_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SuggestionRemovedNotification::set_has_suggestion_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void SuggestionRemovedNotification::clear_has_suggestion_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SuggestionRemovedNotification::clear_suggestion_id() { - suggestion_id_ = GOOGLE_ULONGLONG(0); - clear_has_suggestion_id(); -} -inline ::google::protobuf::uint64 SuggestionRemovedNotification::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.suggestion_id) - return suggestion_id_; -} -inline void SuggestionRemovedNotification::set_suggestion_id(::google::protobuf::uint64 value) { - set_has_suggestion_id(); - suggestion_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SuggestionRemovedNotification.suggestion_id) -} - -// optional .bgs.protocol.SuggestionRemovedReason reason = 5; -inline bool SuggestionRemovedNotification::has_reason() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void SuggestionRemovedNotification::set_has_reason() { - _has_bits_[0] |= 0x00000008u; -} -inline void SuggestionRemovedNotification::clear_has_reason() { - _has_bits_[0] &= ~0x00000008u; -} -inline void SuggestionRemovedNotification::clear_reason() { - reason_ = 0; - clear_has_reason(); -} -inline ::bgs::protocol::SuggestionRemovedReason SuggestionRemovedNotification::reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SuggestionRemovedNotification.reason) - return static_cast< ::bgs::protocol::SuggestionRemovedReason >(reason_); -} -inline void SuggestionRemovedNotification::set_reason(::bgs::protocol::SuggestionRemovedReason value) { - assert(::bgs::protocol::SuggestionRemovedReason_IsValid(value)); - set_has_reason(); - reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SuggestionRemovedNotification.reason) -} - -// ------------------------------------------------------------------- - -// StreamAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAddedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamAddedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamAddedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamAddedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamAddedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAddedNotification.club_id) - return club_id_; -} -inline void StreamAddedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAddedNotification.club_id) -} - -// optional .bgs.protocol.club.v1.Stream stream = 4; -inline bool StreamAddedNotification::has_stream() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamAddedNotification::set_has_stream() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamAddedNotification::clear_has_stream() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamAddedNotification::clear_stream() { - if (stream_ != NULL) stream_->::bgs::protocol::club::v1::Stream::Clear(); - clear_has_stream(); -} -inline const ::bgs::protocol::club::v1::Stream& StreamAddedNotification::stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAddedNotification.stream) - return stream_ != NULL ? *stream_ : *default_instance_->stream_; -} -inline ::bgs::protocol::club::v1::Stream* StreamAddedNotification::mutable_stream() { - set_has_stream(); - if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::Stream; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamAddedNotification.stream) - return stream_; -} -inline ::bgs::protocol::club::v1::Stream* StreamAddedNotification::release_stream() { - clear_has_stream(); - ::bgs::protocol::club::v1::Stream* temp = stream_; - stream_ = NULL; - return temp; -} -inline void StreamAddedNotification::set_allocated_stream(::bgs::protocol::club::v1::Stream* stream) { - delete stream_; - stream_ = stream; - if (stream) { - set_has_stream(); - } else { - clear_has_stream(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAddedNotification.stream) -} - -// ------------------------------------------------------------------- - -// StreamRemovedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamRemovedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamRemovedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamRemovedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamRemovedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamRemovedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamRemovedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamRemovedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamRemovedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamRemovedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamRemovedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamRemovedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamRemovedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamRemovedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamRemovedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamRemovedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamRemovedNotification.club_id) - return club_id_; -} -inline void StreamRemovedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamRemovedNotification.club_id) -} - -// optional uint64 stream_id = 4; -inline bool StreamRemovedNotification::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamRemovedNotification::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamRemovedNotification::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamRemovedNotification::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamRemovedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamRemovedNotification.stream_id) - return stream_id_; -} -inline void StreamRemovedNotification::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamRemovedNotification.stream_id) -} - -// ------------------------------------------------------------------- - -// StreamStateChangedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamStateChangedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamStateChangedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamStateChangedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamStateChangedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamStateChangedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateChangedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamStateChangedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamStateChangedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateChangedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamStateChangedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamStateChangedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamStateChangedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamStateChangedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamStateChangedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.club_id) - return club_id_; -} -inline void StreamStateChangedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateChangedNotification.club_id) -} - -// optional uint64 stream_id = 4; -inline bool StreamStateChangedNotification::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamStateChangedNotification::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamStateChangedNotification::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamStateChangedNotification::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamStateChangedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.stream_id) - return stream_id_; -} -inline void StreamStateChangedNotification::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateChangedNotification.stream_id) -} - -// optional .bgs.protocol.club.v1.StreamStateAssignment assignment = 5; -inline bool StreamStateChangedNotification::has_assignment() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamStateChangedNotification::set_has_assignment() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamStateChangedNotification::clear_has_assignment() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamStateChangedNotification::clear_assignment() { - if (assignment_ != NULL) assignment_->::bgs::protocol::club::v1::StreamStateAssignment::Clear(); - clear_has_assignment(); -} -inline const ::bgs::protocol::club::v1::StreamStateAssignment& StreamStateChangedNotification::assignment() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateChangedNotification.assignment) - return assignment_ != NULL ? *assignment_ : *default_instance_->assignment_; -} -inline ::bgs::protocol::club::v1::StreamStateAssignment* StreamStateChangedNotification::mutable_assignment() { - set_has_assignment(); - if (assignment_ == NULL) assignment_ = new ::bgs::protocol::club::v1::StreamStateAssignment; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateChangedNotification.assignment) - return assignment_; -} -inline ::bgs::protocol::club::v1::StreamStateAssignment* StreamStateChangedNotification::release_assignment() { - clear_has_assignment(); - ::bgs::protocol::club::v1::StreamStateAssignment* temp = assignment_; - assignment_ = NULL; - return temp; -} -inline void StreamStateChangedNotification::set_allocated_assignment(::bgs::protocol::club::v1::StreamStateAssignment* assignment) { - delete assignment_; - assignment_ = assignment; - if (assignment) { - set_has_assignment(); - } else { - clear_has_assignment(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateChangedNotification.assignment) -} - -// ------------------------------------------------------------------- - -// StreamMessageAddedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamMessageAddedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMessageAddedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMessageAddedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMessageAddedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamMessageAddedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessageAddedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMessageAddedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamMessageAddedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageAddedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamMessageAddedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMessageAddedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMessageAddedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMessageAddedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamMessageAddedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.club_id) - return club_id_; -} -inline void StreamMessageAddedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessageAddedNotification.club_id) -} - -// optional uint64 stream_id = 4; -inline bool StreamMessageAddedNotification::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamMessageAddedNotification::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamMessageAddedNotification::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamMessageAddedNotification::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamMessageAddedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.stream_id) - return stream_id_; -} -inline void StreamMessageAddedNotification::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessageAddedNotification.stream_id) -} - -// optional .bgs.protocol.club.v1.StreamMessage message = 5; -inline bool StreamMessageAddedNotification::has_message() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamMessageAddedNotification::set_has_message() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamMessageAddedNotification::clear_has_message() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamMessageAddedNotification::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& StreamMessageAddedNotification::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageAddedNotification.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMessageAddedNotification::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessageAddedNotification.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMessageAddedNotification::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void StreamMessageAddedNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageAddedNotification.message) -} - -// ------------------------------------------------------------------- - -// StreamMessageUpdatedNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamMessageUpdatedNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMessageUpdatedNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMessageUpdatedNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMessageUpdatedNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamMessageUpdatedNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessageUpdatedNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMessageUpdatedNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamMessageUpdatedNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageUpdatedNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamMessageUpdatedNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMessageUpdatedNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMessageUpdatedNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMessageUpdatedNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.club_id) - return club_id_; -} -inline void StreamMessageUpdatedNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessageUpdatedNotification.club_id) -} - -// optional uint64 stream_id = 4; -inline bool StreamMessageUpdatedNotification::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamMessageUpdatedNotification::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamMessageUpdatedNotification::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamMessageUpdatedNotification::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamMessageUpdatedNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.stream_id) - return stream_id_; -} -inline void StreamMessageUpdatedNotification::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessageUpdatedNotification.stream_id) -} - -// optional .bgs.protocol.club.v1.StreamMessage message = 5; -inline bool StreamMessageUpdatedNotification::has_message() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamMessageUpdatedNotification::set_has_message() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamMessageUpdatedNotification::clear_has_message() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamMessageUpdatedNotification::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& StreamMessageUpdatedNotification::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessageUpdatedNotification.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMessageUpdatedNotification::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessageUpdatedNotification.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMessageUpdatedNotification::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void StreamMessageUpdatedNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessageUpdatedNotification.message) -} - -// ------------------------------------------------------------------- - -// StreamTypingIndicatorNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamTypingIndicatorNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamTypingIndicatorNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamTypingIndicatorNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamTypingIndicatorNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicatorNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamTypingIndicatorNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicatorNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamTypingIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamTypingIndicatorNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamTypingIndicatorNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamTypingIndicatorNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamTypingIndicatorNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamTypingIndicatorNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.club_id) - return club_id_; -} -inline void StreamTypingIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicatorNotification.club_id) -} - -// optional uint64 stream_id = 4; -inline bool StreamTypingIndicatorNotification::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamTypingIndicatorNotification::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamTypingIndicatorNotification::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamTypingIndicatorNotification::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamTypingIndicatorNotification::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.stream_id) - return stream_id_; -} -inline void StreamTypingIndicatorNotification::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicatorNotification.stream_id) -} - -// repeated .bgs.protocol.club.v1.StreamTypingIndicator indicator = 5; -inline int StreamTypingIndicatorNotification::indicator_size() const { - return indicator_.size(); -} -inline void StreamTypingIndicatorNotification::clear_indicator() { - indicator_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamTypingIndicator& StreamTypingIndicatorNotification::indicator(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) - return indicator_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamTypingIndicator* StreamTypingIndicatorNotification::mutable_indicator(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) - return indicator_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamTypingIndicator* StreamTypingIndicatorNotification::add_indicator() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) - return indicator_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator >& -StreamTypingIndicatorNotification::indicator() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) - return indicator_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamTypingIndicator >* -StreamTypingIndicatorNotification::mutable_indicator() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamTypingIndicatorNotification.indicator) - return &indicator_; -} - -// ------------------------------------------------------------------- - -// StreamUnreadIndicatorNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamUnreadIndicatorNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamUnreadIndicatorNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamUnreadIndicatorNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamUnreadIndicatorNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamUnreadIndicatorNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamUnreadIndicatorNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamUnreadIndicatorNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamUnreadIndicatorNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamUnreadIndicatorNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamUnreadIndicatorNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamUnreadIndicatorNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamUnreadIndicatorNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.club_id) - return club_id_; -} -inline void StreamUnreadIndicatorNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.club_id) -} - -// optional .bgs.protocol.club.v1.StreamEventTime event = 4; -inline bool StreamUnreadIndicatorNotification::has_event() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamUnreadIndicatorNotification::set_has_event() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamUnreadIndicatorNotification::clear_has_event() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamUnreadIndicatorNotification::clear_event() { - if (event_ != NULL) event_->::bgs::protocol::club::v1::StreamEventTime::Clear(); - clear_has_event(); -} -inline const ::bgs::protocol::club::v1::StreamEventTime& StreamUnreadIndicatorNotification::event() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.event) - return event_ != NULL ? *event_ : *default_instance_->event_; -} -inline ::bgs::protocol::club::v1::StreamEventTime* StreamUnreadIndicatorNotification::mutable_event() { - set_has_event(); - if (event_ == NULL) event_ = new ::bgs::protocol::club::v1::StreamEventTime; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.event) - return event_; -} -inline ::bgs::protocol::club::v1::StreamEventTime* StreamUnreadIndicatorNotification::release_event() { - clear_has_event(); - ::bgs::protocol::club::v1::StreamEventTime* temp = event_; - event_ = NULL; - return temp; -} -inline void StreamUnreadIndicatorNotification::set_allocated_event(::bgs::protocol::club::v1::StreamEventTime* event) { - delete event_; - event_ = event; - if (event) { - set_has_event(); - } else { - clear_has_event(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.event) -} - -// optional .bgs.protocol.club.v1.StreamMessage message = 5; -inline bool StreamUnreadIndicatorNotification::has_message() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamUnreadIndicatorNotification::set_has_message() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamUnreadIndicatorNotification::clear_has_message() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamUnreadIndicatorNotification::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& StreamUnreadIndicatorNotification::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamUnreadIndicatorNotification::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamUnreadIndicatorNotification::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void StreamUnreadIndicatorNotification::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamUnreadIndicatorNotification.message) -} - -// ------------------------------------------------------------------- - -// StreamAdvanceViewTimeNotification - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool StreamAdvanceViewTimeNotification::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamAdvanceViewTimeNotification::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamAdvanceViewTimeNotification::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamAdvanceViewTimeNotification::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamAdvanceViewTimeNotification::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamAdvanceViewTimeNotification::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void StreamAdvanceViewTimeNotification::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.agent_id) -} - -// optional uint64 club_id = 3; -inline bool StreamAdvanceViewTimeNotification::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamAdvanceViewTimeNotification::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamAdvanceViewTimeNotification::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamAdvanceViewTimeNotification::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamAdvanceViewTimeNotification::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.club_id) - return club_id_; -} -inline void StreamAdvanceViewTimeNotification::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.club_id) -} - -// repeated .bgs.protocol.club.v1.StreamAdvanceViewTime view = 4; -inline int StreamAdvanceViewTimeNotification::view_size() const { - return view_.size(); -} -inline void StreamAdvanceViewTimeNotification::clear_view() { - view_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamAdvanceViewTime& StreamAdvanceViewTimeNotification::view(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) - return view_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::mutable_view(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) - return view_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamAdvanceViewTime* StreamAdvanceViewTimeNotification::add_view() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) - return view_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime >& -StreamAdvanceViewTimeNotification::view() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) - return view_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamAdvanceViewTime >* -StreamAdvanceViewTimeNotification::mutable_view() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamAdvanceViewTimeNotification.view) - return &view_; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fnotification_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_range_set.pb.cc b/src/server/proto/Client/club_range_set.pb.cc deleted file mode 100644 index c68add24403..00000000000 --- a/src/server/proto/Client/club_range_set.pb.cc +++ /dev/null @@ -1,884 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_range_set.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_range_set.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* ClubTypeRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubTypeRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubMemberRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubMemberRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubStreamRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubStreamRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubInvitationRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubInvitationRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubSuggestionRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubSuggestionRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubTicketRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubTicketRangeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubBanRangeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubBanRangeSet_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5frange_5fset_2eproto() { - protobuf_AddDesc_club_5frange_5fset_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_range_set.proto"); - GOOGLE_CHECK(file != NULL); - ClubTypeRangeSet_descriptor_ = file->message_type(0); - static const int ClubTypeRangeSet_offsets_[10] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, name_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, description_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, broadcast_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, short_name_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, suggestion_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ticket_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, ban_), - }; - ClubTypeRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubTypeRangeSet_descriptor_, - ClubTypeRangeSet::default_instance_, - ClubTypeRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTypeRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubTypeRangeSet)); - ClubMemberRangeSet_descriptor_ = file->message_type(1); - static const int ClubMemberRangeSet_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, voice_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, stream_subscriptions_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, note_range_), - }; - ClubMemberRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubMemberRangeSet_descriptor_, - ClubMemberRangeSet::default_instance_, - ClubMemberRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubMemberRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubMemberRangeSet)); - ClubStreamRangeSet_descriptor_ = file->message_type(2); - static const int ClubStreamRangeSet_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, name_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, subject_range_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, message_range_), - }; - ClubStreamRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubStreamRangeSet_descriptor_, - ClubStreamRangeSet::default_instance_, - ClubStreamRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubStreamRangeSet)); - ClubInvitationRangeSet_descriptor_ = file->message_type(3); - static const int ClubInvitationRangeSet_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, count_), - }; - ClubInvitationRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubInvitationRangeSet_descriptor_, - ClubInvitationRangeSet::default_instance_, - ClubInvitationRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubInvitationRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubInvitationRangeSet)); - ClubSuggestionRangeSet_descriptor_ = file->message_type(4); - static const int ClubSuggestionRangeSet_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, count_), - }; - ClubSuggestionRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubSuggestionRangeSet_descriptor_, - ClubSuggestionRangeSet::default_instance_, - ClubSuggestionRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubSuggestionRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubSuggestionRangeSet)); - ClubTicketRangeSet_descriptor_ = file->message_type(5); - static const int ClubTicketRangeSet_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, count_), - }; - ClubTicketRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubTicketRangeSet_descriptor_, - ClubTicketRangeSet::default_instance_, - ClubTicketRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubTicketRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubTicketRangeSet)); - ClubBanRangeSet_descriptor_ = file->message_type(6); - static const int ClubBanRangeSet_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, count_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, reason_range_), - }; - ClubBanRangeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubBanRangeSet_descriptor_, - ClubBanRangeSet::default_instance_, - ClubBanRangeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubBanRangeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubBanRangeSet)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frange_5fset_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubTypeRangeSet_descriptor_, &ClubTypeRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubMemberRangeSet_descriptor_, &ClubMemberRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubStreamRangeSet_descriptor_, &ClubStreamRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubInvitationRangeSet_descriptor_, &ClubInvitationRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubSuggestionRangeSet_descriptor_, &ClubSuggestionRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubTicketRangeSet_descriptor_, &ClubTicketRangeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubBanRangeSet_descriptor_, &ClubBanRangeSet::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5frange_5fset_2eproto() { - delete ClubTypeRangeSet::default_instance_; - delete ClubTypeRangeSet_reflection_; - delete ClubMemberRangeSet::default_instance_; - delete ClubMemberRangeSet_reflection_; - delete ClubStreamRangeSet::default_instance_; - delete ClubStreamRangeSet_reflection_; - delete ClubInvitationRangeSet::default_instance_; - delete ClubInvitationRangeSet_reflection_; - delete ClubSuggestionRangeSet::default_instance_; - delete ClubSuggestionRangeSet_reflection_; - delete ClubTicketRangeSet::default_instance_; - delete ClubTicketRangeSet_reflection_; - delete ClubBanRangeSet::default_instance_; - delete ClubBanRangeSet_reflection_; -} - -void protobuf_AddDesc_club_5frange_5fset_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2frange_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\024club_range_set.proto\022\024bgs.protocol.clu" - "b.v1\032\035global_extensions/range.proto\"\332\004\n\020" - "ClubTypeRangeSet\0222\n\nname_range\030\002 \001(\0132\036.b" - "gs.protocol.UnsignedIntRange\0229\n\021descript" - "ion_range\030\003 \001(\0132\036.bgs.protocol.UnsignedI" - "ntRange\0227\n\017broadcast_range\030\004 \001(\0132\036.bgs.p" - "rotocol.UnsignedIntRange\0228\n\020short_name_r" - "ange\030\007 \001(\0132\036.bgs.protocol.UnsignedIntRan" - "ge\0228\n\006member\030\031 \001(\0132(.bgs.protocol.club.v" - "1.ClubMemberRangeSet\0228\n\006stream\030\032 \001(\0132(.b" - "gs.protocol.club.v1.ClubStreamRangeSet\022@" - "\n\ninvitation\030\033 \001(\0132,.bgs.protocol.club.v" - "1.ClubInvitationRangeSet\022@\n\nsuggestion\030\034" - " \001(\0132,.bgs.protocol.club.v1.ClubSuggesti" - "onRangeSet\0228\n\006ticket\030\035 \001(\0132(.bgs.protoco" - "l.club.v1.ClubTicketRangeSet\0222\n\003ban\030\036 \001(" - "\0132%.bgs.protocol.club.v1.ClubBanRangeSet" - "\"\344\001\n\022ClubMemberRangeSet\022-\n\005count\030\001 \001(\0132\036" - ".bgs.protocol.UnsignedIntRange\022-\n\005voice\030" - "\003 \001(\0132\036.bgs.protocol.UnsignedIntRange\022<\n" - "\024stream_subscriptions\030\005 \001(\0132\036.bgs.protoc" - "ol.UnsignedIntRange\0222\n\nnote_range\030\007 \001(\0132" - "\036.bgs.protocol.UnsignedIntRange\"\345\001\n\022Club" - "StreamRangeSet\022-\n\005count\030\001 \001(\0132\036.bgs.prot" - "ocol.UnsignedIntRange\0222\n\nname_range\030\003 \001(" - "\0132\036.bgs.protocol.UnsignedIntRange\0225\n\rsub" - "ject_range\030\004 \001(\0132\036.bgs.protocol.Unsigned" - "IntRange\0225\n\rmessage_range\030\005 \001(\0132\036.bgs.pr" - "otocol.UnsignedIntRange\"G\n\026ClubInvitatio" - "nRangeSet\022-\n\005count\030\001 \001(\0132\036.bgs.protocol." - "UnsignedIntRange\"G\n\026ClubSuggestionRangeS" - "et\022-\n\005count\030\001 \001(\0132\036.bgs.protocol.Unsigne" - "dIntRange\"C\n\022ClubTicketRangeSet\022-\n\005count" - "\030\001 \001(\0132\036.bgs.protocol.UnsignedIntRange\"v" - "\n\017ClubBanRangeSet\022-\n\005count\030\001 \001(\0132\036.bgs.p" - "rotocol.UnsignedIntRange\0224\n\014reason_range" - "\030\003 \001(\0132\036.bgs.protocol.UnsignedIntRangeB\002" - "H\002", 1482); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_range_set.proto", &protobuf_RegisterTypes); - ClubTypeRangeSet::default_instance_ = new ClubTypeRangeSet(); - ClubMemberRangeSet::default_instance_ = new ClubMemberRangeSet(); - ClubStreamRangeSet::default_instance_ = new ClubStreamRangeSet(); - ClubInvitationRangeSet::default_instance_ = new ClubInvitationRangeSet(); - ClubSuggestionRangeSet::default_instance_ = new ClubSuggestionRangeSet(); - ClubTicketRangeSet::default_instance_ = new ClubTicketRangeSet(); - ClubBanRangeSet::default_instance_ = new ClubBanRangeSet(); - ClubTypeRangeSet::default_instance_->InitAsDefaultInstance(); - ClubMemberRangeSet::default_instance_->InitAsDefaultInstance(); - ClubStreamRangeSet::default_instance_->InitAsDefaultInstance(); - ClubInvitationRangeSet::default_instance_->InitAsDefaultInstance(); - ClubSuggestionRangeSet::default_instance_->InitAsDefaultInstance(); - ClubTicketRangeSet::default_instance_->InitAsDefaultInstance(); - ClubBanRangeSet::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5frange_5fset_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5frange_5fset_2eproto { - StaticDescriptorInitializer_club_5frange_5fset_2eproto() { - protobuf_AddDesc_club_5frange_5fset_2eproto(); - } -} static_descriptor_initializer_club_5frange_5fset_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ClubTypeRangeSet::kNameRangeFieldNumber; -const int ClubTypeRangeSet::kDescriptionRangeFieldNumber; -const int ClubTypeRangeSet::kBroadcastRangeFieldNumber; -const int ClubTypeRangeSet::kShortNameRangeFieldNumber; -const int ClubTypeRangeSet::kMemberFieldNumber; -const int ClubTypeRangeSet::kStreamFieldNumber; -const int ClubTypeRangeSet::kInvitationFieldNumber; -const int ClubTypeRangeSet::kSuggestionFieldNumber; -const int ClubTypeRangeSet::kTicketFieldNumber; -const int ClubTypeRangeSet::kBanFieldNumber; -#endif // !_MSC_VER - -ClubTypeRangeSet::ClubTypeRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTypeRangeSet) -} - -void ClubTypeRangeSet::InitAsDefaultInstance() { - name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - description_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - broadcast_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - short_name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - member_ = const_cast< ::bgs::protocol::club::v1::ClubMemberRangeSet*>(&::bgs::protocol::club::v1::ClubMemberRangeSet::default_instance()); - stream_ = const_cast< ::bgs::protocol::club::v1::ClubStreamRangeSet*>(&::bgs::protocol::club::v1::ClubStreamRangeSet::default_instance()); - invitation_ = const_cast< ::bgs::protocol::club::v1::ClubInvitationRangeSet*>(&::bgs::protocol::club::v1::ClubInvitationRangeSet::default_instance()); - suggestion_ = const_cast< ::bgs::protocol::club::v1::ClubSuggestionRangeSet*>(&::bgs::protocol::club::v1::ClubSuggestionRangeSet::default_instance()); - ticket_ = const_cast< ::bgs::protocol::club::v1::ClubTicketRangeSet*>(&::bgs::protocol::club::v1::ClubTicketRangeSet::default_instance()); - ban_ = const_cast< ::bgs::protocol::club::v1::ClubBanRangeSet*>(&::bgs::protocol::club::v1::ClubBanRangeSet::default_instance()); -} - -ClubTypeRangeSet::ClubTypeRangeSet(const ClubTypeRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubTypeRangeSet) -} - -void ClubTypeRangeSet::SharedCtor() { - _cached_size_ = 0; - name_range_ = NULL; - description_range_ = NULL; - broadcast_range_ = NULL; - short_name_range_ = NULL; - member_ = NULL; - stream_ = NULL; - invitation_ = NULL; - suggestion_ = NULL; - ticket_ = NULL; - ban_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubTypeRangeSet::~ClubTypeRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTypeRangeSet) - SharedDtor(); -} - -void ClubTypeRangeSet::SharedDtor() { - if (this != default_instance_) { - delete name_range_; - delete description_range_; - delete broadcast_range_; - delete short_name_range_; - delete member_; - delete stream_; - delete invitation_; - delete suggestion_; - delete ticket_; - delete ban_; - } -} - -void ClubTypeRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubTypeRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubTypeRangeSet_descriptor_; -} - -const ClubTypeRangeSet& ClubTypeRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubTypeRangeSet* ClubTypeRangeSet::default_instance_ = NULL; - -ClubTypeRangeSet* ClubTypeRangeSet::New() const { - return new ClubTypeRangeSet; -} - -void ClubTypeRangeSet::Swap(ClubTypeRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubTypeRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubTypeRangeSet_descriptor_; - metadata.reflection = ClubTypeRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubMemberRangeSet::kCountFieldNumber; -const int ClubMemberRangeSet::kVoiceFieldNumber; -const int ClubMemberRangeSet::kStreamSubscriptionsFieldNumber; -const int ClubMemberRangeSet::kNoteRangeFieldNumber; -#endif // !_MSC_VER - -ClubMemberRangeSet::ClubMemberRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubMemberRangeSet) -} - -void ClubMemberRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - voice_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - stream_subscriptions_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - note_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubMemberRangeSet::ClubMemberRangeSet(const ClubMemberRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubMemberRangeSet) -} - -void ClubMemberRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - voice_ = NULL; - stream_subscriptions_ = NULL; - note_range_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubMemberRangeSet::~ClubMemberRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubMemberRangeSet) - SharedDtor(); -} - -void ClubMemberRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - delete voice_; - delete stream_subscriptions_; - delete note_range_; - } -} - -void ClubMemberRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubMemberRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubMemberRangeSet_descriptor_; -} - -const ClubMemberRangeSet& ClubMemberRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubMemberRangeSet* ClubMemberRangeSet::default_instance_ = NULL; - -ClubMemberRangeSet* ClubMemberRangeSet::New() const { - return new ClubMemberRangeSet; -} - -void ClubMemberRangeSet::Swap(ClubMemberRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubMemberRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubMemberRangeSet_descriptor_; - metadata.reflection = ClubMemberRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubStreamRangeSet::kCountFieldNumber; -const int ClubStreamRangeSet::kNameRangeFieldNumber; -const int ClubStreamRangeSet::kSubjectRangeFieldNumber; -const int ClubStreamRangeSet::kMessageRangeFieldNumber; -#endif // !_MSC_VER - -ClubStreamRangeSet::ClubStreamRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStreamRangeSet) -} - -void ClubStreamRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - name_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - subject_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - message_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubStreamRangeSet::ClubStreamRangeSet(const ClubStreamRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStreamRangeSet) -} - -void ClubStreamRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - name_range_ = NULL; - subject_range_ = NULL; - message_range_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubStreamRangeSet::~ClubStreamRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStreamRangeSet) - SharedDtor(); -} - -void ClubStreamRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - delete name_range_; - delete subject_range_; - delete message_range_; - } -} - -void ClubStreamRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubStreamRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubStreamRangeSet_descriptor_; -} - -const ClubStreamRangeSet& ClubStreamRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubStreamRangeSet* ClubStreamRangeSet::default_instance_ = NULL; - -ClubStreamRangeSet* ClubStreamRangeSet::New() const { - return new ClubStreamRangeSet; -} - -void ClubStreamRangeSet::Swap(ClubStreamRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubStreamRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubStreamRangeSet_descriptor_; - metadata.reflection = ClubStreamRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubInvitationRangeSet::kCountFieldNumber; -#endif // !_MSC_VER - -ClubInvitationRangeSet::ClubInvitationRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubInvitationRangeSet) -} - -void ClubInvitationRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubInvitationRangeSet::ClubInvitationRangeSet(const ClubInvitationRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubInvitationRangeSet) -} - -void ClubInvitationRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubInvitationRangeSet::~ClubInvitationRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubInvitationRangeSet) - SharedDtor(); -} - -void ClubInvitationRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - } -} - -void ClubInvitationRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubInvitationRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubInvitationRangeSet_descriptor_; -} - -const ClubInvitationRangeSet& ClubInvitationRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubInvitationRangeSet* ClubInvitationRangeSet::default_instance_ = NULL; - -ClubInvitationRangeSet* ClubInvitationRangeSet::New() const { - return new ClubInvitationRangeSet; -} - -void ClubInvitationRangeSet::Swap(ClubInvitationRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubInvitationRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubInvitationRangeSet_descriptor_; - metadata.reflection = ClubInvitationRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubSuggestionRangeSet::kCountFieldNumber; -#endif // !_MSC_VER - -ClubSuggestionRangeSet::ClubSuggestionRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) -} - -void ClubSuggestionRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubSuggestionRangeSet::ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) -} - -void ClubSuggestionRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubSuggestionRangeSet::~ClubSuggestionRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubSuggestionRangeSet) - SharedDtor(); -} - -void ClubSuggestionRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - } -} - -void ClubSuggestionRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubSuggestionRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubSuggestionRangeSet_descriptor_; -} - -const ClubSuggestionRangeSet& ClubSuggestionRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubSuggestionRangeSet* ClubSuggestionRangeSet::default_instance_ = NULL; - -ClubSuggestionRangeSet* ClubSuggestionRangeSet::New() const { - return new ClubSuggestionRangeSet; -} - -void ClubSuggestionRangeSet::Swap(ClubSuggestionRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubSuggestionRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubSuggestionRangeSet_descriptor_; - metadata.reflection = ClubSuggestionRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubTicketRangeSet::kCountFieldNumber; -#endif // !_MSC_VER - -ClubTicketRangeSet::ClubTicketRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubTicketRangeSet) -} - -void ClubTicketRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubTicketRangeSet::ClubTicketRangeSet(const ClubTicketRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubTicketRangeSet) -} - -void ClubTicketRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubTicketRangeSet::~ClubTicketRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubTicketRangeSet) - SharedDtor(); -} - -void ClubTicketRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - } -} - -void ClubTicketRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubTicketRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubTicketRangeSet_descriptor_; -} - -const ClubTicketRangeSet& ClubTicketRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubTicketRangeSet* ClubTicketRangeSet::default_instance_ = NULL; - -ClubTicketRangeSet* ClubTicketRangeSet::New() const { - return new ClubTicketRangeSet; -} - -void ClubTicketRangeSet::Swap(ClubTicketRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubTicketRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubTicketRangeSet_descriptor_; - metadata.reflection = ClubTicketRangeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubBanRangeSet::kCountFieldNumber; -const int ClubBanRangeSet::kReasonRangeFieldNumber; -#endif // !_MSC_VER - -ClubBanRangeSet::ClubBanRangeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubBanRangeSet) -} - -void ClubBanRangeSet::InitAsDefaultInstance() { - count_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); - reason_range_ = const_cast< ::bgs::protocol::UnsignedIntRange*>(&::bgs::protocol::UnsignedIntRange::default_instance()); -} - -ClubBanRangeSet::ClubBanRangeSet(const ClubBanRangeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubBanRangeSet) -} - -void ClubBanRangeSet::SharedCtor() { - _cached_size_ = 0; - count_ = NULL; - reason_range_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubBanRangeSet::~ClubBanRangeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubBanRangeSet) - SharedDtor(); -} - -void ClubBanRangeSet::SharedDtor() { - if (this != default_instance_) { - delete count_; - delete reason_range_; - } -} - -void ClubBanRangeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubBanRangeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubBanRangeSet_descriptor_; -} - -const ClubBanRangeSet& ClubBanRangeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frange_5fset_2eproto(); - return *default_instance_; -} - -ClubBanRangeSet* ClubBanRangeSet::default_instance_ = NULL; - -ClubBanRangeSet* ClubBanRangeSet::New() const { - return new ClubBanRangeSet; -} - -void ClubBanRangeSet::Swap(ClubBanRangeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubBanRangeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubBanRangeSet_descriptor_; - metadata.reflection = ClubBanRangeSet_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_range_set.pb.h b/src/server/proto/Client/club_range_set.pb.h deleted file mode 100644 index bfca963e96a..00000000000 --- a/src/server/proto/Client/club_range_set.pb.h +++ /dev/null @@ -1,1708 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_range_set.proto - -#ifndef PROTOBUF_club_5frange_5fset_2eproto__INCLUDED -#define PROTOBUF_club_5frange_5fset_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "global_extensions/range.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); -void protobuf_AssignDesc_club_5frange_5fset_2eproto(); -void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - -class ClubTypeRangeSet; -class ClubMemberRangeSet; -class ClubStreamRangeSet; -class ClubInvitationRangeSet; -class ClubSuggestionRangeSet; -class ClubTicketRangeSet; -class ClubBanRangeSet; - -// =================================================================== - -class TC_PROTO_API ClubTypeRangeSet : public ::google::protobuf::Message { - public: - ClubTypeRangeSet(); - virtual ~ClubTypeRangeSet(); - - ClubTypeRangeSet(const ClubTypeRangeSet& from); - - inline ClubTypeRangeSet& operator=(const ClubTypeRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubTypeRangeSet& default_instance(); - - void Swap(ClubTypeRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubTypeRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange name_range = 2; - inline bool has_name_range() const; - inline void clear_name_range(); - static const int kNameRangeFieldNumber = 2; - inline const ::bgs::protocol::UnsignedIntRange& name_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); - inline ::bgs::protocol::UnsignedIntRange* release_name_range(); - inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); - - // optional .bgs.protocol.UnsignedIntRange description_range = 3; - inline bool has_description_range() const; - inline void clear_description_range(); - static const int kDescriptionRangeFieldNumber = 3; - inline const ::bgs::protocol::UnsignedIntRange& description_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_description_range(); - inline ::bgs::protocol::UnsignedIntRange* release_description_range(); - inline void set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range); - - // optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; - inline bool has_broadcast_range() const; - inline void clear_broadcast_range(); - static const int kBroadcastRangeFieldNumber = 4; - inline const ::bgs::protocol::UnsignedIntRange& broadcast_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_broadcast_range(); - inline ::bgs::protocol::UnsignedIntRange* release_broadcast_range(); - inline void set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range); - - // optional .bgs.protocol.UnsignedIntRange short_name_range = 7; - inline bool has_short_name_range() const; - inline void clear_short_name_range(); - static const int kShortNameRangeFieldNumber = 7; - inline const ::bgs::protocol::UnsignedIntRange& short_name_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_short_name_range(); - inline ::bgs::protocol::UnsignedIntRange* release_short_name_range(); - inline void set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range); - - // optional .bgs.protocol.club.v1.ClubMemberRangeSet member = 25; - inline bool has_member() const; - inline void clear_member(); - static const int kMemberFieldNumber = 25; - inline const ::bgs::protocol::club::v1::ClubMemberRangeSet& member() const; - inline ::bgs::protocol::club::v1::ClubMemberRangeSet* mutable_member(); - inline ::bgs::protocol::club::v1::ClubMemberRangeSet* release_member(); - inline void set_allocated_member(::bgs::protocol::club::v1::ClubMemberRangeSet* member); - - // optional .bgs.protocol.club.v1.ClubStreamRangeSet stream = 26; - inline bool has_stream() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 26; - inline const ::bgs::protocol::club::v1::ClubStreamRangeSet& stream() const; - inline ::bgs::protocol::club::v1::ClubStreamRangeSet* mutable_stream(); - inline ::bgs::protocol::club::v1::ClubStreamRangeSet* release_stream(); - inline void set_allocated_stream(::bgs::protocol::club::v1::ClubStreamRangeSet* stream); - - // optional .bgs.protocol.club.v1.ClubInvitationRangeSet invitation = 27; - inline bool has_invitation() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 27; - inline const ::bgs::protocol::club::v1::ClubInvitationRangeSet& invitation() const; - inline ::bgs::protocol::club::v1::ClubInvitationRangeSet* mutable_invitation(); - inline ::bgs::protocol::club::v1::ClubInvitationRangeSet* release_invitation(); - inline void set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitationRangeSet* invitation); - - // optional .bgs.protocol.club.v1.ClubSuggestionRangeSet suggestion = 28; - inline bool has_suggestion() const; - inline void clear_suggestion(); - static const int kSuggestionFieldNumber = 28; - inline const ::bgs::protocol::club::v1::ClubSuggestionRangeSet& suggestion() const; - inline ::bgs::protocol::club::v1::ClubSuggestionRangeSet* mutable_suggestion(); - inline ::bgs::protocol::club::v1::ClubSuggestionRangeSet* release_suggestion(); - inline void set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestionRangeSet* suggestion); - - // optional .bgs.protocol.club.v1.ClubTicketRangeSet ticket = 29; - inline bool has_ticket() const; - inline void clear_ticket(); - static const int kTicketFieldNumber = 29; - inline const ::bgs::protocol::club::v1::ClubTicketRangeSet& ticket() const; - inline ::bgs::protocol::club::v1::ClubTicketRangeSet* mutable_ticket(); - inline ::bgs::protocol::club::v1::ClubTicketRangeSet* release_ticket(); - inline void set_allocated_ticket(::bgs::protocol::club::v1::ClubTicketRangeSet* ticket); - - // optional .bgs.protocol.club.v1.ClubBanRangeSet ban = 30; - inline bool has_ban() const; - inline void clear_ban(); - static const int kBanFieldNumber = 30; - inline const ::bgs::protocol::club::v1::ClubBanRangeSet& ban() const; - inline ::bgs::protocol::club::v1::ClubBanRangeSet* mutable_ban(); - inline ::bgs::protocol::club::v1::ClubBanRangeSet* release_ban(); - inline void set_allocated_ban(::bgs::protocol::club::v1::ClubBanRangeSet* ban); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubTypeRangeSet) - private: - inline void set_has_name_range(); - inline void clear_has_name_range(); - inline void set_has_description_range(); - inline void clear_has_description_range(); - inline void set_has_broadcast_range(); - inline void clear_has_broadcast_range(); - inline void set_has_short_name_range(); - inline void clear_has_short_name_range(); - inline void set_has_member(); - inline void clear_has_member(); - inline void set_has_stream(); - inline void clear_has_stream(); - inline void set_has_invitation(); - inline void clear_has_invitation(); - inline void set_has_suggestion(); - inline void clear_has_suggestion(); - inline void set_has_ticket(); - inline void clear_has_ticket(); - inline void set_has_ban(); - inline void clear_has_ban(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* name_range_; - ::bgs::protocol::UnsignedIntRange* description_range_; - ::bgs::protocol::UnsignedIntRange* broadcast_range_; - ::bgs::protocol::UnsignedIntRange* short_name_range_; - ::bgs::protocol::club::v1::ClubMemberRangeSet* member_; - ::bgs::protocol::club::v1::ClubStreamRangeSet* stream_; - ::bgs::protocol::club::v1::ClubInvitationRangeSet* invitation_; - ::bgs::protocol::club::v1::ClubSuggestionRangeSet* suggestion_; - ::bgs::protocol::club::v1::ClubTicketRangeSet* ticket_; - ::bgs::protocol::club::v1::ClubBanRangeSet* ban_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubTypeRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubMemberRangeSet : public ::google::protobuf::Message { - public: - ClubMemberRangeSet(); - virtual ~ClubMemberRangeSet(); - - ClubMemberRangeSet(const ClubMemberRangeSet& from); - - inline ClubMemberRangeSet& operator=(const ClubMemberRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubMemberRangeSet& default_instance(); - - void Swap(ClubMemberRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubMemberRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // optional .bgs.protocol.UnsignedIntRange voice = 3; - inline bool has_voice() const; - inline void clear_voice(); - static const int kVoiceFieldNumber = 3; - inline const ::bgs::protocol::UnsignedIntRange& voice() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_voice(); - inline ::bgs::protocol::UnsignedIntRange* release_voice(); - inline void set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice); - - // optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; - inline bool has_stream_subscriptions() const; - inline void clear_stream_subscriptions(); - static const int kStreamSubscriptionsFieldNumber = 5; - inline const ::bgs::protocol::UnsignedIntRange& stream_subscriptions() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_stream_subscriptions(); - inline ::bgs::protocol::UnsignedIntRange* release_stream_subscriptions(); - inline void set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions); - - // optional .bgs.protocol.UnsignedIntRange note_range = 7; - inline bool has_note_range() const; - inline void clear_note_range(); - static const int kNoteRangeFieldNumber = 7; - inline const ::bgs::protocol::UnsignedIntRange& note_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_note_range(); - inline ::bgs::protocol::UnsignedIntRange* release_note_range(); - inline void set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubMemberRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - inline void set_has_voice(); - inline void clear_has_voice(); - inline void set_has_stream_subscriptions(); - inline void clear_has_stream_subscriptions(); - inline void set_has_note_range(); - inline void clear_has_note_range(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - ::bgs::protocol::UnsignedIntRange* voice_; - ::bgs::protocol::UnsignedIntRange* stream_subscriptions_; - ::bgs::protocol::UnsignedIntRange* note_range_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubMemberRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubStreamRangeSet : public ::google::protobuf::Message { - public: - ClubStreamRangeSet(); - virtual ~ClubStreamRangeSet(); - - ClubStreamRangeSet(const ClubStreamRangeSet& from); - - inline ClubStreamRangeSet& operator=(const ClubStreamRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubStreamRangeSet& default_instance(); - - void Swap(ClubStreamRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubStreamRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // optional .bgs.protocol.UnsignedIntRange name_range = 3; - inline bool has_name_range() const; - inline void clear_name_range(); - static const int kNameRangeFieldNumber = 3; - inline const ::bgs::protocol::UnsignedIntRange& name_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_name_range(); - inline ::bgs::protocol::UnsignedIntRange* release_name_range(); - inline void set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range); - - // optional .bgs.protocol.UnsignedIntRange subject_range = 4; - inline bool has_subject_range() const; - inline void clear_subject_range(); - static const int kSubjectRangeFieldNumber = 4; - inline const ::bgs::protocol::UnsignedIntRange& subject_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_subject_range(); - inline ::bgs::protocol::UnsignedIntRange* release_subject_range(); - inline void set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range); - - // optional .bgs.protocol.UnsignedIntRange message_range = 5; - inline bool has_message_range() const; - inline void clear_message_range(); - static const int kMessageRangeFieldNumber = 5; - inline const ::bgs::protocol::UnsignedIntRange& message_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_message_range(); - inline ::bgs::protocol::UnsignedIntRange* release_message_range(); - inline void set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStreamRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - inline void set_has_name_range(); - inline void clear_has_name_range(); - inline void set_has_subject_range(); - inline void clear_has_subject_range(); - inline void set_has_message_range(); - inline void clear_has_message_range(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - ::bgs::protocol::UnsignedIntRange* name_range_; - ::bgs::protocol::UnsignedIntRange* subject_range_; - ::bgs::protocol::UnsignedIntRange* message_range_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubStreamRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubInvitationRangeSet : public ::google::protobuf::Message { - public: - ClubInvitationRangeSet(); - virtual ~ClubInvitationRangeSet(); - - ClubInvitationRangeSet(const ClubInvitationRangeSet& from); - - inline ClubInvitationRangeSet& operator=(const ClubInvitationRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubInvitationRangeSet& default_instance(); - - void Swap(ClubInvitationRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubInvitationRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubInvitationRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubInvitationRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubSuggestionRangeSet : public ::google::protobuf::Message { - public: - ClubSuggestionRangeSet(); - virtual ~ClubSuggestionRangeSet(); - - ClubSuggestionRangeSet(const ClubSuggestionRangeSet& from); - - inline ClubSuggestionRangeSet& operator=(const ClubSuggestionRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubSuggestionRangeSet& default_instance(); - - void Swap(ClubSuggestionRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubSuggestionRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSuggestionRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubSuggestionRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubTicketRangeSet : public ::google::protobuf::Message { - public: - ClubTicketRangeSet(); - virtual ~ClubTicketRangeSet(); - - ClubTicketRangeSet(const ClubTicketRangeSet& from); - - inline ClubTicketRangeSet& operator=(const ClubTicketRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubTicketRangeSet& default_instance(); - - void Swap(ClubTicketRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubTicketRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubTicketRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubTicketRangeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubBanRangeSet : public ::google::protobuf::Message { - public: - ClubBanRangeSet(); - virtual ~ClubBanRangeSet(); - - ClubBanRangeSet(const ClubBanRangeSet& from); - - inline ClubBanRangeSet& operator=(const ClubBanRangeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubBanRangeSet& default_instance(); - - void Swap(ClubBanRangeSet* other); - - // implements Message ---------------------------------------------- - - ClubBanRangeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.UnsignedIntRange count = 1; - inline bool has_count() const; - inline void clear_count(); - static const int kCountFieldNumber = 1; - inline const ::bgs::protocol::UnsignedIntRange& count() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_count(); - inline ::bgs::protocol::UnsignedIntRange* release_count(); - inline void set_allocated_count(::bgs::protocol::UnsignedIntRange* count); - - // optional .bgs.protocol.UnsignedIntRange reason_range = 3; - inline bool has_reason_range() const; - inline void clear_reason_range(); - static const int kReasonRangeFieldNumber = 3; - inline const ::bgs::protocol::UnsignedIntRange& reason_range() const; - inline ::bgs::protocol::UnsignedIntRange* mutable_reason_range(); - inline ::bgs::protocol::UnsignedIntRange* release_reason_range(); - inline void set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubBanRangeSet) - private: - inline void set_has_count(); - inline void clear_has_count(); - inline void set_has_reason_range(); - inline void clear_has_reason_range(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::UnsignedIntRange* count_; - ::bgs::protocol::UnsignedIntRange* reason_range_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frange_5fset_2eproto(); - friend void protobuf_AssignDesc_club_5frange_5fset_2eproto(); - friend void protobuf_ShutdownFile_club_5frange_5fset_2eproto(); - - void InitAsDefaultInstance(); - static ClubBanRangeSet* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// ClubTypeRangeSet - -// optional .bgs.protocol.UnsignedIntRange name_range = 2; -inline bool ClubTypeRangeSet::has_name_range() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubTypeRangeSet::set_has_name_range() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubTypeRangeSet::clear_has_name_range() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubTypeRangeSet::clear_name_range() { - if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_name_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::name_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.name_range) - return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_name_range() { - set_has_name_range(); - if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.name_range) - return name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_name_range() { - clear_has_name_range(); - ::bgs::protocol::UnsignedIntRange* temp = name_range_; - name_range_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { - delete name_range_; - name_range_ = name_range; - if (name_range) { - set_has_name_range(); - } else { - clear_has_name_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.name_range) -} - -// optional .bgs.protocol.UnsignedIntRange description_range = 3; -inline bool ClubTypeRangeSet::has_description_range() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubTypeRangeSet::set_has_description_range() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubTypeRangeSet::clear_has_description_range() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubTypeRangeSet::clear_description_range() { - if (description_range_ != NULL) description_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_description_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::description_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.description_range) - return description_range_ != NULL ? *description_range_ : *default_instance_->description_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_description_range() { - set_has_description_range(); - if (description_range_ == NULL) description_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.description_range) - return description_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_description_range() { - clear_has_description_range(); - ::bgs::protocol::UnsignedIntRange* temp = description_range_; - description_range_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_description_range(::bgs::protocol::UnsignedIntRange* description_range) { - delete description_range_; - description_range_ = description_range; - if (description_range) { - set_has_description_range(); - } else { - clear_has_description_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.description_range) -} - -// optional .bgs.protocol.UnsignedIntRange broadcast_range = 4; -inline bool ClubTypeRangeSet::has_broadcast_range() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubTypeRangeSet::set_has_broadcast_range() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubTypeRangeSet::clear_has_broadcast_range() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubTypeRangeSet::clear_broadcast_range() { - if (broadcast_range_ != NULL) broadcast_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_broadcast_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::broadcast_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.broadcast_range) - return broadcast_range_ != NULL ? *broadcast_range_ : *default_instance_->broadcast_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_broadcast_range() { - set_has_broadcast_range(); - if (broadcast_range_ == NULL) broadcast_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.broadcast_range) - return broadcast_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_broadcast_range() { - clear_has_broadcast_range(); - ::bgs::protocol::UnsignedIntRange* temp = broadcast_range_; - broadcast_range_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_broadcast_range(::bgs::protocol::UnsignedIntRange* broadcast_range) { - delete broadcast_range_; - broadcast_range_ = broadcast_range; - if (broadcast_range) { - set_has_broadcast_range(); - } else { - clear_has_broadcast_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.broadcast_range) -} - -// optional .bgs.protocol.UnsignedIntRange short_name_range = 7; -inline bool ClubTypeRangeSet::has_short_name_range() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubTypeRangeSet::set_has_short_name_range() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubTypeRangeSet::clear_has_short_name_range() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubTypeRangeSet::clear_short_name_range() { - if (short_name_range_ != NULL) short_name_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_short_name_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubTypeRangeSet::short_name_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.short_name_range) - return short_name_range_ != NULL ? *short_name_range_ : *default_instance_->short_name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::mutable_short_name_range() { - set_has_short_name_range(); - if (short_name_range_ == NULL) short_name_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.short_name_range) - return short_name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTypeRangeSet::release_short_name_range() { - clear_has_short_name_range(); - ::bgs::protocol::UnsignedIntRange* temp = short_name_range_; - short_name_range_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_short_name_range(::bgs::protocol::UnsignedIntRange* short_name_range) { - delete short_name_range_; - short_name_range_ = short_name_range; - if (short_name_range) { - set_has_short_name_range(); - } else { - clear_has_short_name_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.short_name_range) -} - -// optional .bgs.protocol.club.v1.ClubMemberRangeSet member = 25; -inline bool ClubTypeRangeSet::has_member() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubTypeRangeSet::set_has_member() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubTypeRangeSet::clear_has_member() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubTypeRangeSet::clear_member() { - if (member_ != NULL) member_->::bgs::protocol::club::v1::ClubMemberRangeSet::Clear(); - clear_has_member(); -} -inline const ::bgs::protocol::club::v1::ClubMemberRangeSet& ClubTypeRangeSet::member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.member) - return member_ != NULL ? *member_ : *default_instance_->member_; -} -inline ::bgs::protocol::club::v1::ClubMemberRangeSet* ClubTypeRangeSet::mutable_member() { - set_has_member(); - if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::ClubMemberRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.member) - return member_; -} -inline ::bgs::protocol::club::v1::ClubMemberRangeSet* ClubTypeRangeSet::release_member() { - clear_has_member(); - ::bgs::protocol::club::v1::ClubMemberRangeSet* temp = member_; - member_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_member(::bgs::protocol::club::v1::ClubMemberRangeSet* member) { - delete member_; - member_ = member; - if (member) { - set_has_member(); - } else { - clear_has_member(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.member) -} - -// optional .bgs.protocol.club.v1.ClubStreamRangeSet stream = 26; -inline bool ClubTypeRangeSet::has_stream() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubTypeRangeSet::set_has_stream() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubTypeRangeSet::clear_has_stream() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubTypeRangeSet::clear_stream() { - if (stream_ != NULL) stream_->::bgs::protocol::club::v1::ClubStreamRangeSet::Clear(); - clear_has_stream(); -} -inline const ::bgs::protocol::club::v1::ClubStreamRangeSet& ClubTypeRangeSet::stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.stream) - return stream_ != NULL ? *stream_ : *default_instance_->stream_; -} -inline ::bgs::protocol::club::v1::ClubStreamRangeSet* ClubTypeRangeSet::mutable_stream() { - set_has_stream(); - if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::ClubStreamRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.stream) - return stream_; -} -inline ::bgs::protocol::club::v1::ClubStreamRangeSet* ClubTypeRangeSet::release_stream() { - clear_has_stream(); - ::bgs::protocol::club::v1::ClubStreamRangeSet* temp = stream_; - stream_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_stream(::bgs::protocol::club::v1::ClubStreamRangeSet* stream) { - delete stream_; - stream_ = stream; - if (stream) { - set_has_stream(); - } else { - clear_has_stream(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.stream) -} - -// optional .bgs.protocol.club.v1.ClubInvitationRangeSet invitation = 27; -inline bool ClubTypeRangeSet::has_invitation() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubTypeRangeSet::set_has_invitation() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubTypeRangeSet::clear_has_invitation() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubTypeRangeSet::clear_invitation() { - if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::ClubInvitationRangeSet::Clear(); - clear_has_invitation(); -} -inline const ::bgs::protocol::club::v1::ClubInvitationRangeSet& ClubTypeRangeSet::invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.invitation) - return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitationRangeSet* ClubTypeRangeSet::mutable_invitation() { - set_has_invitation(); - if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::ClubInvitationRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.invitation) - return invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitationRangeSet* ClubTypeRangeSet::release_invitation() { - clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitationRangeSet* temp = invitation_; - invitation_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitationRangeSet* invitation) { - delete invitation_; - invitation_ = invitation; - if (invitation) { - set_has_invitation(); - } else { - clear_has_invitation(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.invitation) -} - -// optional .bgs.protocol.club.v1.ClubSuggestionRangeSet suggestion = 28; -inline bool ClubTypeRangeSet::has_suggestion() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubTypeRangeSet::set_has_suggestion() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubTypeRangeSet::clear_has_suggestion() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubTypeRangeSet::clear_suggestion() { - if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::ClubSuggestionRangeSet::Clear(); - clear_has_suggestion(); -} -inline const ::bgs::protocol::club::v1::ClubSuggestionRangeSet& ClubTypeRangeSet::suggestion() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.suggestion) - return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestionRangeSet* ClubTypeRangeSet::mutable_suggestion() { - set_has_suggestion(); - if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::ClubSuggestionRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.suggestion) - return suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestionRangeSet* ClubTypeRangeSet::release_suggestion() { - clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestionRangeSet* temp = suggestion_; - suggestion_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestionRangeSet* suggestion) { - delete suggestion_; - suggestion_ = suggestion; - if (suggestion) { - set_has_suggestion(); - } else { - clear_has_suggestion(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.suggestion) -} - -// optional .bgs.protocol.club.v1.ClubTicketRangeSet ticket = 29; -inline bool ClubTypeRangeSet::has_ticket() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubTypeRangeSet::set_has_ticket() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubTypeRangeSet::clear_has_ticket() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubTypeRangeSet::clear_ticket() { - if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::ClubTicketRangeSet::Clear(); - clear_has_ticket(); -} -inline const ::bgs::protocol::club::v1::ClubTicketRangeSet& ClubTypeRangeSet::ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.ticket) - return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicketRangeSet* ClubTypeRangeSet::mutable_ticket() { - set_has_ticket(); - if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::ClubTicketRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.ticket) - return ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicketRangeSet* ClubTypeRangeSet::release_ticket() { - clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicketRangeSet* temp = ticket_; - ticket_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicketRangeSet* ticket) { - delete ticket_; - ticket_ = ticket; - if (ticket) { - set_has_ticket(); - } else { - clear_has_ticket(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.ticket) -} - -// optional .bgs.protocol.club.v1.ClubBanRangeSet ban = 30; -inline bool ClubTypeRangeSet::has_ban() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubTypeRangeSet::set_has_ban() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubTypeRangeSet::clear_has_ban() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubTypeRangeSet::clear_ban() { - if (ban_ != NULL) ban_->::bgs::protocol::club::v1::ClubBanRangeSet::Clear(); - clear_has_ban(); -} -inline const ::bgs::protocol::club::v1::ClubBanRangeSet& ClubTypeRangeSet::ban() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTypeRangeSet.ban) - return ban_ != NULL ? *ban_ : *default_instance_->ban_; -} -inline ::bgs::protocol::club::v1::ClubBanRangeSet* ClubTypeRangeSet::mutable_ban() { - set_has_ban(); - if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::ClubBanRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTypeRangeSet.ban) - return ban_; -} -inline ::bgs::protocol::club::v1::ClubBanRangeSet* ClubTypeRangeSet::release_ban() { - clear_has_ban(); - ::bgs::protocol::club::v1::ClubBanRangeSet* temp = ban_; - ban_ = NULL; - return temp; -} -inline void ClubTypeRangeSet::set_allocated_ban(::bgs::protocol::club::v1::ClubBanRangeSet* ban) { - delete ban_; - ban_ = ban; - if (ban) { - set_has_ban(); - } else { - clear_has_ban(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTypeRangeSet.ban) -} - -// ------------------------------------------------------------------- - -// ClubMemberRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubMemberRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubMemberRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubMemberRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubMemberRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMemberRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubMemberRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.count) -} - -// optional .bgs.protocol.UnsignedIntRange voice = 3; -inline bool ClubMemberRangeSet::has_voice() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubMemberRangeSet::set_has_voice() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubMemberRangeSet::clear_has_voice() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubMemberRangeSet::clear_voice() { - if (voice_ != NULL) voice_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_voice(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.voice) - return voice_ != NULL ? *voice_ : *default_instance_->voice_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_voice() { - set_has_voice(); - if (voice_ == NULL) voice_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMemberRangeSet.voice) - return voice_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_voice() { - clear_has_voice(); - ::bgs::protocol::UnsignedIntRange* temp = voice_; - voice_ = NULL; - return temp; -} -inline void ClubMemberRangeSet::set_allocated_voice(::bgs::protocol::UnsignedIntRange* voice) { - delete voice_; - voice_ = voice; - if (voice) { - set_has_voice(); - } else { - clear_has_voice(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.voice) -} - -// optional .bgs.protocol.UnsignedIntRange stream_subscriptions = 5; -inline bool ClubMemberRangeSet::has_stream_subscriptions() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubMemberRangeSet::set_has_stream_subscriptions() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubMemberRangeSet::clear_has_stream_subscriptions() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubMemberRangeSet::clear_stream_subscriptions() { - if (stream_subscriptions_ != NULL) stream_subscriptions_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_stream_subscriptions(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::stream_subscriptions() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.stream_subscriptions) - return stream_subscriptions_ != NULL ? *stream_subscriptions_ : *default_instance_->stream_subscriptions_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_stream_subscriptions() { - set_has_stream_subscriptions(); - if (stream_subscriptions_ == NULL) stream_subscriptions_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMemberRangeSet.stream_subscriptions) - return stream_subscriptions_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_stream_subscriptions() { - clear_has_stream_subscriptions(); - ::bgs::protocol::UnsignedIntRange* temp = stream_subscriptions_; - stream_subscriptions_ = NULL; - return temp; -} -inline void ClubMemberRangeSet::set_allocated_stream_subscriptions(::bgs::protocol::UnsignedIntRange* stream_subscriptions) { - delete stream_subscriptions_; - stream_subscriptions_ = stream_subscriptions; - if (stream_subscriptions) { - set_has_stream_subscriptions(); - } else { - clear_has_stream_subscriptions(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.stream_subscriptions) -} - -// optional .bgs.protocol.UnsignedIntRange note_range = 7; -inline bool ClubMemberRangeSet::has_note_range() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubMemberRangeSet::set_has_note_range() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubMemberRangeSet::clear_has_note_range() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubMemberRangeSet::clear_note_range() { - if (note_range_ != NULL) note_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_note_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubMemberRangeSet::note_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubMemberRangeSet.note_range) - return note_range_ != NULL ? *note_range_ : *default_instance_->note_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::mutable_note_range() { - set_has_note_range(); - if (note_range_ == NULL) note_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubMemberRangeSet.note_range) - return note_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubMemberRangeSet::release_note_range() { - clear_has_note_range(); - ::bgs::protocol::UnsignedIntRange* temp = note_range_; - note_range_ = NULL; - return temp; -} -inline void ClubMemberRangeSet::set_allocated_note_range(::bgs::protocol::UnsignedIntRange* note_range) { - delete note_range_; - note_range_ = note_range; - if (note_range) { - set_has_note_range(); - } else { - clear_has_note_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubMemberRangeSet.note_range) -} - -// ------------------------------------------------------------------- - -// ClubStreamRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubStreamRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubStreamRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubStreamRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubStreamRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubStreamRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.count) -} - -// optional .bgs.protocol.UnsignedIntRange name_range = 3; -inline bool ClubStreamRangeSet::has_name_range() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubStreamRangeSet::set_has_name_range() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubStreamRangeSet::clear_has_name_range() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubStreamRangeSet::clear_name_range() { - if (name_range_ != NULL) name_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_name_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::name_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamRangeSet.name_range) - return name_range_ != NULL ? *name_range_ : *default_instance_->name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_name_range() { - set_has_name_range(); - if (name_range_ == NULL) name_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamRangeSet.name_range) - return name_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_name_range() { - clear_has_name_range(); - ::bgs::protocol::UnsignedIntRange* temp = name_range_; - name_range_ = NULL; - return temp; -} -inline void ClubStreamRangeSet::set_allocated_name_range(::bgs::protocol::UnsignedIntRange* name_range) { - delete name_range_; - name_range_ = name_range; - if (name_range) { - set_has_name_range(); - } else { - clear_has_name_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.name_range) -} - -// optional .bgs.protocol.UnsignedIntRange subject_range = 4; -inline bool ClubStreamRangeSet::has_subject_range() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubStreamRangeSet::set_has_subject_range() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubStreamRangeSet::clear_has_subject_range() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubStreamRangeSet::clear_subject_range() { - if (subject_range_ != NULL) subject_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_subject_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::subject_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamRangeSet.subject_range) - return subject_range_ != NULL ? *subject_range_ : *default_instance_->subject_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_subject_range() { - set_has_subject_range(); - if (subject_range_ == NULL) subject_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamRangeSet.subject_range) - return subject_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_subject_range() { - clear_has_subject_range(); - ::bgs::protocol::UnsignedIntRange* temp = subject_range_; - subject_range_ = NULL; - return temp; -} -inline void ClubStreamRangeSet::set_allocated_subject_range(::bgs::protocol::UnsignedIntRange* subject_range) { - delete subject_range_; - subject_range_ = subject_range; - if (subject_range) { - set_has_subject_range(); - } else { - clear_has_subject_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.subject_range) -} - -// optional .bgs.protocol.UnsignedIntRange message_range = 5; -inline bool ClubStreamRangeSet::has_message_range() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubStreamRangeSet::set_has_message_range() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubStreamRangeSet::clear_has_message_range() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubStreamRangeSet::clear_message_range() { - if (message_range_ != NULL) message_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_message_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubStreamRangeSet::message_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamRangeSet.message_range) - return message_range_ != NULL ? *message_range_ : *default_instance_->message_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::mutable_message_range() { - set_has_message_range(); - if (message_range_ == NULL) message_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamRangeSet.message_range) - return message_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubStreamRangeSet::release_message_range() { - clear_has_message_range(); - ::bgs::protocol::UnsignedIntRange* temp = message_range_; - message_range_ = NULL; - return temp; -} -inline void ClubStreamRangeSet::set_allocated_message_range(::bgs::protocol::UnsignedIntRange* message_range) { - delete message_range_; - message_range_ = message_range; - if (message_range) { - set_has_message_range(); - } else { - clear_has_message_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStreamRangeSet.message_range) -} - -// ------------------------------------------------------------------- - -// ClubInvitationRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubInvitationRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubInvitationRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubInvitationRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubInvitationRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubInvitationRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubInvitationRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubInvitationRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubInvitationRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubInvitationRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubInvitationRangeSet.count) -} - -// ------------------------------------------------------------------- - -// ClubSuggestionRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubSuggestionRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubSuggestionRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubSuggestionRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubSuggestionRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubSuggestionRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSuggestionRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSuggestionRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubSuggestionRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubSuggestionRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSuggestionRangeSet.count) -} - -// ------------------------------------------------------------------- - -// ClubTicketRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubTicketRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubTicketRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubTicketRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubTicketRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubTicketRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubTicketRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubTicketRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubTicketRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubTicketRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubTicketRangeSet.count) -} - -// ------------------------------------------------------------------- - -// ClubBanRangeSet - -// optional .bgs.protocol.UnsignedIntRange count = 1; -inline bool ClubBanRangeSet::has_count() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubBanRangeSet::set_has_count() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubBanRangeSet::clear_has_count() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubBanRangeSet::clear_count() { - if (count_ != NULL) count_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_count(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::count() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBanRangeSet.count) - return count_ != NULL ? *count_ : *default_instance_->count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_count() { - set_has_count(); - if (count_ == NULL) count_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBanRangeSet.count) - return count_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_count() { - clear_has_count(); - ::bgs::protocol::UnsignedIntRange* temp = count_; - count_ = NULL; - return temp; -} -inline void ClubBanRangeSet::set_allocated_count(::bgs::protocol::UnsignedIntRange* count) { - delete count_; - count_ = count; - if (count) { - set_has_count(); - } else { - clear_has_count(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBanRangeSet.count) -} - -// optional .bgs.protocol.UnsignedIntRange reason_range = 3; -inline bool ClubBanRangeSet::has_reason_range() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubBanRangeSet::set_has_reason_range() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubBanRangeSet::clear_has_reason_range() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubBanRangeSet::clear_reason_range() { - if (reason_range_ != NULL) reason_range_->::bgs::protocol::UnsignedIntRange::Clear(); - clear_has_reason_range(); -} -inline const ::bgs::protocol::UnsignedIntRange& ClubBanRangeSet::reason_range() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubBanRangeSet.reason_range) - return reason_range_ != NULL ? *reason_range_ : *default_instance_->reason_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::mutable_reason_range() { - set_has_reason_range(); - if (reason_range_ == NULL) reason_range_ = new ::bgs::protocol::UnsignedIntRange; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubBanRangeSet.reason_range) - return reason_range_; -} -inline ::bgs::protocol::UnsignedIntRange* ClubBanRangeSet::release_reason_range() { - clear_has_reason_range(); - ::bgs::protocol::UnsignedIntRange* temp = reason_range_; - reason_range_ = NULL; - return temp; -} -inline void ClubBanRangeSet::set_allocated_reason_range(::bgs::protocol::UnsignedIntRange* reason_range) { - delete reason_range_; - reason_range_ = reason_range; - if (reason_range) { - set_has_reason_range(); - } else { - clear_has_reason_range(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubBanRangeSet.reason_range) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5frange_5fset_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_request.pb.cc b/src/server/proto/Client/club_request.pb.cc deleted file mode 100644 index 063916ceaee..00000000000 --- a/src/server/proto/Client/club_request.pb.cc +++ /dev/null @@ -1,8928 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_request.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_request.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnsubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* DestroyRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DestroyRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetDescriptionRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetDescriptionRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetDescriptionResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetDescriptionResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetClubTypeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetClubTypeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetClubTypeResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetClubTypeResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateClubStateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateClubStateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateClubSettingsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateClubSettingsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AddMemberRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AddMemberRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* JoinRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - JoinRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* LeaveRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - LeaveRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* KickRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - KickRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetMemberRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetMemberRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetMemberResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetMemberResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetMembersRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetMembersRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetMembersResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetMembersResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateMemberStateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateMemberStateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateSubscriberStateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AssignRoleRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AssignRoleRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnassignRoleRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnassignRoleRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SendInvitationRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SendInvitationRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AcceptInvitationRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AcceptInvitationRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* DeclineInvitationRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DeclineInvitationRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* RevokeInvitationRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RevokeInvitationRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetInvitationRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetInvitationRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetInvitationResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetInvitationResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetInvitationsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetInvitationsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetInvitationsResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetInvitationsResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* SendSuggestionRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SendSuggestionRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AcceptSuggestionRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AcceptSuggestionRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* DeclineSuggestionRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DeclineSuggestionRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetSuggestionRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetSuggestionRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetSuggestionResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetSuggestionResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetSuggestionsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetSuggestionsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetSuggestionsResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetSuggestionsResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateTicketRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateTicketRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateTicketResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateTicketResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* DestroyTicketRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DestroyTicketRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* RedeemTicketRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RedeemTicketRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetTicketRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetTicketRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetTicketResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetTicketResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetTicketsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetTicketsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetTicketsResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetTicketsResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* AddBanRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AddBanRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* RemoveBanRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RemoveBanRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetBanRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetBanRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetBanResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetBanResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetBansRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetBansRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetBansResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetBansResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscribeStreamRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeStreamRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnsubscribeStreamRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnsubscribeStreamRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateStreamRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateStreamRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateStreamResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateStreamResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* DestroyStreamRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DestroyStreamRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamsRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamsRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamsResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamsResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UpdateStreamStateRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UpdateStreamStateRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SetStreamFocusRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SetStreamFocusRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateMessageRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateMessageRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateMessageResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateMessageResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* DestroyMessageRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DestroyMessageRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* DestroyMessageResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - DestroyMessageResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* EditMessageRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - EditMessageRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* EditMessageResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - EditMessageResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* SetMessagePinnedRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SetMessagePinnedRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SetTypingIndicatorRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SetTypingIndicatorRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AdvanceStreamViewTimeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AdvanceStreamMentionViewTimeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AdvanceActivityViewTimeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamHistoryRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamHistoryRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamHistoryResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamHistoryResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamMessageRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamMessageRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamMessageResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamMessageResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetClubActivityRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetClubActivityRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetClubActivityResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetClubActivityResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamVoiceTokenRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetStreamVoiceTokenResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - KickFromStreamVoiceRequest_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5frequest_2eproto() { - protobuf_AddDesc_club_5frequest_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_request.proto"); - GOOGLE_CHECK(file != NULL); - SubscribeRequest_descriptor_ = file->message_type(0); - static const int SubscribeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, club_id_), - }; - SubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeRequest_descriptor_, - SubscribeRequest::default_instance_, - SubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeRequest)); - UnsubscribeRequest_descriptor_ = file->message_type(1); - static const int UnsubscribeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, club_id_), - }; - UnsubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnsubscribeRequest_descriptor_, - UnsubscribeRequest::default_instance_, - UnsubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnsubscribeRequest)); - CreateRequest_descriptor_ = file->message_type(2); - static const int CreateRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, options_), - }; - CreateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateRequest_descriptor_, - CreateRequest::default_instance_, - CreateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateRequest)); - CreateResponse_descriptor_ = file->message_type(3); - static const int CreateResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, club_id_), - }; - CreateResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateResponse_descriptor_, - CreateResponse::default_instance_, - CreateResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateResponse)); - DestroyRequest_descriptor_ = file->message_type(4); - static const int DestroyRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, club_id_), - }; - DestroyRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DestroyRequest_descriptor_, - DestroyRequest::default_instance_, - DestroyRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DestroyRequest)); - GetDescriptionRequest_descriptor_ = file->message_type(5); - static const int GetDescriptionRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, club_id_), - }; - GetDescriptionRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetDescriptionRequest_descriptor_, - GetDescriptionRequest::default_instance_, - GetDescriptionRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetDescriptionRequest)); - GetDescriptionResponse_descriptor_ = file->message_type(6); - static const int GetDescriptionResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, club_), - }; - GetDescriptionResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetDescriptionResponse_descriptor_, - GetDescriptionResponse::default_instance_, - GetDescriptionResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetDescriptionResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetDescriptionResponse)); - GetClubTypeRequest_descriptor_ = file->message_type(7); - static const int GetClubTypeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, type_), - }; - GetClubTypeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetClubTypeRequest_descriptor_, - GetClubTypeRequest::default_instance_, - GetClubTypeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetClubTypeRequest)); - GetClubTypeResponse_descriptor_ = file->message_type(8); - static const int GetClubTypeResponse_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, role_set_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, range_set_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, platform_tag_set_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, custom_tag_set_), - }; - GetClubTypeResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetClubTypeResponse_descriptor_, - GetClubTypeResponse::default_instance_, - GetClubTypeResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubTypeResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetClubTypeResponse)); - UpdateClubStateRequest_descriptor_ = file->message_type(9); - static const int UpdateClubStateRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, options_), - }; - UpdateClubStateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateClubStateRequest_descriptor_, - UpdateClubStateRequest::default_instance_, - UpdateClubStateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubStateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateClubStateRequest)); - UpdateClubSettingsRequest_descriptor_ = file->message_type(10); - static const int UpdateClubSettingsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, options_), - }; - UpdateClubSettingsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateClubSettingsRequest_descriptor_, - UpdateClubSettingsRequest::default_instance_, - UpdateClubSettingsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateClubSettingsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateClubSettingsRequest)); - AddMemberRequest_descriptor_ = file->message_type(11); - static const int AddMemberRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, options_), - }; - AddMemberRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AddMemberRequest_descriptor_, - AddMemberRequest::default_instance_, - AddMemberRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddMemberRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AddMemberRequest)); - JoinRequest_descriptor_ = file->message_type(12); - static const int JoinRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, options_), - }; - JoinRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - JoinRequest_descriptor_, - JoinRequest::default_instance_, - JoinRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JoinRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(JoinRequest)); - LeaveRequest_descriptor_ = file->message_type(13); - static const int LeaveRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, club_id_), - }; - LeaveRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - LeaveRequest_descriptor_, - LeaveRequest::default_instance_, - LeaveRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LeaveRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(LeaveRequest)); - KickRequest_descriptor_ = file->message_type(14); - static const int KickRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, target_id_), - }; - KickRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - KickRequest_descriptor_, - KickRequest::default_instance_, - KickRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(KickRequest)); - GetMemberRequest_descriptor_ = file->message_type(15); - static const int GetMemberRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, member_id_), - }; - GetMemberRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetMemberRequest_descriptor_, - GetMemberRequest::default_instance_, - GetMemberRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetMemberRequest)); - GetMemberResponse_descriptor_ = file->message_type(16); - static const int GetMemberResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, member_), - }; - GetMemberResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetMemberResponse_descriptor_, - GetMemberResponse::default_instance_, - GetMemberResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMemberResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetMemberResponse)); - GetMembersRequest_descriptor_ = file->message_type(17); - static const int GetMembersRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, continuation_), - }; - GetMembersRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetMembersRequest_descriptor_, - GetMembersRequest::default_instance_, - GetMembersRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetMembersRequest)); - GetMembersResponse_descriptor_ = file->message_type(18); - static const int GetMembersResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, continuation_), - }; - GetMembersResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetMembersResponse_descriptor_, - GetMembersResponse::default_instance_, - GetMembersResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetMembersResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetMembersResponse)); - UpdateMemberStateRequest_descriptor_ = file->message_type(19); - static const int UpdateMemberStateRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, options_), - }; - UpdateMemberStateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateMemberStateRequest_descriptor_, - UpdateMemberStateRequest::default_instance_, - UpdateMemberStateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateMemberStateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateMemberStateRequest)); - UpdateSubscriberStateRequest_descriptor_ = file->message_type(20); - static const int UpdateSubscriberStateRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, options_), - }; - UpdateSubscriberStateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateSubscriberStateRequest_descriptor_, - UpdateSubscriberStateRequest::default_instance_, - UpdateSubscriberStateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateSubscriberStateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateSubscriberStateRequest)); - AssignRoleRequest_descriptor_ = file->message_type(21); - static const int AssignRoleRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, options_), - }; - AssignRoleRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AssignRoleRequest_descriptor_, - AssignRoleRequest::default_instance_, - AssignRoleRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AssignRoleRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AssignRoleRequest)); - UnassignRoleRequest_descriptor_ = file->message_type(22); - static const int UnassignRoleRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, options_), - }; - UnassignRoleRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnassignRoleRequest_descriptor_, - UnassignRoleRequest::default_instance_, - UnassignRoleRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnassignRoleRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnassignRoleRequest)); - SendInvitationRequest_descriptor_ = file->message_type(23); - static const int SendInvitationRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, options_), - }; - SendInvitationRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SendInvitationRequest_descriptor_, - SendInvitationRequest::default_instance_, - SendInvitationRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendInvitationRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SendInvitationRequest)); - AcceptInvitationRequest_descriptor_ = file->message_type(24); - static const int AcceptInvitationRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, invitation_id_), - }; - AcceptInvitationRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AcceptInvitationRequest_descriptor_, - AcceptInvitationRequest::default_instance_, - AcceptInvitationRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptInvitationRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AcceptInvitationRequest)); - DeclineInvitationRequest_descriptor_ = file->message_type(25); - static const int DeclineInvitationRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, invitation_id_), - }; - DeclineInvitationRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DeclineInvitationRequest_descriptor_, - DeclineInvitationRequest::default_instance_, - DeclineInvitationRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineInvitationRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DeclineInvitationRequest)); - RevokeInvitationRequest_descriptor_ = file->message_type(26); - static const int RevokeInvitationRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, invitation_id_), - }; - RevokeInvitationRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RevokeInvitationRequest_descriptor_, - RevokeInvitationRequest::default_instance_, - RevokeInvitationRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RevokeInvitationRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RevokeInvitationRequest)); - GetInvitationRequest_descriptor_ = file->message_type(27); - static const int GetInvitationRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, invitation_id_), - }; - GetInvitationRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetInvitationRequest_descriptor_, - GetInvitationRequest::default_instance_, - GetInvitationRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetInvitationRequest)); - GetInvitationResponse_descriptor_ = file->message_type(28); - static const int GetInvitationResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, invitation_), - }; - GetInvitationResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetInvitationResponse_descriptor_, - GetInvitationResponse::default_instance_, - GetInvitationResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetInvitationResponse)); - GetInvitationsRequest_descriptor_ = file->message_type(29); - static const int GetInvitationsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, continuation_), - }; - GetInvitationsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetInvitationsRequest_descriptor_, - GetInvitationsRequest::default_instance_, - GetInvitationsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetInvitationsRequest)); - GetInvitationsResponse_descriptor_ = file->message_type(30); - static const int GetInvitationsResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, continuation_), - }; - GetInvitationsResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetInvitationsResponse_descriptor_, - GetInvitationsResponse::default_instance_, - GetInvitationsResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetInvitationsResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetInvitationsResponse)); - SendSuggestionRequest_descriptor_ = file->message_type(31); - static const int SendSuggestionRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, options_), - }; - SendSuggestionRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SendSuggestionRequest_descriptor_, - SendSuggestionRequest::default_instance_, - SendSuggestionRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendSuggestionRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SendSuggestionRequest)); - AcceptSuggestionRequest_descriptor_ = file->message_type(32); - static const int AcceptSuggestionRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, suggestion_id_), - }; - AcceptSuggestionRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AcceptSuggestionRequest_descriptor_, - AcceptSuggestionRequest::default_instance_, - AcceptSuggestionRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AcceptSuggestionRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AcceptSuggestionRequest)); - DeclineSuggestionRequest_descriptor_ = file->message_type(33); - static const int DeclineSuggestionRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, suggestion_id_), - }; - DeclineSuggestionRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DeclineSuggestionRequest_descriptor_, - DeclineSuggestionRequest::default_instance_, - DeclineSuggestionRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DeclineSuggestionRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DeclineSuggestionRequest)); - GetSuggestionRequest_descriptor_ = file->message_type(34); - static const int GetSuggestionRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, suggestion_id_), - }; - GetSuggestionRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetSuggestionRequest_descriptor_, - GetSuggestionRequest::default_instance_, - GetSuggestionRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetSuggestionRequest)); - GetSuggestionResponse_descriptor_ = file->message_type(35); - static const int GetSuggestionResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, suggestion_), - }; - GetSuggestionResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetSuggestionResponse_descriptor_, - GetSuggestionResponse::default_instance_, - GetSuggestionResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetSuggestionResponse)); - GetSuggestionsRequest_descriptor_ = file->message_type(36); - static const int GetSuggestionsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, continuation_), - }; - GetSuggestionsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetSuggestionsRequest_descriptor_, - GetSuggestionsRequest::default_instance_, - GetSuggestionsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetSuggestionsRequest)); - GetSuggestionsResponse_descriptor_ = file->message_type(37); - static const int GetSuggestionsResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, suggestion_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, continuation_), - }; - GetSuggestionsResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetSuggestionsResponse_descriptor_, - GetSuggestionsResponse::default_instance_, - GetSuggestionsResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetSuggestionsResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetSuggestionsResponse)); - CreateTicketRequest_descriptor_ = file->message_type(38); - static const int CreateTicketRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, options_), - }; - CreateTicketRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateTicketRequest_descriptor_, - CreateTicketRequest::default_instance_, - CreateTicketRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateTicketRequest)); - CreateTicketResponse_descriptor_ = file->message_type(39); - static const int CreateTicketResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, ticket_), - }; - CreateTicketResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateTicketResponse_descriptor_, - CreateTicketResponse::default_instance_, - CreateTicketResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateTicketResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateTicketResponse)); - DestroyTicketRequest_descriptor_ = file->message_type(40); - static const int DestroyTicketRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, ticket_id_), - }; - DestroyTicketRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DestroyTicketRequest_descriptor_, - DestroyTicketRequest::default_instance_, - DestroyTicketRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyTicketRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DestroyTicketRequest)); - RedeemTicketRequest_descriptor_ = file->message_type(41); - static const int RedeemTicketRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, ticket_id_), - }; - RedeemTicketRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RedeemTicketRequest_descriptor_, - RedeemTicketRequest::default_instance_, - RedeemTicketRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RedeemTicketRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RedeemTicketRequest)); - GetTicketRequest_descriptor_ = file->message_type(42); - static const int GetTicketRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, ticket_id_), - }; - GetTicketRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetTicketRequest_descriptor_, - GetTicketRequest::default_instance_, - GetTicketRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetTicketRequest)); - GetTicketResponse_descriptor_ = file->message_type(43); - static const int GetTicketResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, ticket_), - }; - GetTicketResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetTicketResponse_descriptor_, - GetTicketResponse::default_instance_, - GetTicketResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetTicketResponse)); - GetTicketsRequest_descriptor_ = file->message_type(44); - static const int GetTicketsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, continuation_), - }; - GetTicketsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetTicketsRequest_descriptor_, - GetTicketsRequest::default_instance_, - GetTicketsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetTicketsRequest)); - GetTicketsResponse_descriptor_ = file->message_type(45); - static const int GetTicketsResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, ticket_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, continuation_), - }; - GetTicketsResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetTicketsResponse_descriptor_, - GetTicketsResponse::default_instance_, - GetTicketsResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetTicketsResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetTicketsResponse)); - AddBanRequest_descriptor_ = file->message_type(46); - static const int AddBanRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, options_), - }; - AddBanRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AddBanRequest_descriptor_, - AddBanRequest::default_instance_, - AddBanRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddBanRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AddBanRequest)); - RemoveBanRequest_descriptor_ = file->message_type(47); - static const int RemoveBanRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, target_id_), - }; - RemoveBanRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RemoveBanRequest_descriptor_, - RemoveBanRequest::default_instance_, - RemoveBanRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RemoveBanRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RemoveBanRequest)); - GetBanRequest_descriptor_ = file->message_type(48); - static const int GetBanRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, target_id_), - }; - GetBanRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetBanRequest_descriptor_, - GetBanRequest::default_instance_, - GetBanRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetBanRequest)); - GetBanResponse_descriptor_ = file->message_type(49); - static const int GetBanResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, ban_), - }; - GetBanResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetBanResponse_descriptor_, - GetBanResponse::default_instance_, - GetBanResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBanResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetBanResponse)); - GetBansRequest_descriptor_ = file->message_type(50); - static const int GetBansRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, continuation_), - }; - GetBansRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetBansRequest_descriptor_, - GetBansRequest::default_instance_, - GetBansRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetBansRequest)); - GetBansResponse_descriptor_ = file->message_type(51); - static const int GetBansResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, ban_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, continuation_), - }; - GetBansResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetBansResponse_descriptor_, - GetBansResponse::default_instance_, - GetBansResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetBansResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetBansResponse)); - SubscribeStreamRequest_descriptor_ = file->message_type(52); - static const int SubscribeStreamRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, stream_id_), - }; - SubscribeStreamRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeStreamRequest_descriptor_, - SubscribeStreamRequest::default_instance_, - SubscribeStreamRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeStreamRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeStreamRequest)); - UnsubscribeStreamRequest_descriptor_ = file->message_type(53); - static const int UnsubscribeStreamRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, stream_id_), - }; - UnsubscribeStreamRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnsubscribeStreamRequest_descriptor_, - UnsubscribeStreamRequest::default_instance_, - UnsubscribeStreamRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeStreamRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnsubscribeStreamRequest)); - CreateStreamRequest_descriptor_ = file->message_type(54); - static const int CreateStreamRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, options_), - }; - CreateStreamRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateStreamRequest_descriptor_, - CreateStreamRequest::default_instance_, - CreateStreamRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateStreamRequest)); - CreateStreamResponse_descriptor_ = file->message_type(55); - static const int CreateStreamResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, stream_id_), - }; - CreateStreamResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateStreamResponse_descriptor_, - CreateStreamResponse::default_instance_, - CreateStreamResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateStreamResponse)); - DestroyStreamRequest_descriptor_ = file->message_type(56); - static const int DestroyStreamRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, stream_id_), - }; - DestroyStreamRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DestroyStreamRequest_descriptor_, - DestroyStreamRequest::default_instance_, - DestroyStreamRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyStreamRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DestroyStreamRequest)); - GetStreamRequest_descriptor_ = file->message_type(57); - static const int GetStreamRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, stream_id_), - }; - GetStreamRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamRequest_descriptor_, - GetStreamRequest::default_instance_, - GetStreamRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamRequest)); - GetStreamResponse_descriptor_ = file->message_type(58); - static const int GetStreamResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, stream_), - }; - GetStreamResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamResponse_descriptor_, - GetStreamResponse::default_instance_, - GetStreamResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamResponse)); - GetStreamsRequest_descriptor_ = file->message_type(59); - static const int GetStreamsRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, continuation_), - }; - GetStreamsRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamsRequest_descriptor_, - GetStreamsRequest::default_instance_, - GetStreamsRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamsRequest)); - GetStreamsResponse_descriptor_ = file->message_type(60); - static const int GetStreamsResponse_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, view_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, continuation_), - }; - GetStreamsResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamsResponse_descriptor_, - GetStreamsResponse::default_instance_, - GetStreamsResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamsResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamsResponse)); - UpdateStreamStateRequest_descriptor_ = file->message_type(61); - static const int UpdateStreamStateRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, options_), - }; - UpdateStreamStateRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UpdateStreamStateRequest_descriptor_, - UpdateStreamStateRequest::default_instance_, - UpdateStreamStateRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UpdateStreamStateRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UpdateStreamStateRequest)); - SetStreamFocusRequest_descriptor_ = file->message_type(62); - static const int SetStreamFocusRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, focus_), - }; - SetStreamFocusRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SetStreamFocusRequest_descriptor_, - SetStreamFocusRequest::default_instance_, - SetStreamFocusRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetStreamFocusRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SetStreamFocusRequest)); - CreateMessageRequest_descriptor_ = file->message_type(63); - static const int CreateMessageRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, options_), - }; - CreateMessageRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateMessageRequest_descriptor_, - CreateMessageRequest::default_instance_, - CreateMessageRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateMessageRequest)); - CreateMessageResponse_descriptor_ = file->message_type(64); - static const int CreateMessageResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, message_), - }; - CreateMessageResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateMessageResponse_descriptor_, - CreateMessageResponse::default_instance_, - CreateMessageResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateMessageResponse)); - DestroyMessageRequest_descriptor_ = file->message_type(65); - static const int DestroyMessageRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, message_id_), - }; - DestroyMessageRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DestroyMessageRequest_descriptor_, - DestroyMessageRequest::default_instance_, - DestroyMessageRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DestroyMessageRequest)); - DestroyMessageResponse_descriptor_ = file->message_type(66); - static const int DestroyMessageResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, message_), - }; - DestroyMessageResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - DestroyMessageResponse_descriptor_, - DestroyMessageResponse::default_instance_, - DestroyMessageResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DestroyMessageResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(DestroyMessageResponse)); - EditMessageRequest_descriptor_ = file->message_type(67); - static const int EditMessageRequest_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, message_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, options_), - }; - EditMessageRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - EditMessageRequest_descriptor_, - EditMessageRequest::default_instance_, - EditMessageRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(EditMessageRequest)); - EditMessageResponse_descriptor_ = file->message_type(68); - static const int EditMessageResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, message_), - }; - EditMessageResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - EditMessageResponse_descriptor_, - EditMessageResponse::default_instance_, - EditMessageResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EditMessageResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(EditMessageResponse)); - SetMessagePinnedRequest_descriptor_ = file->message_type(69); - static const int SetMessagePinnedRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, stream_id_), - }; - SetMessagePinnedRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SetMessagePinnedRequest_descriptor_, - SetMessagePinnedRequest::default_instance_, - SetMessagePinnedRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetMessagePinnedRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SetMessagePinnedRequest)); - SetTypingIndicatorRequest_descriptor_ = file->message_type(70); - static const int SetTypingIndicatorRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, indicator_), - }; - SetTypingIndicatorRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SetTypingIndicatorRequest_descriptor_, - SetTypingIndicatorRequest::default_instance_, - SetTypingIndicatorRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetTypingIndicatorRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SetTypingIndicatorRequest)); - AdvanceStreamViewTimeRequest_descriptor_ = file->message_type(71); - static const int AdvanceStreamViewTimeRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_deprecated_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, stream_id_), - }; - AdvanceStreamViewTimeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AdvanceStreamViewTimeRequest_descriptor_, - AdvanceStreamViewTimeRequest::default_instance_, - AdvanceStreamViewTimeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamViewTimeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AdvanceStreamViewTimeRequest)); - AdvanceStreamMentionViewTimeRequest_descriptor_ = file->message_type(72); - static const int AdvanceStreamMentionViewTimeRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, stream_id_), - }; - AdvanceStreamMentionViewTimeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AdvanceStreamMentionViewTimeRequest_descriptor_, - AdvanceStreamMentionViewTimeRequest::default_instance_, - AdvanceStreamMentionViewTimeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceStreamMentionViewTimeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AdvanceStreamMentionViewTimeRequest)); - AdvanceActivityViewTimeRequest_descriptor_ = file->message_type(73); - static const int AdvanceActivityViewTimeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, club_id_), - }; - AdvanceActivityViewTimeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AdvanceActivityViewTimeRequest_descriptor_, - AdvanceActivityViewTimeRequest::default_instance_, - AdvanceActivityViewTimeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AdvanceActivityViewTimeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AdvanceActivityViewTimeRequest)); - GetStreamHistoryRequest_descriptor_ = file->message_type(74); - static const int GetStreamHistoryRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, options_), - }; - GetStreamHistoryRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamHistoryRequest_descriptor_, - GetStreamHistoryRequest::default_instance_, - GetStreamHistoryRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamHistoryRequest)); - GetStreamHistoryResponse_descriptor_ = file->message_type(75); - static const int GetStreamHistoryResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, continuation_), - }; - GetStreamHistoryResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamHistoryResponse_descriptor_, - GetStreamHistoryResponse::default_instance_, - GetStreamHistoryResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamHistoryResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamHistoryResponse)); - GetStreamMessageRequest_descriptor_ = file->message_type(76); - static const int GetStreamMessageRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, message_id_), - }; - GetStreamMessageRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamMessageRequest_descriptor_, - GetStreamMessageRequest::default_instance_, - GetStreamMessageRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamMessageRequest)); - GetStreamMessageResponse_descriptor_ = file->message_type(77); - static const int GetStreamMessageResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, message_), - }; - GetStreamMessageResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamMessageResponse_descriptor_, - GetStreamMessageResponse::default_instance_, - GetStreamMessageResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamMessageResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamMessageResponse)); - GetClubActivityRequest_descriptor_ = file->message_type(78); - static const int GetClubActivityRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, options_), - }; - GetClubActivityRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetClubActivityRequest_descriptor_, - GetClubActivityRequest::default_instance_, - GetClubActivityRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetClubActivityRequest)); - GetClubActivityResponse_descriptor_ = file->message_type(79); - static const int GetClubActivityResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, continuation_), - }; - GetClubActivityResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetClubActivityResponse_descriptor_, - GetClubActivityResponse::default_instance_, - GetClubActivityResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetClubActivityResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetClubActivityResponse)); - GetStreamVoiceTokenRequest_descriptor_ = file->message_type(80); - static const int GetStreamVoiceTokenRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, version_), - }; - GetStreamVoiceTokenRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamVoiceTokenRequest_descriptor_, - GetStreamVoiceTokenRequest::default_instance_, - GetStreamVoiceTokenRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamVoiceTokenRequest)); - GetStreamVoiceTokenResponse_descriptor_ = file->message_type(81); - static const int GetStreamVoiceTokenResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, channel_uri_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, credentials_), - }; - GetStreamVoiceTokenResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetStreamVoiceTokenResponse_descriptor_, - GetStreamVoiceTokenResponse::default_instance_, - GetStreamVoiceTokenResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetStreamVoiceTokenResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetStreamVoiceTokenResponse)); - KickFromStreamVoiceRequest_descriptor_ = file->message_type(82); - static const int KickFromStreamVoiceRequest_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, target_id_), - }; - KickFromStreamVoiceRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - KickFromStreamVoiceRequest_descriptor_, - KickFromStreamVoiceRequest::default_instance_, - KickFromStreamVoiceRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(KickFromStreamVoiceRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(KickFromStreamVoiceRequest)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frequest_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateRequest_descriptor_, &CreateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateResponse_descriptor_, &CreateResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DestroyRequest_descriptor_, &DestroyRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetDescriptionRequest_descriptor_, &GetDescriptionRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetDescriptionResponse_descriptor_, &GetDescriptionResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetClubTypeRequest_descriptor_, &GetClubTypeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetClubTypeResponse_descriptor_, &GetClubTypeResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateClubStateRequest_descriptor_, &UpdateClubStateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateClubSettingsRequest_descriptor_, &UpdateClubSettingsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AddMemberRequest_descriptor_, &AddMemberRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - JoinRequest_descriptor_, &JoinRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - LeaveRequest_descriptor_, &LeaveRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - KickRequest_descriptor_, &KickRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetMemberRequest_descriptor_, &GetMemberRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetMemberResponse_descriptor_, &GetMemberResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetMembersRequest_descriptor_, &GetMembersRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetMembersResponse_descriptor_, &GetMembersResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateMemberStateRequest_descriptor_, &UpdateMemberStateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateSubscriberStateRequest_descriptor_, &UpdateSubscriberStateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AssignRoleRequest_descriptor_, &AssignRoleRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnassignRoleRequest_descriptor_, &UnassignRoleRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SendInvitationRequest_descriptor_, &SendInvitationRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AcceptInvitationRequest_descriptor_, &AcceptInvitationRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DeclineInvitationRequest_descriptor_, &DeclineInvitationRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RevokeInvitationRequest_descriptor_, &RevokeInvitationRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetInvitationRequest_descriptor_, &GetInvitationRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetInvitationResponse_descriptor_, &GetInvitationResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetInvitationsRequest_descriptor_, &GetInvitationsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetInvitationsResponse_descriptor_, &GetInvitationsResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SendSuggestionRequest_descriptor_, &SendSuggestionRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AcceptSuggestionRequest_descriptor_, &AcceptSuggestionRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DeclineSuggestionRequest_descriptor_, &DeclineSuggestionRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetSuggestionRequest_descriptor_, &GetSuggestionRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetSuggestionResponse_descriptor_, &GetSuggestionResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetSuggestionsRequest_descriptor_, &GetSuggestionsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetSuggestionsResponse_descriptor_, &GetSuggestionsResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateTicketRequest_descriptor_, &CreateTicketRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateTicketResponse_descriptor_, &CreateTicketResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DestroyTicketRequest_descriptor_, &DestroyTicketRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RedeemTicketRequest_descriptor_, &RedeemTicketRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetTicketRequest_descriptor_, &GetTicketRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetTicketResponse_descriptor_, &GetTicketResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetTicketsRequest_descriptor_, &GetTicketsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetTicketsResponse_descriptor_, &GetTicketsResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AddBanRequest_descriptor_, &AddBanRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RemoveBanRequest_descriptor_, &RemoveBanRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetBanRequest_descriptor_, &GetBanRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetBanResponse_descriptor_, &GetBanResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetBansRequest_descriptor_, &GetBansRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetBansResponse_descriptor_, &GetBansResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeStreamRequest_descriptor_, &SubscribeStreamRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnsubscribeStreamRequest_descriptor_, &UnsubscribeStreamRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateStreamRequest_descriptor_, &CreateStreamRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateStreamResponse_descriptor_, &CreateStreamResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DestroyStreamRequest_descriptor_, &DestroyStreamRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamRequest_descriptor_, &GetStreamRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamResponse_descriptor_, &GetStreamResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamsRequest_descriptor_, &GetStreamsRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamsResponse_descriptor_, &GetStreamsResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UpdateStreamStateRequest_descriptor_, &UpdateStreamStateRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SetStreamFocusRequest_descriptor_, &SetStreamFocusRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateMessageRequest_descriptor_, &CreateMessageRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateMessageResponse_descriptor_, &CreateMessageResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DestroyMessageRequest_descriptor_, &DestroyMessageRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - DestroyMessageResponse_descriptor_, &DestroyMessageResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - EditMessageRequest_descriptor_, &EditMessageRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - EditMessageResponse_descriptor_, &EditMessageResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SetMessagePinnedRequest_descriptor_, &SetMessagePinnedRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SetTypingIndicatorRequest_descriptor_, &SetTypingIndicatorRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AdvanceStreamViewTimeRequest_descriptor_, &AdvanceStreamViewTimeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AdvanceStreamMentionViewTimeRequest_descriptor_, &AdvanceStreamMentionViewTimeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AdvanceActivityViewTimeRequest_descriptor_, &AdvanceActivityViewTimeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamHistoryRequest_descriptor_, &GetStreamHistoryRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamHistoryResponse_descriptor_, &GetStreamHistoryResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamMessageRequest_descriptor_, &GetStreamMessageRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamMessageResponse_descriptor_, &GetStreamMessageResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetClubActivityRequest_descriptor_, &GetClubActivityRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetClubActivityResponse_descriptor_, &GetClubActivityResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamVoiceTokenRequest_descriptor_, &GetStreamVoiceTokenRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetStreamVoiceTokenResponse_descriptor_, &GetStreamVoiceTokenResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - KickFromStreamVoiceRequest_descriptor_, &KickFromStreamVoiceRequest::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5frequest_2eproto() { - delete SubscribeRequest::default_instance_; - delete SubscribeRequest_reflection_; - delete UnsubscribeRequest::default_instance_; - delete UnsubscribeRequest_reflection_; - delete CreateRequest::default_instance_; - delete CreateRequest_reflection_; - delete CreateResponse::default_instance_; - delete CreateResponse_reflection_; - delete DestroyRequest::default_instance_; - delete DestroyRequest_reflection_; - delete GetDescriptionRequest::default_instance_; - delete GetDescriptionRequest_reflection_; - delete GetDescriptionResponse::default_instance_; - delete GetDescriptionResponse_reflection_; - delete GetClubTypeRequest::default_instance_; - delete GetClubTypeRequest_reflection_; - delete GetClubTypeResponse::default_instance_; - delete GetClubTypeResponse_reflection_; - delete UpdateClubStateRequest::default_instance_; - delete UpdateClubStateRequest_reflection_; - delete UpdateClubSettingsRequest::default_instance_; - delete UpdateClubSettingsRequest_reflection_; - delete AddMemberRequest::default_instance_; - delete AddMemberRequest_reflection_; - delete JoinRequest::default_instance_; - delete JoinRequest_reflection_; - delete LeaveRequest::default_instance_; - delete LeaveRequest_reflection_; - delete KickRequest::default_instance_; - delete KickRequest_reflection_; - delete GetMemberRequest::default_instance_; - delete GetMemberRequest_reflection_; - delete GetMemberResponse::default_instance_; - delete GetMemberResponse_reflection_; - delete GetMembersRequest::default_instance_; - delete GetMembersRequest_reflection_; - delete GetMembersResponse::default_instance_; - delete GetMembersResponse_reflection_; - delete UpdateMemberStateRequest::default_instance_; - delete UpdateMemberStateRequest_reflection_; - delete UpdateSubscriberStateRequest::default_instance_; - delete UpdateSubscriberStateRequest_reflection_; - delete AssignRoleRequest::default_instance_; - delete AssignRoleRequest_reflection_; - delete UnassignRoleRequest::default_instance_; - delete UnassignRoleRequest_reflection_; - delete SendInvitationRequest::default_instance_; - delete SendInvitationRequest_reflection_; - delete AcceptInvitationRequest::default_instance_; - delete AcceptInvitationRequest_reflection_; - delete DeclineInvitationRequest::default_instance_; - delete DeclineInvitationRequest_reflection_; - delete RevokeInvitationRequest::default_instance_; - delete RevokeInvitationRequest_reflection_; - delete GetInvitationRequest::default_instance_; - delete GetInvitationRequest_reflection_; - delete GetInvitationResponse::default_instance_; - delete GetInvitationResponse_reflection_; - delete GetInvitationsRequest::default_instance_; - delete GetInvitationsRequest_reflection_; - delete GetInvitationsResponse::default_instance_; - delete GetInvitationsResponse_reflection_; - delete SendSuggestionRequest::default_instance_; - delete SendSuggestionRequest_reflection_; - delete AcceptSuggestionRequest::default_instance_; - delete AcceptSuggestionRequest_reflection_; - delete DeclineSuggestionRequest::default_instance_; - delete DeclineSuggestionRequest_reflection_; - delete GetSuggestionRequest::default_instance_; - delete GetSuggestionRequest_reflection_; - delete GetSuggestionResponse::default_instance_; - delete GetSuggestionResponse_reflection_; - delete GetSuggestionsRequest::default_instance_; - delete GetSuggestionsRequest_reflection_; - delete GetSuggestionsResponse::default_instance_; - delete GetSuggestionsResponse_reflection_; - delete CreateTicketRequest::default_instance_; - delete CreateTicketRequest_reflection_; - delete CreateTicketResponse::default_instance_; - delete CreateTicketResponse_reflection_; - delete DestroyTicketRequest::default_instance_; - delete DestroyTicketRequest_reflection_; - delete RedeemTicketRequest::default_instance_; - delete RedeemTicketRequest_reflection_; - delete GetTicketRequest::default_instance_; - delete GetTicketRequest_reflection_; - delete GetTicketResponse::default_instance_; - delete GetTicketResponse_reflection_; - delete GetTicketsRequest::default_instance_; - delete GetTicketsRequest_reflection_; - delete GetTicketsResponse::default_instance_; - delete GetTicketsResponse_reflection_; - delete AddBanRequest::default_instance_; - delete AddBanRequest_reflection_; - delete RemoveBanRequest::default_instance_; - delete RemoveBanRequest_reflection_; - delete GetBanRequest::default_instance_; - delete GetBanRequest_reflection_; - delete GetBanResponse::default_instance_; - delete GetBanResponse_reflection_; - delete GetBansRequest::default_instance_; - delete GetBansRequest_reflection_; - delete GetBansResponse::default_instance_; - delete GetBansResponse_reflection_; - delete SubscribeStreamRequest::default_instance_; - delete SubscribeStreamRequest_reflection_; - delete UnsubscribeStreamRequest::default_instance_; - delete UnsubscribeStreamRequest_reflection_; - delete CreateStreamRequest::default_instance_; - delete CreateStreamRequest_reflection_; - delete CreateStreamResponse::default_instance_; - delete CreateStreamResponse_reflection_; - delete DestroyStreamRequest::default_instance_; - delete DestroyStreamRequest_reflection_; - delete GetStreamRequest::default_instance_; - delete GetStreamRequest_reflection_; - delete GetStreamResponse::default_instance_; - delete GetStreamResponse_reflection_; - delete GetStreamsRequest::default_instance_; - delete GetStreamsRequest_reflection_; - delete GetStreamsResponse::default_instance_; - delete GetStreamsResponse_reflection_; - delete UpdateStreamStateRequest::default_instance_; - delete UpdateStreamStateRequest_reflection_; - delete SetStreamFocusRequest::default_instance_; - delete SetStreamFocusRequest_reflection_; - delete CreateMessageRequest::default_instance_; - delete CreateMessageRequest_reflection_; - delete CreateMessageResponse::default_instance_; - delete CreateMessageResponse_reflection_; - delete DestroyMessageRequest::default_instance_; - delete DestroyMessageRequest_reflection_; - delete DestroyMessageResponse::default_instance_; - delete DestroyMessageResponse_reflection_; - delete EditMessageRequest::default_instance_; - delete EditMessageRequest_reflection_; - delete EditMessageResponse::default_instance_; - delete EditMessageResponse_reflection_; - delete SetMessagePinnedRequest::default_instance_; - delete SetMessagePinnedRequest_reflection_; - delete SetTypingIndicatorRequest::default_instance_; - delete SetTypingIndicatorRequest_reflection_; - delete AdvanceStreamViewTimeRequest::default_instance_; - delete AdvanceStreamViewTimeRequest_reflection_; - delete AdvanceStreamMentionViewTimeRequest::default_instance_; - delete AdvanceStreamMentionViewTimeRequest_reflection_; - delete AdvanceActivityViewTimeRequest::default_instance_; - delete AdvanceActivityViewTimeRequest_reflection_; - delete GetStreamHistoryRequest::default_instance_; - delete GetStreamHistoryRequest_reflection_; - delete GetStreamHistoryResponse::default_instance_; - delete GetStreamHistoryResponse_reflection_; - delete GetStreamMessageRequest::default_instance_; - delete GetStreamMessageRequest_reflection_; - delete GetStreamMessageResponse::default_instance_; - delete GetStreamMessageResponse_reflection_; - delete GetClubActivityRequest::default_instance_; - delete GetClubActivityRequest_reflection_; - delete GetClubActivityResponse::default_instance_; - delete GetClubActivityResponse_reflection_; - delete GetStreamVoiceTokenRequest::default_instance_; - delete GetStreamVoiceTokenRequest_reflection_; - delete GetStreamVoiceTokenResponse::default_instance_; - delete GetStreamVoiceTokenResponse_reflection_; - delete KickFromStreamVoiceRequest::default_instance_; - delete KickFromStreamVoiceRequest_reflection_; -} - -void protobuf_AddDesc_club_5frequest_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\022club_request.proto\022\024bgs.protocol.club." - "v1\032\020club_types.proto\032\016club_tag.proto\032\017rp" - "c_types.proto\"]\n\020SubscribeRequest\0220\n\010age" - "nt_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Membe" - "rId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"_\n\022Unsubscr" - "ibeRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto" - "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202" - "\371+\002\020\001\"{\n\rCreateRequest\0220\n\010agent_id\030\001 \001(\013" - "2\036.bgs.protocol.club.v1.MemberId\0228\n\007opti" - "ons\030\002 \001(\0132\'.bgs.protocol.club.v1.ClubCre" - "ateOptions\"!\n\016CreateResponse\022\017\n\007club_id\030" - "\001 \001(\004\"[\n\016DestroyRequest\0220\n\010agent_id\030\001 \001(" - "\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007clu" - "b_id\030\002 \001(\004B\006\202\371+\002\020\001\"b\n\025GetDescriptionRequ" - "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" - "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"M" - "\n\026GetDescriptionResponse\0223\n\004club\030\001 \001(\0132%" - ".bgs.protocol.club.v1.ClubDescription\"z\n" - "\022GetClubTypeRequest\0220\n\010agent_id\030\001 \001(\0132\036." - "bgs.protocol.club.v1.MemberId\0222\n\004type\030\002 " - "\001(\0132$.bgs.protocol.club.v1.UniqueClubTyp" - "e\"\263\002\n\023GetClubTypeResponse\0222\n\004type\030\001 \001(\0132" - "$.bgs.protocol.club.v1.UniqueClubType\0223\n" - "\010role_set\030\002 \001(\0132!.bgs.protocol.club.v1.C" - "lubRoleSet\0229\n\trange_set\030\003 \001(\0132&.bgs.prot" - "ocol.club.v1.ClubTypeRangeSet\022<\n\020platfor" - "m_tag_set\030\004 \003(\0132\".bgs.protocol.club.v1.L" - "ocalizedTag\022:\n\016custom_tag_set\030\005 \003(\0132\".bg" - "s.protocol.club.v1.LocalizedTag\"\234\001\n\026Upda" - "teClubStateRequest\0220\n\010agent_id\030\001 \001(\0132\036.b" - "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030" - "\002 \001(\004B\006\202\371+\002\020\001\0227\n\007options\030\003 \001(\0132&.bgs.pro" - "tocol.club.v1.ClubStateOptions\"\242\001\n\031Updat" - "eClubSettingsRequest\0220\n\010agent_id\030\001 \001(\0132\036" - ".bgs.protocol.club.v1.MemberId\022\027\n\007club_i" - "d\030\002 \001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.p" - "rotocol.club.v1.ClubSettingsOptions\"\231\001\n\020" - "AddMemberRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs" - ".protocol.club.v1.MemberId\022\027\n\007club_id\030\002 " - "\001(\004B\006\202\371+\002\020\001\022:\n\007options\030\003 \001(\0132).bgs.proto" - "col.club.v1.CreateMemberOptions\"\224\001\n\013Join" - "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" - ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002" - "\020\001\022:\n\007options\030\003 \001(\0132).bgs.protocol.club." - "v1.CreateMemberOptions\"Y\n\014LeaveRequest\0220" - "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1." - "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\"\213\001\n\013Ki" - "ckRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protoc" - "ol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371" - "+\002\020\001\0221\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\"\220\001\n\020GetMemberRequest\0220\n\010" - "agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Me" - "mberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmembe" - "r_id\030\003 \001(\0132\036.bgs.protocol.club.v1.Member" - "Id\"A\n\021GetMemberResponse\022,\n\006member\030\001 \001(\0132" - "\034.bgs.protocol.club.v1.Member\"t\n\021GetMemb" - "ersRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto" - "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202" - "\371+\002\020\001\022\024\n\014continuation\030\004 \001(\004\"X\n\022GetMember" - "sResponse\022,\n\006member\030\001 \003(\0132\034.bgs.protocol" - ".club.v1.Member\022\024\n\014continuation\030\002 \001(\004\"\323\001" - "\n\030UpdateMemberStateRequest\0220\n\010agent_id\030\001" - " \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007" - "club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\tmember_id\030\003 \001(\013" - "2\036.bgs.protocol.club.v1.MemberId\0229\n\007opti" - "ons\030\005 \001(\0132(.bgs.protocol.club.v1.MemberS" - "tateOptions\"\250\001\n\034UpdateSubscriberStateReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" - "=\n\007options\030\003 \001(\0132,.bgs.protocol.club.v1." - "SubscriberStateOptions\"\222\001\n\021AssignRoleReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" - "2\n\007options\030\003 \001(\0132!.bgs.protocol.club.v1." - "RoleOptions\"\224\001\n\023UnassignRoleRequest\0220\n\010a" - "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" - "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0222\n\007option" - "s\030\003 \001(\0132!.bgs.protocol.club.v1.RoleOptio" - "ns\"\240\001\n\025SendInvitationRequest\0220\n\010agent_id" - "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" - "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022<\n\007options\030\003 \001(\013" - "2+.bgs.protocol.club.v1.SendInvitationOp" - "tions\"{\n\027AcceptInvitationRequest\0220\n\010agen" - "t_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Member" - "Id\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinvitatio" - "n_id\030\003 \001(\006\"|\n\030DeclineInvitationRequest\0220" - "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1." - "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025\n\rinv" - "itation_id\030\003 \001(\006\"{\n\027RevokeInvitationRequ" - "est\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.clu" - "b.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\025" - "\n\rinvitation_id\030\003 \001(\006\"x\n\024GetInvitationRe" - "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" - "\022\025\n\rinvitation_id\030\003 \001(\006\"Q\n\025GetInvitation" - "Response\0228\n\ninvitation\030\001 \001(\0132$.bgs.proto" - "col.club.v1.ClubInvitation\"x\n\025GetInvitat" - "ionsRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.prot" - "ocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006" - "\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"h\n\026GetInvit" - "ationsResponse\0228\n\ninvitation\030\001 \003(\0132$.bgs" - ".protocol.club.v1.ClubInvitation\022\024\n\014cont" - "inuation\030\002 \001(\004\"\240\001\n\025SendSuggestionRequest" - "\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v" - "1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022<\n\007o" - "ptions\030\003 \001(\0132+.bgs.protocol.club.v1.Send" - "SuggestionOptions\"{\n\027AcceptSuggestionReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" - "\025\n\rsuggestion_id\030\003 \001(\006\"|\n\030DeclineSuggest" - "ionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto" - "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202" - "\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"x\n\024GetSugge" - "stionRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.pro" - "tocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B" - "\006\202\371+\002\020\001\022\025\n\rsuggestion_id\030\003 \001(\006\"Q\n\025GetSug" - "gestionResponse\0228\n\nsuggestion\030\001 \001(\0132$.bg" - "s.protocol.club.v1.ClubSuggestion\"x\n\025Get" - "SuggestionsRequest\0220\n\010agent_id\030\001 \001(\0132\036.b" - "gs.protocol.club.v1.MemberId\022\027\n\007club_id\030" - "\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continuation\030\003 \001(\004\"h\n\026G" - "etSuggestionsResponse\0228\n\nsuggestion\030\001 \003(" - "\0132$.bgs.protocol.club.v1.ClubSuggestion\022" - "\024\n\014continuation\030\002 \001(\004\"\234\001\n\023CreateTicketRe" - "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" - "\022:\n\007options\030\003 \001(\0132).bgs.protocol.club.v1" - ".CreateTicketOptions\"H\n\024CreateTicketResp" - "onse\0220\n\006ticket\030\001 \001(\0132 .bgs.protocol.club" - ".v1.ClubTicket\"t\n\024DestroyTicketRequest\0220" - "\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1." - "MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\ttic" - "ket_id\030\003 \001(\t\"Z\n\023RedeemTicketRequest\0220\n\010a" - "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" - "berId\022\021\n\tticket_id\030\003 \001(\t\"W\n\020GetTicketReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\021\n\tticket_id\030\003 \001(\t\"E\n\021Get" - "TicketResponse\0220\n\006ticket\030\001 \001(\0132 .bgs.pro" - "tocol.club.v1.ClubTicket\"t\n\021GetTicketsRe" - "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" - "\022\024\n\014continuation\030\003 \001(\004\"\\\n\022GetTicketsResp" - "onse\0220\n\006ticket\030\001 \003(\0132 .bgs.protocol.club" - ".v1.ClubTicket\022\024\n\014continuation\030\002 \001(\004\"\220\001\n" - "\rAddBanRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p" - "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(" - "\004B\006\202\371+\002\020\001\0224\n\007options\030\003 \001(\0132#.bgs.protoco" - "l.club.v1.AddBanOptions\"\220\001\n\020RemoveBanReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" - "1\n\ttarget_id\030\003 \001(\0132\036.bgs.protocol.club.v" - "1.MemberId\"\215\001\n\rGetBanRequest\0220\n\010agent_id" - "\030\001 \001(\0132\036.bgs.protocol.club.v1.MemberId\022\027" - "\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\0221\n\ttarget_id\030\003 \001" - "(\0132\036.bgs.protocol.club.v1.MemberId\"<\n\016Ge" - "tBanResponse\022*\n\003ban\030\001 \001(\0132\035.bgs.protocol" - ".club.v1.ClubBan\"q\n\016GetBansRequest\0220\n\010ag" - "ent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Memb" - "erId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014continu" - "ation\030\003 \001(\004\"S\n\017GetBansResponse\022*\n\003ban\030\001 " - "\003(\0132\035.bgs.protocol.club.v1.ClubBan\022\024\n\014co" - "ntinuation\030\002 \001(\004\"v\n\026SubscribeStreamReque" - "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" - ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n" - "\tstream_id\030\003 \003(\004\"x\n\030UnsubscribeStreamReq" - "uest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.cl" - "ub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022" - "\021\n\tstream_id\030\003 \003(\004\"\234\001\n\023CreateStreamReque" - "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" - ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022:\n" - "\007options\030\003 \001(\0132).bgs.protocol.club.v1.Cr" - "eateStreamOptions\":\n\024CreateStreamRespons" - "e\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\"t\n" - "\024DestroyStreamRequest\0220\n\010agent_id\030\001 \001(\0132" - "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" - "id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"p\n\020G" - "etStreamRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs." - "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001" - "(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"A\n\021GetStre" - "amResponse\022,\n\006stream\030\001 \001(\0132\034.bgs.protoco" - "l.club.v1.Stream\"t\n\021GetStreamsRequest\0220\n" - "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" - "emberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\024\n\014cont" - "inuation\030\003 \001(\004\"\210\001\n\022GetStreamsResponse\022,\n" - "\006stream\030\001 \003(\0132\034.bgs.protocol.club.v1.Str" - "eam\022.\n\004view\030\002 \003(\0132 .bgs.protocol.club.v1" - ".StreamView\022\024\n\014continuation\030\003 \001(\004\"\263\001\n\030Up" - "dateStreamStateRequest\0220\n\010agent_id\030\001 \001(\013" - "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club" - "_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\0229\n\007" - "options\030\005 \001(\0132(.bgs.protocol.club.v1.Str" - "eamStateOptions\"\204\001\n\025SetStreamFocusReques" - "t\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club." - "v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\t" - "stream_id\030\003 \001(\004\022\r\n\005focus\030\004 \001(\010\"\261\001\n\024Creat" - "eMessageRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs." - "protocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001" - "(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022;\n\007options" - "\030\004 \001(\0132*.bgs.protocol.club.v1.CreateMess" - "ageOptions\"M\n\025CreateMessageResponse\0224\n\007m" - "essage\030\001 \001(\0132#.bgs.protocol.club.v1.Stre" - "amMessage\"\242\001\n\025DestroyMessageRequest\0220\n\010a" - "gent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.Mem" - "berId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream" - "_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.prot" - "ocol.MessageId\"N\n\026DestroyMessageResponse" - "\0224\n\007message\030\001 \001(\0132#.bgs.protocol.club.v1" - ".StreamMessage\"\334\001\n\022EditMessageRequest\0220\n" - "\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1.M" - "emberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstre" - "am_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs.pr" - "otocol.MessageId\022;\n\007options\030\005 \001(\0132*.bgs." - "protocol.club.v1.CreateMessageOptions\"K\n" - "\023EditMessageResponse\0224\n\007message\030\001 \001(\0132#." - "bgs.protocol.club.v1.StreamMessage\"w\n\027Se" - "tMessagePinnedRequest\0220\n\010agent_id\030\001 \001(\0132" - "\036.bgs.protocol.club.v1.MemberId\022\027\n\007club_" - "id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"\253\001\n\031" - "SetTypingIndicatorRequest\0220\n\010agent_id\030\001 " - "\001(\0132\036.bgs.protocol.club.v1.MemberId\022\027\n\007c" - "lub_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022" - "0\n\tindicator\030\004 \001(\0162\035.bgs.protocol.Typing" - "Indicator\"\242\001\n\034AdvanceStreamViewTimeReque" - "st\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club" - ".v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022 \n" - "\024stream_id_deprecated\030\003 \001(\004B\002\030\001\022\025\n\tstrea" - "m_id\030\004 \003(\004B\002\020\001\"\203\001\n#AdvanceStreamMentionV" - "iewTimeRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.p" - "rotocol.club.v1.MemberId\022\027\n\007club_id\030\002 \001(" - "\004B\006\202\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\"k\n\036AdvanceA" - "ctivityViewTimeRequest\0220\n\010agent_id\030\001 \001(\013" - "2\036.bgs.protocol.club.v1.MemberId\022\027\n\007club" - "_id\030\002 \001(\004B\006\202\371+\002\020\001\"\247\001\n\027GetStreamHistoryRe" - "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" - "\022\021\n\tstream_id\030\003 \001(\004\022.\n\007options\030\004 \001(\0132\035.b" - "gs.protocol.GetEventOptions\"f\n\030GetStream" - "HistoryResponse\0224\n\007message\030\001 \003(\0132#.bgs.p" - "rotocol.club.v1.StreamMessage\022\024\n\014continu" - "ation\030\002 \001(\004\"\244\001\n\027GetStreamMessageRequest\022" - "0\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.club.v1" - ".MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001\022\021\n\tst" - "ream_id\030\003 \001(\004\022+\n\nmessage_id\030\004 \001(\0132\027.bgs." - "protocol.MessageId\"P\n\030GetStreamMessageRe" - "sponse\0224\n\007message\030\001 \001(\0132#.bgs.protocol.c" - "lub.v1.StreamMessage\"\223\001\n\026GetClubActivity" - "Request\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol" - ".club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002" - "\020\001\022.\n\007options\030\003 \001(\0132\035.bgs.protocol.GetEv" - "entOptions\"/\n\027GetClubActivityResponse\022\024\n" - "\014continuation\030\002 \001(\004\"\247\001\n\032GetStreamVoiceTo" - "kenRequest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.proto" - "col.club.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202" - "\371+\002\020\001\022\021\n\tstream_id\030\003 \001(\004\022+\n\007version\030\004 \001(" - "\rB\032\202\371+\026*\024VoiceProviderVersion\"g\n\033GetStre" - "amVoiceTokenResponse\022\023\n\013channel_uri\030\001 \001(" - "\t\0223\n\013credentials\030\002 \001(\0132\036.bgs.protocol.Vo" - "iceCredentials\"\255\001\n\032KickFromStreamVoiceRe" - "quest\0220\n\010agent_id\030\001 \001(\0132\036.bgs.protocol.c" - "lub.v1.MemberId\022\027\n\007club_id\030\002 \001(\004B\006\202\371+\002\020\001" - "\022\021\n\tstream_id\030\003 \001(\004\0221\n\ttarget_id\030\004 \001(\0132\036" - ".bgs.protocol.club.v1.MemberIdB\002H\002P\000P\001", 10478); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_request.proto", &protobuf_RegisterTypes); - SubscribeRequest::default_instance_ = new SubscribeRequest(); - UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); - CreateRequest::default_instance_ = new CreateRequest(); - CreateResponse::default_instance_ = new CreateResponse(); - DestroyRequest::default_instance_ = new DestroyRequest(); - GetDescriptionRequest::default_instance_ = new GetDescriptionRequest(); - GetDescriptionResponse::default_instance_ = new GetDescriptionResponse(); - GetClubTypeRequest::default_instance_ = new GetClubTypeRequest(); - GetClubTypeResponse::default_instance_ = new GetClubTypeResponse(); - UpdateClubStateRequest::default_instance_ = new UpdateClubStateRequest(); - UpdateClubSettingsRequest::default_instance_ = new UpdateClubSettingsRequest(); - AddMemberRequest::default_instance_ = new AddMemberRequest(); - JoinRequest::default_instance_ = new JoinRequest(); - LeaveRequest::default_instance_ = new LeaveRequest(); - KickRequest::default_instance_ = new KickRequest(); - GetMemberRequest::default_instance_ = new GetMemberRequest(); - GetMemberResponse::default_instance_ = new GetMemberResponse(); - GetMembersRequest::default_instance_ = new GetMembersRequest(); - GetMembersResponse::default_instance_ = new GetMembersResponse(); - UpdateMemberStateRequest::default_instance_ = new UpdateMemberStateRequest(); - UpdateSubscriberStateRequest::default_instance_ = new UpdateSubscriberStateRequest(); - AssignRoleRequest::default_instance_ = new AssignRoleRequest(); - UnassignRoleRequest::default_instance_ = new UnassignRoleRequest(); - SendInvitationRequest::default_instance_ = new SendInvitationRequest(); - AcceptInvitationRequest::default_instance_ = new AcceptInvitationRequest(); - DeclineInvitationRequest::default_instance_ = new DeclineInvitationRequest(); - RevokeInvitationRequest::default_instance_ = new RevokeInvitationRequest(); - GetInvitationRequest::default_instance_ = new GetInvitationRequest(); - GetInvitationResponse::default_instance_ = new GetInvitationResponse(); - GetInvitationsRequest::default_instance_ = new GetInvitationsRequest(); - GetInvitationsResponse::default_instance_ = new GetInvitationsResponse(); - SendSuggestionRequest::default_instance_ = new SendSuggestionRequest(); - AcceptSuggestionRequest::default_instance_ = new AcceptSuggestionRequest(); - DeclineSuggestionRequest::default_instance_ = new DeclineSuggestionRequest(); - GetSuggestionRequest::default_instance_ = new GetSuggestionRequest(); - GetSuggestionResponse::default_instance_ = new GetSuggestionResponse(); - GetSuggestionsRequest::default_instance_ = new GetSuggestionsRequest(); - GetSuggestionsResponse::default_instance_ = new GetSuggestionsResponse(); - CreateTicketRequest::default_instance_ = new CreateTicketRequest(); - CreateTicketResponse::default_instance_ = new CreateTicketResponse(); - DestroyTicketRequest::default_instance_ = new DestroyTicketRequest(); - RedeemTicketRequest::default_instance_ = new RedeemTicketRequest(); - GetTicketRequest::default_instance_ = new GetTicketRequest(); - GetTicketResponse::default_instance_ = new GetTicketResponse(); - GetTicketsRequest::default_instance_ = new GetTicketsRequest(); - GetTicketsResponse::default_instance_ = new GetTicketsResponse(); - AddBanRequest::default_instance_ = new AddBanRequest(); - RemoveBanRequest::default_instance_ = new RemoveBanRequest(); - GetBanRequest::default_instance_ = new GetBanRequest(); - GetBanResponse::default_instance_ = new GetBanResponse(); - GetBansRequest::default_instance_ = new GetBansRequest(); - GetBansResponse::default_instance_ = new GetBansResponse(); - SubscribeStreamRequest::default_instance_ = new SubscribeStreamRequest(); - UnsubscribeStreamRequest::default_instance_ = new UnsubscribeStreamRequest(); - CreateStreamRequest::default_instance_ = new CreateStreamRequest(); - CreateStreamResponse::default_instance_ = new CreateStreamResponse(); - DestroyStreamRequest::default_instance_ = new DestroyStreamRequest(); - GetStreamRequest::default_instance_ = new GetStreamRequest(); - GetStreamResponse::default_instance_ = new GetStreamResponse(); - GetStreamsRequest::default_instance_ = new GetStreamsRequest(); - GetStreamsResponse::default_instance_ = new GetStreamsResponse(); - UpdateStreamStateRequest::default_instance_ = new UpdateStreamStateRequest(); - SetStreamFocusRequest::default_instance_ = new SetStreamFocusRequest(); - CreateMessageRequest::default_instance_ = new CreateMessageRequest(); - CreateMessageResponse::default_instance_ = new CreateMessageResponse(); - DestroyMessageRequest::default_instance_ = new DestroyMessageRequest(); - DestroyMessageResponse::default_instance_ = new DestroyMessageResponse(); - EditMessageRequest::default_instance_ = new EditMessageRequest(); - EditMessageResponse::default_instance_ = new EditMessageResponse(); - SetMessagePinnedRequest::default_instance_ = new SetMessagePinnedRequest(); - SetTypingIndicatorRequest::default_instance_ = new SetTypingIndicatorRequest(); - AdvanceStreamViewTimeRequest::default_instance_ = new AdvanceStreamViewTimeRequest(); - AdvanceStreamMentionViewTimeRequest::default_instance_ = new AdvanceStreamMentionViewTimeRequest(); - AdvanceActivityViewTimeRequest::default_instance_ = new AdvanceActivityViewTimeRequest(); - GetStreamHistoryRequest::default_instance_ = new GetStreamHistoryRequest(); - GetStreamHistoryResponse::default_instance_ = new GetStreamHistoryResponse(); - GetStreamMessageRequest::default_instance_ = new GetStreamMessageRequest(); - GetStreamMessageResponse::default_instance_ = new GetStreamMessageResponse(); - GetClubActivityRequest::default_instance_ = new GetClubActivityRequest(); - GetClubActivityResponse::default_instance_ = new GetClubActivityResponse(); - GetStreamVoiceTokenRequest::default_instance_ = new GetStreamVoiceTokenRequest(); - GetStreamVoiceTokenResponse::default_instance_ = new GetStreamVoiceTokenResponse(); - KickFromStreamVoiceRequest::default_instance_ = new KickFromStreamVoiceRequest(); - SubscribeRequest::default_instance_->InitAsDefaultInstance(); - UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); - CreateRequest::default_instance_->InitAsDefaultInstance(); - CreateResponse::default_instance_->InitAsDefaultInstance(); - DestroyRequest::default_instance_->InitAsDefaultInstance(); - GetDescriptionRequest::default_instance_->InitAsDefaultInstance(); - GetDescriptionResponse::default_instance_->InitAsDefaultInstance(); - GetClubTypeRequest::default_instance_->InitAsDefaultInstance(); - GetClubTypeResponse::default_instance_->InitAsDefaultInstance(); - UpdateClubStateRequest::default_instance_->InitAsDefaultInstance(); - UpdateClubSettingsRequest::default_instance_->InitAsDefaultInstance(); - AddMemberRequest::default_instance_->InitAsDefaultInstance(); - JoinRequest::default_instance_->InitAsDefaultInstance(); - LeaveRequest::default_instance_->InitAsDefaultInstance(); - KickRequest::default_instance_->InitAsDefaultInstance(); - GetMemberRequest::default_instance_->InitAsDefaultInstance(); - GetMemberResponse::default_instance_->InitAsDefaultInstance(); - GetMembersRequest::default_instance_->InitAsDefaultInstance(); - GetMembersResponse::default_instance_->InitAsDefaultInstance(); - UpdateMemberStateRequest::default_instance_->InitAsDefaultInstance(); - UpdateSubscriberStateRequest::default_instance_->InitAsDefaultInstance(); - AssignRoleRequest::default_instance_->InitAsDefaultInstance(); - UnassignRoleRequest::default_instance_->InitAsDefaultInstance(); - SendInvitationRequest::default_instance_->InitAsDefaultInstance(); - AcceptInvitationRequest::default_instance_->InitAsDefaultInstance(); - DeclineInvitationRequest::default_instance_->InitAsDefaultInstance(); - RevokeInvitationRequest::default_instance_->InitAsDefaultInstance(); - GetInvitationRequest::default_instance_->InitAsDefaultInstance(); - GetInvitationResponse::default_instance_->InitAsDefaultInstance(); - GetInvitationsRequest::default_instance_->InitAsDefaultInstance(); - GetInvitationsResponse::default_instance_->InitAsDefaultInstance(); - SendSuggestionRequest::default_instance_->InitAsDefaultInstance(); - AcceptSuggestionRequest::default_instance_->InitAsDefaultInstance(); - DeclineSuggestionRequest::default_instance_->InitAsDefaultInstance(); - GetSuggestionRequest::default_instance_->InitAsDefaultInstance(); - GetSuggestionResponse::default_instance_->InitAsDefaultInstance(); - GetSuggestionsRequest::default_instance_->InitAsDefaultInstance(); - GetSuggestionsResponse::default_instance_->InitAsDefaultInstance(); - CreateTicketRequest::default_instance_->InitAsDefaultInstance(); - CreateTicketResponse::default_instance_->InitAsDefaultInstance(); - DestroyTicketRequest::default_instance_->InitAsDefaultInstance(); - RedeemTicketRequest::default_instance_->InitAsDefaultInstance(); - GetTicketRequest::default_instance_->InitAsDefaultInstance(); - GetTicketResponse::default_instance_->InitAsDefaultInstance(); - GetTicketsRequest::default_instance_->InitAsDefaultInstance(); - GetTicketsResponse::default_instance_->InitAsDefaultInstance(); - AddBanRequest::default_instance_->InitAsDefaultInstance(); - RemoveBanRequest::default_instance_->InitAsDefaultInstance(); - GetBanRequest::default_instance_->InitAsDefaultInstance(); - GetBanResponse::default_instance_->InitAsDefaultInstance(); - GetBansRequest::default_instance_->InitAsDefaultInstance(); - GetBansResponse::default_instance_->InitAsDefaultInstance(); - SubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); - UnsubscribeStreamRequest::default_instance_->InitAsDefaultInstance(); - CreateStreamRequest::default_instance_->InitAsDefaultInstance(); - CreateStreamResponse::default_instance_->InitAsDefaultInstance(); - DestroyStreamRequest::default_instance_->InitAsDefaultInstance(); - GetStreamRequest::default_instance_->InitAsDefaultInstance(); - GetStreamResponse::default_instance_->InitAsDefaultInstance(); - GetStreamsRequest::default_instance_->InitAsDefaultInstance(); - GetStreamsResponse::default_instance_->InitAsDefaultInstance(); - UpdateStreamStateRequest::default_instance_->InitAsDefaultInstance(); - SetStreamFocusRequest::default_instance_->InitAsDefaultInstance(); - CreateMessageRequest::default_instance_->InitAsDefaultInstance(); - CreateMessageResponse::default_instance_->InitAsDefaultInstance(); - DestroyMessageRequest::default_instance_->InitAsDefaultInstance(); - DestroyMessageResponse::default_instance_->InitAsDefaultInstance(); - EditMessageRequest::default_instance_->InitAsDefaultInstance(); - EditMessageResponse::default_instance_->InitAsDefaultInstance(); - SetMessagePinnedRequest::default_instance_->InitAsDefaultInstance(); - SetTypingIndicatorRequest::default_instance_->InitAsDefaultInstance(); - AdvanceStreamViewTimeRequest::default_instance_->InitAsDefaultInstance(); - AdvanceStreamMentionViewTimeRequest::default_instance_->InitAsDefaultInstance(); - AdvanceActivityViewTimeRequest::default_instance_->InitAsDefaultInstance(); - GetStreamHistoryRequest::default_instance_->InitAsDefaultInstance(); - GetStreamHistoryResponse::default_instance_->InitAsDefaultInstance(); - GetStreamMessageRequest::default_instance_->InitAsDefaultInstance(); - GetStreamMessageResponse::default_instance_->InitAsDefaultInstance(); - GetClubActivityRequest::default_instance_->InitAsDefaultInstance(); - GetClubActivityResponse::default_instance_->InitAsDefaultInstance(); - GetStreamVoiceTokenRequest::default_instance_->InitAsDefaultInstance(); - GetStreamVoiceTokenResponse::default_instance_->InitAsDefaultInstance(); - KickFromStreamVoiceRequest::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5frequest_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5frequest_2eproto { - StaticDescriptorInitializer_club_5frequest_2eproto() { - protobuf_AddDesc_club_5frequest_2eproto(); - } -} static_descriptor_initializer_club_5frequest_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeRequest::kAgentIdFieldNumber; -const int SubscribeRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -SubscribeRequest::SubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeRequest) -} - -void SubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscribeRequest) -} - -void SubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeRequest::~SubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeRequest) - SharedDtor(); -} - -void SubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeRequest_descriptor_; -} - -const SubscribeRequest& SubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SubscribeRequest* SubscribeRequest::default_instance_ = NULL; - -SubscribeRequest* SubscribeRequest::New() const { - return new SubscribeRequest; -} - -void SubscribeRequest::Swap(SubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeRequest_descriptor_; - metadata.reflection = SubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnsubscribeRequest::kAgentIdFieldNumber; -const int UnsubscribeRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -UnsubscribeRequest::UnsubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeRequest) -} - -void UnsubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeRequest) -} - -void UnsubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnsubscribeRequest::~UnsubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeRequest) - SharedDtor(); -} - -void UnsubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void UnsubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnsubscribeRequest_descriptor_; -} - -const UnsubscribeRequest& UnsubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; - -UnsubscribeRequest* UnsubscribeRequest::New() const { - return new UnsubscribeRequest; -} - -void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnsubscribeRequest_descriptor_; - metadata.reflection = UnsubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateRequest::kAgentIdFieldNumber; -const int CreateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -CreateRequest::CreateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateRequest) -} - -void CreateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubCreateOptions*>(&::bgs::protocol::club::v1::ClubCreateOptions::default_instance()); -} - -CreateRequest::CreateRequest(const CreateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateRequest) -} - -void CreateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateRequest::~CreateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateRequest) - SharedDtor(); -} - -void CreateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void CreateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateRequest_descriptor_; -} - -const CreateRequest& CreateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateRequest* CreateRequest::default_instance_ = NULL; - -CreateRequest* CreateRequest::New() const { - return new CreateRequest; -} - -void CreateRequest::Swap(CreateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateRequest_descriptor_; - metadata.reflection = CreateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateResponse::kClubIdFieldNumber; -#endif // !_MSC_VER - -CreateResponse::CreateResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateResponse) -} - -void CreateResponse::InitAsDefaultInstance() { -} - -CreateResponse::CreateResponse(const CreateResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateResponse) -} - -void CreateResponse::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateResponse::~CreateResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateResponse) - SharedDtor(); -} - -void CreateResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void CreateResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateResponse_descriptor_; -} - -const CreateResponse& CreateResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateResponse* CreateResponse::default_instance_ = NULL; - -CreateResponse* CreateResponse::New() const { - return new CreateResponse; -} - -void CreateResponse::Swap(CreateResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateResponse_descriptor_; - metadata.reflection = CreateResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DestroyRequest::kAgentIdFieldNumber; -const int DestroyRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -DestroyRequest::DestroyRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyRequest) -} - -void DestroyRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -DestroyRequest::DestroyRequest(const DestroyRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyRequest) -} - -void DestroyRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DestroyRequest::~DestroyRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyRequest) - SharedDtor(); -} - -void DestroyRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void DestroyRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DestroyRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DestroyRequest_descriptor_; -} - -const DestroyRequest& DestroyRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DestroyRequest* DestroyRequest::default_instance_ = NULL; - -DestroyRequest* DestroyRequest::New() const { - return new DestroyRequest; -} - -void DestroyRequest::Swap(DestroyRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DestroyRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DestroyRequest_descriptor_; - metadata.reflection = DestroyRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetDescriptionRequest::kAgentIdFieldNumber; -const int GetDescriptionRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -GetDescriptionRequest::GetDescriptionRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetDescriptionRequest) -} - -void GetDescriptionRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetDescriptionRequest::GetDescriptionRequest(const GetDescriptionRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetDescriptionRequest) -} - -void GetDescriptionRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetDescriptionRequest::~GetDescriptionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetDescriptionRequest) - SharedDtor(); -} - -void GetDescriptionRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetDescriptionRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetDescriptionRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetDescriptionRequest_descriptor_; -} - -const GetDescriptionRequest& GetDescriptionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetDescriptionRequest* GetDescriptionRequest::default_instance_ = NULL; - -GetDescriptionRequest* GetDescriptionRequest::New() const { - return new GetDescriptionRequest; -} - -void GetDescriptionRequest::Swap(GetDescriptionRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetDescriptionRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetDescriptionRequest_descriptor_; - metadata.reflection = GetDescriptionRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetDescriptionResponse::kClubFieldNumber; -#endif // !_MSC_VER - -GetDescriptionResponse::GetDescriptionResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetDescriptionResponse) -} - -void GetDescriptionResponse::InitAsDefaultInstance() { - club_ = const_cast< ::bgs::protocol::club::v1::ClubDescription*>(&::bgs::protocol::club::v1::ClubDescription::default_instance()); -} - -GetDescriptionResponse::GetDescriptionResponse(const GetDescriptionResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetDescriptionResponse) -} - -void GetDescriptionResponse::SharedCtor() { - _cached_size_ = 0; - club_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetDescriptionResponse::~GetDescriptionResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetDescriptionResponse) - SharedDtor(); -} - -void GetDescriptionResponse::SharedDtor() { - if (this != default_instance_) { - delete club_; - } -} - -void GetDescriptionResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetDescriptionResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetDescriptionResponse_descriptor_; -} - -const GetDescriptionResponse& GetDescriptionResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetDescriptionResponse* GetDescriptionResponse::default_instance_ = NULL; - -GetDescriptionResponse* GetDescriptionResponse::New() const { - return new GetDescriptionResponse; -} - -void GetDescriptionResponse::Swap(GetDescriptionResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetDescriptionResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetDescriptionResponse_descriptor_; - metadata.reflection = GetDescriptionResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetClubTypeRequest::kAgentIdFieldNumber; -const int GetClubTypeRequest::kTypeFieldNumber; -#endif // !_MSC_VER - -GetClubTypeRequest::GetClubTypeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubTypeRequest) -} - -void GetClubTypeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); -} - -GetClubTypeRequest::GetClubTypeRequest(const GetClubTypeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubTypeRequest) -} - -void GetClubTypeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - type_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetClubTypeRequest::~GetClubTypeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubTypeRequest) - SharedDtor(); -} - -void GetClubTypeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete type_; - } -} - -void GetClubTypeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetClubTypeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetClubTypeRequest_descriptor_; -} - -const GetClubTypeRequest& GetClubTypeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetClubTypeRequest* GetClubTypeRequest::default_instance_ = NULL; - -GetClubTypeRequest* GetClubTypeRequest::New() const { - return new GetClubTypeRequest; -} - -void GetClubTypeRequest::Swap(GetClubTypeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetClubTypeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetClubTypeRequest_descriptor_; - metadata.reflection = GetClubTypeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetClubTypeResponse::kTypeFieldNumber; -const int GetClubTypeResponse::kRoleSetFieldNumber; -const int GetClubTypeResponse::kRangeSetFieldNumber; -const int GetClubTypeResponse::kPlatformTagSetFieldNumber; -const int GetClubTypeResponse::kCustomTagSetFieldNumber; -#endif // !_MSC_VER - -GetClubTypeResponse::GetClubTypeResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubTypeResponse) -} - -void GetClubTypeResponse::InitAsDefaultInstance() { - type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); - role_set_ = const_cast< ::bgs::protocol::club::v1::ClubRoleSet*>(&::bgs::protocol::club::v1::ClubRoleSet::default_instance()); - range_set_ = const_cast< ::bgs::protocol::club::v1::ClubTypeRangeSet*>(&::bgs::protocol::club::v1::ClubTypeRangeSet::default_instance()); -} - -GetClubTypeResponse::GetClubTypeResponse(const GetClubTypeResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubTypeResponse) -} - -void GetClubTypeResponse::SharedCtor() { - _cached_size_ = 0; - type_ = NULL; - role_set_ = NULL; - range_set_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetClubTypeResponse::~GetClubTypeResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubTypeResponse) - SharedDtor(); -} - -void GetClubTypeResponse::SharedDtor() { - if (this != default_instance_) { - delete type_; - delete role_set_; - delete range_set_; - } -} - -void GetClubTypeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetClubTypeResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetClubTypeResponse_descriptor_; -} - -const GetClubTypeResponse& GetClubTypeResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetClubTypeResponse* GetClubTypeResponse::default_instance_ = NULL; - -GetClubTypeResponse* GetClubTypeResponse::New() const { - return new GetClubTypeResponse; -} - -void GetClubTypeResponse::Swap(GetClubTypeResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetClubTypeResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetClubTypeResponse_descriptor_; - metadata.reflection = GetClubTypeResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateClubStateRequest::kAgentIdFieldNumber; -const int UpdateClubStateRequest::kClubIdFieldNumber; -const int UpdateClubStateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateClubStateRequest::UpdateClubStateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateClubStateRequest) -} - -void UpdateClubStateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubStateOptions*>(&::bgs::protocol::club::v1::ClubStateOptions::default_instance()); -} - -UpdateClubStateRequest::UpdateClubStateRequest(const UpdateClubStateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UpdateClubStateRequest) -} - -void UpdateClubStateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateClubStateRequest::~UpdateClubStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateClubStateRequest) - SharedDtor(); -} - -void UpdateClubStateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UpdateClubStateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateClubStateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateClubStateRequest_descriptor_; -} - -const UpdateClubStateRequest& UpdateClubStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UpdateClubStateRequest* UpdateClubStateRequest::default_instance_ = NULL; - -UpdateClubStateRequest* UpdateClubStateRequest::New() const { - return new UpdateClubStateRequest; -} - -void UpdateClubStateRequest::Swap(UpdateClubStateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateClubStateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateClubStateRequest_descriptor_; - metadata.reflection = UpdateClubStateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateClubSettingsRequest::kAgentIdFieldNumber; -const int UpdateClubSettingsRequest::kClubIdFieldNumber; -const int UpdateClubSettingsRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateClubSettingsRequest::UpdateClubSettingsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateClubSettingsRequest) -} - -void UpdateClubSettingsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::ClubSettingsOptions*>(&::bgs::protocol::club::v1::ClubSettingsOptions::default_instance()); -} - -UpdateClubSettingsRequest::UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UpdateClubSettingsRequest) -} - -void UpdateClubSettingsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateClubSettingsRequest::~UpdateClubSettingsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateClubSettingsRequest) - SharedDtor(); -} - -void UpdateClubSettingsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UpdateClubSettingsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateClubSettingsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateClubSettingsRequest_descriptor_; -} - -const UpdateClubSettingsRequest& UpdateClubSettingsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UpdateClubSettingsRequest* UpdateClubSettingsRequest::default_instance_ = NULL; - -UpdateClubSettingsRequest* UpdateClubSettingsRequest::New() const { - return new UpdateClubSettingsRequest; -} - -void UpdateClubSettingsRequest::Swap(UpdateClubSettingsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateClubSettingsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateClubSettingsRequest_descriptor_; - metadata.reflection = UpdateClubSettingsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AddMemberRequest::kAgentIdFieldNumber; -const int AddMemberRequest::kClubIdFieldNumber; -const int AddMemberRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -AddMemberRequest::AddMemberRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddMemberRequest) -} - -void AddMemberRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::default_instance()); -} - -AddMemberRequest::AddMemberRequest(const AddMemberRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AddMemberRequest) -} - -void AddMemberRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AddMemberRequest::~AddMemberRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddMemberRequest) - SharedDtor(); -} - -void AddMemberRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void AddMemberRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddMemberRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AddMemberRequest_descriptor_; -} - -const AddMemberRequest& AddMemberRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AddMemberRequest* AddMemberRequest::default_instance_ = NULL; - -AddMemberRequest* AddMemberRequest::New() const { - return new AddMemberRequest; -} - -void AddMemberRequest::Swap(AddMemberRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AddMemberRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AddMemberRequest_descriptor_; - metadata.reflection = AddMemberRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int JoinRequest::kAgentIdFieldNumber; -const int JoinRequest::kClubIdFieldNumber; -const int JoinRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -JoinRequest::JoinRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.JoinRequest) -} - -void JoinRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateMemberOptions*>(&::bgs::protocol::club::v1::CreateMemberOptions::default_instance()); -} - -JoinRequest::JoinRequest(const JoinRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.JoinRequest) -} - -void JoinRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -JoinRequest::~JoinRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.JoinRequest) - SharedDtor(); -} - -void JoinRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void JoinRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* JoinRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return JoinRequest_descriptor_; -} - -const JoinRequest& JoinRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -JoinRequest* JoinRequest::default_instance_ = NULL; - -JoinRequest* JoinRequest::New() const { - return new JoinRequest; -} - -void JoinRequest::Swap(JoinRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata JoinRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = JoinRequest_descriptor_; - metadata.reflection = JoinRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int LeaveRequest::kAgentIdFieldNumber; -const int LeaveRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -LeaveRequest::LeaveRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LeaveRequest) -} - -void LeaveRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -LeaveRequest::LeaveRequest(const LeaveRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LeaveRequest) -} - -void LeaveRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -LeaveRequest::~LeaveRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LeaveRequest) - SharedDtor(); -} - -void LeaveRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void LeaveRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* LeaveRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return LeaveRequest_descriptor_; -} - -const LeaveRequest& LeaveRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -LeaveRequest* LeaveRequest::default_instance_ = NULL; - -LeaveRequest* LeaveRequest::New() const { - return new LeaveRequest; -} - -void LeaveRequest::Swap(LeaveRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata LeaveRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = LeaveRequest_descriptor_; - metadata.reflection = LeaveRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int KickRequest::kAgentIdFieldNumber; -const int KickRequest::kClubIdFieldNumber; -const int KickRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -KickRequest::KickRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.KickRequest) -} - -void KickRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -KickRequest::KickRequest(const KickRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.KickRequest) -} - -void KickRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -KickRequest::~KickRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.KickRequest) - SharedDtor(); -} - -void KickRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void KickRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* KickRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return KickRequest_descriptor_; -} - -const KickRequest& KickRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -KickRequest* KickRequest::default_instance_ = NULL; - -KickRequest* KickRequest::New() const { - return new KickRequest; -} - -void KickRequest::Swap(KickRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata KickRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = KickRequest_descriptor_; - metadata.reflection = KickRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetMemberRequest::kAgentIdFieldNumber; -const int GetMemberRequest::kClubIdFieldNumber; -const int GetMemberRequest::kMemberIdFieldNumber; -#endif // !_MSC_VER - -GetMemberRequest::GetMemberRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMemberRequest) -} - -void GetMemberRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetMemberRequest::GetMemberRequest(const GetMemberRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMemberRequest) -} - -void GetMemberRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - member_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetMemberRequest::~GetMemberRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMemberRequest) - SharedDtor(); -} - -void GetMemberRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete member_id_; - } -} - -void GetMemberRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetMemberRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetMemberRequest_descriptor_; -} - -const GetMemberRequest& GetMemberRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetMemberRequest* GetMemberRequest::default_instance_ = NULL; - -GetMemberRequest* GetMemberRequest::New() const { - return new GetMemberRequest; -} - -void GetMemberRequest::Swap(GetMemberRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetMemberRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetMemberRequest_descriptor_; - metadata.reflection = GetMemberRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetMemberResponse::kMemberFieldNumber; -#endif // !_MSC_VER - -GetMemberResponse::GetMemberResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMemberResponse) -} - -void GetMemberResponse::InitAsDefaultInstance() { - member_ = const_cast< ::bgs::protocol::club::v1::Member*>(&::bgs::protocol::club::v1::Member::default_instance()); -} - -GetMemberResponse::GetMemberResponse(const GetMemberResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMemberResponse) -} - -void GetMemberResponse::SharedCtor() { - _cached_size_ = 0; - member_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetMemberResponse::~GetMemberResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMemberResponse) - SharedDtor(); -} - -void GetMemberResponse::SharedDtor() { - if (this != default_instance_) { - delete member_; - } -} - -void GetMemberResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetMemberResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetMemberResponse_descriptor_; -} - -const GetMemberResponse& GetMemberResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetMemberResponse* GetMemberResponse::default_instance_ = NULL; - -GetMemberResponse* GetMemberResponse::New() const { - return new GetMemberResponse; -} - -void GetMemberResponse::Swap(GetMemberResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetMemberResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetMemberResponse_descriptor_; - metadata.reflection = GetMemberResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetMembersRequest::kAgentIdFieldNumber; -const int GetMembersRequest::kClubIdFieldNumber; -const int GetMembersRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetMembersRequest::GetMembersRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMembersRequest) -} - -void GetMembersRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetMembersRequest::GetMembersRequest(const GetMembersRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMembersRequest) -} - -void GetMembersRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetMembersRequest::~GetMembersRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMembersRequest) - SharedDtor(); -} - -void GetMembersRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetMembersRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetMembersRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetMembersRequest_descriptor_; -} - -const GetMembersRequest& GetMembersRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetMembersRequest* GetMembersRequest::default_instance_ = NULL; - -GetMembersRequest* GetMembersRequest::New() const { - return new GetMembersRequest; -} - -void GetMembersRequest::Swap(GetMembersRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetMembersRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetMembersRequest_descriptor_; - metadata.reflection = GetMembersRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetMembersResponse::kMemberFieldNumber; -const int GetMembersResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetMembersResponse::GetMembersResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetMembersResponse) -} - -void GetMembersResponse::InitAsDefaultInstance() { -} - -GetMembersResponse::GetMembersResponse(const GetMembersResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetMembersResponse) -} - -void GetMembersResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetMembersResponse::~GetMembersResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetMembersResponse) - SharedDtor(); -} - -void GetMembersResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetMembersResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetMembersResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetMembersResponse_descriptor_; -} - -const GetMembersResponse& GetMembersResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetMembersResponse* GetMembersResponse::default_instance_ = NULL; - -GetMembersResponse* GetMembersResponse::New() const { - return new GetMembersResponse; -} - -void GetMembersResponse::Swap(GetMembersResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetMembersResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetMembersResponse_descriptor_; - metadata.reflection = GetMembersResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateMemberStateRequest::kAgentIdFieldNumber; -const int UpdateMemberStateRequest::kClubIdFieldNumber; -const int UpdateMemberStateRequest::kMemberIdFieldNumber; -const int UpdateMemberStateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateMemberStateRequest::UpdateMemberStateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateMemberStateRequest) -} - -void UpdateMemberStateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::MemberStateOptions*>(&::bgs::protocol::club::v1::MemberStateOptions::default_instance()); -} - -UpdateMemberStateRequest::UpdateMemberStateRequest(const UpdateMemberStateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UpdateMemberStateRequest) -} - -void UpdateMemberStateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - member_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateMemberStateRequest::~UpdateMemberStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateMemberStateRequest) - SharedDtor(); -} - -void UpdateMemberStateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete member_id_; - delete options_; - } -} - -void UpdateMemberStateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateMemberStateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateMemberStateRequest_descriptor_; -} - -const UpdateMemberStateRequest& UpdateMemberStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UpdateMemberStateRequest* UpdateMemberStateRequest::default_instance_ = NULL; - -UpdateMemberStateRequest* UpdateMemberStateRequest::New() const { - return new UpdateMemberStateRequest; -} - -void UpdateMemberStateRequest::Swap(UpdateMemberStateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateMemberStateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateMemberStateRequest_descriptor_; - metadata.reflection = UpdateMemberStateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateSubscriberStateRequest::kAgentIdFieldNumber; -const int UpdateSubscriberStateRequest::kClubIdFieldNumber; -const int UpdateSubscriberStateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateSubscriberStateRequest::UpdateSubscriberStateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateSubscriberStateRequest) -} - -void UpdateSubscriberStateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::SubscriberStateOptions*>(&::bgs::protocol::club::v1::SubscriberStateOptions::default_instance()); -} - -UpdateSubscriberStateRequest::UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UpdateSubscriberStateRequest) -} - -void UpdateSubscriberStateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateSubscriberStateRequest::~UpdateSubscriberStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateSubscriberStateRequest) - SharedDtor(); -} - -void UpdateSubscriberStateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UpdateSubscriberStateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateSubscriberStateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateSubscriberStateRequest_descriptor_; -} - -const UpdateSubscriberStateRequest& UpdateSubscriberStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::default_instance_ = NULL; - -UpdateSubscriberStateRequest* UpdateSubscriberStateRequest::New() const { - return new UpdateSubscriberStateRequest; -} - -void UpdateSubscriberStateRequest::Swap(UpdateSubscriberStateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateSubscriberStateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateSubscriberStateRequest_descriptor_; - metadata.reflection = UpdateSubscriberStateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AssignRoleRequest::kAgentIdFieldNumber; -const int AssignRoleRequest::kClubIdFieldNumber; -const int AssignRoleRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -AssignRoleRequest::AssignRoleRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AssignRoleRequest) -} - -void AssignRoleRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::RoleOptions*>(&::bgs::protocol::club::v1::RoleOptions::default_instance()); -} - -AssignRoleRequest::AssignRoleRequest(const AssignRoleRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AssignRoleRequest) -} - -void AssignRoleRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AssignRoleRequest::~AssignRoleRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AssignRoleRequest) - SharedDtor(); -} - -void AssignRoleRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void AssignRoleRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AssignRoleRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AssignRoleRequest_descriptor_; -} - -const AssignRoleRequest& AssignRoleRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AssignRoleRequest* AssignRoleRequest::default_instance_ = NULL; - -AssignRoleRequest* AssignRoleRequest::New() const { - return new AssignRoleRequest; -} - -void AssignRoleRequest::Swap(AssignRoleRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AssignRoleRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AssignRoleRequest_descriptor_; - metadata.reflection = AssignRoleRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnassignRoleRequest::kAgentIdFieldNumber; -const int UnassignRoleRequest::kClubIdFieldNumber; -const int UnassignRoleRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UnassignRoleRequest::UnassignRoleRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnassignRoleRequest) -} - -void UnassignRoleRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::RoleOptions*>(&::bgs::protocol::club::v1::RoleOptions::default_instance()); -} - -UnassignRoleRequest::UnassignRoleRequest(const UnassignRoleRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnassignRoleRequest) -} - -void UnassignRoleRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnassignRoleRequest::~UnassignRoleRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnassignRoleRequest) - SharedDtor(); -} - -void UnassignRoleRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UnassignRoleRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnassignRoleRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnassignRoleRequest_descriptor_; -} - -const UnassignRoleRequest& UnassignRoleRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UnassignRoleRequest* UnassignRoleRequest::default_instance_ = NULL; - -UnassignRoleRequest* UnassignRoleRequest::New() const { - return new UnassignRoleRequest; -} - -void UnassignRoleRequest::Swap(UnassignRoleRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnassignRoleRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnassignRoleRequest_descriptor_; - metadata.reflection = UnassignRoleRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SendInvitationRequest::kAgentIdFieldNumber; -const int SendInvitationRequest::kClubIdFieldNumber; -const int SendInvitationRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -SendInvitationRequest::SendInvitationRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendInvitationRequest) -} - -void SendInvitationRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::SendInvitationOptions*>(&::bgs::protocol::club::v1::SendInvitationOptions::default_instance()); -} - -SendInvitationRequest::SendInvitationRequest(const SendInvitationRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SendInvitationRequest) -} - -void SendInvitationRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SendInvitationRequest::~SendInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendInvitationRequest) - SharedDtor(); -} - -void SendInvitationRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void SendInvitationRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SendInvitationRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SendInvitationRequest_descriptor_; -} - -const SendInvitationRequest& SendInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SendInvitationRequest* SendInvitationRequest::default_instance_ = NULL; - -SendInvitationRequest* SendInvitationRequest::New() const { - return new SendInvitationRequest; -} - -void SendInvitationRequest::Swap(SendInvitationRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SendInvitationRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SendInvitationRequest_descriptor_; - metadata.reflection = SendInvitationRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AcceptInvitationRequest::kAgentIdFieldNumber; -const int AcceptInvitationRequest::kClubIdFieldNumber; -const int AcceptInvitationRequest::kInvitationIdFieldNumber; -#endif // !_MSC_VER - -AcceptInvitationRequest::AcceptInvitationRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AcceptInvitationRequest) -} - -void AcceptInvitationRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AcceptInvitationRequest::AcceptInvitationRequest(const AcceptInvitationRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AcceptInvitationRequest) -} - -void AcceptInvitationRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AcceptInvitationRequest::~AcceptInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AcceptInvitationRequest) - SharedDtor(); -} - -void AcceptInvitationRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AcceptInvitationRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AcceptInvitationRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AcceptInvitationRequest_descriptor_; -} - -const AcceptInvitationRequest& AcceptInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AcceptInvitationRequest* AcceptInvitationRequest::default_instance_ = NULL; - -AcceptInvitationRequest* AcceptInvitationRequest::New() const { - return new AcceptInvitationRequest; -} - -void AcceptInvitationRequest::Swap(AcceptInvitationRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AcceptInvitationRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AcceptInvitationRequest_descriptor_; - metadata.reflection = AcceptInvitationRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DeclineInvitationRequest::kAgentIdFieldNumber; -const int DeclineInvitationRequest::kClubIdFieldNumber; -const int DeclineInvitationRequest::kInvitationIdFieldNumber; -#endif // !_MSC_VER - -DeclineInvitationRequest::DeclineInvitationRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DeclineInvitationRequest) -} - -void DeclineInvitationRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -DeclineInvitationRequest::DeclineInvitationRequest(const DeclineInvitationRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DeclineInvitationRequest) -} - -void DeclineInvitationRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DeclineInvitationRequest::~DeclineInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DeclineInvitationRequest) - SharedDtor(); -} - -void DeclineInvitationRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void DeclineInvitationRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DeclineInvitationRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DeclineInvitationRequest_descriptor_; -} - -const DeclineInvitationRequest& DeclineInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DeclineInvitationRequest* DeclineInvitationRequest::default_instance_ = NULL; - -DeclineInvitationRequest* DeclineInvitationRequest::New() const { - return new DeclineInvitationRequest; -} - -void DeclineInvitationRequest::Swap(DeclineInvitationRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DeclineInvitationRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DeclineInvitationRequest_descriptor_; - metadata.reflection = DeclineInvitationRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RevokeInvitationRequest::kAgentIdFieldNumber; -const int RevokeInvitationRequest::kClubIdFieldNumber; -const int RevokeInvitationRequest::kInvitationIdFieldNumber; -#endif // !_MSC_VER - -RevokeInvitationRequest::RevokeInvitationRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RevokeInvitationRequest) -} - -void RevokeInvitationRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RevokeInvitationRequest::RevokeInvitationRequest(const RevokeInvitationRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RevokeInvitationRequest) -} - -void RevokeInvitationRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RevokeInvitationRequest::~RevokeInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RevokeInvitationRequest) - SharedDtor(); -} - -void RevokeInvitationRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void RevokeInvitationRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RevokeInvitationRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RevokeInvitationRequest_descriptor_; -} - -const RevokeInvitationRequest& RevokeInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -RevokeInvitationRequest* RevokeInvitationRequest::default_instance_ = NULL; - -RevokeInvitationRequest* RevokeInvitationRequest::New() const { - return new RevokeInvitationRequest; -} - -void RevokeInvitationRequest::Swap(RevokeInvitationRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RevokeInvitationRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RevokeInvitationRequest_descriptor_; - metadata.reflection = RevokeInvitationRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetInvitationRequest::kAgentIdFieldNumber; -const int GetInvitationRequest::kClubIdFieldNumber; -const int GetInvitationRequest::kInvitationIdFieldNumber; -#endif // !_MSC_VER - -GetInvitationRequest::GetInvitationRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationRequest) -} - -void GetInvitationRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetInvitationRequest::GetInvitationRequest(const GetInvitationRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationRequest) -} - -void GetInvitationRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - invitation_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetInvitationRequest::~GetInvitationRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationRequest) - SharedDtor(); -} - -void GetInvitationRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetInvitationRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetInvitationRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetInvitationRequest_descriptor_; -} - -const GetInvitationRequest& GetInvitationRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetInvitationRequest* GetInvitationRequest::default_instance_ = NULL; - -GetInvitationRequest* GetInvitationRequest::New() const { - return new GetInvitationRequest; -} - -void GetInvitationRequest::Swap(GetInvitationRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetInvitationRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetInvitationRequest_descriptor_; - metadata.reflection = GetInvitationRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetInvitationResponse::kInvitationFieldNumber; -#endif // !_MSC_VER - -GetInvitationResponse::GetInvitationResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationResponse) -} - -void GetInvitationResponse::InitAsDefaultInstance() { - invitation_ = const_cast< ::bgs::protocol::club::v1::ClubInvitation*>(&::bgs::protocol::club::v1::ClubInvitation::default_instance()); -} - -GetInvitationResponse::GetInvitationResponse(const GetInvitationResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationResponse) -} - -void GetInvitationResponse::SharedCtor() { - _cached_size_ = 0; - invitation_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetInvitationResponse::~GetInvitationResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationResponse) - SharedDtor(); -} - -void GetInvitationResponse::SharedDtor() { - if (this != default_instance_) { - delete invitation_; - } -} - -void GetInvitationResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetInvitationResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetInvitationResponse_descriptor_; -} - -const GetInvitationResponse& GetInvitationResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetInvitationResponse* GetInvitationResponse::default_instance_ = NULL; - -GetInvitationResponse* GetInvitationResponse::New() const { - return new GetInvitationResponse; -} - -void GetInvitationResponse::Swap(GetInvitationResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetInvitationResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetInvitationResponse_descriptor_; - metadata.reflection = GetInvitationResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetInvitationsRequest::kAgentIdFieldNumber; -const int GetInvitationsRequest::kClubIdFieldNumber; -const int GetInvitationsRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetInvitationsRequest::GetInvitationsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationsRequest) -} - -void GetInvitationsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetInvitationsRequest::GetInvitationsRequest(const GetInvitationsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationsRequest) -} - -void GetInvitationsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetInvitationsRequest::~GetInvitationsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationsRequest) - SharedDtor(); -} - -void GetInvitationsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetInvitationsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetInvitationsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetInvitationsRequest_descriptor_; -} - -const GetInvitationsRequest& GetInvitationsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetInvitationsRequest* GetInvitationsRequest::default_instance_ = NULL; - -GetInvitationsRequest* GetInvitationsRequest::New() const { - return new GetInvitationsRequest; -} - -void GetInvitationsRequest::Swap(GetInvitationsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetInvitationsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetInvitationsRequest_descriptor_; - metadata.reflection = GetInvitationsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetInvitationsResponse::kInvitationFieldNumber; -const int GetInvitationsResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetInvitationsResponse::GetInvitationsResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetInvitationsResponse) -} - -void GetInvitationsResponse::InitAsDefaultInstance() { -} - -GetInvitationsResponse::GetInvitationsResponse(const GetInvitationsResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetInvitationsResponse) -} - -void GetInvitationsResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetInvitationsResponse::~GetInvitationsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetInvitationsResponse) - SharedDtor(); -} - -void GetInvitationsResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetInvitationsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetInvitationsResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetInvitationsResponse_descriptor_; -} - -const GetInvitationsResponse& GetInvitationsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetInvitationsResponse* GetInvitationsResponse::default_instance_ = NULL; - -GetInvitationsResponse* GetInvitationsResponse::New() const { - return new GetInvitationsResponse; -} - -void GetInvitationsResponse::Swap(GetInvitationsResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetInvitationsResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetInvitationsResponse_descriptor_; - metadata.reflection = GetInvitationsResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SendSuggestionRequest::kAgentIdFieldNumber; -const int SendSuggestionRequest::kClubIdFieldNumber; -const int SendSuggestionRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -SendSuggestionRequest::SendSuggestionRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SendSuggestionRequest) -} - -void SendSuggestionRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::SendSuggestionOptions*>(&::bgs::protocol::club::v1::SendSuggestionOptions::default_instance()); -} - -SendSuggestionRequest::SendSuggestionRequest(const SendSuggestionRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SendSuggestionRequest) -} - -void SendSuggestionRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SendSuggestionRequest::~SendSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SendSuggestionRequest) - SharedDtor(); -} - -void SendSuggestionRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void SendSuggestionRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SendSuggestionRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SendSuggestionRequest_descriptor_; -} - -const SendSuggestionRequest& SendSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SendSuggestionRequest* SendSuggestionRequest::default_instance_ = NULL; - -SendSuggestionRequest* SendSuggestionRequest::New() const { - return new SendSuggestionRequest; -} - -void SendSuggestionRequest::Swap(SendSuggestionRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SendSuggestionRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SendSuggestionRequest_descriptor_; - metadata.reflection = SendSuggestionRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AcceptSuggestionRequest::kAgentIdFieldNumber; -const int AcceptSuggestionRequest::kClubIdFieldNumber; -const int AcceptSuggestionRequest::kSuggestionIdFieldNumber; -#endif // !_MSC_VER - -AcceptSuggestionRequest::AcceptSuggestionRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AcceptSuggestionRequest) -} - -void AcceptSuggestionRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AcceptSuggestionRequest::AcceptSuggestionRequest(const AcceptSuggestionRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AcceptSuggestionRequest) -} - -void AcceptSuggestionRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - suggestion_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AcceptSuggestionRequest::~AcceptSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AcceptSuggestionRequest) - SharedDtor(); -} - -void AcceptSuggestionRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AcceptSuggestionRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AcceptSuggestionRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AcceptSuggestionRequest_descriptor_; -} - -const AcceptSuggestionRequest& AcceptSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AcceptSuggestionRequest* AcceptSuggestionRequest::default_instance_ = NULL; - -AcceptSuggestionRequest* AcceptSuggestionRequest::New() const { - return new AcceptSuggestionRequest; -} - -void AcceptSuggestionRequest::Swap(AcceptSuggestionRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AcceptSuggestionRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AcceptSuggestionRequest_descriptor_; - metadata.reflection = AcceptSuggestionRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DeclineSuggestionRequest::kAgentIdFieldNumber; -const int DeclineSuggestionRequest::kClubIdFieldNumber; -const int DeclineSuggestionRequest::kSuggestionIdFieldNumber; -#endif // !_MSC_VER - -DeclineSuggestionRequest::DeclineSuggestionRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DeclineSuggestionRequest) -} - -void DeclineSuggestionRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -DeclineSuggestionRequest::DeclineSuggestionRequest(const DeclineSuggestionRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DeclineSuggestionRequest) -} - -void DeclineSuggestionRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - suggestion_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DeclineSuggestionRequest::~DeclineSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DeclineSuggestionRequest) - SharedDtor(); -} - -void DeclineSuggestionRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void DeclineSuggestionRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DeclineSuggestionRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DeclineSuggestionRequest_descriptor_; -} - -const DeclineSuggestionRequest& DeclineSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DeclineSuggestionRequest* DeclineSuggestionRequest::default_instance_ = NULL; - -DeclineSuggestionRequest* DeclineSuggestionRequest::New() const { - return new DeclineSuggestionRequest; -} - -void DeclineSuggestionRequest::Swap(DeclineSuggestionRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DeclineSuggestionRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DeclineSuggestionRequest_descriptor_; - metadata.reflection = DeclineSuggestionRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetSuggestionRequest::kAgentIdFieldNumber; -const int GetSuggestionRequest::kClubIdFieldNumber; -const int GetSuggestionRequest::kSuggestionIdFieldNumber; -#endif // !_MSC_VER - -GetSuggestionRequest::GetSuggestionRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionRequest) -} - -void GetSuggestionRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetSuggestionRequest::GetSuggestionRequest(const GetSuggestionRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionRequest) -} - -void GetSuggestionRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - suggestion_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetSuggestionRequest::~GetSuggestionRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionRequest) - SharedDtor(); -} - -void GetSuggestionRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetSuggestionRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetSuggestionRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetSuggestionRequest_descriptor_; -} - -const GetSuggestionRequest& GetSuggestionRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetSuggestionRequest* GetSuggestionRequest::default_instance_ = NULL; - -GetSuggestionRequest* GetSuggestionRequest::New() const { - return new GetSuggestionRequest; -} - -void GetSuggestionRequest::Swap(GetSuggestionRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetSuggestionRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetSuggestionRequest_descriptor_; - metadata.reflection = GetSuggestionRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetSuggestionResponse::kSuggestionFieldNumber; -#endif // !_MSC_VER - -GetSuggestionResponse::GetSuggestionResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionResponse) -} - -void GetSuggestionResponse::InitAsDefaultInstance() { - suggestion_ = const_cast< ::bgs::protocol::club::v1::ClubSuggestion*>(&::bgs::protocol::club::v1::ClubSuggestion::default_instance()); -} - -GetSuggestionResponse::GetSuggestionResponse(const GetSuggestionResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionResponse) -} - -void GetSuggestionResponse::SharedCtor() { - _cached_size_ = 0; - suggestion_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetSuggestionResponse::~GetSuggestionResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionResponse) - SharedDtor(); -} - -void GetSuggestionResponse::SharedDtor() { - if (this != default_instance_) { - delete suggestion_; - } -} - -void GetSuggestionResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetSuggestionResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetSuggestionResponse_descriptor_; -} - -const GetSuggestionResponse& GetSuggestionResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetSuggestionResponse* GetSuggestionResponse::default_instance_ = NULL; - -GetSuggestionResponse* GetSuggestionResponse::New() const { - return new GetSuggestionResponse; -} - -void GetSuggestionResponse::Swap(GetSuggestionResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetSuggestionResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetSuggestionResponse_descriptor_; - metadata.reflection = GetSuggestionResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetSuggestionsRequest::kAgentIdFieldNumber; -const int GetSuggestionsRequest::kClubIdFieldNumber; -const int GetSuggestionsRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetSuggestionsRequest::GetSuggestionsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionsRequest) -} - -void GetSuggestionsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetSuggestionsRequest::GetSuggestionsRequest(const GetSuggestionsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionsRequest) -} - -void GetSuggestionsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetSuggestionsRequest::~GetSuggestionsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionsRequest) - SharedDtor(); -} - -void GetSuggestionsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetSuggestionsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetSuggestionsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetSuggestionsRequest_descriptor_; -} - -const GetSuggestionsRequest& GetSuggestionsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetSuggestionsRequest* GetSuggestionsRequest::default_instance_ = NULL; - -GetSuggestionsRequest* GetSuggestionsRequest::New() const { - return new GetSuggestionsRequest; -} - -void GetSuggestionsRequest::Swap(GetSuggestionsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetSuggestionsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetSuggestionsRequest_descriptor_; - metadata.reflection = GetSuggestionsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetSuggestionsResponse::kSuggestionFieldNumber; -const int GetSuggestionsResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetSuggestionsResponse::GetSuggestionsResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetSuggestionsResponse) -} - -void GetSuggestionsResponse::InitAsDefaultInstance() { -} - -GetSuggestionsResponse::GetSuggestionsResponse(const GetSuggestionsResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetSuggestionsResponse) -} - -void GetSuggestionsResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetSuggestionsResponse::~GetSuggestionsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetSuggestionsResponse) - SharedDtor(); -} - -void GetSuggestionsResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetSuggestionsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetSuggestionsResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetSuggestionsResponse_descriptor_; -} - -const GetSuggestionsResponse& GetSuggestionsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetSuggestionsResponse* GetSuggestionsResponse::default_instance_ = NULL; - -GetSuggestionsResponse* GetSuggestionsResponse::New() const { - return new GetSuggestionsResponse; -} - -void GetSuggestionsResponse::Swap(GetSuggestionsResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetSuggestionsResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetSuggestionsResponse_descriptor_; - metadata.reflection = GetSuggestionsResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateTicketRequest::kAgentIdFieldNumber; -const int CreateTicketRequest::kClubIdFieldNumber; -const int CreateTicketRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -CreateTicketRequest::CreateTicketRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketRequest) -} - -void CreateTicketRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateTicketOptions*>(&::bgs::protocol::club::v1::CreateTicketOptions::default_instance()); -} - -CreateTicketRequest::CreateTicketRequest(const CreateTicketRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateTicketRequest) -} - -void CreateTicketRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateTicketRequest::~CreateTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketRequest) - SharedDtor(); -} - -void CreateTicketRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void CreateTicketRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateTicketRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateTicketRequest_descriptor_; -} - -const CreateTicketRequest& CreateTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateTicketRequest* CreateTicketRequest::default_instance_ = NULL; - -CreateTicketRequest* CreateTicketRequest::New() const { - return new CreateTicketRequest; -} - -void CreateTicketRequest::Swap(CreateTicketRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateTicketRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateTicketRequest_descriptor_; - metadata.reflection = CreateTicketRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateTicketResponse::kTicketFieldNumber; -#endif // !_MSC_VER - -CreateTicketResponse::CreateTicketResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateTicketResponse) -} - -void CreateTicketResponse::InitAsDefaultInstance() { - ticket_ = const_cast< ::bgs::protocol::club::v1::ClubTicket*>(&::bgs::protocol::club::v1::ClubTicket::default_instance()); -} - -CreateTicketResponse::CreateTicketResponse(const CreateTicketResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateTicketResponse) -} - -void CreateTicketResponse::SharedCtor() { - _cached_size_ = 0; - ticket_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateTicketResponse::~CreateTicketResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateTicketResponse) - SharedDtor(); -} - -void CreateTicketResponse::SharedDtor() { - if (this != default_instance_) { - delete ticket_; - } -} - -void CreateTicketResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateTicketResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateTicketResponse_descriptor_; -} - -const CreateTicketResponse& CreateTicketResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateTicketResponse* CreateTicketResponse::default_instance_ = NULL; - -CreateTicketResponse* CreateTicketResponse::New() const { - return new CreateTicketResponse; -} - -void CreateTicketResponse::Swap(CreateTicketResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateTicketResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateTicketResponse_descriptor_; - metadata.reflection = CreateTicketResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DestroyTicketRequest::kAgentIdFieldNumber; -const int DestroyTicketRequest::kClubIdFieldNumber; -const int DestroyTicketRequest::kTicketIdFieldNumber; -#endif // !_MSC_VER - -DestroyTicketRequest::DestroyTicketRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyTicketRequest) -} - -void DestroyTicketRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -DestroyTicketRequest::DestroyTicketRequest(const DestroyTicketRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyTicketRequest) -} - -void DestroyTicketRequest::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DestroyTicketRequest::~DestroyTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyTicketRequest) - SharedDtor(); -} - -void DestroyTicketRequest::SharedDtor() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (this != default_instance_) { - delete agent_id_; - } -} - -void DestroyTicketRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DestroyTicketRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DestroyTicketRequest_descriptor_; -} - -const DestroyTicketRequest& DestroyTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DestroyTicketRequest* DestroyTicketRequest::default_instance_ = NULL; - -DestroyTicketRequest* DestroyTicketRequest::New() const { - return new DestroyTicketRequest; -} - -void DestroyTicketRequest::Swap(DestroyTicketRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DestroyTicketRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DestroyTicketRequest_descriptor_; - metadata.reflection = DestroyTicketRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RedeemTicketRequest::kAgentIdFieldNumber; -const int RedeemTicketRequest::kTicketIdFieldNumber; -#endif // !_MSC_VER - -RedeemTicketRequest::RedeemTicketRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RedeemTicketRequest) -} - -void RedeemTicketRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RedeemTicketRequest::RedeemTicketRequest(const RedeemTicketRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RedeemTicketRequest) -} - -void RedeemTicketRequest::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - agent_id_ = NULL; - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RedeemTicketRequest::~RedeemTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RedeemTicketRequest) - SharedDtor(); -} - -void RedeemTicketRequest::SharedDtor() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (this != default_instance_) { - delete agent_id_; - } -} - -void RedeemTicketRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RedeemTicketRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RedeemTicketRequest_descriptor_; -} - -const RedeemTicketRequest& RedeemTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -RedeemTicketRequest* RedeemTicketRequest::default_instance_ = NULL; - -RedeemTicketRequest* RedeemTicketRequest::New() const { - return new RedeemTicketRequest; -} - -void RedeemTicketRequest::Swap(RedeemTicketRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RedeemTicketRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RedeemTicketRequest_descriptor_; - metadata.reflection = RedeemTicketRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetTicketRequest::kAgentIdFieldNumber; -const int GetTicketRequest::kTicketIdFieldNumber; -#endif // !_MSC_VER - -GetTicketRequest::GetTicketRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketRequest) -} - -void GetTicketRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetTicketRequest::GetTicketRequest(const GetTicketRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketRequest) -} - -void GetTicketRequest::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - agent_id_ = NULL; - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetTicketRequest::~GetTicketRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketRequest) - SharedDtor(); -} - -void GetTicketRequest::SharedDtor() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetTicketRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTicketRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetTicketRequest_descriptor_; -} - -const GetTicketRequest& GetTicketRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetTicketRequest* GetTicketRequest::default_instance_ = NULL; - -GetTicketRequest* GetTicketRequest::New() const { - return new GetTicketRequest; -} - -void GetTicketRequest::Swap(GetTicketRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetTicketRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetTicketRequest_descriptor_; - metadata.reflection = GetTicketRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetTicketResponse::kTicketFieldNumber; -#endif // !_MSC_VER - -GetTicketResponse::GetTicketResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketResponse) -} - -void GetTicketResponse::InitAsDefaultInstance() { - ticket_ = const_cast< ::bgs::protocol::club::v1::ClubTicket*>(&::bgs::protocol::club::v1::ClubTicket::default_instance()); -} - -GetTicketResponse::GetTicketResponse(const GetTicketResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketResponse) -} - -void GetTicketResponse::SharedCtor() { - _cached_size_ = 0; - ticket_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetTicketResponse::~GetTicketResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketResponse) - SharedDtor(); -} - -void GetTicketResponse::SharedDtor() { - if (this != default_instance_) { - delete ticket_; - } -} - -void GetTicketResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTicketResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetTicketResponse_descriptor_; -} - -const GetTicketResponse& GetTicketResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetTicketResponse* GetTicketResponse::default_instance_ = NULL; - -GetTicketResponse* GetTicketResponse::New() const { - return new GetTicketResponse; -} - -void GetTicketResponse::Swap(GetTicketResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetTicketResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetTicketResponse_descriptor_; - metadata.reflection = GetTicketResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetTicketsRequest::kAgentIdFieldNumber; -const int GetTicketsRequest::kClubIdFieldNumber; -const int GetTicketsRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetTicketsRequest::GetTicketsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketsRequest) -} - -void GetTicketsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetTicketsRequest::GetTicketsRequest(const GetTicketsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketsRequest) -} - -void GetTicketsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetTicketsRequest::~GetTicketsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketsRequest) - SharedDtor(); -} - -void GetTicketsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetTicketsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTicketsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetTicketsRequest_descriptor_; -} - -const GetTicketsRequest& GetTicketsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetTicketsRequest* GetTicketsRequest::default_instance_ = NULL; - -GetTicketsRequest* GetTicketsRequest::New() const { - return new GetTicketsRequest; -} - -void GetTicketsRequest::Swap(GetTicketsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetTicketsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetTicketsRequest_descriptor_; - metadata.reflection = GetTicketsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetTicketsResponse::kTicketFieldNumber; -const int GetTicketsResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetTicketsResponse::GetTicketsResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetTicketsResponse) -} - -void GetTicketsResponse::InitAsDefaultInstance() { -} - -GetTicketsResponse::GetTicketsResponse(const GetTicketsResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetTicketsResponse) -} - -void GetTicketsResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetTicketsResponse::~GetTicketsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetTicketsResponse) - SharedDtor(); -} - -void GetTicketsResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetTicketsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetTicketsResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetTicketsResponse_descriptor_; -} - -const GetTicketsResponse& GetTicketsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetTicketsResponse* GetTicketsResponse::default_instance_ = NULL; - -GetTicketsResponse* GetTicketsResponse::New() const { - return new GetTicketsResponse; -} - -void GetTicketsResponse::Swap(GetTicketsResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetTicketsResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetTicketsResponse_descriptor_; - metadata.reflection = GetTicketsResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AddBanRequest::kAgentIdFieldNumber; -const int AddBanRequest::kClubIdFieldNumber; -const int AddBanRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -AddBanRequest::AddBanRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AddBanRequest) -} - -void AddBanRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::AddBanOptions*>(&::bgs::protocol::club::v1::AddBanOptions::default_instance()); -} - -AddBanRequest::AddBanRequest(const AddBanRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AddBanRequest) -} - -void AddBanRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AddBanRequest::~AddBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AddBanRequest) - SharedDtor(); -} - -void AddBanRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void AddBanRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddBanRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AddBanRequest_descriptor_; -} - -const AddBanRequest& AddBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AddBanRequest* AddBanRequest::default_instance_ = NULL; - -AddBanRequest* AddBanRequest::New() const { - return new AddBanRequest; -} - -void AddBanRequest::Swap(AddBanRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AddBanRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AddBanRequest_descriptor_; - metadata.reflection = AddBanRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RemoveBanRequest::kAgentIdFieldNumber; -const int RemoveBanRequest::kClubIdFieldNumber; -const int RemoveBanRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -RemoveBanRequest::RemoveBanRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.RemoveBanRequest) -} - -void RemoveBanRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -RemoveBanRequest::RemoveBanRequest(const RemoveBanRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.RemoveBanRequest) -} - -void RemoveBanRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RemoveBanRequest::~RemoveBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.RemoveBanRequest) - SharedDtor(); -} - -void RemoveBanRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void RemoveBanRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveBanRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RemoveBanRequest_descriptor_; -} - -const RemoveBanRequest& RemoveBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -RemoveBanRequest* RemoveBanRequest::default_instance_ = NULL; - -RemoveBanRequest* RemoveBanRequest::New() const { - return new RemoveBanRequest; -} - -void RemoveBanRequest::Swap(RemoveBanRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RemoveBanRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RemoveBanRequest_descriptor_; - metadata.reflection = RemoveBanRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetBanRequest::kAgentIdFieldNumber; -const int GetBanRequest::kClubIdFieldNumber; -const int GetBanRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -GetBanRequest::GetBanRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBanRequest) -} - -void GetBanRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetBanRequest::GetBanRequest(const GetBanRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBanRequest) -} - -void GetBanRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetBanRequest::~GetBanRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBanRequest) - SharedDtor(); -} - -void GetBanRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void GetBanRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetBanRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetBanRequest_descriptor_; -} - -const GetBanRequest& GetBanRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetBanRequest* GetBanRequest::default_instance_ = NULL; - -GetBanRequest* GetBanRequest::New() const { - return new GetBanRequest; -} - -void GetBanRequest::Swap(GetBanRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetBanRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetBanRequest_descriptor_; - metadata.reflection = GetBanRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetBanResponse::kBanFieldNumber; -#endif // !_MSC_VER - -GetBanResponse::GetBanResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBanResponse) -} - -void GetBanResponse::InitAsDefaultInstance() { - ban_ = const_cast< ::bgs::protocol::club::v1::ClubBan*>(&::bgs::protocol::club::v1::ClubBan::default_instance()); -} - -GetBanResponse::GetBanResponse(const GetBanResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBanResponse) -} - -void GetBanResponse::SharedCtor() { - _cached_size_ = 0; - ban_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetBanResponse::~GetBanResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBanResponse) - SharedDtor(); -} - -void GetBanResponse::SharedDtor() { - if (this != default_instance_) { - delete ban_; - } -} - -void GetBanResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetBanResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetBanResponse_descriptor_; -} - -const GetBanResponse& GetBanResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetBanResponse* GetBanResponse::default_instance_ = NULL; - -GetBanResponse* GetBanResponse::New() const { - return new GetBanResponse; -} - -void GetBanResponse::Swap(GetBanResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetBanResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetBanResponse_descriptor_; - metadata.reflection = GetBanResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetBansRequest::kAgentIdFieldNumber; -const int GetBansRequest::kClubIdFieldNumber; -const int GetBansRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetBansRequest::GetBansRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBansRequest) -} - -void GetBansRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetBansRequest::GetBansRequest(const GetBansRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBansRequest) -} - -void GetBansRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetBansRequest::~GetBansRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBansRequest) - SharedDtor(); -} - -void GetBansRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetBansRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetBansRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetBansRequest_descriptor_; -} - -const GetBansRequest& GetBansRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetBansRequest* GetBansRequest::default_instance_ = NULL; - -GetBansRequest* GetBansRequest::New() const { - return new GetBansRequest; -} - -void GetBansRequest::Swap(GetBansRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetBansRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetBansRequest_descriptor_; - metadata.reflection = GetBansRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetBansResponse::kBanFieldNumber; -const int GetBansResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetBansResponse::GetBansResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetBansResponse) -} - -void GetBansResponse::InitAsDefaultInstance() { -} - -GetBansResponse::GetBansResponse(const GetBansResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetBansResponse) -} - -void GetBansResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetBansResponse::~GetBansResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetBansResponse) - SharedDtor(); -} - -void GetBansResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetBansResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetBansResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetBansResponse_descriptor_; -} - -const GetBansResponse& GetBansResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetBansResponse* GetBansResponse::default_instance_ = NULL; - -GetBansResponse* GetBansResponse::New() const { - return new GetBansResponse; -} - -void GetBansResponse::Swap(GetBansResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetBansResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetBansResponse_descriptor_; - metadata.reflection = GetBansResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeStreamRequest::kAgentIdFieldNumber; -const int SubscribeStreamRequest::kClubIdFieldNumber; -const int SubscribeStreamRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -SubscribeStreamRequest::SubscribeStreamRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SubscribeStreamRequest) -} - -void SubscribeStreamRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SubscribeStreamRequest::SubscribeStreamRequest(const SubscribeStreamRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SubscribeStreamRequest) -} - -void SubscribeStreamRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeStreamRequest::~SubscribeStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SubscribeStreamRequest) - SharedDtor(); -} - -void SubscribeStreamRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SubscribeStreamRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeStreamRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeStreamRequest_descriptor_; -} - -const SubscribeStreamRequest& SubscribeStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SubscribeStreamRequest* SubscribeStreamRequest::default_instance_ = NULL; - -SubscribeStreamRequest* SubscribeStreamRequest::New() const { - return new SubscribeStreamRequest; -} - -void SubscribeStreamRequest::Swap(SubscribeStreamRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeStreamRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeStreamRequest_descriptor_; - metadata.reflection = SubscribeStreamRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnsubscribeStreamRequest::kAgentIdFieldNumber; -const int UnsubscribeStreamRequest::kClubIdFieldNumber; -const int UnsubscribeStreamRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -UnsubscribeStreamRequest::UnsubscribeStreamRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) -} - -void UnsubscribeStreamRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -UnsubscribeStreamRequest::UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) -} - -void UnsubscribeStreamRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnsubscribeStreamRequest::~UnsubscribeStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UnsubscribeStreamRequest) - SharedDtor(); -} - -void UnsubscribeStreamRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void UnsubscribeStreamRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnsubscribeStreamRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnsubscribeStreamRequest_descriptor_; -} - -const UnsubscribeStreamRequest& UnsubscribeStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UnsubscribeStreamRequest* UnsubscribeStreamRequest::default_instance_ = NULL; - -UnsubscribeStreamRequest* UnsubscribeStreamRequest::New() const { - return new UnsubscribeStreamRequest; -} - -void UnsubscribeStreamRequest::Swap(UnsubscribeStreamRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnsubscribeStreamRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnsubscribeStreamRequest_descriptor_; - metadata.reflection = UnsubscribeStreamRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateStreamRequest::kAgentIdFieldNumber; -const int CreateStreamRequest::kClubIdFieldNumber; -const int CreateStreamRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -CreateStreamRequest::CreateStreamRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamRequest) -} - -void CreateStreamRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateStreamOptions*>(&::bgs::protocol::club::v1::CreateStreamOptions::default_instance()); -} - -CreateStreamRequest::CreateStreamRequest(const CreateStreamRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateStreamRequest) -} - -void CreateStreamRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateStreamRequest::~CreateStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamRequest) - SharedDtor(); -} - -void CreateStreamRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void CreateStreamRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateStreamRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateStreamRequest_descriptor_; -} - -const CreateStreamRequest& CreateStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateStreamRequest* CreateStreamRequest::default_instance_ = NULL; - -CreateStreamRequest* CreateStreamRequest::New() const { - return new CreateStreamRequest; -} - -void CreateStreamRequest::Swap(CreateStreamRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateStreamRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateStreamRequest_descriptor_; - metadata.reflection = CreateStreamRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateStreamResponse::kClubIdFieldNumber; -const int CreateStreamResponse::kStreamIdFieldNumber; -#endif // !_MSC_VER - -CreateStreamResponse::CreateStreamResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamResponse) -} - -void CreateStreamResponse::InitAsDefaultInstance() { -} - -CreateStreamResponse::CreateStreamResponse(const CreateStreamResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateStreamResponse) -} - -void CreateStreamResponse::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateStreamResponse::~CreateStreamResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamResponse) - SharedDtor(); -} - -void CreateStreamResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void CreateStreamResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateStreamResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateStreamResponse_descriptor_; -} - -const CreateStreamResponse& CreateStreamResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateStreamResponse* CreateStreamResponse::default_instance_ = NULL; - -CreateStreamResponse* CreateStreamResponse::New() const { - return new CreateStreamResponse; -} - -void CreateStreamResponse::Swap(CreateStreamResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateStreamResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateStreamResponse_descriptor_; - metadata.reflection = CreateStreamResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DestroyStreamRequest::kAgentIdFieldNumber; -const int DestroyStreamRequest::kClubIdFieldNumber; -const int DestroyStreamRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -DestroyStreamRequest::DestroyStreamRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyStreamRequest) -} - -void DestroyStreamRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -DestroyStreamRequest::DestroyStreamRequest(const DestroyStreamRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyStreamRequest) -} - -void DestroyStreamRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DestroyStreamRequest::~DestroyStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyStreamRequest) - SharedDtor(); -} - -void DestroyStreamRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void DestroyStreamRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DestroyStreamRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DestroyStreamRequest_descriptor_; -} - -const DestroyStreamRequest& DestroyStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DestroyStreamRequest* DestroyStreamRequest::default_instance_ = NULL; - -DestroyStreamRequest* DestroyStreamRequest::New() const { - return new DestroyStreamRequest; -} - -void DestroyStreamRequest::Swap(DestroyStreamRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DestroyStreamRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DestroyStreamRequest_descriptor_; - metadata.reflection = DestroyStreamRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamRequest::kAgentIdFieldNumber; -const int GetStreamRequest::kClubIdFieldNumber; -const int GetStreamRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -GetStreamRequest::GetStreamRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamRequest) -} - -void GetStreamRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetStreamRequest::GetStreamRequest(const GetStreamRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamRequest) -} - -void GetStreamRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamRequest::~GetStreamRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamRequest) - SharedDtor(); -} - -void GetStreamRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetStreamRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamRequest_descriptor_; -} - -const GetStreamRequest& GetStreamRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamRequest* GetStreamRequest::default_instance_ = NULL; - -GetStreamRequest* GetStreamRequest::New() const { - return new GetStreamRequest; -} - -void GetStreamRequest::Swap(GetStreamRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamRequest_descriptor_; - metadata.reflection = GetStreamRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamResponse::kStreamFieldNumber; -#endif // !_MSC_VER - -GetStreamResponse::GetStreamResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamResponse) -} - -void GetStreamResponse::InitAsDefaultInstance() { - stream_ = const_cast< ::bgs::protocol::club::v1::Stream*>(&::bgs::protocol::club::v1::Stream::default_instance()); -} - -GetStreamResponse::GetStreamResponse(const GetStreamResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamResponse) -} - -void GetStreamResponse::SharedCtor() { - _cached_size_ = 0; - stream_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamResponse::~GetStreamResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamResponse) - SharedDtor(); -} - -void GetStreamResponse::SharedDtor() { - if (this != default_instance_) { - delete stream_; - } -} - -void GetStreamResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamResponse_descriptor_; -} - -const GetStreamResponse& GetStreamResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamResponse* GetStreamResponse::default_instance_ = NULL; - -GetStreamResponse* GetStreamResponse::New() const { - return new GetStreamResponse; -} - -void GetStreamResponse::Swap(GetStreamResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamResponse_descriptor_; - metadata.reflection = GetStreamResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamsRequest::kAgentIdFieldNumber; -const int GetStreamsRequest::kClubIdFieldNumber; -const int GetStreamsRequest::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetStreamsRequest::GetStreamsRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamsRequest) -} - -void GetStreamsRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetStreamsRequest::GetStreamsRequest(const GetStreamsRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamsRequest) -} - -void GetStreamsRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamsRequest::~GetStreamsRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamsRequest) - SharedDtor(); -} - -void GetStreamsRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetStreamsRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamsRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamsRequest_descriptor_; -} - -const GetStreamsRequest& GetStreamsRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamsRequest* GetStreamsRequest::default_instance_ = NULL; - -GetStreamsRequest* GetStreamsRequest::New() const { - return new GetStreamsRequest; -} - -void GetStreamsRequest::Swap(GetStreamsRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamsRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamsRequest_descriptor_; - metadata.reflection = GetStreamsRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamsResponse::kStreamFieldNumber; -const int GetStreamsResponse::kViewFieldNumber; -const int GetStreamsResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetStreamsResponse::GetStreamsResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamsResponse) -} - -void GetStreamsResponse::InitAsDefaultInstance() { -} - -GetStreamsResponse::GetStreamsResponse(const GetStreamsResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamsResponse) -} - -void GetStreamsResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamsResponse::~GetStreamsResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamsResponse) - SharedDtor(); -} - -void GetStreamsResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetStreamsResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamsResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamsResponse_descriptor_; -} - -const GetStreamsResponse& GetStreamsResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamsResponse* GetStreamsResponse::default_instance_ = NULL; - -GetStreamsResponse* GetStreamsResponse::New() const { - return new GetStreamsResponse; -} - -void GetStreamsResponse::Swap(GetStreamsResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamsResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamsResponse_descriptor_; - metadata.reflection = GetStreamsResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UpdateStreamStateRequest::kAgentIdFieldNumber; -const int UpdateStreamStateRequest::kClubIdFieldNumber; -const int UpdateStreamStateRequest::kStreamIdFieldNumber; -const int UpdateStreamStateRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -UpdateStreamStateRequest::UpdateStreamStateRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UpdateStreamStateRequest) -} - -void UpdateStreamStateRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::StreamStateOptions*>(&::bgs::protocol::club::v1::StreamStateOptions::default_instance()); -} - -UpdateStreamStateRequest::UpdateStreamStateRequest(const UpdateStreamStateRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UpdateStreamStateRequest) -} - -void UpdateStreamStateRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UpdateStreamStateRequest::~UpdateStreamStateRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UpdateStreamStateRequest) - SharedDtor(); -} - -void UpdateStreamStateRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void UpdateStreamStateRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UpdateStreamStateRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UpdateStreamStateRequest_descriptor_; -} - -const UpdateStreamStateRequest& UpdateStreamStateRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -UpdateStreamStateRequest* UpdateStreamStateRequest::default_instance_ = NULL; - -UpdateStreamStateRequest* UpdateStreamStateRequest::New() const { - return new UpdateStreamStateRequest; -} - -void UpdateStreamStateRequest::Swap(UpdateStreamStateRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UpdateStreamStateRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UpdateStreamStateRequest_descriptor_; - metadata.reflection = UpdateStreamStateRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SetStreamFocusRequest::kAgentIdFieldNumber; -const int SetStreamFocusRequest::kClubIdFieldNumber; -const int SetStreamFocusRequest::kStreamIdFieldNumber; -const int SetStreamFocusRequest::kFocusFieldNumber; -#endif // !_MSC_VER - -SetStreamFocusRequest::SetStreamFocusRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetStreamFocusRequest) -} - -void SetStreamFocusRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SetStreamFocusRequest::SetStreamFocusRequest(const SetStreamFocusRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetStreamFocusRequest) -} - -void SetStreamFocusRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - focus_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SetStreamFocusRequest::~SetStreamFocusRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetStreamFocusRequest) - SharedDtor(); -} - -void SetStreamFocusRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SetStreamFocusRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetStreamFocusRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SetStreamFocusRequest_descriptor_; -} - -const SetStreamFocusRequest& SetStreamFocusRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SetStreamFocusRequest* SetStreamFocusRequest::default_instance_ = NULL; - -SetStreamFocusRequest* SetStreamFocusRequest::New() const { - return new SetStreamFocusRequest; -} - -void SetStreamFocusRequest::Swap(SetStreamFocusRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SetStreamFocusRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SetStreamFocusRequest_descriptor_; - metadata.reflection = SetStreamFocusRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateMessageRequest::kAgentIdFieldNumber; -const int CreateMessageRequest::kClubIdFieldNumber; -const int CreateMessageRequest::kStreamIdFieldNumber; -const int CreateMessageRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -CreateMessageRequest::CreateMessageRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageRequest) -} - -void CreateMessageRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateMessageOptions*>(&::bgs::protocol::club::v1::CreateMessageOptions::default_instance()); -} - -CreateMessageRequest::CreateMessageRequest(const CreateMessageRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateMessageRequest) -} - -void CreateMessageRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateMessageRequest::~CreateMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageRequest) - SharedDtor(); -} - -void CreateMessageRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void CreateMessageRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateMessageRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateMessageRequest_descriptor_; -} - -const CreateMessageRequest& CreateMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateMessageRequest* CreateMessageRequest::default_instance_ = NULL; - -CreateMessageRequest* CreateMessageRequest::New() const { - return new CreateMessageRequest; -} - -void CreateMessageRequest::Swap(CreateMessageRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateMessageRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateMessageRequest_descriptor_; - metadata.reflection = CreateMessageRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateMessageResponse::kMessageFieldNumber; -#endif // !_MSC_VER - -CreateMessageResponse::CreateMessageResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageResponse) -} - -void CreateMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -CreateMessageResponse::CreateMessageResponse(const CreateMessageResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateMessageResponse) -} - -void CreateMessageResponse::SharedCtor() { - _cached_size_ = 0; - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateMessageResponse::~CreateMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageResponse) - SharedDtor(); -} - -void CreateMessageResponse::SharedDtor() { - if (this != default_instance_) { - delete message_; - } -} - -void CreateMessageResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateMessageResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateMessageResponse_descriptor_; -} - -const CreateMessageResponse& CreateMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -CreateMessageResponse* CreateMessageResponse::default_instance_ = NULL; - -CreateMessageResponse* CreateMessageResponse::New() const { - return new CreateMessageResponse; -} - -void CreateMessageResponse::Swap(CreateMessageResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateMessageResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateMessageResponse_descriptor_; - metadata.reflection = CreateMessageResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DestroyMessageRequest::kAgentIdFieldNumber; -const int DestroyMessageRequest::kClubIdFieldNumber; -const int DestroyMessageRequest::kStreamIdFieldNumber; -const int DestroyMessageRequest::kMessageIdFieldNumber; -#endif // !_MSC_VER - -DestroyMessageRequest::DestroyMessageRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyMessageRequest) -} - -void DestroyMessageRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); -} - -DestroyMessageRequest::DestroyMessageRequest(const DestroyMessageRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyMessageRequest) -} - -void DestroyMessageRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DestroyMessageRequest::~DestroyMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyMessageRequest) - SharedDtor(); -} - -void DestroyMessageRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete message_id_; - } -} - -void DestroyMessageRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DestroyMessageRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DestroyMessageRequest_descriptor_; -} - -const DestroyMessageRequest& DestroyMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DestroyMessageRequest* DestroyMessageRequest::default_instance_ = NULL; - -DestroyMessageRequest* DestroyMessageRequest::New() const { - return new DestroyMessageRequest; -} - -void DestroyMessageRequest::Swap(DestroyMessageRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DestroyMessageRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DestroyMessageRequest_descriptor_; - metadata.reflection = DestroyMessageRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int DestroyMessageResponse::kMessageFieldNumber; -#endif // !_MSC_VER - -DestroyMessageResponse::DestroyMessageResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.DestroyMessageResponse) -} - -void DestroyMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -DestroyMessageResponse::DestroyMessageResponse(const DestroyMessageResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.DestroyMessageResponse) -} - -void DestroyMessageResponse::SharedCtor() { - _cached_size_ = 0; - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -DestroyMessageResponse::~DestroyMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.DestroyMessageResponse) - SharedDtor(); -} - -void DestroyMessageResponse::SharedDtor() { - if (this != default_instance_) { - delete message_; - } -} - -void DestroyMessageResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* DestroyMessageResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return DestroyMessageResponse_descriptor_; -} - -const DestroyMessageResponse& DestroyMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -DestroyMessageResponse* DestroyMessageResponse::default_instance_ = NULL; - -DestroyMessageResponse* DestroyMessageResponse::New() const { - return new DestroyMessageResponse; -} - -void DestroyMessageResponse::Swap(DestroyMessageResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata DestroyMessageResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = DestroyMessageResponse_descriptor_; - metadata.reflection = DestroyMessageResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int EditMessageRequest::kAgentIdFieldNumber; -const int EditMessageRequest::kClubIdFieldNumber; -const int EditMessageRequest::kStreamIdFieldNumber; -const int EditMessageRequest::kMessageIdFieldNumber; -const int EditMessageRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -EditMessageRequest::EditMessageRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.EditMessageRequest) -} - -void EditMessageRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); - options_ = const_cast< ::bgs::protocol::club::v1::CreateMessageOptions*>(&::bgs::protocol::club::v1::CreateMessageOptions::default_instance()); -} - -EditMessageRequest::EditMessageRequest(const EditMessageRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.EditMessageRequest) -} - -void EditMessageRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_id_ = NULL; - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -EditMessageRequest::~EditMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.EditMessageRequest) - SharedDtor(); -} - -void EditMessageRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete message_id_; - delete options_; - } -} - -void EditMessageRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* EditMessageRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return EditMessageRequest_descriptor_; -} - -const EditMessageRequest& EditMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -EditMessageRequest* EditMessageRequest::default_instance_ = NULL; - -EditMessageRequest* EditMessageRequest::New() const { - return new EditMessageRequest; -} - -void EditMessageRequest::Swap(EditMessageRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata EditMessageRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = EditMessageRequest_descriptor_; - metadata.reflection = EditMessageRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int EditMessageResponse::kMessageFieldNumber; -#endif // !_MSC_VER - -EditMessageResponse::EditMessageResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.EditMessageResponse) -} - -void EditMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -EditMessageResponse::EditMessageResponse(const EditMessageResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.EditMessageResponse) -} - -void EditMessageResponse::SharedCtor() { - _cached_size_ = 0; - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -EditMessageResponse::~EditMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.EditMessageResponse) - SharedDtor(); -} - -void EditMessageResponse::SharedDtor() { - if (this != default_instance_) { - delete message_; - } -} - -void EditMessageResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* EditMessageResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return EditMessageResponse_descriptor_; -} - -const EditMessageResponse& EditMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -EditMessageResponse* EditMessageResponse::default_instance_ = NULL; - -EditMessageResponse* EditMessageResponse::New() const { - return new EditMessageResponse; -} - -void EditMessageResponse::Swap(EditMessageResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata EditMessageResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = EditMessageResponse_descriptor_; - metadata.reflection = EditMessageResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SetMessagePinnedRequest::kAgentIdFieldNumber; -const int SetMessagePinnedRequest::kClubIdFieldNumber; -const int SetMessagePinnedRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -SetMessagePinnedRequest::SetMessagePinnedRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetMessagePinnedRequest) -} - -void SetMessagePinnedRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SetMessagePinnedRequest::SetMessagePinnedRequest(const SetMessagePinnedRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetMessagePinnedRequest) -} - -void SetMessagePinnedRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SetMessagePinnedRequest::~SetMessagePinnedRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetMessagePinnedRequest) - SharedDtor(); -} - -void SetMessagePinnedRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SetMessagePinnedRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetMessagePinnedRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SetMessagePinnedRequest_descriptor_; -} - -const SetMessagePinnedRequest& SetMessagePinnedRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SetMessagePinnedRequest* SetMessagePinnedRequest::default_instance_ = NULL; - -SetMessagePinnedRequest* SetMessagePinnedRequest::New() const { - return new SetMessagePinnedRequest; -} - -void SetMessagePinnedRequest::Swap(SetMessagePinnedRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SetMessagePinnedRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SetMessagePinnedRequest_descriptor_; - metadata.reflection = SetMessagePinnedRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SetTypingIndicatorRequest::kAgentIdFieldNumber; -const int SetTypingIndicatorRequest::kClubIdFieldNumber; -const int SetTypingIndicatorRequest::kStreamIdFieldNumber; -const int SetTypingIndicatorRequest::kIndicatorFieldNumber; -#endif // !_MSC_VER - -SetTypingIndicatorRequest::SetTypingIndicatorRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) -} - -void SetTypingIndicatorRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -SetTypingIndicatorRequest::SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) -} - -void SetTypingIndicatorRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - indicator_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SetTypingIndicatorRequest::~SetTypingIndicatorRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.SetTypingIndicatorRequest) - SharedDtor(); -} - -void SetTypingIndicatorRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SetTypingIndicatorRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetTypingIndicatorRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SetTypingIndicatorRequest_descriptor_; -} - -const SetTypingIndicatorRequest& SetTypingIndicatorRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -SetTypingIndicatorRequest* SetTypingIndicatorRequest::default_instance_ = NULL; - -SetTypingIndicatorRequest* SetTypingIndicatorRequest::New() const { - return new SetTypingIndicatorRequest; -} - -void SetTypingIndicatorRequest::Swap(SetTypingIndicatorRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SetTypingIndicatorRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SetTypingIndicatorRequest_descriptor_; - metadata.reflection = SetTypingIndicatorRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AdvanceStreamViewTimeRequest::kAgentIdFieldNumber; -const int AdvanceStreamViewTimeRequest::kClubIdFieldNumber; -const int AdvanceStreamViewTimeRequest::kStreamIdDeprecatedFieldNumber; -const int AdvanceStreamViewTimeRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) -} - -void AdvanceStreamViewTimeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AdvanceStreamViewTimeRequest::AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) -} - -void AdvanceStreamViewTimeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_deprecated_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AdvanceStreamViewTimeRequest::~AdvanceStreamViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) - SharedDtor(); -} - -void AdvanceStreamViewTimeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AdvanceStreamViewTimeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AdvanceStreamViewTimeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AdvanceStreamViewTimeRequest_descriptor_; -} - -const AdvanceStreamViewTimeRequest& AdvanceStreamViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::default_instance_ = NULL; - -AdvanceStreamViewTimeRequest* AdvanceStreamViewTimeRequest::New() const { - return new AdvanceStreamViewTimeRequest; -} - -void AdvanceStreamViewTimeRequest::Swap(AdvanceStreamViewTimeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AdvanceStreamViewTimeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AdvanceStreamViewTimeRequest_descriptor_; - metadata.reflection = AdvanceStreamViewTimeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AdvanceStreamMentionViewTimeRequest::kAgentIdFieldNumber; -const int AdvanceStreamMentionViewTimeRequest::kClubIdFieldNumber; -const int AdvanceStreamMentionViewTimeRequest::kStreamIdFieldNumber; -#endif // !_MSC_VER - -AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) -} - -void AdvanceStreamMentionViewTimeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AdvanceStreamMentionViewTimeRequest::AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) -} - -void AdvanceStreamMentionViewTimeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AdvanceStreamMentionViewTimeRequest::~AdvanceStreamMentionViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) - SharedDtor(); -} - -void AdvanceStreamMentionViewTimeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AdvanceStreamMentionViewTimeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AdvanceStreamMentionViewTimeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AdvanceStreamMentionViewTimeRequest_descriptor_; -} - -const AdvanceStreamMentionViewTimeRequest& AdvanceStreamMentionViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::default_instance_ = NULL; - -AdvanceStreamMentionViewTimeRequest* AdvanceStreamMentionViewTimeRequest::New() const { - return new AdvanceStreamMentionViewTimeRequest; -} - -void AdvanceStreamMentionViewTimeRequest::Swap(AdvanceStreamMentionViewTimeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AdvanceStreamMentionViewTimeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AdvanceStreamMentionViewTimeRequest_descriptor_; - metadata.reflection = AdvanceStreamMentionViewTimeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AdvanceActivityViewTimeRequest::kAgentIdFieldNumber; -const int AdvanceActivityViewTimeRequest::kClubIdFieldNumber; -#endif // !_MSC_VER - -AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) -} - -void AdvanceActivityViewTimeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -AdvanceActivityViewTimeRequest::AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) -} - -void AdvanceActivityViewTimeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AdvanceActivityViewTimeRequest::~AdvanceActivityViewTimeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) - SharedDtor(); -} - -void AdvanceActivityViewTimeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AdvanceActivityViewTimeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AdvanceActivityViewTimeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AdvanceActivityViewTimeRequest_descriptor_; -} - -const AdvanceActivityViewTimeRequest& AdvanceActivityViewTimeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::default_instance_ = NULL; - -AdvanceActivityViewTimeRequest* AdvanceActivityViewTimeRequest::New() const { - return new AdvanceActivityViewTimeRequest; -} - -void AdvanceActivityViewTimeRequest::Swap(AdvanceActivityViewTimeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AdvanceActivityViewTimeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AdvanceActivityViewTimeRequest_descriptor_; - metadata.reflection = AdvanceActivityViewTimeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamHistoryRequest::kAgentIdFieldNumber; -const int GetStreamHistoryRequest::kClubIdFieldNumber; -const int GetStreamHistoryRequest::kStreamIdFieldNumber; -const int GetStreamHistoryRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -GetStreamHistoryRequest::GetStreamHistoryRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamHistoryRequest) -} - -void GetStreamHistoryRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); -} - -GetStreamHistoryRequest::GetStreamHistoryRequest(const GetStreamHistoryRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamHistoryRequest) -} - -void GetStreamHistoryRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamHistoryRequest::~GetStreamHistoryRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamHistoryRequest) - SharedDtor(); -} - -void GetStreamHistoryRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void GetStreamHistoryRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamHistoryRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamHistoryRequest_descriptor_; -} - -const GetStreamHistoryRequest& GetStreamHistoryRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamHistoryRequest* GetStreamHistoryRequest::default_instance_ = NULL; - -GetStreamHistoryRequest* GetStreamHistoryRequest::New() const { - return new GetStreamHistoryRequest; -} - -void GetStreamHistoryRequest::Swap(GetStreamHistoryRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamHistoryRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamHistoryRequest_descriptor_; - metadata.reflection = GetStreamHistoryRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamHistoryResponse::kMessageFieldNumber; -const int GetStreamHistoryResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetStreamHistoryResponse::GetStreamHistoryResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamHistoryResponse) -} - -void GetStreamHistoryResponse::InitAsDefaultInstance() { -} - -GetStreamHistoryResponse::GetStreamHistoryResponse(const GetStreamHistoryResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamHistoryResponse) -} - -void GetStreamHistoryResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamHistoryResponse::~GetStreamHistoryResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamHistoryResponse) - SharedDtor(); -} - -void GetStreamHistoryResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetStreamHistoryResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamHistoryResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamHistoryResponse_descriptor_; -} - -const GetStreamHistoryResponse& GetStreamHistoryResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamHistoryResponse* GetStreamHistoryResponse::default_instance_ = NULL; - -GetStreamHistoryResponse* GetStreamHistoryResponse::New() const { - return new GetStreamHistoryResponse; -} - -void GetStreamHistoryResponse::Swap(GetStreamHistoryResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamHistoryResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamHistoryResponse_descriptor_; - metadata.reflection = GetStreamHistoryResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamMessageRequest::kAgentIdFieldNumber; -const int GetStreamMessageRequest::kClubIdFieldNumber; -const int GetStreamMessageRequest::kStreamIdFieldNumber; -const int GetStreamMessageRequest::kMessageIdFieldNumber; -#endif // !_MSC_VER - -GetStreamMessageRequest::GetStreamMessageRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamMessageRequest) -} - -void GetStreamMessageRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); -} - -GetStreamMessageRequest::GetStreamMessageRequest(const GetStreamMessageRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamMessageRequest) -} - -void GetStreamMessageRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamMessageRequest::~GetStreamMessageRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamMessageRequest) - SharedDtor(); -} - -void GetStreamMessageRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete message_id_; - } -} - -void GetStreamMessageRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamMessageRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamMessageRequest_descriptor_; -} - -const GetStreamMessageRequest& GetStreamMessageRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamMessageRequest* GetStreamMessageRequest::default_instance_ = NULL; - -GetStreamMessageRequest* GetStreamMessageRequest::New() const { - return new GetStreamMessageRequest; -} - -void GetStreamMessageRequest::Swap(GetStreamMessageRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamMessageRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamMessageRequest_descriptor_; - metadata.reflection = GetStreamMessageRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamMessageResponse::kMessageFieldNumber; -#endif // !_MSC_VER - -GetStreamMessageResponse::GetStreamMessageResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamMessageResponse) -} - -void GetStreamMessageResponse::InitAsDefaultInstance() { - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); -} - -GetStreamMessageResponse::GetStreamMessageResponse(const GetStreamMessageResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamMessageResponse) -} - -void GetStreamMessageResponse::SharedCtor() { - _cached_size_ = 0; - message_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamMessageResponse::~GetStreamMessageResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamMessageResponse) - SharedDtor(); -} - -void GetStreamMessageResponse::SharedDtor() { - if (this != default_instance_) { - delete message_; - } -} - -void GetStreamMessageResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamMessageResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamMessageResponse_descriptor_; -} - -const GetStreamMessageResponse& GetStreamMessageResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamMessageResponse* GetStreamMessageResponse::default_instance_ = NULL; - -GetStreamMessageResponse* GetStreamMessageResponse::New() const { - return new GetStreamMessageResponse; -} - -void GetStreamMessageResponse::Swap(GetStreamMessageResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamMessageResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamMessageResponse_descriptor_; - metadata.reflection = GetStreamMessageResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetClubActivityRequest::kAgentIdFieldNumber; -const int GetClubActivityRequest::kClubIdFieldNumber; -const int GetClubActivityRequest::kOptionsFieldNumber; -#endif // !_MSC_VER - -GetClubActivityRequest::GetClubActivityRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubActivityRequest) -} - -void GetClubActivityRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - options_ = const_cast< ::bgs::protocol::GetEventOptions*>(&::bgs::protocol::GetEventOptions::default_instance()); -} - -GetClubActivityRequest::GetClubActivityRequest(const GetClubActivityRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubActivityRequest) -} - -void GetClubActivityRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - options_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetClubActivityRequest::~GetClubActivityRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubActivityRequest) - SharedDtor(); -} - -void GetClubActivityRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete options_; - } -} - -void GetClubActivityRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetClubActivityRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetClubActivityRequest_descriptor_; -} - -const GetClubActivityRequest& GetClubActivityRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetClubActivityRequest* GetClubActivityRequest::default_instance_ = NULL; - -GetClubActivityRequest* GetClubActivityRequest::New() const { - return new GetClubActivityRequest; -} - -void GetClubActivityRequest::Swap(GetClubActivityRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetClubActivityRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetClubActivityRequest_descriptor_; - metadata.reflection = GetClubActivityRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetClubActivityResponse::kContinuationFieldNumber; -#endif // !_MSC_VER - -GetClubActivityResponse::GetClubActivityResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetClubActivityResponse) -} - -void GetClubActivityResponse::InitAsDefaultInstance() { -} - -GetClubActivityResponse::GetClubActivityResponse(const GetClubActivityResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetClubActivityResponse) -} - -void GetClubActivityResponse::SharedCtor() { - _cached_size_ = 0; - continuation_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetClubActivityResponse::~GetClubActivityResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetClubActivityResponse) - SharedDtor(); -} - -void GetClubActivityResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetClubActivityResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetClubActivityResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetClubActivityResponse_descriptor_; -} - -const GetClubActivityResponse& GetClubActivityResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetClubActivityResponse* GetClubActivityResponse::default_instance_ = NULL; - -GetClubActivityResponse* GetClubActivityResponse::New() const { - return new GetClubActivityResponse; -} - -void GetClubActivityResponse::Swap(GetClubActivityResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetClubActivityResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetClubActivityResponse_descriptor_; - metadata.reflection = GetClubActivityResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamVoiceTokenRequest::kAgentIdFieldNumber; -const int GetStreamVoiceTokenRequest::kClubIdFieldNumber; -const int GetStreamVoiceTokenRequest::kStreamIdFieldNumber; -const int GetStreamVoiceTokenRequest::kVersionFieldNumber; -#endif // !_MSC_VER - -GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) -} - -void GetStreamVoiceTokenRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -GetStreamVoiceTokenRequest::GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) -} - -void GetStreamVoiceTokenRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - version_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamVoiceTokenRequest::~GetStreamVoiceTokenRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) - SharedDtor(); -} - -void GetStreamVoiceTokenRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void GetStreamVoiceTokenRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamVoiceTokenRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamVoiceTokenRequest_descriptor_; -} - -const GetStreamVoiceTokenRequest& GetStreamVoiceTokenRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::default_instance_ = NULL; - -GetStreamVoiceTokenRequest* GetStreamVoiceTokenRequest::New() const { - return new GetStreamVoiceTokenRequest; -} - -void GetStreamVoiceTokenRequest::Swap(GetStreamVoiceTokenRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamVoiceTokenRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamVoiceTokenRequest_descriptor_; - metadata.reflection = GetStreamVoiceTokenRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetStreamVoiceTokenResponse::kChannelUriFieldNumber; -const int GetStreamVoiceTokenResponse::kCredentialsFieldNumber; -#endif // !_MSC_VER - -GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) -} - -void GetStreamVoiceTokenResponse::InitAsDefaultInstance() { - credentials_ = const_cast< ::bgs::protocol::VoiceCredentials*>(&::bgs::protocol::VoiceCredentials::default_instance()); -} - -GetStreamVoiceTokenResponse::GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) -} - -void GetStreamVoiceTokenResponse::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - credentials_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetStreamVoiceTokenResponse::~GetStreamVoiceTokenResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) - SharedDtor(); -} - -void GetStreamVoiceTokenResponse::SharedDtor() { - if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete channel_uri_; - } - if (this != default_instance_) { - delete credentials_; - } -} - -void GetStreamVoiceTokenResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetStreamVoiceTokenResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetStreamVoiceTokenResponse_descriptor_; -} - -const GetStreamVoiceTokenResponse& GetStreamVoiceTokenResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::default_instance_ = NULL; - -GetStreamVoiceTokenResponse* GetStreamVoiceTokenResponse::New() const { - return new GetStreamVoiceTokenResponse; -} - -void GetStreamVoiceTokenResponse::Swap(GetStreamVoiceTokenResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetStreamVoiceTokenResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetStreamVoiceTokenResponse_descriptor_; - metadata.reflection = GetStreamVoiceTokenResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int KickFromStreamVoiceRequest::kAgentIdFieldNumber; -const int KickFromStreamVoiceRequest::kClubIdFieldNumber; -const int KickFromStreamVoiceRequest::kStreamIdFieldNumber; -const int KickFromStreamVoiceRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -KickFromStreamVoiceRequest::KickFromStreamVoiceRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) -} - -void KickFromStreamVoiceRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -KickFromStreamVoiceRequest::KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) -} - -void KickFromStreamVoiceRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -KickFromStreamVoiceRequest::~KickFromStreamVoiceRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.KickFromStreamVoiceRequest) - SharedDtor(); -} - -void KickFromStreamVoiceRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void KickFromStreamVoiceRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* KickFromStreamVoiceRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return KickFromStreamVoiceRequest_descriptor_; -} - -const KickFromStreamVoiceRequest& KickFromStreamVoiceRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frequest_2eproto(); - return *default_instance_; -} - -KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::default_instance_ = NULL; - -KickFromStreamVoiceRequest* KickFromStreamVoiceRequest::New() const { - return new KickFromStreamVoiceRequest; -} - -void KickFromStreamVoiceRequest::Swap(KickFromStreamVoiceRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata KickFromStreamVoiceRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = KickFromStreamVoiceRequest_descriptor_; - metadata.reflection = KickFromStreamVoiceRequest_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_request.pb.h b/src/server/proto/Client/club_request.pb.h deleted file mode 100644 index 428f6a7f47e..00000000000 --- a/src/server/proto/Client/club_request.pb.h +++ /dev/null @@ -1,14861 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_request.proto - -#ifndef PROTOBUF_club_5frequest_2eproto__INCLUDED -#define PROTOBUF_club_5frequest_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_types.pb.h" // IWYU pragma: export -#include "club_tag.pb.h" // IWYU pragma: export -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); -void protobuf_AssignDesc_club_5frequest_2eproto(); -void protobuf_ShutdownFile_club_5frequest_2eproto(); - -class SubscribeRequest; -class UnsubscribeRequest; -class CreateRequest; -class CreateResponse; -class DestroyRequest; -class GetDescriptionRequest; -class GetDescriptionResponse; -class GetClubTypeRequest; -class GetClubTypeResponse; -class UpdateClubStateRequest; -class UpdateClubSettingsRequest; -class AddMemberRequest; -class JoinRequest; -class LeaveRequest; -class KickRequest; -class GetMemberRequest; -class GetMemberResponse; -class GetMembersRequest; -class GetMembersResponse; -class UpdateMemberStateRequest; -class UpdateSubscriberStateRequest; -class AssignRoleRequest; -class UnassignRoleRequest; -class SendInvitationRequest; -class AcceptInvitationRequest; -class DeclineInvitationRequest; -class RevokeInvitationRequest; -class GetInvitationRequest; -class GetInvitationResponse; -class GetInvitationsRequest; -class GetInvitationsResponse; -class SendSuggestionRequest; -class AcceptSuggestionRequest; -class DeclineSuggestionRequest; -class GetSuggestionRequest; -class GetSuggestionResponse; -class GetSuggestionsRequest; -class GetSuggestionsResponse; -class CreateTicketRequest; -class CreateTicketResponse; -class DestroyTicketRequest; -class RedeemTicketRequest; -class GetTicketRequest; -class GetTicketResponse; -class GetTicketsRequest; -class GetTicketsResponse; -class AddBanRequest; -class RemoveBanRequest; -class GetBanRequest; -class GetBanResponse; -class GetBansRequest; -class GetBansResponse; -class SubscribeStreamRequest; -class UnsubscribeStreamRequest; -class CreateStreamRequest; -class CreateStreamResponse; -class DestroyStreamRequest; -class GetStreamRequest; -class GetStreamResponse; -class GetStreamsRequest; -class GetStreamsResponse; -class UpdateStreamStateRequest; -class SetStreamFocusRequest; -class CreateMessageRequest; -class CreateMessageResponse; -class DestroyMessageRequest; -class DestroyMessageResponse; -class EditMessageRequest; -class EditMessageResponse; -class SetMessagePinnedRequest; -class SetTypingIndicatorRequest; -class AdvanceStreamViewTimeRequest; -class AdvanceStreamMentionViewTimeRequest; -class AdvanceActivityViewTimeRequest; -class GetStreamHistoryRequest; -class GetStreamHistoryResponse; -class GetStreamMessageRequest; -class GetStreamMessageResponse; -class GetClubActivityRequest; -class GetClubActivityResponse; -class GetStreamVoiceTokenRequest; -class GetStreamVoiceTokenResponse; -class KickFromStreamVoiceRequest; - -// =================================================================== - -class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { - public: - SubscribeRequest(); - virtual ~SubscribeRequest(); - - SubscribeRequest(const SubscribeRequest& from); - - inline SubscribeRequest& operator=(const SubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeRequest& default_instance(); - - void Swap(SubscribeRequest* other); - - // implements Message ---------------------------------------------- - - SubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { - public: - UnsubscribeRequest(); - virtual ~UnsubscribeRequest(); - - UnsubscribeRequest(const UnsubscribeRequest& from); - - inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnsubscribeRequest& default_instance(); - - void Swap(UnsubscribeRequest* other); - - // implements Message ---------------------------------------------- - - UnsubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UnsubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UnsubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateRequest : public ::google::protobuf::Message { - public: - CreateRequest(); - virtual ~CreateRequest(); - - CreateRequest(const CreateRequest& from); - - inline CreateRequest& operator=(const CreateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateRequest& default_instance(); - - void Swap(CreateRequest* other); - - // implements Message ---------------------------------------------- - - CreateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.ClubCreateOptions options = 2; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubCreateOptions& options() const; - inline ::bgs::protocol::club::v1::ClubCreateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubCreateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubCreateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::ClubCreateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateResponse : public ::google::protobuf::Message { - public: - CreateResponse(); - virtual ~CreateResponse(); - - CreateResponse(const CreateResponse& from); - - inline CreateResponse& operator=(const CreateResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateResponse& default_instance(); - - void Swap(CreateResponse* other); - - // implements Message ---------------------------------------------- - - CreateResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateResponse) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DestroyRequest : public ::google::protobuf::Message { - public: - DestroyRequest(); - virtual ~DestroyRequest(); - - DestroyRequest(const DestroyRequest& from); - - inline DestroyRequest& operator=(const DestroyRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DestroyRequest& default_instance(); - - void Swap(DestroyRequest* other); - - // implements Message ---------------------------------------------- - - DestroyRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DestroyRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DestroyRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetDescriptionRequest : public ::google::protobuf::Message { - public: - GetDescriptionRequest(); - virtual ~GetDescriptionRequest(); - - GetDescriptionRequest(const GetDescriptionRequest& from); - - inline GetDescriptionRequest& operator=(const GetDescriptionRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetDescriptionRequest& default_instance(); - - void Swap(GetDescriptionRequest* other); - - // implements Message ---------------------------------------------- - - GetDescriptionRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetDescriptionRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetDescriptionRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetDescriptionResponse : public ::google::protobuf::Message { - public: - GetDescriptionResponse(); - virtual ~GetDescriptionResponse(); - - GetDescriptionResponse(const GetDescriptionResponse& from); - - inline GetDescriptionResponse& operator=(const GetDescriptionResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetDescriptionResponse& default_instance(); - - void Swap(GetDescriptionResponse* other); - - // implements Message ---------------------------------------------- - - GetDescriptionResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubDescription club = 1; - inline bool has_club() const; - inline void clear_club(); - static const int kClubFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubDescription& club() const; - inline ::bgs::protocol::club::v1::ClubDescription* mutable_club(); - inline ::bgs::protocol::club::v1::ClubDescription* release_club(); - inline void set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetDescriptionResponse) - private: - inline void set_has_club(); - inline void clear_has_club(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubDescription* club_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetDescriptionResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetClubTypeRequest : public ::google::protobuf::Message { - public: - GetClubTypeRequest(); - virtual ~GetClubTypeRequest(); - - GetClubTypeRequest(const GetClubTypeRequest& from); - - inline GetClubTypeRequest& operator=(const GetClubTypeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetClubTypeRequest& default_instance(); - - void Swap(GetClubTypeRequest* other); - - // implements Message ---------------------------------------------- - - GetClubTypeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional .bgs.protocol.club.v1.UniqueClubType type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubTypeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetClubTypeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetClubTypeResponse : public ::google::protobuf::Message { - public: - GetClubTypeResponse(); - virtual ~GetClubTypeResponse(); - - GetClubTypeResponse(const GetClubTypeResponse& from); - - inline GetClubTypeResponse& operator=(const GetClubTypeResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetClubTypeResponse& default_instance(); - - void Swap(GetClubTypeResponse* other); - - // implements Message ---------------------------------------------- - - GetClubTypeResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.UniqueClubType type = 1; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 1; - inline const ::bgs::protocol::club::v1::UniqueClubType& type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_type(); - inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type); - - // optional .bgs.protocol.club.v1.ClubRoleSet role_set = 2; - inline bool has_role_set() const; - inline void clear_role_set(); - static const int kRoleSetFieldNumber = 2; - inline const ::bgs::protocol::club::v1::ClubRoleSet& role_set() const; - inline ::bgs::protocol::club::v1::ClubRoleSet* mutable_role_set(); - inline ::bgs::protocol::club::v1::ClubRoleSet* release_role_set(); - inline void set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* role_set); - - // optional .bgs.protocol.club.v1.ClubTypeRangeSet range_set = 3; - inline bool has_range_set() const; - inline void clear_range_set(); - static const int kRangeSetFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubTypeRangeSet& range_set() const; - inline ::bgs::protocol::club::v1::ClubTypeRangeSet* mutable_range_set(); - inline ::bgs::protocol::club::v1::ClubTypeRangeSet* release_range_set(); - inline void set_allocated_range_set(::bgs::protocol::club::v1::ClubTypeRangeSet* range_set); - - // repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; - inline int platform_tag_set_size() const; - inline void clear_platform_tag_set(); - static const int kPlatformTagSetFieldNumber = 4; - inline const ::bgs::protocol::club::v1::LocalizedTag& platform_tag_set(int index) const; - inline ::bgs::protocol::club::v1::LocalizedTag* mutable_platform_tag_set(int index); - inline ::bgs::protocol::club::v1::LocalizedTag* add_platform_tag_set(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& - platform_tag_set() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* - mutable_platform_tag_set(); - - // repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; - inline int custom_tag_set_size() const; - inline void clear_custom_tag_set(); - static const int kCustomTagSetFieldNumber = 5; - inline const ::bgs::protocol::club::v1::LocalizedTag& custom_tag_set(int index) const; - inline ::bgs::protocol::club::v1::LocalizedTag* mutable_custom_tag_set(int index); - inline ::bgs::protocol::club::v1::LocalizedTag* add_custom_tag_set(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& - custom_tag_set() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* - mutable_custom_tag_set(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubTypeResponse) - private: - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_role_set(); - inline void clear_has_role_set(); - inline void set_has_range_set(); - inline void clear_has_range_set(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::UniqueClubType* type_; - ::bgs::protocol::club::v1::ClubRoleSet* role_set_; - ::bgs::protocol::club::v1::ClubTypeRangeSet* range_set_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > platform_tag_set_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag > custom_tag_set_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetClubTypeResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateClubStateRequest : public ::google::protobuf::Message { - public: - UpdateClubStateRequest(); - virtual ~UpdateClubStateRequest(); - - UpdateClubStateRequest(const UpdateClubStateRequest& from); - - inline UpdateClubStateRequest& operator=(const UpdateClubStateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateClubStateRequest& default_instance(); - - void Swap(UpdateClubStateRequest* other); - - // implements Message ---------------------------------------------- - - UpdateClubStateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubStateOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubStateOptions& options() const; - inline ::bgs::protocol::club::v1::ClubStateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubStateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubStateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UpdateClubStateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubStateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UpdateClubStateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateClubSettingsRequest : public ::google::protobuf::Message { - public: - UpdateClubSettingsRequest(); - virtual ~UpdateClubSettingsRequest(); - - UpdateClubSettingsRequest(const UpdateClubSettingsRequest& from); - - inline UpdateClubSettingsRequest& operator=(const UpdateClubSettingsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateClubSettingsRequest& default_instance(); - - void Swap(UpdateClubSettingsRequest* other); - - // implements Message ---------------------------------------------- - - UpdateClubSettingsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.ClubSettingsOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubSettingsOptions& options() const; - inline ::bgs::protocol::club::v1::ClubSettingsOptions* mutable_options(); - inline ::bgs::protocol::club::v1::ClubSettingsOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::ClubSettingsOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UpdateClubSettingsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::ClubSettingsOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UpdateClubSettingsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AddMemberRequest : public ::google::protobuf::Message { - public: - AddMemberRequest(); - virtual ~AddMemberRequest(); - - AddMemberRequest(const AddMemberRequest& from); - - inline AddMemberRequest& operator=(const AddMemberRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AddMemberRequest& default_instance(); - - void Swap(AddMemberRequest* other); - - // implements Message ---------------------------------------------- - - AddMemberRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::CreateMemberOptions& options() const; - inline ::bgs::protocol::club::v1::CreateMemberOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateMemberOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AddMemberRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::CreateMemberOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AddMemberRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API JoinRequest : public ::google::protobuf::Message { - public: - JoinRequest(); - virtual ~JoinRequest(); - - JoinRequest(const JoinRequest& from); - - inline JoinRequest& operator=(const JoinRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const JoinRequest& default_instance(); - - void Swap(JoinRequest* other); - - // implements Message ---------------------------------------------- - - JoinRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::CreateMemberOptions& options() const; - inline ::bgs::protocol::club::v1::CreateMemberOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateMemberOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.JoinRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::CreateMemberOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static JoinRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API LeaveRequest : public ::google::protobuf::Message { - public: - LeaveRequest(); - virtual ~LeaveRequest(); - - LeaveRequest(const LeaveRequest& from); - - inline LeaveRequest& operator=(const LeaveRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const LeaveRequest& default_instance(); - - void Swap(LeaveRequest* other); - - // implements Message ---------------------------------------------- - - LeaveRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.LeaveRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static LeaveRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API KickRequest : public ::google::protobuf::Message { - public: - KickRequest(); - virtual ~KickRequest(); - - KickRequest(const KickRequest& from); - - inline KickRequest& operator=(const KickRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const KickRequest& default_instance(); - - void Swap(KickRequest* other); - - // implements Message ---------------------------------------------- - - KickRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId target_id = 3; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.KickRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static KickRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetMemberRequest : public ::google::protobuf::Message { - public: - GetMemberRequest(); - virtual ~GetMemberRequest(); - - GetMemberRequest(const GetMemberRequest& from); - - inline GetMemberRequest& operator=(const GetMemberRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetMemberRequest& default_instance(); - - void Swap(GetMemberRequest* other); - - // implements Message ---------------------------------------------- - - GetMemberRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId member_id = 3; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMemberRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_member_id(); - inline void clear_has_member_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberId* member_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetMemberRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetMemberResponse : public ::google::protobuf::Message { - public: - GetMemberResponse(); - virtual ~GetMemberResponse(); - - GetMemberResponse(const GetMemberResponse& from); - - inline GetMemberResponse& operator=(const GetMemberResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetMemberResponse& default_instance(); - - void Swap(GetMemberResponse* other); - - // implements Message ---------------------------------------------- - - GetMemberResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.Member member = 1; - inline bool has_member() const; - inline void clear_member(); - static const int kMemberFieldNumber = 1; - inline const ::bgs::protocol::club::v1::Member& member() const; - inline ::bgs::protocol::club::v1::Member* mutable_member(); - inline ::bgs::protocol::club::v1::Member* release_member(); - inline void set_allocated_member(::bgs::protocol::club::v1::Member* member); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMemberResponse) - private: - inline void set_has_member(); - inline void clear_has_member(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::Member* member_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetMemberResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetMembersRequest : public ::google::protobuf::Message { - public: - GetMembersRequest(); - virtual ~GetMembersRequest(); - - GetMembersRequest(const GetMembersRequest& from); - - inline GetMembersRequest& operator=(const GetMembersRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetMembersRequest& default_instance(); - - void Swap(GetMembersRequest* other); - - // implements Message ---------------------------------------------- - - GetMembersRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 4; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 4; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMembersRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetMembersRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetMembersResponse : public ::google::protobuf::Message { - public: - GetMembersResponse(); - virtual ~GetMembersResponse(); - - GetMembersResponse(const GetMembersResponse& from); - - inline GetMembersResponse& operator=(const GetMembersResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetMembersResponse& default_instance(); - - void Swap(GetMembersResponse* other); - - // implements Message ---------------------------------------------- - - GetMembersResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.Member member = 1; - inline int member_size() const; - inline void clear_member(); - static const int kMemberFieldNumber = 1; - inline const ::bgs::protocol::club::v1::Member& member(int index) const; - inline ::bgs::protocol::club::v1::Member* mutable_member(int index); - inline ::bgs::protocol::club::v1::Member* add_member(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >& - member() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* - mutable_member(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetMembersResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member > member_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetMembersResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateMemberStateRequest : public ::google::protobuf::Message { - public: - UpdateMemberStateRequest(); - virtual ~UpdateMemberStateRequest(); - - UpdateMemberStateRequest(const UpdateMemberStateRequest& from); - - inline UpdateMemberStateRequest& operator=(const UpdateMemberStateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateMemberStateRequest& default_instance(); - - void Swap(UpdateMemberStateRequest* other); - - // implements Message ---------------------------------------------- - - UpdateMemberStateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId member_id = 3; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional .bgs.protocol.club.v1.MemberStateOptions options = 5; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 5; - inline const ::bgs::protocol::club::v1::MemberStateOptions& options() const; - inline ::bgs::protocol::club::v1::MemberStateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::MemberStateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::MemberStateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UpdateMemberStateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::MemberStateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UpdateMemberStateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateSubscriberStateRequest : public ::google::protobuf::Message { - public: - UpdateSubscriberStateRequest(); - virtual ~UpdateSubscriberStateRequest(); - - UpdateSubscriberStateRequest(const UpdateSubscriberStateRequest& from); - - inline UpdateSubscriberStateRequest& operator=(const UpdateSubscriberStateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateSubscriberStateRequest& default_instance(); - - void Swap(UpdateSubscriberStateRequest* other); - - // implements Message ---------------------------------------------- - - UpdateSubscriberStateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.SubscriberStateOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::SubscriberStateOptions& options() const; - inline ::bgs::protocol::club::v1::SubscriberStateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::SubscriberStateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::SubscriberStateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UpdateSubscriberStateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::SubscriberStateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UpdateSubscriberStateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AssignRoleRequest : public ::google::protobuf::Message { - public: - AssignRoleRequest(); - virtual ~AssignRoleRequest(); - - AssignRoleRequest(const AssignRoleRequest& from); - - inline AssignRoleRequest& operator=(const AssignRoleRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AssignRoleRequest& default_instance(); - - void Swap(AssignRoleRequest* other); - - // implements Message ---------------------------------------------- - - AssignRoleRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.RoleOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::RoleOptions& options() const; - inline ::bgs::protocol::club::v1::RoleOptions* mutable_options(); - inline ::bgs::protocol::club::v1::RoleOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AssignRoleRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::RoleOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AssignRoleRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnassignRoleRequest : public ::google::protobuf::Message { - public: - UnassignRoleRequest(); - virtual ~UnassignRoleRequest(); - - UnassignRoleRequest(const UnassignRoleRequest& from); - - inline UnassignRoleRequest& operator=(const UnassignRoleRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnassignRoleRequest& default_instance(); - - void Swap(UnassignRoleRequest* other); - - // implements Message ---------------------------------------------- - - UnassignRoleRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.RoleOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::RoleOptions& options() const; - inline ::bgs::protocol::club::v1::RoleOptions* mutable_options(); - inline ::bgs::protocol::club::v1::RoleOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UnassignRoleRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::RoleOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UnassignRoleRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SendInvitationRequest : public ::google::protobuf::Message { - public: - SendInvitationRequest(); - virtual ~SendInvitationRequest(); - - SendInvitationRequest(const SendInvitationRequest& from); - - inline SendInvitationRequest& operator=(const SendInvitationRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SendInvitationRequest& default_instance(); - - void Swap(SendInvitationRequest* other); - - // implements Message ---------------------------------------------- - - SendInvitationRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.SendInvitationOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::SendInvitationOptions& options() const; - inline ::bgs::protocol::club::v1::SendInvitationOptions* mutable_options(); - inline ::bgs::protocol::club::v1::SendInvitationOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::SendInvitationOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendInvitationRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::SendInvitationOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SendInvitationRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AcceptInvitationRequest : public ::google::protobuf::Message { - public: - AcceptInvitationRequest(); - virtual ~AcceptInvitationRequest(); - - AcceptInvitationRequest(const AcceptInvitationRequest& from); - - inline AcceptInvitationRequest& operator=(const AcceptInvitationRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AcceptInvitationRequest& default_instance(); - - void Swap(AcceptInvitationRequest* other); - - // implements Message ---------------------------------------------- - - AcceptInvitationRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 invitation_id = 3; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 3; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AcceptInvitationRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 invitation_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AcceptInvitationRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DeclineInvitationRequest : public ::google::protobuf::Message { - public: - DeclineInvitationRequest(); - virtual ~DeclineInvitationRequest(); - - DeclineInvitationRequest(const DeclineInvitationRequest& from); - - inline DeclineInvitationRequest& operator=(const DeclineInvitationRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DeclineInvitationRequest& default_instance(); - - void Swap(DeclineInvitationRequest* other); - - // implements Message ---------------------------------------------- - - DeclineInvitationRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 invitation_id = 3; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 3; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DeclineInvitationRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 invitation_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DeclineInvitationRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RevokeInvitationRequest : public ::google::protobuf::Message { - public: - RevokeInvitationRequest(); - virtual ~RevokeInvitationRequest(); - - RevokeInvitationRequest(const RevokeInvitationRequest& from); - - inline RevokeInvitationRequest& operator=(const RevokeInvitationRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RevokeInvitationRequest& default_instance(); - - void Swap(RevokeInvitationRequest* other); - - // implements Message ---------------------------------------------- - - RevokeInvitationRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 invitation_id = 3; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 3; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RevokeInvitationRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 invitation_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static RevokeInvitationRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetInvitationRequest : public ::google::protobuf::Message { - public: - GetInvitationRequest(); - virtual ~GetInvitationRequest(); - - GetInvitationRequest(const GetInvitationRequest& from); - - inline GetInvitationRequest& operator=(const GetInvitationRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetInvitationRequest& default_instance(); - - void Swap(GetInvitationRequest* other); - - // implements Message ---------------------------------------------- - - GetInvitationRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 invitation_id = 3; - inline bool has_invitation_id() const; - inline void clear_invitation_id(); - static const int kInvitationIdFieldNumber = 3; - inline ::google::protobuf::uint64 invitation_id() const; - inline void set_invitation_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_invitation_id(); - inline void clear_has_invitation_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 invitation_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetInvitationRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetInvitationResponse : public ::google::protobuf::Message { - public: - GetInvitationResponse(); - virtual ~GetInvitationResponse(); - - GetInvitationResponse(const GetInvitationResponse& from); - - inline GetInvitationResponse& operator=(const GetInvitationResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetInvitationResponse& default_instance(); - - void Swap(GetInvitationResponse* other); - - // implements Message ---------------------------------------------- - - GetInvitationResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubInvitation invitation = 1; - inline bool has_invitation() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubInvitation& invitation() const; - inline ::bgs::protocol::club::v1::ClubInvitation* mutable_invitation(); - inline ::bgs::protocol::club::v1::ClubInvitation* release_invitation(); - inline void set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationResponse) - private: - inline void set_has_invitation(); - inline void clear_has_invitation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubInvitation* invitation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetInvitationResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetInvitationsRequest : public ::google::protobuf::Message { - public: - GetInvitationsRequest(); - virtual ~GetInvitationsRequest(); - - GetInvitationsRequest(const GetInvitationsRequest& from); - - inline GetInvitationsRequest& operator=(const GetInvitationsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetInvitationsRequest& default_instance(); - - void Swap(GetInvitationsRequest* other); - - // implements Message ---------------------------------------------- - - GetInvitationsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetInvitationsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetInvitationsResponse : public ::google::protobuf::Message { - public: - GetInvitationsResponse(); - virtual ~GetInvitationsResponse(); - - GetInvitationsResponse(const GetInvitationsResponse& from); - - inline GetInvitationsResponse& operator=(const GetInvitationsResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetInvitationsResponse& default_instance(); - - void Swap(GetInvitationsResponse* other); - - // implements Message ---------------------------------------------- - - GetInvitationsResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubInvitation invitation = 1; - inline int invitation_size() const; - inline void clear_invitation(); - static const int kInvitationFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubInvitation& invitation(int index) const; - inline ::bgs::protocol::club::v1::ClubInvitation* mutable_invitation(int index); - inline ::bgs::protocol::club::v1::ClubInvitation* add_invitation(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >& - invitation() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* - mutable_invitation(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetInvitationsResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation > invitation_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetInvitationsResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SendSuggestionRequest : public ::google::protobuf::Message { - public: - SendSuggestionRequest(); - virtual ~SendSuggestionRequest(); - - SendSuggestionRequest(const SendSuggestionRequest& from); - - inline SendSuggestionRequest& operator=(const SendSuggestionRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SendSuggestionRequest& default_instance(); - - void Swap(SendSuggestionRequest* other); - - // implements Message ---------------------------------------------- - - SendSuggestionRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.SendSuggestionOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::SendSuggestionOptions& options() const; - inline ::bgs::protocol::club::v1::SendSuggestionOptions* mutable_options(); - inline ::bgs::protocol::club::v1::SendSuggestionOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::SendSuggestionOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SendSuggestionRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::SendSuggestionOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SendSuggestionRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AcceptSuggestionRequest : public ::google::protobuf::Message { - public: - AcceptSuggestionRequest(); - virtual ~AcceptSuggestionRequest(); - - AcceptSuggestionRequest(const AcceptSuggestionRequest& from); - - inline AcceptSuggestionRequest& operator=(const AcceptSuggestionRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AcceptSuggestionRequest& default_instance(); - - void Swap(AcceptSuggestionRequest* other); - - // implements Message ---------------------------------------------- - - AcceptSuggestionRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 suggestion_id = 3; - inline bool has_suggestion_id() const; - inline void clear_suggestion_id(); - static const int kSuggestionIdFieldNumber = 3; - inline ::google::protobuf::uint64 suggestion_id() const; - inline void set_suggestion_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AcceptSuggestionRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggestion_id(); - inline void clear_has_suggestion_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 suggestion_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AcceptSuggestionRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DeclineSuggestionRequest : public ::google::protobuf::Message { - public: - DeclineSuggestionRequest(); - virtual ~DeclineSuggestionRequest(); - - DeclineSuggestionRequest(const DeclineSuggestionRequest& from); - - inline DeclineSuggestionRequest& operator=(const DeclineSuggestionRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DeclineSuggestionRequest& default_instance(); - - void Swap(DeclineSuggestionRequest* other); - - // implements Message ---------------------------------------------- - - DeclineSuggestionRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 suggestion_id = 3; - inline bool has_suggestion_id() const; - inline void clear_suggestion_id(); - static const int kSuggestionIdFieldNumber = 3; - inline ::google::protobuf::uint64 suggestion_id() const; - inline void set_suggestion_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DeclineSuggestionRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggestion_id(); - inline void clear_has_suggestion_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 suggestion_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DeclineSuggestionRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetSuggestionRequest : public ::google::protobuf::Message { - public: - GetSuggestionRequest(); - virtual ~GetSuggestionRequest(); - - GetSuggestionRequest(const GetSuggestionRequest& from); - - inline GetSuggestionRequest& operator=(const GetSuggestionRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetSuggestionRequest& default_instance(); - - void Swap(GetSuggestionRequest* other); - - // implements Message ---------------------------------------------- - - GetSuggestionRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional fixed64 suggestion_id = 3; - inline bool has_suggestion_id() const; - inline void clear_suggestion_id(); - static const int kSuggestionIdFieldNumber = 3; - inline ::google::protobuf::uint64 suggestion_id() const; - inline void set_suggestion_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_suggestion_id(); - inline void clear_has_suggestion_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 suggestion_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetSuggestionRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetSuggestionResponse : public ::google::protobuf::Message { - public: - GetSuggestionResponse(); - virtual ~GetSuggestionResponse(); - - GetSuggestionResponse(const GetSuggestionResponse& from); - - inline GetSuggestionResponse& operator=(const GetSuggestionResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetSuggestionResponse& default_instance(); - - void Swap(GetSuggestionResponse* other); - - // implements Message ---------------------------------------------- - - GetSuggestionResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; - inline bool has_suggestion() const; - inline void clear_suggestion(); - static const int kSuggestionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubSuggestion& suggestion() const; - inline ::bgs::protocol::club::v1::ClubSuggestion* mutable_suggestion(); - inline ::bgs::protocol::club::v1::ClubSuggestion* release_suggestion(); - inline void set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionResponse) - private: - inline void set_has_suggestion(); - inline void clear_has_suggestion(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubSuggestion* suggestion_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetSuggestionResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetSuggestionsRequest : public ::google::protobuf::Message { - public: - GetSuggestionsRequest(); - virtual ~GetSuggestionsRequest(); - - GetSuggestionsRequest(const GetSuggestionsRequest& from); - - inline GetSuggestionsRequest& operator=(const GetSuggestionsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetSuggestionsRequest& default_instance(); - - void Swap(GetSuggestionsRequest* other); - - // implements Message ---------------------------------------------- - - GetSuggestionsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetSuggestionsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetSuggestionsResponse : public ::google::protobuf::Message { - public: - GetSuggestionsResponse(); - virtual ~GetSuggestionsResponse(); - - GetSuggestionsResponse(const GetSuggestionsResponse& from); - - inline GetSuggestionsResponse& operator=(const GetSuggestionsResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetSuggestionsResponse& default_instance(); - - void Swap(GetSuggestionsResponse* other); - - // implements Message ---------------------------------------------- - - GetSuggestionsResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; - inline int suggestion_size() const; - inline void clear_suggestion(); - static const int kSuggestionFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubSuggestion& suggestion(int index) const; - inline ::bgs::protocol::club::v1::ClubSuggestion* mutable_suggestion(int index); - inline ::bgs::protocol::club::v1::ClubSuggestion* add_suggestion(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion >& - suggestion() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion >* - mutable_suggestion(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetSuggestionsResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion > suggestion_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetSuggestionsResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateTicketRequest : public ::google::protobuf::Message { - public: - CreateTicketRequest(); - virtual ~CreateTicketRequest(); - - CreateTicketRequest(const CreateTicketRequest& from); - - inline CreateTicketRequest& operator=(const CreateTicketRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateTicketRequest& default_instance(); - - void Swap(CreateTicketRequest* other); - - // implements Message ---------------------------------------------- - - CreateTicketRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.CreateTicketOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::CreateTicketOptions& options() const; - inline ::bgs::protocol::club::v1::CreateTicketOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateTicketOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateTicketOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateTicketRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::CreateTicketOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateTicketRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateTicketResponse : public ::google::protobuf::Message { - public: - CreateTicketResponse(); - virtual ~CreateTicketResponse(); - - CreateTicketResponse(const CreateTicketResponse& from); - - inline CreateTicketResponse& operator=(const CreateTicketResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateTicketResponse& default_instance(); - - void Swap(CreateTicketResponse* other); - - // implements Message ---------------------------------------------- - - CreateTicketResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubTicket ticket = 1; - inline bool has_ticket() const; - inline void clear_ticket(); - static const int kTicketFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubTicket& ticket() const; - inline ::bgs::protocol::club::v1::ClubTicket* mutable_ticket(); - inline ::bgs::protocol::club::v1::ClubTicket* release_ticket(); - inline void set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateTicketResponse) - private: - inline void set_has_ticket(); - inline void clear_has_ticket(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubTicket* ticket_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateTicketResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DestroyTicketRequest : public ::google::protobuf::Message { - public: - DestroyTicketRequest(); - virtual ~DestroyTicketRequest(); - - DestroyTicketRequest(const DestroyTicketRequest& from); - - inline DestroyTicketRequest& operator=(const DestroyTicketRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DestroyTicketRequest& default_instance(); - - void Swap(DestroyTicketRequest* other); - - // implements Message ---------------------------------------------- - - DestroyTicketRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional string ticket_id = 3; - inline bool has_ticket_id() const; - inline void clear_ticket_id(); - static const int kTicketIdFieldNumber = 3; - inline const ::std::string& ticket_id() const; - inline void set_ticket_id(const ::std::string& value); - inline void set_ticket_id(const char* value); - inline void set_ticket_id(const char* value, size_t size); - inline ::std::string* mutable_ticket_id(); - inline ::std::string* release_ticket_id(); - inline void set_allocated_ticket_id(::std::string* ticket_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DestroyTicketRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_ticket_id(); - inline void clear_has_ticket_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::std::string* ticket_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DestroyTicketRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RedeemTicketRequest : public ::google::protobuf::Message { - public: - RedeemTicketRequest(); - virtual ~RedeemTicketRequest(); - - RedeemTicketRequest(const RedeemTicketRequest& from); - - inline RedeemTicketRequest& operator=(const RedeemTicketRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RedeemTicketRequest& default_instance(); - - void Swap(RedeemTicketRequest* other); - - // implements Message ---------------------------------------------- - - RedeemTicketRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional string ticket_id = 3; - inline bool has_ticket_id() const; - inline void clear_ticket_id(); - static const int kTicketIdFieldNumber = 3; - inline const ::std::string& ticket_id() const; - inline void set_ticket_id(const ::std::string& value); - inline void set_ticket_id(const char* value); - inline void set_ticket_id(const char* value, size_t size); - inline ::std::string* mutable_ticket_id(); - inline ::std::string* release_ticket_id(); - inline void set_allocated_ticket_id(::std::string* ticket_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RedeemTicketRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_ticket_id(); - inline void clear_has_ticket_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::std::string* ticket_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static RedeemTicketRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetTicketRequest : public ::google::protobuf::Message { - public: - GetTicketRequest(); - virtual ~GetTicketRequest(); - - GetTicketRequest(const GetTicketRequest& from); - - inline GetTicketRequest& operator=(const GetTicketRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetTicketRequest& default_instance(); - - void Swap(GetTicketRequest* other); - - // implements Message ---------------------------------------------- - - GetTicketRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional string ticket_id = 3; - inline bool has_ticket_id() const; - inline void clear_ticket_id(); - static const int kTicketIdFieldNumber = 3; - inline const ::std::string& ticket_id() const; - inline void set_ticket_id(const ::std::string& value); - inline void set_ticket_id(const char* value); - inline void set_ticket_id(const char* value, size_t size); - inline ::std::string* mutable_ticket_id(); - inline ::std::string* release_ticket_id(); - inline void set_allocated_ticket_id(::std::string* ticket_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_ticket_id(); - inline void clear_has_ticket_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::std::string* ticket_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetTicketRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetTicketResponse : public ::google::protobuf::Message { - public: - GetTicketResponse(); - virtual ~GetTicketResponse(); - - GetTicketResponse(const GetTicketResponse& from); - - inline GetTicketResponse& operator=(const GetTicketResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetTicketResponse& default_instance(); - - void Swap(GetTicketResponse* other); - - // implements Message ---------------------------------------------- - - GetTicketResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubTicket ticket = 1; - inline bool has_ticket() const; - inline void clear_ticket(); - static const int kTicketFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubTicket& ticket() const; - inline ::bgs::protocol::club::v1::ClubTicket* mutable_ticket(); - inline ::bgs::protocol::club::v1::ClubTicket* release_ticket(); - inline void set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketResponse) - private: - inline void set_has_ticket(); - inline void clear_has_ticket(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubTicket* ticket_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetTicketResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetTicketsRequest : public ::google::protobuf::Message { - public: - GetTicketsRequest(); - virtual ~GetTicketsRequest(); - - GetTicketsRequest(const GetTicketsRequest& from); - - inline GetTicketsRequest& operator=(const GetTicketsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetTicketsRequest& default_instance(); - - void Swap(GetTicketsRequest* other); - - // implements Message ---------------------------------------------- - - GetTicketsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetTicketsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetTicketsResponse : public ::google::protobuf::Message { - public: - GetTicketsResponse(); - virtual ~GetTicketsResponse(); - - GetTicketsResponse(const GetTicketsResponse& from); - - inline GetTicketsResponse& operator=(const GetTicketsResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetTicketsResponse& default_instance(); - - void Swap(GetTicketsResponse* other); - - // implements Message ---------------------------------------------- - - GetTicketsResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubTicket ticket = 1; - inline int ticket_size() const; - inline void clear_ticket(); - static const int kTicketFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubTicket& ticket(int index) const; - inline ::bgs::protocol::club::v1::ClubTicket* mutable_ticket(int index); - inline ::bgs::protocol::club::v1::ClubTicket* add_ticket(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket >& - ticket() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket >* - mutable_ticket(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetTicketsResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket > ticket_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetTicketsResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AddBanRequest : public ::google::protobuf::Message { - public: - AddBanRequest(); - virtual ~AddBanRequest(); - - AddBanRequest(const AddBanRequest& from); - - inline AddBanRequest& operator=(const AddBanRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AddBanRequest& default_instance(); - - void Swap(AddBanRequest* other); - - // implements Message ---------------------------------------------- - - AddBanRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.AddBanOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::AddBanOptions& options() const; - inline ::bgs::protocol::club::v1::AddBanOptions* mutable_options(); - inline ::bgs::protocol::club::v1::AddBanOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::AddBanOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AddBanRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::AddBanOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AddBanRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RemoveBanRequest : public ::google::protobuf::Message { - public: - RemoveBanRequest(); - virtual ~RemoveBanRequest(); - - RemoveBanRequest(const RemoveBanRequest& from); - - inline RemoveBanRequest& operator=(const RemoveBanRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveBanRequest& default_instance(); - - void Swap(RemoveBanRequest* other); - - // implements Message ---------------------------------------------- - - RemoveBanRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId target_id = 3; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.RemoveBanRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static RemoveBanRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetBanRequest : public ::google::protobuf::Message { - public: - GetBanRequest(); - virtual ~GetBanRequest(); - - GetBanRequest(const GetBanRequest& from); - - inline GetBanRequest& operator=(const GetBanRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetBanRequest& default_instance(); - - void Swap(GetBanRequest* other); - - // implements Message ---------------------------------------------- - - GetBanRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId target_id = 3; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBanRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::MemberId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetBanRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetBanResponse : public ::google::protobuf::Message { - public: - GetBanResponse(); - virtual ~GetBanResponse(); - - GetBanResponse(const GetBanResponse& from); - - inline GetBanResponse& operator=(const GetBanResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetBanResponse& default_instance(); - - void Swap(GetBanResponse* other); - - // implements Message ---------------------------------------------- - - GetBanResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.ClubBan ban = 1; - inline bool has_ban() const; - inline void clear_ban(); - static const int kBanFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubBan& ban() const; - inline ::bgs::protocol::club::v1::ClubBan* mutable_ban(); - inline ::bgs::protocol::club::v1::ClubBan* release_ban(); - inline void set_allocated_ban(::bgs::protocol::club::v1::ClubBan* ban); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBanResponse) - private: - inline void set_has_ban(); - inline void clear_has_ban(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::ClubBan* ban_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetBanResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetBansRequest : public ::google::protobuf::Message { - public: - GetBansRequest(); - virtual ~GetBansRequest(); - - GetBansRequest(const GetBansRequest& from); - - inline GetBansRequest& operator=(const GetBansRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetBansRequest& default_instance(); - - void Swap(GetBansRequest* other); - - // implements Message ---------------------------------------------- - - GetBansRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBansRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetBansRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetBansResponse : public ::google::protobuf::Message { - public: - GetBansResponse(); - virtual ~GetBansResponse(); - - GetBansResponse(const GetBansResponse& from); - - inline GetBansResponse& operator=(const GetBansResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetBansResponse& default_instance(); - - void Swap(GetBansResponse* other); - - // implements Message ---------------------------------------------- - - GetBansResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubBan ban = 1; - inline int ban_size() const; - inline void clear_ban(); - static const int kBanFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubBan& ban(int index) const; - inline ::bgs::protocol::club::v1::ClubBan* mutable_ban(int index); - inline ::bgs::protocol::club::v1::ClubBan* add_ban(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan >& - ban() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan >* - mutable_ban(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetBansResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan > ban_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetBansResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscribeStreamRequest : public ::google::protobuf::Message { - public: - SubscribeStreamRequest(); - virtual ~SubscribeStreamRequest(); - - SubscribeStreamRequest(const SubscribeStreamRequest& from); - - inline SubscribeStreamRequest& operator=(const SubscribeStreamRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeStreamRequest& default_instance(); - - void Swap(SubscribeStreamRequest* other); - - // implements Message ---------------------------------------------- - - SubscribeStreamRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated uint64 stream_id = 3; - inline int stream_id_size() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id(int index) const; - inline void set_stream_id(int index, ::google::protobuf::uint64 value); - inline void add_stream_id(::google::protobuf::uint64 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& - stream_id() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* - mutable_stream_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SubscribeStreamRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeStreamRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnsubscribeStreamRequest : public ::google::protobuf::Message { - public: - UnsubscribeStreamRequest(); - virtual ~UnsubscribeStreamRequest(); - - UnsubscribeStreamRequest(const UnsubscribeStreamRequest& from); - - inline UnsubscribeStreamRequest& operator=(const UnsubscribeStreamRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnsubscribeStreamRequest& default_instance(); - - void Swap(UnsubscribeStreamRequest* other); - - // implements Message ---------------------------------------------- - - UnsubscribeStreamRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // repeated uint64 stream_id = 3; - inline int stream_id_size() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id(int index) const; - inline void set_stream_id(int index, ::google::protobuf::uint64 value); - inline void add_stream_id(::google::protobuf::uint64 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& - stream_id() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* - mutable_stream_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UnsubscribeStreamRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UnsubscribeStreamRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateStreamRequest : public ::google::protobuf::Message { - public: - CreateStreamRequest(); - virtual ~CreateStreamRequest(); - - CreateStreamRequest(const CreateStreamRequest& from); - - inline CreateStreamRequest& operator=(const CreateStreamRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateStreamRequest& default_instance(); - - void Swap(CreateStreamRequest* other); - - // implements Message ---------------------------------------------- - - CreateStreamRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.CreateStreamOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::club::v1::CreateStreamOptions& options() const; - inline ::bgs::protocol::club::v1::CreateStreamOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateStreamOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateStreamOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateStreamRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::club::v1::CreateStreamOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateStreamRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateStreamResponse : public ::google::protobuf::Message { - public: - CreateStreamResponse(); - virtual ~CreateStreamResponse(); - - CreateStreamResponse(const CreateStreamResponse& from); - - inline CreateStreamResponse& operator=(const CreateStreamResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateStreamResponse& default_instance(); - - void Swap(CreateStreamResponse* other); - - // implements Message ---------------------------------------------- - - CreateStreamResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 2; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateStreamResponse) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateStreamResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DestroyStreamRequest : public ::google::protobuf::Message { - public: - DestroyStreamRequest(); - virtual ~DestroyStreamRequest(); - - DestroyStreamRequest(const DestroyStreamRequest& from); - - inline DestroyStreamRequest& operator=(const DestroyStreamRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DestroyStreamRequest& default_instance(); - - void Swap(DestroyStreamRequest* other); - - // implements Message ---------------------------------------------- - - DestroyStreamRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DestroyStreamRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DestroyStreamRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamRequest : public ::google::protobuf::Message { - public: - GetStreamRequest(); - virtual ~GetStreamRequest(); - - GetStreamRequest(const GetStreamRequest& from); - - inline GetStreamRequest& operator=(const GetStreamRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamRequest& default_instance(); - - void Swap(GetStreamRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamResponse : public ::google::protobuf::Message { - public: - GetStreamResponse(); - virtual ~GetStreamResponse(); - - GetStreamResponse(const GetStreamResponse& from); - - inline GetStreamResponse& operator=(const GetStreamResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamResponse& default_instance(); - - void Swap(GetStreamResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.Stream stream = 1; - inline bool has_stream() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 1; - inline const ::bgs::protocol::club::v1::Stream& stream() const; - inline ::bgs::protocol::club::v1::Stream* mutable_stream(); - inline ::bgs::protocol::club::v1::Stream* release_stream(); - inline void set_allocated_stream(::bgs::protocol::club::v1::Stream* stream); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamResponse) - private: - inline void set_has_stream(); - inline void clear_has_stream(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::Stream* stream_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamsRequest : public ::google::protobuf::Message { - public: - GetStreamsRequest(); - virtual ~GetStreamsRequest(); - - GetStreamsRequest(const GetStreamsRequest& from); - - inline GetStreamsRequest& operator=(const GetStreamsRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamsRequest& default_instance(); - - void Swap(GetStreamsRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamsRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamsRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamsRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamsResponse : public ::google::protobuf::Message { - public: - GetStreamsResponse(); - virtual ~GetStreamsResponse(); - - GetStreamsResponse(const GetStreamsResponse& from); - - inline GetStreamsResponse& operator=(const GetStreamsResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamsResponse& default_instance(); - - void Swap(GetStreamsResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamsResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.Stream stream = 1; - inline int stream_size() const; - inline void clear_stream(); - static const int kStreamFieldNumber = 1; - inline const ::bgs::protocol::club::v1::Stream& stream(int index) const; - inline ::bgs::protocol::club::v1::Stream* mutable_stream(int index); - inline ::bgs::protocol::club::v1::Stream* add_stream(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream >& - stream() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream >* - mutable_stream(); - - // repeated .bgs.protocol.club.v1.StreamView view = 2; - inline int view_size() const; - inline void clear_view(); - static const int kViewFieldNumber = 2; - inline const ::bgs::protocol::club::v1::StreamView& view(int index) const; - inline ::bgs::protocol::club::v1::StreamView* mutable_view(int index); - inline ::bgs::protocol::club::v1::StreamView* add_view(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView >& - view() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView >* - mutable_view(); - - // optional uint64 continuation = 3; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 3; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamsResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream > stream_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView > view_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamsResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UpdateStreamStateRequest : public ::google::protobuf::Message { - public: - UpdateStreamStateRequest(); - virtual ~UpdateStreamStateRequest(); - - UpdateStreamStateRequest(const UpdateStreamStateRequest& from); - - inline UpdateStreamStateRequest& operator=(const UpdateStreamStateRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UpdateStreamStateRequest& default_instance(); - - void Swap(UpdateStreamStateRequest* other); - - // implements Message ---------------------------------------------- - - UpdateStreamStateRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.StreamStateOptions options = 5; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamStateOptions& options() const; - inline ::bgs::protocol::club::v1::StreamStateOptions* mutable_options(); - inline ::bgs::protocol::club::v1::StreamStateOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::StreamStateOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UpdateStreamStateRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::StreamStateOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static UpdateStreamStateRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SetStreamFocusRequest : public ::google::protobuf::Message { - public: - SetStreamFocusRequest(); - virtual ~SetStreamFocusRequest(); - - SetStreamFocusRequest(const SetStreamFocusRequest& from); - - inline SetStreamFocusRequest& operator=(const SetStreamFocusRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SetStreamFocusRequest& default_instance(); - - void Swap(SetStreamFocusRequest* other); - - // implements Message ---------------------------------------------- - - SetStreamFocusRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional bool focus = 4; - inline bool has_focus() const; - inline void clear_focus(); - static const int kFocusFieldNumber = 4; - inline bool focus() const; - inline void set_focus(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetStreamFocusRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_focus(); - inline void clear_has_focus(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - bool focus_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SetStreamFocusRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateMessageRequest : public ::google::protobuf::Message { - public: - CreateMessageRequest(); - virtual ~CreateMessageRequest(); - - CreateMessageRequest(const CreateMessageRequest& from); - - inline CreateMessageRequest& operator=(const CreateMessageRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateMessageRequest& default_instance(); - - void Swap(CreateMessageRequest* other); - - // implements Message ---------------------------------------------- - - CreateMessageRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.CreateMessageOptions options = 4; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 4; - inline const ::bgs::protocol::club::v1::CreateMessageOptions& options() const; - inline ::bgs::protocol::club::v1::CreateMessageOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateMessageOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateMessageRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::CreateMessageOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateMessageRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateMessageResponse : public ::google::protobuf::Message { - public: - CreateMessageResponse(); - virtual ~CreateMessageResponse(); - - CreateMessageResponse(const CreateMessageResponse& from); - - inline CreateMessageResponse& operator=(const CreateMessageResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateMessageResponse& default_instance(); - - void Swap(CreateMessageResponse* other); - - // implements Message ---------------------------------------------- - - CreateMessageResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.StreamMessage message = 1; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateMessageResponse) - private: - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static CreateMessageResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DestroyMessageRequest : public ::google::protobuf::Message { - public: - DestroyMessageRequest(); - virtual ~DestroyMessageRequest(); - - DestroyMessageRequest(const DestroyMessageRequest& from); - - inline DestroyMessageRequest& operator=(const DestroyMessageRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DestroyMessageRequest& default_instance(); - - void Swap(DestroyMessageRequest* other); - - // implements Message ---------------------------------------------- - - DestroyMessageRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.MessageId message_id = 4; - inline bool has_message_id() const; - inline void clear_message_id(); - static const int kMessageIdFieldNumber = 4; - inline const ::bgs::protocol::MessageId& message_id() const; - inline ::bgs::protocol::MessageId* mutable_message_id(); - inline ::bgs::protocol::MessageId* release_message_id(); - inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DestroyMessageRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message_id(); - inline void clear_has_message_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::MessageId* message_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DestroyMessageRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API DestroyMessageResponse : public ::google::protobuf::Message { - public: - DestroyMessageResponse(); - virtual ~DestroyMessageResponse(); - - DestroyMessageResponse(const DestroyMessageResponse& from); - - inline DestroyMessageResponse& operator=(const DestroyMessageResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const DestroyMessageResponse& default_instance(); - - void Swap(DestroyMessageResponse* other); - - // implements Message ---------------------------------------------- - - DestroyMessageResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.StreamMessage message = 1; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.DestroyMessageResponse) - private: - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static DestroyMessageResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API EditMessageRequest : public ::google::protobuf::Message { - public: - EditMessageRequest(); - virtual ~EditMessageRequest(); - - EditMessageRequest(const EditMessageRequest& from); - - inline EditMessageRequest& operator=(const EditMessageRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const EditMessageRequest& default_instance(); - - void Swap(EditMessageRequest* other); - - // implements Message ---------------------------------------------- - - EditMessageRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.MessageId message_id = 4; - inline bool has_message_id() const; - inline void clear_message_id(); - static const int kMessageIdFieldNumber = 4; - inline const ::bgs::protocol::MessageId& message_id() const; - inline ::bgs::protocol::MessageId* mutable_message_id(); - inline ::bgs::protocol::MessageId* release_message_id(); - inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); - - // optional .bgs.protocol.club.v1.CreateMessageOptions options = 5; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 5; - inline const ::bgs::protocol::club::v1::CreateMessageOptions& options() const; - inline ::bgs::protocol::club::v1::CreateMessageOptions* mutable_options(); - inline ::bgs::protocol::club::v1::CreateMessageOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.EditMessageRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message_id(); - inline void clear_has_message_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::MessageId* message_id_; - ::bgs::protocol::club::v1::CreateMessageOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static EditMessageRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API EditMessageResponse : public ::google::protobuf::Message { - public: - EditMessageResponse(); - virtual ~EditMessageResponse(); - - EditMessageResponse(const EditMessageResponse& from); - - inline EditMessageResponse& operator=(const EditMessageResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const EditMessageResponse& default_instance(); - - void Swap(EditMessageResponse* other); - - // implements Message ---------------------------------------------- - - EditMessageResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.StreamMessage message = 1; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.EditMessageResponse) - private: - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static EditMessageResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SetMessagePinnedRequest : public ::google::protobuf::Message { - public: - SetMessagePinnedRequest(); - virtual ~SetMessagePinnedRequest(); - - SetMessagePinnedRequest(const SetMessagePinnedRequest& from); - - inline SetMessagePinnedRequest& operator=(const SetMessagePinnedRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SetMessagePinnedRequest& default_instance(); - - void Swap(SetMessagePinnedRequest* other); - - // implements Message ---------------------------------------------- - - SetMessagePinnedRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetMessagePinnedRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SetMessagePinnedRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SetTypingIndicatorRequest : public ::google::protobuf::Message { - public: - SetTypingIndicatorRequest(); - virtual ~SetTypingIndicatorRequest(); - - SetTypingIndicatorRequest(const SetTypingIndicatorRequest& from); - - inline SetTypingIndicatorRequest& operator=(const SetTypingIndicatorRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SetTypingIndicatorRequest& default_instance(); - - void Swap(SetTypingIndicatorRequest* other); - - // implements Message ---------------------------------------------- - - SetTypingIndicatorRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.TypingIndicator indicator = 4; - inline bool has_indicator() const; - inline void clear_indicator(); - static const int kIndicatorFieldNumber = 4; - inline ::bgs::protocol::TypingIndicator indicator() const; - inline void set_indicator(::bgs::protocol::TypingIndicator value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetTypingIndicatorRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_indicator(); - inline void clear_has_indicator(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - int indicator_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static SetTypingIndicatorRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AdvanceStreamViewTimeRequest : public ::google::protobuf::Message { - public: - AdvanceStreamViewTimeRequest(); - virtual ~AdvanceStreamViewTimeRequest(); - - AdvanceStreamViewTimeRequest(const AdvanceStreamViewTimeRequest& from); - - inline AdvanceStreamViewTimeRequest& operator=(const AdvanceStreamViewTimeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AdvanceStreamViewTimeRequest& default_instance(); - - void Swap(AdvanceStreamViewTimeRequest* other); - - // implements Message ---------------------------------------------- - - AdvanceStreamViewTimeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id_deprecated = 3 [deprecated = true]; - inline bool has_stream_id_deprecated() const PROTOBUF_DEPRECATED; - inline void clear_stream_id_deprecated() PROTOBUF_DEPRECATED; - static const int kStreamIdDeprecatedFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id_deprecated() const PROTOBUF_DEPRECATED; - inline void set_stream_id_deprecated(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED; - - // repeated uint64 stream_id = 4 [packed = true]; - inline int stream_id_size() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 4; - inline ::google::protobuf::uint64 stream_id(int index) const; - inline void set_stream_id(int index, ::google::protobuf::uint64 value); - inline void add_stream_id(::google::protobuf::uint64 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& - stream_id() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* - mutable_stream_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id_deprecated(); - inline void clear_has_stream_id_deprecated(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_deprecated_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AdvanceStreamViewTimeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AdvanceStreamMentionViewTimeRequest : public ::google::protobuf::Message { - public: - AdvanceStreamMentionViewTimeRequest(); - virtual ~AdvanceStreamMentionViewTimeRequest(); - - AdvanceStreamMentionViewTimeRequest(const AdvanceStreamMentionViewTimeRequest& from); - - inline AdvanceStreamMentionViewTimeRequest& operator=(const AdvanceStreamMentionViewTimeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AdvanceStreamMentionViewTimeRequest& default_instance(); - - void Swap(AdvanceStreamMentionViewTimeRequest* other); - - // implements Message ---------------------------------------------- - - AdvanceStreamMentionViewTimeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AdvanceStreamMentionViewTimeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AdvanceActivityViewTimeRequest : public ::google::protobuf::Message { - public: - AdvanceActivityViewTimeRequest(); - virtual ~AdvanceActivityViewTimeRequest(); - - AdvanceActivityViewTimeRequest(const AdvanceActivityViewTimeRequest& from); - - inline AdvanceActivityViewTimeRequest& operator=(const AdvanceActivityViewTimeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AdvanceActivityViewTimeRequest& default_instance(); - - void Swap(AdvanceActivityViewTimeRequest* other); - - // implements Message ---------------------------------------------- - - AdvanceActivityViewTimeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static AdvanceActivityViewTimeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamHistoryRequest : public ::google::protobuf::Message { - public: - GetStreamHistoryRequest(); - virtual ~GetStreamHistoryRequest(); - - GetStreamHistoryRequest(const GetStreamHistoryRequest& from); - - inline GetStreamHistoryRequest& operator=(const GetStreamHistoryRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamHistoryRequest& default_instance(); - - void Swap(GetStreamHistoryRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamHistoryRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.GetEventOptions options = 4; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 4; - inline const ::bgs::protocol::GetEventOptions& options() const; - inline ::bgs::protocol::GetEventOptions* mutable_options(); - inline ::bgs::protocol::GetEventOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamHistoryRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::GetEventOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamHistoryRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamHistoryResponse : public ::google::protobuf::Message { - public: - GetStreamHistoryResponse(); - virtual ~GetStreamHistoryResponse(); - - GetStreamHistoryResponse(const GetStreamHistoryResponse& from); - - inline GetStreamHistoryResponse& operator=(const GetStreamHistoryResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamHistoryResponse& default_instance(); - - void Swap(GetStreamHistoryResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamHistoryResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamMessage message = 1; - inline int message_size() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message(int index) const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(int index); - inline ::bgs::protocol::club::v1::StreamMessage* add_message(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >& - message() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* - mutable_message(); - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamHistoryResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > message_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamHistoryResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamMessageRequest : public ::google::protobuf::Message { - public: - GetStreamMessageRequest(); - virtual ~GetStreamMessageRequest(); - - GetStreamMessageRequest(const GetStreamMessageRequest& from); - - inline GetStreamMessageRequest& operator=(const GetStreamMessageRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamMessageRequest& default_instance(); - - void Swap(GetStreamMessageRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamMessageRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.MessageId message_id = 4; - inline bool has_message_id() const; - inline void clear_message_id(); - static const int kMessageIdFieldNumber = 4; - inline const ::bgs::protocol::MessageId& message_id() const; - inline ::bgs::protocol::MessageId* mutable_message_id(); - inline ::bgs::protocol::MessageId* release_message_id(); - inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamMessageRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message_id(); - inline void clear_has_message_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::MessageId* message_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamMessageRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamMessageResponse : public ::google::protobuf::Message { - public: - GetStreamMessageResponse(); - virtual ~GetStreamMessageResponse(); - - GetStreamMessageResponse(const GetStreamMessageResponse& from); - - inline GetStreamMessageResponse& operator=(const GetStreamMessageResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamMessageResponse& default_instance(); - - void Swap(GetStreamMessageResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamMessageResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.StreamMessage message = 1; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamMessageResponse) - private: - inline void set_has_message(); - inline void clear_has_message(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::StreamMessage* message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamMessageResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetClubActivityRequest : public ::google::protobuf::Message { - public: - GetClubActivityRequest(); - virtual ~GetClubActivityRequest(); - - GetClubActivityRequest(const GetClubActivityRequest& from); - - inline GetClubActivityRequest& operator=(const GetClubActivityRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetClubActivityRequest& default_instance(); - - void Swap(GetClubActivityRequest* other); - - // implements Message ---------------------------------------------- - - GetClubActivityRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.GetEventOptions options = 3; - inline bool has_options() const; - inline void clear_options(); - static const int kOptionsFieldNumber = 3; - inline const ::bgs::protocol::GetEventOptions& options() const; - inline ::bgs::protocol::GetEventOptions* mutable_options(); - inline ::bgs::protocol::GetEventOptions* release_options(); - inline void set_allocated_options(::bgs::protocol::GetEventOptions* options); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubActivityRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_options(); - inline void clear_has_options(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::bgs::protocol::GetEventOptions* options_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetClubActivityRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetClubActivityResponse : public ::google::protobuf::Message { - public: - GetClubActivityResponse(); - virtual ~GetClubActivityResponse(); - - GetClubActivityResponse(const GetClubActivityResponse& from); - - inline GetClubActivityResponse& operator=(const GetClubActivityResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetClubActivityResponse& default_instance(); - - void Swap(GetClubActivityResponse* other); - - // implements Message ---------------------------------------------- - - GetClubActivityResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 continuation = 2; - inline bool has_continuation() const; - inline void clear_continuation(); - static const int kContinuationFieldNumber = 2; - inline ::google::protobuf::uint64 continuation() const; - inline void set_continuation(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetClubActivityResponse) - private: - inline void set_has_continuation(); - inline void clear_has_continuation(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 continuation_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetClubActivityResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamVoiceTokenRequest : public ::google::protobuf::Message { - public: - GetStreamVoiceTokenRequest(); - virtual ~GetStreamVoiceTokenRequest(); - - GetStreamVoiceTokenRequest(const GetStreamVoiceTokenRequest& from); - - inline GetStreamVoiceTokenRequest& operator=(const GetStreamVoiceTokenRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamVoiceTokenRequest& default_instance(); - - void Swap(GetStreamVoiceTokenRequest* other); - - // implements Message ---------------------------------------------- - - GetStreamVoiceTokenRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional uint32 version = 4; - inline bool has_version() const; - inline void clear_version(); - static const int kVersionFieldNumber = 4; - inline ::google::protobuf::uint32 version() const; - inline void set_version(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamVoiceTokenRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_version(); - inline void clear_has_version(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::google::protobuf::uint32 version_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamVoiceTokenRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API GetStreamVoiceTokenResponse : public ::google::protobuf::Message { - public: - GetStreamVoiceTokenResponse(); - virtual ~GetStreamVoiceTokenResponse(); - - GetStreamVoiceTokenResponse(const GetStreamVoiceTokenResponse& from); - - inline GetStreamVoiceTokenResponse& operator=(const GetStreamVoiceTokenResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetStreamVoiceTokenResponse& default_instance(); - - void Swap(GetStreamVoiceTokenResponse* other); - - // implements Message ---------------------------------------------- - - GetStreamVoiceTokenResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string channel_uri = 1; - inline bool has_channel_uri() const; - inline void clear_channel_uri(); - static const int kChannelUriFieldNumber = 1; - inline const ::std::string& channel_uri() const; - inline void set_channel_uri(const ::std::string& value); - inline void set_channel_uri(const char* value); - inline void set_channel_uri(const char* value, size_t size); - inline ::std::string* mutable_channel_uri(); - inline ::std::string* release_channel_uri(); - inline void set_allocated_channel_uri(::std::string* channel_uri); - - // optional .bgs.protocol.VoiceCredentials credentials = 2; - inline bool has_credentials() const; - inline void clear_credentials(); - static const int kCredentialsFieldNumber = 2; - inline const ::bgs::protocol::VoiceCredentials& credentials() const; - inline ::bgs::protocol::VoiceCredentials* mutable_credentials(); - inline ::bgs::protocol::VoiceCredentials* release_credentials(); - inline void set_allocated_credentials(::bgs::protocol::VoiceCredentials* credentials); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.GetStreamVoiceTokenResponse) - private: - inline void set_has_channel_uri(); - inline void clear_has_channel_uri(); - inline void set_has_credentials(); - inline void clear_has_credentials(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* channel_uri_; - ::bgs::protocol::VoiceCredentials* credentials_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static GetStreamVoiceTokenResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API KickFromStreamVoiceRequest : public ::google::protobuf::Message { - public: - KickFromStreamVoiceRequest(); - virtual ~KickFromStreamVoiceRequest(); - - KickFromStreamVoiceRequest(const KickFromStreamVoiceRequest& from); - - inline KickFromStreamVoiceRequest& operator=(const KickFromStreamVoiceRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const KickFromStreamVoiceRequest& default_instance(); - - void Swap(KickFromStreamVoiceRequest* other); - - // implements Message ---------------------------------------------- - - KickFromStreamVoiceRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& agent_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_agent_id(); - inline ::bgs::protocol::club::v1::MemberId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id); - - // optional uint64 club_id = 2; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 2; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 3; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 3; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.club.v1.MemberId target_id = 4; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberId& target_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_target_id(); - inline ::bgs::protocol::club::v1::MemberId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.KickFromStreamVoiceRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* agent_id_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::club::v1::MemberId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frequest_2eproto(); - friend void protobuf_AssignDesc_club_5frequest_2eproto(); - friend void protobuf_ShutdownFile_club_5frequest_2eproto(); - - void InitAsDefaultInstance(); - static KickFromStreamVoiceRequest* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// SubscribeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SubscribeRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscribeRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscribeRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscribeRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SubscribeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeRequest.club_id) - return club_id_; -} -inline void SubscribeRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscribeRequest.club_id) -} - -// ------------------------------------------------------------------- - -// UnsubscribeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UnsubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnsubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnsubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnsubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UnsubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UnsubscribeRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnsubscribeRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnsubscribeRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnsubscribeRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UnsubscribeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeRequest.club_id) - return club_id_; -} -inline void UnsubscribeRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UnsubscribeRequest.club_id) -} - -// ------------------------------------------------------------------- - -// CreateRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool CreateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& CreateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void CreateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateRequest.agent_id) -} - -// optional .bgs.protocol.club.v1.ClubCreateOptions options = 2; -inline bool CreateRequest::has_options() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateRequest::set_has_options() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubCreateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubCreateOptions& CreateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubCreateOptions* CreateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubCreateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubCreateOptions* CreateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubCreateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void CreateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubCreateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateRequest.options) -} - -// ------------------------------------------------------------------- - -// CreateResponse - -// optional uint64 club_id = 1; -inline bool CreateResponse::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateResponse::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateResponse::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateResponse::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 CreateResponse::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateResponse.club_id) - return club_id_; -} -inline void CreateResponse::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateResponse.club_id) -} - -// ------------------------------------------------------------------- - -// DestroyRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DestroyRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DestroyRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DestroyRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DestroyRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DestroyRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DestroyRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DestroyRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DestroyRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DestroyRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DestroyRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DestroyRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyRequest.club_id) - return club_id_; -} -inline void DestroyRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyRequest.club_id) -} - -// ------------------------------------------------------------------- - -// GetDescriptionRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetDescriptionRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetDescriptionRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetDescriptionRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetDescriptionRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetDescriptionRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetDescriptionRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetDescriptionRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetDescriptionRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetDescriptionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetDescriptionRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetDescriptionRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetDescriptionRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetDescriptionRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetDescriptionRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetDescriptionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetDescriptionRequest.club_id) - return club_id_; -} -inline void GetDescriptionRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetDescriptionRequest.club_id) -} - -// ------------------------------------------------------------------- - -// GetDescriptionResponse - -// optional .bgs.protocol.club.v1.ClubDescription club = 1; -inline bool GetDescriptionResponse::has_club() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetDescriptionResponse::set_has_club() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetDescriptionResponse::clear_has_club() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetDescriptionResponse::clear_club() { - if (club_ != NULL) club_->::bgs::protocol::club::v1::ClubDescription::Clear(); - clear_has_club(); -} -inline const ::bgs::protocol::club::v1::ClubDescription& GetDescriptionResponse::club() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetDescriptionResponse.club) - return club_ != NULL ? *club_ : *default_instance_->club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::mutable_club() { - set_has_club(); - if (club_ == NULL) club_ = new ::bgs::protocol::club::v1::ClubDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetDescriptionResponse.club) - return club_; -} -inline ::bgs::protocol::club::v1::ClubDescription* GetDescriptionResponse::release_club() { - clear_has_club(); - ::bgs::protocol::club::v1::ClubDescription* temp = club_; - club_ = NULL; - return temp; -} -inline void GetDescriptionResponse::set_allocated_club(::bgs::protocol::club::v1::ClubDescription* club) { - delete club_; - club_ = club; - if (club) { - set_has_club(); - } else { - clear_has_club(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetDescriptionResponse.club) -} - -// ------------------------------------------------------------------- - -// GetClubTypeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetClubTypeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetClubTypeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetClubTypeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetClubTypeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetClubTypeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetClubTypeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetClubTypeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeRequest.agent_id) -} - -// optional .bgs.protocol.club.v1.UniqueClubType type = 2; -inline bool GetClubTypeRequest::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetClubTypeRequest::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetClubTypeRequest::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetClubTypeRequest::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeRequest::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeRequest.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeRequest.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeRequest::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void GetClubTypeRequest::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeRequest.type) -} - -// ------------------------------------------------------------------- - -// GetClubTypeResponse - -// optional .bgs.protocol.club.v1.UniqueClubType type = 1; -inline bool GetClubTypeResponse::has_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetClubTypeResponse::set_has_type() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetClubTypeResponse::clear_has_type() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetClubTypeResponse::clear_type() { - if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& GetClubTypeResponse::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.type) - return type_ != NULL ? *type_ : *default_instance_->type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::mutable_type() { - set_has_type(); - if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.type) - return type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* GetClubTypeResponse::release_type() { - clear_has_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = type_; - type_ = NULL; - return temp; -} -inline void GetClubTypeResponse::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) { - delete type_; - type_ = type; - if (type) { - set_has_type(); - } else { - clear_has_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.type) -} - -// optional .bgs.protocol.club.v1.ClubRoleSet role_set = 2; -inline bool GetClubTypeResponse::has_role_set() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetClubTypeResponse::set_has_role_set() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetClubTypeResponse::clear_has_role_set() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetClubTypeResponse::clear_role_set() { - if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::ClubRoleSet::Clear(); - clear_has_role_set(); -} -inline const ::bgs::protocol::club::v1::ClubRoleSet& GetClubTypeResponse::role_set() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.role_set) - return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_; -} -inline ::bgs::protocol::club::v1::ClubRoleSet* GetClubTypeResponse::mutable_role_set() { - set_has_role_set(); - if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::ClubRoleSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.role_set) - return role_set_; -} -inline ::bgs::protocol::club::v1::ClubRoleSet* GetClubTypeResponse::release_role_set() { - clear_has_role_set(); - ::bgs::protocol::club::v1::ClubRoleSet* temp = role_set_; - role_set_ = NULL; - return temp; -} -inline void GetClubTypeResponse::set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* role_set) { - delete role_set_; - role_set_ = role_set; - if (role_set) { - set_has_role_set(); - } else { - clear_has_role_set(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.role_set) -} - -// optional .bgs.protocol.club.v1.ClubTypeRangeSet range_set = 3; -inline bool GetClubTypeResponse::has_range_set() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetClubTypeResponse::set_has_range_set() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetClubTypeResponse::clear_has_range_set() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetClubTypeResponse::clear_range_set() { - if (range_set_ != NULL) range_set_->::bgs::protocol::club::v1::ClubTypeRangeSet::Clear(); - clear_has_range_set(); -} -inline const ::bgs::protocol::club::v1::ClubTypeRangeSet& GetClubTypeResponse::range_set() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.range_set) - return range_set_ != NULL ? *range_set_ : *default_instance_->range_set_; -} -inline ::bgs::protocol::club::v1::ClubTypeRangeSet* GetClubTypeResponse::mutable_range_set() { - set_has_range_set(); - if (range_set_ == NULL) range_set_ = new ::bgs::protocol::club::v1::ClubTypeRangeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.range_set) - return range_set_; -} -inline ::bgs::protocol::club::v1::ClubTypeRangeSet* GetClubTypeResponse::release_range_set() { - clear_has_range_set(); - ::bgs::protocol::club::v1::ClubTypeRangeSet* temp = range_set_; - range_set_ = NULL; - return temp; -} -inline void GetClubTypeResponse::set_allocated_range_set(::bgs::protocol::club::v1::ClubTypeRangeSet* range_set) { - delete range_set_; - range_set_ = range_set; - if (range_set) { - set_has_range_set(); - } else { - clear_has_range_set(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubTypeResponse.range_set) -} - -// repeated .bgs.protocol.club.v1.LocalizedTag platform_tag_set = 4; -inline int GetClubTypeResponse::platform_tag_set_size() const { - return platform_tag_set_.size(); -} -inline void GetClubTypeResponse::clear_platform_tag_set() { - platform_tag_set_.Clear(); -} -inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::platform_tag_set(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set) - return platform_tag_set_.Get(index); -} -inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_platform_tag_set(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set) - return platform_tag_set_.Mutable(index); -} -inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_platform_tag_set() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set) - return platform_tag_set_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& -GetClubTypeResponse::platform_tag_set() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set) - return platform_tag_set_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* -GetClubTypeResponse::mutable_platform_tag_set() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetClubTypeResponse.platform_tag_set) - return &platform_tag_set_; -} - -// repeated .bgs.protocol.club.v1.LocalizedTag custom_tag_set = 5; -inline int GetClubTypeResponse::custom_tag_set_size() const { - return custom_tag_set_.size(); -} -inline void GetClubTypeResponse::clear_custom_tag_set() { - custom_tag_set_.Clear(); -} -inline const ::bgs::protocol::club::v1::LocalizedTag& GetClubTypeResponse::custom_tag_set(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set) - return custom_tag_set_.Get(index); -} -inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::mutable_custom_tag_set(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set) - return custom_tag_set_.Mutable(index); -} -inline ::bgs::protocol::club::v1::LocalizedTag* GetClubTypeResponse::add_custom_tag_set() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set) - return custom_tag_set_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >& -GetClubTypeResponse::custom_tag_set() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set) - return custom_tag_set_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::LocalizedTag >* -GetClubTypeResponse::mutable_custom_tag_set() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetClubTypeResponse.custom_tag_set) - return &custom_tag_set_; -} - -// ------------------------------------------------------------------- - -// UpdateClubStateRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UpdateClubStateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateClubStateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateClubStateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateClubStateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateClubStateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubStateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateClubStateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateClubStateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateClubStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubStateRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UpdateClubStateRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateClubStateRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateClubStateRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateClubStateRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UpdateClubStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubStateRequest.club_id) - return club_id_; -} -inline void UpdateClubStateRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateClubStateRequest.club_id) -} - -// optional .bgs.protocol.club.v1.ClubStateOptions options = 3; -inline bool UpdateClubStateRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UpdateClubStateRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void UpdateClubStateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UpdateClubStateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubStateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubStateOptions& UpdateClubStateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubStateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubStateOptions* UpdateClubStateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubStateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateClubStateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubStateOptions* UpdateClubStateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubStateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateClubStateRequest::set_allocated_options(::bgs::protocol::club::v1::ClubStateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubStateRequest.options) -} - -// ------------------------------------------------------------------- - -// UpdateClubSettingsRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UpdateClubSettingsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateClubSettingsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateClubSettingsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateClubSettingsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateClubSettingsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubSettingsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateClubSettingsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateClubSettingsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateClubSettingsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubSettingsRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UpdateClubSettingsRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateClubSettingsRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateClubSettingsRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateClubSettingsRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UpdateClubSettingsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubSettingsRequest.club_id) - return club_id_; -} -inline void UpdateClubSettingsRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateClubSettingsRequest.club_id) -} - -// optional .bgs.protocol.club.v1.ClubSettingsOptions options = 3; -inline bool UpdateClubSettingsRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UpdateClubSettingsRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void UpdateClubSettingsRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UpdateClubSettingsRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::ClubSettingsOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::ClubSettingsOptions& UpdateClubSettingsRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateClubSettingsRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::ClubSettingsOptions* UpdateClubSettingsRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::ClubSettingsOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateClubSettingsRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::ClubSettingsOptions* UpdateClubSettingsRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::ClubSettingsOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateClubSettingsRequest::set_allocated_options(::bgs::protocol::club::v1::ClubSettingsOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateClubSettingsRequest.options) -} - -// ------------------------------------------------------------------- - -// AddMemberRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AddMemberRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AddMemberRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AddMemberRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AddMemberRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AddMemberRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddMemberRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddMemberRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddMemberRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AddMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddMemberRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AddMemberRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AddMemberRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AddMemberRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AddMemberRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AddMemberRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddMemberRequest.club_id) - return club_id_; -} -inline void AddMemberRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AddMemberRequest.club_id) -} - -// optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; -inline bool AddMemberRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AddMemberRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void AddMemberRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AddMemberRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateMemberOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateMemberOptions& AddMemberRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddMemberRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* AddMemberRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateMemberOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddMemberRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* AddMemberRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void AddMemberRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddMemberRequest.options) -} - -// ------------------------------------------------------------------- - -// JoinRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool JoinRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void JoinRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void JoinRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void JoinRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& JoinRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.JoinRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* JoinRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.JoinRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* JoinRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void JoinRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.JoinRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool JoinRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void JoinRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void JoinRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void JoinRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 JoinRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.JoinRequest.club_id) - return club_id_; -} -inline void JoinRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.JoinRequest.club_id) -} - -// optional .bgs.protocol.club.v1.CreateMemberOptions options = 3; -inline bool JoinRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void JoinRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void JoinRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void JoinRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateMemberOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateMemberOptions& JoinRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.JoinRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* JoinRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateMemberOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.JoinRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateMemberOptions* JoinRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateMemberOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void JoinRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMemberOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.JoinRequest.options) -} - -// ------------------------------------------------------------------- - -// LeaveRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool LeaveRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void LeaveRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void LeaveRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void LeaveRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& LeaveRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LeaveRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LeaveRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* LeaveRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void LeaveRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LeaveRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool LeaveRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void LeaveRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void LeaveRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void LeaveRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 LeaveRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LeaveRequest.club_id) - return club_id_; -} -inline void LeaveRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LeaveRequest.club_id) -} - -// ------------------------------------------------------------------- - -// KickRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool KickRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void KickRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void KickRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void KickRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& KickRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.KickRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void KickRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool KickRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void KickRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void KickRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void KickRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 KickRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickRequest.club_id) - return club_id_; -} -inline void KickRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.KickRequest.club_id) -} - -// optional .bgs.protocol.club.v1.MemberId target_id = 3; -inline bool KickRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void KickRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void KickRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void KickRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& KickRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.KickRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void KickRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickRequest.target_id) -} - -// ------------------------------------------------------------------- - -// GetMemberRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetMemberRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetMemberRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetMemberRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetMemberRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMemberRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMemberRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetMemberRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetMemberRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetMemberRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetMemberRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetMemberRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetMemberRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMemberRequest.club_id) - return club_id_; -} -inline void GetMemberRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetMemberRequest.club_id) -} - -// optional .bgs.protocol.club.v1.MemberId member_id = 3; -inline bool GetMemberRequest::has_member_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetMemberRequest::set_has_member_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetMemberRequest::clear_has_member_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetMemberRequest::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetMemberRequest::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMemberRequest.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMemberRequest.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMemberRequest::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void GetMemberRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberRequest.member_id) -} - -// ------------------------------------------------------------------- - -// GetMemberResponse - -// optional .bgs.protocol.club.v1.Member member = 1; -inline bool GetMemberResponse::has_member() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetMemberResponse::set_has_member() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetMemberResponse::clear_has_member() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetMemberResponse::clear_member() { - if (member_ != NULL) member_->::bgs::protocol::club::v1::Member::Clear(); - clear_has_member(); -} -inline const ::bgs::protocol::club::v1::Member& GetMemberResponse::member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMemberResponse.member) - return member_ != NULL ? *member_ : *default_instance_->member_; -} -inline ::bgs::protocol::club::v1::Member* GetMemberResponse::mutable_member() { - set_has_member(); - if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::Member; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMemberResponse.member) - return member_; -} -inline ::bgs::protocol::club::v1::Member* GetMemberResponse::release_member() { - clear_has_member(); - ::bgs::protocol::club::v1::Member* temp = member_; - member_ = NULL; - return temp; -} -inline void GetMemberResponse::set_allocated_member(::bgs::protocol::club::v1::Member* member) { - delete member_; - member_ = member; - if (member) { - set_has_member(); - } else { - clear_has_member(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMemberResponse.member) -} - -// ------------------------------------------------------------------- - -// GetMembersRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetMembersRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetMembersRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetMembersRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetMembersRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetMembersRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMembersRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetMembersRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetMembersRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetMembersRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetMembersRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetMembersRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetMembersRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetMembersRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetMembersRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersRequest.club_id) - return club_id_; -} -inline void GetMembersRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetMembersRequest.club_id) -} - -// optional uint64 continuation = 4; -inline bool GetMembersRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetMembersRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetMembersRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetMembersRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetMembersRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersRequest.continuation) - return continuation_; -} -inline void GetMembersRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetMembersRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetMembersResponse - -// repeated .bgs.protocol.club.v1.Member member = 1; -inline int GetMembersResponse::member_size() const { - return member_.size(); -} -inline void GetMembersResponse::clear_member() { - member_.Clear(); -} -inline const ::bgs::protocol::club::v1::Member& GetMembersResponse::member(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersResponse.member) - return member_.Get(index); -} -inline ::bgs::protocol::club::v1::Member* GetMembersResponse::mutable_member(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetMembersResponse.member) - return member_.Mutable(index); -} -inline ::bgs::protocol::club::v1::Member* GetMembersResponse::add_member() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetMembersResponse.member) - return member_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >& -GetMembersResponse::member() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetMembersResponse.member) - return member_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Member >* -GetMembersResponse::mutable_member() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetMembersResponse.member) - return &member_; -} - -// optional uint64 continuation = 2; -inline bool GetMembersResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetMembersResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetMembersResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetMembersResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetMembersResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetMembersResponse.continuation) - return continuation_; -} -inline void GetMembersResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetMembersResponse.continuation) -} - -// ------------------------------------------------------------------- - -// UpdateMemberStateRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UpdateMemberStateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateMemberStateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateMemberStateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateMemberStateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateMemberStateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateMemberStateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateMemberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UpdateMemberStateRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateMemberStateRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateMemberStateRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateMemberStateRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UpdateMemberStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateMemberStateRequest.club_id) - return club_id_; -} -inline void UpdateMemberStateRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateMemberStateRequest.club_id) -} - -// optional .bgs.protocol.club.v1.MemberId member_id = 3; -inline bool UpdateMemberStateRequest::has_member_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UpdateMemberStateRequest::set_has_member_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void UpdateMemberStateRequest::clear_has_member_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UpdateMemberStateRequest::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateMemberStateRequest::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateMemberStateRequest.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateMemberStateRequest.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateMemberStateRequest::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void UpdateMemberStateRequest::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.member_id) -} - -// optional .bgs.protocol.club.v1.MemberStateOptions options = 5; -inline bool UpdateMemberStateRequest::has_options() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void UpdateMemberStateRequest::set_has_options() { - _has_bits_[0] |= 0x00000008u; -} -inline void UpdateMemberStateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000008u; -} -inline void UpdateMemberStateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::MemberStateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::MemberStateOptions& UpdateMemberStateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateMemberStateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::MemberStateOptions* UpdateMemberStateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::MemberStateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateMemberStateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::MemberStateOptions* UpdateMemberStateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::MemberStateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateMemberStateRequest::set_allocated_options(::bgs::protocol::club::v1::MemberStateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateMemberStateRequest.options) -} - -// ------------------------------------------------------------------- - -// UpdateSubscriberStateRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UpdateSubscriberStateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateSubscriberStateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateSubscriberStateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateSubscriberStateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateSubscriberStateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateSubscriberStateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateSubscriberStateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateSubscriberStateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateSubscriberStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateSubscriberStateRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UpdateSubscriberStateRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateSubscriberStateRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateSubscriberStateRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateSubscriberStateRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UpdateSubscriberStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateSubscriberStateRequest.club_id) - return club_id_; -} -inline void UpdateSubscriberStateRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateSubscriberStateRequest.club_id) -} - -// optional .bgs.protocol.club.v1.SubscriberStateOptions options = 3; -inline bool UpdateSubscriberStateRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UpdateSubscriberStateRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void UpdateSubscriberStateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UpdateSubscriberStateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::SubscriberStateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::SubscriberStateOptions& UpdateSubscriberStateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateSubscriberStateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::SubscriberStateOptions* UpdateSubscriberStateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::SubscriberStateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateSubscriberStateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::SubscriberStateOptions* UpdateSubscriberStateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::SubscriberStateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateSubscriberStateRequest::set_allocated_options(::bgs::protocol::club::v1::SubscriberStateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateSubscriberStateRequest.options) -} - -// ------------------------------------------------------------------- - -// AssignRoleRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AssignRoleRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AssignRoleRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AssignRoleRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AssignRoleRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AssignRoleRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AssignRoleRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AssignRoleRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AssignRoleRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AssignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AssignRoleRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AssignRoleRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AssignRoleRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AssignRoleRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AssignRoleRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AssignRoleRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AssignRoleRequest.club_id) - return club_id_; -} -inline void AssignRoleRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AssignRoleRequest.club_id) -} - -// optional .bgs.protocol.club.v1.RoleOptions options = 3; -inline bool AssignRoleRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AssignRoleRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void AssignRoleRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AssignRoleRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::RoleOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::RoleOptions& AssignRoleRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AssignRoleRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::RoleOptions* AssignRoleRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::RoleOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AssignRoleRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::RoleOptions* AssignRoleRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::RoleOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void AssignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AssignRoleRequest.options) -} - -// ------------------------------------------------------------------- - -// UnassignRoleRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UnassignRoleRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnassignRoleRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnassignRoleRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnassignRoleRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UnassignRoleRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnassignRoleRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UnassignRoleRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnassignRoleRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnassignRoleRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnassignRoleRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UnassignRoleRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnassignRoleRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnassignRoleRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnassignRoleRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UnassignRoleRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnassignRoleRequest.club_id) - return club_id_; -} -inline void UnassignRoleRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UnassignRoleRequest.club_id) -} - -// optional .bgs.protocol.club.v1.RoleOptions options = 3; -inline bool UnassignRoleRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UnassignRoleRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void UnassignRoleRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UnassignRoleRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::RoleOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::RoleOptions& UnassignRoleRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnassignRoleRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::RoleOptions* UnassignRoleRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::RoleOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UnassignRoleRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::RoleOptions* UnassignRoleRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::RoleOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UnassignRoleRequest::set_allocated_options(::bgs::protocol::club::v1::RoleOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnassignRoleRequest.options) -} - -// ------------------------------------------------------------------- - -// SendInvitationRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SendInvitationRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SendInvitationRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SendInvitationRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SendInvitationRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SendInvitationRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendInvitationRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendInvitationRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SendInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SendInvitationRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SendInvitationRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SendInvitationRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SendInvitationRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SendInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationRequest.club_id) - return club_id_; -} -inline void SendInvitationRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SendInvitationRequest.club_id) -} - -// optional .bgs.protocol.club.v1.SendInvitationOptions options = 3; -inline bool SendInvitationRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SendInvitationRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void SendInvitationRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SendInvitationRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::SendInvitationOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::SendInvitationOptions& SendInvitationRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendInvitationRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::SendInvitationOptions* SendInvitationRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::SendInvitationOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendInvitationRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::SendInvitationOptions* SendInvitationRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::SendInvitationOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void SendInvitationRequest::set_allocated_options(::bgs::protocol::club::v1::SendInvitationOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendInvitationRequest.options) -} - -// ------------------------------------------------------------------- - -// AcceptInvitationRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AcceptInvitationRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AcceptInvitationRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AcceptInvitationRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AcceptInvitationRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AcceptInvitationRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptInvitationRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AcceptInvitationRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AcceptInvitationRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AcceptInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AcceptInvitationRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AcceptInvitationRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AcceptInvitationRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AcceptInvitationRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AcceptInvitationRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AcceptInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptInvitationRequest.club_id) - return club_id_; -} -inline void AcceptInvitationRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AcceptInvitationRequest.club_id) -} - -// optional fixed64 invitation_id = 3; -inline bool AcceptInvitationRequest::has_invitation_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AcceptInvitationRequest::set_has_invitation_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void AcceptInvitationRequest::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AcceptInvitationRequest::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 AcceptInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptInvitationRequest.invitation_id) - return invitation_id_; -} -inline void AcceptInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AcceptInvitationRequest.invitation_id) -} - -// ------------------------------------------------------------------- - -// DeclineInvitationRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DeclineInvitationRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DeclineInvitationRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DeclineInvitationRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DeclineInvitationRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DeclineInvitationRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineInvitationRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DeclineInvitationRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DeclineInvitationRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DeclineInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DeclineInvitationRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DeclineInvitationRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DeclineInvitationRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DeclineInvitationRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DeclineInvitationRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DeclineInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineInvitationRequest.club_id) - return club_id_; -} -inline void DeclineInvitationRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DeclineInvitationRequest.club_id) -} - -// optional fixed64 invitation_id = 3; -inline bool DeclineInvitationRequest::has_invitation_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void DeclineInvitationRequest::set_has_invitation_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void DeclineInvitationRequest::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void DeclineInvitationRequest::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 DeclineInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineInvitationRequest.invitation_id) - return invitation_id_; -} -inline void DeclineInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DeclineInvitationRequest.invitation_id) -} - -// ------------------------------------------------------------------- - -// RevokeInvitationRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool RevokeInvitationRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RevokeInvitationRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RevokeInvitationRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RevokeInvitationRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RevokeInvitationRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RevokeInvitationRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RevokeInvitationRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RevokeInvitationRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void RevokeInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RevokeInvitationRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool RevokeInvitationRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RevokeInvitationRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void RevokeInvitationRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RevokeInvitationRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 RevokeInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RevokeInvitationRequest.club_id) - return club_id_; -} -inline void RevokeInvitationRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RevokeInvitationRequest.club_id) -} - -// optional fixed64 invitation_id = 3; -inline bool RevokeInvitationRequest::has_invitation_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void RevokeInvitationRequest::set_has_invitation_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void RevokeInvitationRequest::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void RevokeInvitationRequest::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 RevokeInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RevokeInvitationRequest.invitation_id) - return invitation_id_; -} -inline void RevokeInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RevokeInvitationRequest.invitation_id) -} - -// ------------------------------------------------------------------- - -// GetInvitationRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetInvitationRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetInvitationRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetInvitationRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetInvitationRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetInvitationRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetInvitationRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetInvitationRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetInvitationRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetInvitationRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetInvitationRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetInvitationRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetInvitationRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetInvitationRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationRequest.club_id) - return club_id_; -} -inline void GetInvitationRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetInvitationRequest.club_id) -} - -// optional fixed64 invitation_id = 3; -inline bool GetInvitationRequest::has_invitation_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetInvitationRequest::set_has_invitation_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetInvitationRequest::clear_has_invitation_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetInvitationRequest::clear_invitation_id() { - invitation_id_ = GOOGLE_ULONGLONG(0); - clear_has_invitation_id(); -} -inline ::google::protobuf::uint64 GetInvitationRequest::invitation_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationRequest.invitation_id) - return invitation_id_; -} -inline void GetInvitationRequest::set_invitation_id(::google::protobuf::uint64 value) { - set_has_invitation_id(); - invitation_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetInvitationRequest.invitation_id) -} - -// ------------------------------------------------------------------- - -// GetInvitationResponse - -// optional .bgs.protocol.club.v1.ClubInvitation invitation = 1; -inline bool GetInvitationResponse::has_invitation() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetInvitationResponse::set_has_invitation() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetInvitationResponse::clear_has_invitation() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetInvitationResponse::clear_invitation() { - if (invitation_ != NULL) invitation_->::bgs::protocol::club::v1::ClubInvitation::Clear(); - clear_has_invitation(); -} -inline const ::bgs::protocol::club::v1::ClubInvitation& GetInvitationResponse::invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationResponse.invitation) - return invitation_ != NULL ? *invitation_ : *default_instance_->invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* GetInvitationResponse::mutable_invitation() { - set_has_invitation(); - if (invitation_ == NULL) invitation_ = new ::bgs::protocol::club::v1::ClubInvitation; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetInvitationResponse.invitation) - return invitation_; -} -inline ::bgs::protocol::club::v1::ClubInvitation* GetInvitationResponse::release_invitation() { - clear_has_invitation(); - ::bgs::protocol::club::v1::ClubInvitation* temp = invitation_; - invitation_ = NULL; - return temp; -} -inline void GetInvitationResponse::set_allocated_invitation(::bgs::protocol::club::v1::ClubInvitation* invitation) { - delete invitation_; - invitation_ = invitation; - if (invitation) { - set_has_invitation(); - } else { - clear_has_invitation(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationResponse.invitation) -} - -// ------------------------------------------------------------------- - -// GetInvitationsRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetInvitationsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetInvitationsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetInvitationsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetInvitationsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetInvitationsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetInvitationsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetInvitationsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetInvitationsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetInvitationsRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetInvitationsRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetInvitationsRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetInvitationsRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetInvitationsRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetInvitationsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsRequest.club_id) - return club_id_; -} -inline void GetInvitationsRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetInvitationsRequest.club_id) -} - -// optional uint64 continuation = 3; -inline bool GetInvitationsRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetInvitationsRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetInvitationsRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetInvitationsRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetInvitationsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsRequest.continuation) - return continuation_; -} -inline void GetInvitationsRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetInvitationsRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetInvitationsResponse - -// repeated .bgs.protocol.club.v1.ClubInvitation invitation = 1; -inline int GetInvitationsResponse::invitation_size() const { - return invitation_.size(); -} -inline void GetInvitationsResponse::clear_invitation() { - invitation_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubInvitation& GetInvitationsResponse::invitation(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsResponse.invitation) - return invitation_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubInvitation* GetInvitationsResponse::mutable_invitation(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetInvitationsResponse.invitation) - return invitation_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubInvitation* GetInvitationsResponse::add_invitation() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetInvitationsResponse.invitation) - return invitation_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >& -GetInvitationsResponse::invitation() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetInvitationsResponse.invitation) - return invitation_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubInvitation >* -GetInvitationsResponse::mutable_invitation() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetInvitationsResponse.invitation) - return &invitation_; -} - -// optional uint64 continuation = 2; -inline bool GetInvitationsResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetInvitationsResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetInvitationsResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetInvitationsResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetInvitationsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetInvitationsResponse.continuation) - return continuation_; -} -inline void GetInvitationsResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetInvitationsResponse.continuation) -} - -// ------------------------------------------------------------------- - -// SendSuggestionRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SendSuggestionRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SendSuggestionRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SendSuggestionRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SendSuggestionRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SendSuggestionRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendSuggestionRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SendSuggestionRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SendSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SendSuggestionRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SendSuggestionRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SendSuggestionRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SendSuggestionRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SendSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionRequest.club_id) - return club_id_; -} -inline void SendSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SendSuggestionRequest.club_id) -} - -// optional .bgs.protocol.club.v1.SendSuggestionOptions options = 3; -inline bool SendSuggestionRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SendSuggestionRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void SendSuggestionRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SendSuggestionRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::SendSuggestionOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::SendSuggestionOptions& SendSuggestionRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SendSuggestionRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::SendSuggestionOptions* SendSuggestionRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::SendSuggestionOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SendSuggestionRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::SendSuggestionOptions* SendSuggestionRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::SendSuggestionOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void SendSuggestionRequest::set_allocated_options(::bgs::protocol::club::v1::SendSuggestionOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SendSuggestionRequest.options) -} - -// ------------------------------------------------------------------- - -// AcceptSuggestionRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AcceptSuggestionRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AcceptSuggestionRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AcceptSuggestionRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AcceptSuggestionRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AcceptSuggestionRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptSuggestionRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AcceptSuggestionRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AcceptSuggestionRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AcceptSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AcceptSuggestionRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AcceptSuggestionRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AcceptSuggestionRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AcceptSuggestionRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AcceptSuggestionRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AcceptSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptSuggestionRequest.club_id) - return club_id_; -} -inline void AcceptSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AcceptSuggestionRequest.club_id) -} - -// optional fixed64 suggestion_id = 3; -inline bool AcceptSuggestionRequest::has_suggestion_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AcceptSuggestionRequest::set_has_suggestion_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void AcceptSuggestionRequest::clear_has_suggestion_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AcceptSuggestionRequest::clear_suggestion_id() { - suggestion_id_ = GOOGLE_ULONGLONG(0); - clear_has_suggestion_id(); -} -inline ::google::protobuf::uint64 AcceptSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AcceptSuggestionRequest.suggestion_id) - return suggestion_id_; -} -inline void AcceptSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { - set_has_suggestion_id(); - suggestion_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AcceptSuggestionRequest.suggestion_id) -} - -// ------------------------------------------------------------------- - -// DeclineSuggestionRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DeclineSuggestionRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DeclineSuggestionRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DeclineSuggestionRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DeclineSuggestionRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DeclineSuggestionRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineSuggestionRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DeclineSuggestionRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DeclineSuggestionRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DeclineSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DeclineSuggestionRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DeclineSuggestionRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DeclineSuggestionRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DeclineSuggestionRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DeclineSuggestionRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DeclineSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineSuggestionRequest.club_id) - return club_id_; -} -inline void DeclineSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DeclineSuggestionRequest.club_id) -} - -// optional fixed64 suggestion_id = 3; -inline bool DeclineSuggestionRequest::has_suggestion_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void DeclineSuggestionRequest::set_has_suggestion_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void DeclineSuggestionRequest::clear_has_suggestion_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void DeclineSuggestionRequest::clear_suggestion_id() { - suggestion_id_ = GOOGLE_ULONGLONG(0); - clear_has_suggestion_id(); -} -inline ::google::protobuf::uint64 DeclineSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DeclineSuggestionRequest.suggestion_id) - return suggestion_id_; -} -inline void DeclineSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { - set_has_suggestion_id(); - suggestion_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DeclineSuggestionRequest.suggestion_id) -} - -// ------------------------------------------------------------------- - -// GetSuggestionRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetSuggestionRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetSuggestionRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetSuggestionRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetSuggestionRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetSuggestionRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetSuggestionRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetSuggestionRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetSuggestionRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetSuggestionRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetSuggestionRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetSuggestionRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetSuggestionRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionRequest.club_id) - return club_id_; -} -inline void GetSuggestionRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetSuggestionRequest.club_id) -} - -// optional fixed64 suggestion_id = 3; -inline bool GetSuggestionRequest::has_suggestion_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetSuggestionRequest::set_has_suggestion_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetSuggestionRequest::clear_has_suggestion_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetSuggestionRequest::clear_suggestion_id() { - suggestion_id_ = GOOGLE_ULONGLONG(0); - clear_has_suggestion_id(); -} -inline ::google::protobuf::uint64 GetSuggestionRequest::suggestion_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionRequest.suggestion_id) - return suggestion_id_; -} -inline void GetSuggestionRequest::set_suggestion_id(::google::protobuf::uint64 value) { - set_has_suggestion_id(); - suggestion_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetSuggestionRequest.suggestion_id) -} - -// ------------------------------------------------------------------- - -// GetSuggestionResponse - -// optional .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; -inline bool GetSuggestionResponse::has_suggestion() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetSuggestionResponse::set_has_suggestion() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetSuggestionResponse::clear_has_suggestion() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetSuggestionResponse::clear_suggestion() { - if (suggestion_ != NULL) suggestion_->::bgs::protocol::club::v1::ClubSuggestion::Clear(); - clear_has_suggestion(); -} -inline const ::bgs::protocol::club::v1::ClubSuggestion& GetSuggestionResponse::suggestion() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionResponse.suggestion) - return suggestion_ != NULL ? *suggestion_ : *default_instance_->suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestion* GetSuggestionResponse::mutable_suggestion() { - set_has_suggestion(); - if (suggestion_ == NULL) suggestion_ = new ::bgs::protocol::club::v1::ClubSuggestion; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetSuggestionResponse.suggestion) - return suggestion_; -} -inline ::bgs::protocol::club::v1::ClubSuggestion* GetSuggestionResponse::release_suggestion() { - clear_has_suggestion(); - ::bgs::protocol::club::v1::ClubSuggestion* temp = suggestion_; - suggestion_ = NULL; - return temp; -} -inline void GetSuggestionResponse::set_allocated_suggestion(::bgs::protocol::club::v1::ClubSuggestion* suggestion) { - delete suggestion_; - suggestion_ = suggestion; - if (suggestion) { - set_has_suggestion(); - } else { - clear_has_suggestion(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionResponse.suggestion) -} - -// ------------------------------------------------------------------- - -// GetSuggestionsRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetSuggestionsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetSuggestionsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetSuggestionsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetSuggestionsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetSuggestionsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetSuggestionsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetSuggestionsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetSuggestionsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetSuggestionsRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetSuggestionsRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetSuggestionsRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetSuggestionsRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetSuggestionsRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetSuggestionsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsRequest.club_id) - return club_id_; -} -inline void GetSuggestionsRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetSuggestionsRequest.club_id) -} - -// optional uint64 continuation = 3; -inline bool GetSuggestionsRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetSuggestionsRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetSuggestionsRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetSuggestionsRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetSuggestionsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsRequest.continuation) - return continuation_; -} -inline void GetSuggestionsRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetSuggestionsRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetSuggestionsResponse - -// repeated .bgs.protocol.club.v1.ClubSuggestion suggestion = 1; -inline int GetSuggestionsResponse::suggestion_size() const { - return suggestion_.size(); -} -inline void GetSuggestionsResponse::clear_suggestion() { - suggestion_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubSuggestion& GetSuggestionsResponse::suggestion(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) - return suggestion_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubSuggestion* GetSuggestionsResponse::mutable_suggestion(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) - return suggestion_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubSuggestion* GetSuggestionsResponse::add_suggestion() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) - return suggestion_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion >& -GetSuggestionsResponse::suggestion() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) - return suggestion_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubSuggestion >* -GetSuggestionsResponse::mutable_suggestion() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetSuggestionsResponse.suggestion) - return &suggestion_; -} - -// optional uint64 continuation = 2; -inline bool GetSuggestionsResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetSuggestionsResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetSuggestionsResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetSuggestionsResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetSuggestionsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetSuggestionsResponse.continuation) - return continuation_; -} -inline void GetSuggestionsResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetSuggestionsResponse.continuation) -} - -// ------------------------------------------------------------------- - -// CreateTicketRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool CreateTicketRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateTicketRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateTicketRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateTicketRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& CreateTicketRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateTicketRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateTicketRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void CreateTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool CreateTicketRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateTicketRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateTicketRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateTicketRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 CreateTicketRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketRequest.club_id) - return club_id_; -} -inline void CreateTicketRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateTicketRequest.club_id) -} - -// optional .bgs.protocol.club.v1.CreateTicketOptions options = 3; -inline bool CreateTicketRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateTicketRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateTicketRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateTicketRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateTicketOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateTicketOptions& CreateTicketRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateTicketOptions* CreateTicketRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateTicketOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateTicketRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateTicketOptions* CreateTicketRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateTicketOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void CreateTicketRequest::set_allocated_options(::bgs::protocol::club::v1::CreateTicketOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketRequest.options) -} - -// ------------------------------------------------------------------- - -// CreateTicketResponse - -// optional .bgs.protocol.club.v1.ClubTicket ticket = 1; -inline bool CreateTicketResponse::has_ticket() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateTicketResponse::set_has_ticket() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateTicketResponse::clear_has_ticket() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateTicketResponse::clear_ticket() { - if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::ClubTicket::Clear(); - clear_has_ticket(); -} -inline const ::bgs::protocol::club::v1::ClubTicket& CreateTicketResponse::ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateTicketResponse.ticket) - return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicket* CreateTicketResponse::mutable_ticket() { - set_has_ticket(); - if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::ClubTicket; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateTicketResponse.ticket) - return ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicket* CreateTicketResponse::release_ticket() { - clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicket* temp = ticket_; - ticket_ = NULL; - return temp; -} -inline void CreateTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket) { - delete ticket_; - ticket_ = ticket; - if (ticket) { - set_has_ticket(); - } else { - clear_has_ticket(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateTicketResponse.ticket) -} - -// ------------------------------------------------------------------- - -// DestroyTicketRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DestroyTicketRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DestroyTicketRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DestroyTicketRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DestroyTicketRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DestroyTicketRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyTicketRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyTicketRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyTicketRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DestroyTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyTicketRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DestroyTicketRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DestroyTicketRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DestroyTicketRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DestroyTicketRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DestroyTicketRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyTicketRequest.club_id) - return club_id_; -} -inline void DestroyTicketRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyTicketRequest.club_id) -} - -// optional string ticket_id = 3; -inline bool DestroyTicketRequest::has_ticket_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void DestroyTicketRequest::set_has_ticket_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void DestroyTicketRequest::clear_has_ticket_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void DestroyTicketRequest::clear_ticket_id() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_->clear(); - } - clear_has_ticket_id(); -} -inline const ::std::string& DestroyTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) - return *ticket_id_; -} -inline void DestroyTicketRequest::set_ticket_id(const ::std::string& value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) -} -inline void DestroyTicketRequest::set_ticket_id(const char* value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) -} -inline void DestroyTicketRequest::set_ticket_id(const char* value, size_t size) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) -} -inline ::std::string* DestroyTicketRequest::mutable_ticket_id() { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) - return ticket_id_; -} -inline ::std::string* DestroyTicketRequest::release_ticket_id() { - clear_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = ticket_id_; - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void DestroyTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (ticket_id) { - set_has_ticket_id(); - ticket_id_ = ticket_id; - } else { - clear_has_ticket_id(); - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyTicketRequest.ticket_id) -} - -// ------------------------------------------------------------------- - -// RedeemTicketRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool RedeemTicketRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RedeemTicketRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RedeemTicketRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RedeemTicketRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RedeemTicketRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RedeemTicketRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RedeemTicketRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RedeemTicketRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void RedeemTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RedeemTicketRequest.agent_id) -} - -// optional string ticket_id = 3; -inline bool RedeemTicketRequest::has_ticket_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RedeemTicketRequest::set_has_ticket_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void RedeemTicketRequest::clear_has_ticket_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RedeemTicketRequest::clear_ticket_id() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_->clear(); - } - clear_has_ticket_id(); -} -inline const ::std::string& RedeemTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) - return *ticket_id_; -} -inline void RedeemTicketRequest::set_ticket_id(const ::std::string& value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) -} -inline void RedeemTicketRequest::set_ticket_id(const char* value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) -} -inline void RedeemTicketRequest::set_ticket_id(const char* value, size_t size) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) -} -inline ::std::string* RedeemTicketRequest::mutable_ticket_id() { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) - return ticket_id_; -} -inline ::std::string* RedeemTicketRequest::release_ticket_id() { - clear_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = ticket_id_; - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void RedeemTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (ticket_id) { - set_has_ticket_id(); - ticket_id_ = ticket_id; - } else { - clear_has_ticket_id(); - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RedeemTicketRequest.ticket_id) -} - -// ------------------------------------------------------------------- - -// GetTicketRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetTicketRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetTicketRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetTicketRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetTicketRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetTicketRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetTicketRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetTicketRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketRequest.agent_id) -} - -// optional string ticket_id = 3; -inline bool GetTicketRequest::has_ticket_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetTicketRequest::set_has_ticket_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetTicketRequest::clear_has_ticket_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetTicketRequest::clear_ticket_id() { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_->clear(); - } - clear_has_ticket_id(); -} -inline const ::std::string& GetTicketRequest::ticket_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketRequest.ticket_id) - return *ticket_id_; -} -inline void GetTicketRequest::set_ticket_id(const ::std::string& value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetTicketRequest.ticket_id) -} -inline void GetTicketRequest::set_ticket_id(const char* value) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.GetTicketRequest.ticket_id) -} -inline void GetTicketRequest::set_ticket_id(const char* value, size_t size) { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - ticket_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.GetTicketRequest.ticket_id) -} -inline ::std::string* GetTicketRequest::mutable_ticket_id() { - set_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - ticket_id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketRequest.ticket_id) - return ticket_id_; -} -inline ::std::string* GetTicketRequest::release_ticket_id() { - clear_has_ticket_id(); - if (ticket_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = ticket_id_; - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void GetTicketRequest::set_allocated_ticket_id(::std::string* ticket_id) { - if (ticket_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete ticket_id_; - } - if (ticket_id) { - set_has_ticket_id(); - ticket_id_ = ticket_id; - } else { - clear_has_ticket_id(); - ticket_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketRequest.ticket_id) -} - -// ------------------------------------------------------------------- - -// GetTicketResponse - -// optional .bgs.protocol.club.v1.ClubTicket ticket = 1; -inline bool GetTicketResponse::has_ticket() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetTicketResponse::set_has_ticket() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetTicketResponse::clear_has_ticket() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetTicketResponse::clear_ticket() { - if (ticket_ != NULL) ticket_->::bgs::protocol::club::v1::ClubTicket::Clear(); - clear_has_ticket(); -} -inline const ::bgs::protocol::club::v1::ClubTicket& GetTicketResponse::ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketResponse.ticket) - return ticket_ != NULL ? *ticket_ : *default_instance_->ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicket* GetTicketResponse::mutable_ticket() { - set_has_ticket(); - if (ticket_ == NULL) ticket_ = new ::bgs::protocol::club::v1::ClubTicket; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketResponse.ticket) - return ticket_; -} -inline ::bgs::protocol::club::v1::ClubTicket* GetTicketResponse::release_ticket() { - clear_has_ticket(); - ::bgs::protocol::club::v1::ClubTicket* temp = ticket_; - ticket_ = NULL; - return temp; -} -inline void GetTicketResponse::set_allocated_ticket(::bgs::protocol::club::v1::ClubTicket* ticket) { - delete ticket_; - ticket_ = ticket; - if (ticket) { - set_has_ticket(); - } else { - clear_has_ticket(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketResponse.ticket) -} - -// ------------------------------------------------------------------- - -// GetTicketsRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetTicketsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetTicketsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetTicketsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetTicketsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetTicketsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetTicketsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetTicketsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetTicketsRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetTicketsRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetTicketsRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetTicketsRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetTicketsRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetTicketsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsRequest.club_id) - return club_id_; -} -inline void GetTicketsRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetTicketsRequest.club_id) -} - -// optional uint64 continuation = 3; -inline bool GetTicketsRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetTicketsRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetTicketsRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetTicketsRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetTicketsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsRequest.continuation) - return continuation_; -} -inline void GetTicketsRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetTicketsRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetTicketsResponse - -// repeated .bgs.protocol.club.v1.ClubTicket ticket = 1; -inline int GetTicketsResponse::ticket_size() const { - return ticket_.size(); -} -inline void GetTicketsResponse::clear_ticket() { - ticket_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubTicket& GetTicketsResponse::ticket(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsResponse.ticket) - return ticket_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubTicket* GetTicketsResponse::mutable_ticket(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetTicketsResponse.ticket) - return ticket_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubTicket* GetTicketsResponse::add_ticket() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetTicketsResponse.ticket) - return ticket_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket >& -GetTicketsResponse::ticket() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetTicketsResponse.ticket) - return ticket_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubTicket >* -GetTicketsResponse::mutable_ticket() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetTicketsResponse.ticket) - return &ticket_; -} - -// optional uint64 continuation = 2; -inline bool GetTicketsResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetTicketsResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetTicketsResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetTicketsResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetTicketsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetTicketsResponse.continuation) - return continuation_; -} -inline void GetTicketsResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetTicketsResponse.continuation) -} - -// ------------------------------------------------------------------- - -// AddBanRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AddBanRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AddBanRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AddBanRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AddBanRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AddBanRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddBanRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AddBanRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AddBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AddBanRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AddBanRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AddBanRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AddBanRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AddBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanRequest.club_id) - return club_id_; -} -inline void AddBanRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AddBanRequest.club_id) -} - -// optional .bgs.protocol.club.v1.AddBanOptions options = 3; -inline bool AddBanRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AddBanRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void AddBanRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AddBanRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::AddBanOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::AddBanOptions& AddBanRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AddBanRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::AddBanOptions* AddBanRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::AddBanOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AddBanRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::AddBanOptions* AddBanRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::AddBanOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void AddBanRequest::set_allocated_options(::bgs::protocol::club::v1::AddBanOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AddBanRequest.options) -} - -// ------------------------------------------------------------------- - -// RemoveBanRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool RemoveBanRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RemoveBanRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RemoveBanRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RemoveBanRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveBanRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RemoveBanRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void RemoveBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveBanRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool RemoveBanRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RemoveBanRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void RemoveBanRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RemoveBanRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 RemoveBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveBanRequest.club_id) - return club_id_; -} -inline void RemoveBanRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.RemoveBanRequest.club_id) -} - -// optional .bgs.protocol.club.v1.MemberId target_id = 3; -inline bool RemoveBanRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void RemoveBanRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void RemoveBanRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void RemoveBanRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& RemoveBanRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.RemoveBanRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.RemoveBanRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* RemoveBanRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void RemoveBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.RemoveBanRequest.target_id) -} - -// ------------------------------------------------------------------- - -// GetBanRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetBanRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetBanRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetBanRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetBanRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBanRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBanRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetBanRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetBanRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetBanRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetBanRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetBanRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetBanRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBanRequest.club_id) - return club_id_; -} -inline void GetBanRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetBanRequest.club_id) -} - -// optional .bgs.protocol.club.v1.MemberId target_id = 3; -inline bool GetBanRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetBanRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetBanRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetBanRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetBanRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBanRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBanRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBanRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void GetBanRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanRequest.target_id) -} - -// ------------------------------------------------------------------- - -// GetBanResponse - -// optional .bgs.protocol.club.v1.ClubBan ban = 1; -inline bool GetBanResponse::has_ban() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetBanResponse::set_has_ban() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetBanResponse::clear_has_ban() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetBanResponse::clear_ban() { - if (ban_ != NULL) ban_->::bgs::protocol::club::v1::ClubBan::Clear(); - clear_has_ban(); -} -inline const ::bgs::protocol::club::v1::ClubBan& GetBanResponse::ban() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBanResponse.ban) - return ban_ != NULL ? *ban_ : *default_instance_->ban_; -} -inline ::bgs::protocol::club::v1::ClubBan* GetBanResponse::mutable_ban() { - set_has_ban(); - if (ban_ == NULL) ban_ = new ::bgs::protocol::club::v1::ClubBan; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBanResponse.ban) - return ban_; -} -inline ::bgs::protocol::club::v1::ClubBan* GetBanResponse::release_ban() { - clear_has_ban(); - ::bgs::protocol::club::v1::ClubBan* temp = ban_; - ban_ = NULL; - return temp; -} -inline void GetBanResponse::set_allocated_ban(::bgs::protocol::club::v1::ClubBan* ban) { - delete ban_; - ban_ = ban; - if (ban) { - set_has_ban(); - } else { - clear_has_ban(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBanResponse.ban) -} - -// ------------------------------------------------------------------- - -// GetBansRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetBansRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetBansRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetBansRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetBansRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetBansRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBansRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetBansRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetBansRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetBansRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetBansRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetBansRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetBansRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetBansRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetBansRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansRequest.club_id) - return club_id_; -} -inline void GetBansRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetBansRequest.club_id) -} - -// optional uint64 continuation = 3; -inline bool GetBansRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetBansRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetBansRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetBansRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetBansRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansRequest.continuation) - return continuation_; -} -inline void GetBansRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetBansRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetBansResponse - -// repeated .bgs.protocol.club.v1.ClubBan ban = 1; -inline int GetBansResponse::ban_size() const { - return ban_.size(); -} -inline void GetBansResponse::clear_ban() { - ban_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubBan& GetBansResponse::ban(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansResponse.ban) - return ban_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubBan* GetBansResponse::mutable_ban(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetBansResponse.ban) - return ban_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubBan* GetBansResponse::add_ban() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetBansResponse.ban) - return ban_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan >& -GetBansResponse::ban() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetBansResponse.ban) - return ban_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubBan >* -GetBansResponse::mutable_ban() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetBansResponse.ban) - return &ban_; -} - -// optional uint64 continuation = 2; -inline bool GetBansResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetBansResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetBansResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetBansResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetBansResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetBansResponse.continuation) - return continuation_; -} -inline void GetBansResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetBansResponse.continuation) -} - -// ------------------------------------------------------------------- - -// SubscribeStreamRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SubscribeStreamRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeStreamRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeStreamRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeStreamRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SubscribeStreamRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeStreamRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SubscribeStreamRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SubscribeStreamRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SubscribeStreamRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SubscribeStreamRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscribeStreamRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscribeStreamRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscribeStreamRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SubscribeStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeStreamRequest.club_id) - return club_id_; -} -inline void SubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscribeStreamRequest.club_id) -} - -// repeated uint64 stream_id = 3; -inline int SubscribeStreamRequest::stream_id_size() const { - return stream_id_.size(); -} -inline void SubscribeStreamRequest::clear_stream_id() { - stream_id_.Clear(); -} -inline ::google::protobuf::uint64 SubscribeStreamRequest::stream_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SubscribeStreamRequest.stream_id) - return stream_id_.Get(index); -} -inline void SubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { - stream_id_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SubscribeStreamRequest.stream_id) -} -inline void SubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { - stream_id_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.SubscribeStreamRequest.stream_id) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& -SubscribeStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.SubscribeStreamRequest.stream_id) - return stream_id_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* -SubscribeStreamRequest::mutable_stream_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.SubscribeStreamRequest.stream_id) - return &stream_id_; -} - -// ------------------------------------------------------------------- - -// UnsubscribeStreamRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UnsubscribeStreamRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnsubscribeStreamRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnsubscribeStreamRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnsubscribeStreamRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UnsubscribeStreamRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeStreamRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UnsubscribeStreamRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UnsubscribeStreamRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnsubscribeStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UnsubscribeStreamRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UnsubscribeStreamRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnsubscribeStreamRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnsubscribeStreamRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnsubscribeStreamRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UnsubscribeStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeStreamRequest.club_id) - return club_id_; -} -inline void UnsubscribeStreamRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UnsubscribeStreamRequest.club_id) -} - -// repeated uint64 stream_id = 3; -inline int UnsubscribeStreamRequest::stream_id_size() const { - return stream_id_.size(); -} -inline void UnsubscribeStreamRequest::clear_stream_id() { - stream_id_.Clear(); -} -inline ::google::protobuf::uint64 UnsubscribeStreamRequest::stream_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UnsubscribeStreamRequest.stream_id) - return stream_id_.Get(index); -} -inline void UnsubscribeStreamRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { - stream_id_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UnsubscribeStreamRequest.stream_id) -} -inline void UnsubscribeStreamRequest::add_stream_id(::google::protobuf::uint64 value) { - stream_id_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.UnsubscribeStreamRequest.stream_id) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& -UnsubscribeStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.UnsubscribeStreamRequest.stream_id) - return stream_id_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* -UnsubscribeStreamRequest::mutable_stream_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.UnsubscribeStreamRequest.stream_id) - return &stream_id_; -} - -// ------------------------------------------------------------------- - -// CreateStreamRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool CreateStreamRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateStreamRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateStreamRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateStreamRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& CreateStreamRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateStreamRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void CreateStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool CreateStreamRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateStreamRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateStreamRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateStreamRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 CreateStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamRequest.club_id) - return club_id_; -} -inline void CreateStreamRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamRequest.club_id) -} - -// optional .bgs.protocol.club.v1.CreateStreamOptions options = 3; -inline bool CreateStreamRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateStreamRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateStreamRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateStreamRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateStreamOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateStreamOptions& CreateStreamRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateStreamOptions* CreateStreamRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateStreamOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateStreamOptions* CreateStreamRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateStreamOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void CreateStreamRequest::set_allocated_options(::bgs::protocol::club::v1::CreateStreamOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamRequest.options) -} - -// ------------------------------------------------------------------- - -// CreateStreamResponse - -// optional uint64 club_id = 1; -inline bool CreateStreamResponse::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateStreamResponse::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateStreamResponse::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateStreamResponse::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 CreateStreamResponse::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamResponse.club_id) - return club_id_; -} -inline void CreateStreamResponse::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamResponse.club_id) -} - -// optional uint64 stream_id = 2; -inline bool CreateStreamResponse::has_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateStreamResponse::set_has_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateStreamResponse::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateStreamResponse::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 CreateStreamResponse::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamResponse.stream_id) - return stream_id_; -} -inline void CreateStreamResponse::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamResponse.stream_id) -} - -// ------------------------------------------------------------------- - -// DestroyStreamRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DestroyStreamRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DestroyStreamRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DestroyStreamRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DestroyStreamRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DestroyStreamRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyStreamRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyStreamRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyStreamRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DestroyStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyStreamRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DestroyStreamRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DestroyStreamRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DestroyStreamRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DestroyStreamRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DestroyStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyStreamRequest.club_id) - return club_id_; -} -inline void DestroyStreamRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyStreamRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool DestroyStreamRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void DestroyStreamRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void DestroyStreamRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void DestroyStreamRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 DestroyStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyStreamRequest.stream_id) - return stream_id_; -} -inline void DestroyStreamRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyStreamRequest.stream_id) -} - -// ------------------------------------------------------------------- - -// GetStreamRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetStreamRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetStreamRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetStreamRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetStreamRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamRequest.club_id) - return club_id_; -} -inline void GetStreamRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool GetStreamRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 GetStreamRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamRequest.stream_id) - return stream_id_; -} -inline void GetStreamRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamRequest.stream_id) -} - -// ------------------------------------------------------------------- - -// GetStreamResponse - -// optional .bgs.protocol.club.v1.Stream stream = 1; -inline bool GetStreamResponse::has_stream() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamResponse::set_has_stream() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamResponse::clear_has_stream() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamResponse::clear_stream() { - if (stream_ != NULL) stream_->::bgs::protocol::club::v1::Stream::Clear(); - clear_has_stream(); -} -inline const ::bgs::protocol::club::v1::Stream& GetStreamResponse::stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamResponse.stream) - return stream_ != NULL ? *stream_ : *default_instance_->stream_; -} -inline ::bgs::protocol::club::v1::Stream* GetStreamResponse::mutable_stream() { - set_has_stream(); - if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::Stream; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamResponse.stream) - return stream_; -} -inline ::bgs::protocol::club::v1::Stream* GetStreamResponse::release_stream() { - clear_has_stream(); - ::bgs::protocol::club::v1::Stream* temp = stream_; - stream_ = NULL; - return temp; -} -inline void GetStreamResponse::set_allocated_stream(::bgs::protocol::club::v1::Stream* stream) { - delete stream_; - stream_ = stream; - if (stream) { - set_has_stream(); - } else { - clear_has_stream(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamResponse.stream) -} - -// ------------------------------------------------------------------- - -// GetStreamsRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetStreamsRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamsRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamsRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamsRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetStreamsRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamsRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamsRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamsRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamsRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetStreamsRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamsRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamsRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamsRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetStreamsRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsRequest.club_id) - return club_id_; -} -inline void GetStreamsRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamsRequest.club_id) -} - -// optional uint64 continuation = 3; -inline bool GetStreamsRequest::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamsRequest::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamsRequest::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamsRequest::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetStreamsRequest::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsRequest.continuation) - return continuation_; -} -inline void GetStreamsRequest::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamsRequest.continuation) -} - -// ------------------------------------------------------------------- - -// GetStreamsResponse - -// repeated .bgs.protocol.club.v1.Stream stream = 1; -inline int GetStreamsResponse::stream_size() const { - return stream_.size(); -} -inline void GetStreamsResponse::clear_stream() { - stream_.Clear(); -} -inline const ::bgs::protocol::club::v1::Stream& GetStreamsResponse::stream(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.stream) - return stream_.Get(index); -} -inline ::bgs::protocol::club::v1::Stream* GetStreamsResponse::mutable_stream(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamsResponse.stream) - return stream_.Mutable(index); -} -inline ::bgs::protocol::club::v1::Stream* GetStreamsResponse::add_stream() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamsResponse.stream) - return stream_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream >& -GetStreamsResponse::stream() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamsResponse.stream) - return stream_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::Stream >* -GetStreamsResponse::mutable_stream() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamsResponse.stream) - return &stream_; -} - -// repeated .bgs.protocol.club.v1.StreamView view = 2; -inline int GetStreamsResponse::view_size() const { - return view_.size(); -} -inline void GetStreamsResponse::clear_view() { - view_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamView& GetStreamsResponse::view(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.view) - return view_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamView* GetStreamsResponse::mutable_view(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamsResponse.view) - return view_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamView* GetStreamsResponse::add_view() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamsResponse.view) - return view_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView >& -GetStreamsResponse::view() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamsResponse.view) - return view_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamView >* -GetStreamsResponse::mutable_view() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamsResponse.view) - return &view_; -} - -// optional uint64 continuation = 3; -inline bool GetStreamsResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamsResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamsResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamsResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetStreamsResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamsResponse.continuation) - return continuation_; -} -inline void GetStreamsResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamsResponse.continuation) -} - -// ------------------------------------------------------------------- - -// UpdateStreamStateRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool UpdateStreamStateRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UpdateStreamStateRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UpdateStreamStateRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UpdateStreamStateRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& UpdateStreamStateRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateStreamStateRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* UpdateStreamStateRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UpdateStreamStateRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateStreamStateRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool UpdateStreamStateRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UpdateStreamStateRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UpdateStreamStateRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UpdateStreamStateRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 UpdateStreamStateRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.club_id) - return club_id_; -} -inline void UpdateStreamStateRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateStreamStateRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool UpdateStreamStateRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void UpdateStreamStateRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void UpdateStreamStateRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void UpdateStreamStateRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 UpdateStreamStateRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.stream_id) - return stream_id_; -} -inline void UpdateStreamStateRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UpdateStreamStateRequest.stream_id) -} - -// optional .bgs.protocol.club.v1.StreamStateOptions options = 5; -inline bool UpdateStreamStateRequest::has_options() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void UpdateStreamStateRequest::set_has_options() { - _has_bits_[0] |= 0x00000008u; -} -inline void UpdateStreamStateRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000008u; -} -inline void UpdateStreamStateRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::StreamStateOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::StreamStateOptions& UpdateStreamStateRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UpdateStreamStateRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::StreamStateOptions* UpdateStreamStateRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::StreamStateOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UpdateStreamStateRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::StreamStateOptions* UpdateStreamStateRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::StreamStateOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void UpdateStreamStateRequest::set_allocated_options(::bgs::protocol::club::v1::StreamStateOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UpdateStreamStateRequest.options) -} - -// ------------------------------------------------------------------- - -// SetStreamFocusRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SetStreamFocusRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SetStreamFocusRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SetStreamFocusRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SetStreamFocusRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SetStreamFocusRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SetStreamFocusRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetStreamFocusRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SetStreamFocusRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetStreamFocusRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SetStreamFocusRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SetStreamFocusRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SetStreamFocusRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SetStreamFocusRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SetStreamFocusRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.club_id) - return club_id_; -} -inline void SetStreamFocusRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetStreamFocusRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool SetStreamFocusRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SetStreamFocusRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void SetStreamFocusRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SetStreamFocusRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 SetStreamFocusRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.stream_id) - return stream_id_; -} -inline void SetStreamFocusRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetStreamFocusRequest.stream_id) -} - -// optional bool focus = 4; -inline bool SetStreamFocusRequest::has_focus() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void SetStreamFocusRequest::set_has_focus() { - _has_bits_[0] |= 0x00000008u; -} -inline void SetStreamFocusRequest::clear_has_focus() { - _has_bits_[0] &= ~0x00000008u; -} -inline void SetStreamFocusRequest::clear_focus() { - focus_ = false; - clear_has_focus(); -} -inline bool SetStreamFocusRequest::focus() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetStreamFocusRequest.focus) - return focus_; -} -inline void SetStreamFocusRequest::set_focus(bool value) { - set_has_focus(); - focus_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetStreamFocusRequest.focus) -} - -// ------------------------------------------------------------------- - -// CreateMessageRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool CreateMessageRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateMessageRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateMessageRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateMessageRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& CreateMessageRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* CreateMessageRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void CreateMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool CreateMessageRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateMessageRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateMessageRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateMessageRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 CreateMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.club_id) - return club_id_; -} -inline void CreateMessageRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMessageRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool CreateMessageRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateMessageRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateMessageRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateMessageRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 CreateMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.stream_id) - return stream_id_; -} -inline void CreateMessageRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMessageRequest.stream_id) -} - -// optional .bgs.protocol.club.v1.CreateMessageOptions options = 4; -inline bool CreateMessageRequest::has_options() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void CreateMessageRequest::set_has_options() { - _has_bits_[0] |= 0x00000008u; -} -inline void CreateMessageRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000008u; -} -inline void CreateMessageRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateMessageOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateMessageOptions& CreateMessageRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateMessageOptions* CreateMessageRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateMessageOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateMessageOptions* CreateMessageRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateMessageOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void CreateMessageRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageRequest.options) -} - -// ------------------------------------------------------------------- - -// CreateMessageResponse - -// optional .bgs.protocol.club.v1.StreamMessage message = 1; -inline bool CreateMessageResponse::has_message() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateMessageResponse::set_has_message() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateMessageResponse::clear_has_message() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateMessageResponse::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& CreateMessageResponse::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageResponse.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* CreateMessageResponse::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageResponse.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* CreateMessageResponse::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void CreateMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageResponse.message) -} - -// ------------------------------------------------------------------- - -// DestroyMessageRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool DestroyMessageRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DestroyMessageRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void DestroyMessageRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DestroyMessageRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& DestroyMessageRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyMessageRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* DestroyMessageRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void DestroyMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool DestroyMessageRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void DestroyMessageRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void DestroyMessageRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void DestroyMessageRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 DestroyMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.club_id) - return club_id_; -} -inline void DestroyMessageRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyMessageRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool DestroyMessageRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void DestroyMessageRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void DestroyMessageRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void DestroyMessageRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 DestroyMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.stream_id) - return stream_id_; -} -inline void DestroyMessageRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.DestroyMessageRequest.stream_id) -} - -// optional .bgs.protocol.MessageId message_id = 4; -inline bool DestroyMessageRequest::has_message_id() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void DestroyMessageRequest::set_has_message_id() { - _has_bits_[0] |= 0x00000008u; -} -inline void DestroyMessageRequest::clear_has_message_id() { - _has_bits_[0] &= ~0x00000008u; -} -inline void DestroyMessageRequest::clear_message_id() { - if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); - clear_has_message_id(); -} -inline const ::bgs::protocol::MessageId& DestroyMessageRequest::message_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageRequest.message_id) - return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; -} -inline ::bgs::protocol::MessageId* DestroyMessageRequest::mutable_message_id() { - set_has_message_id(); - if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyMessageRequest.message_id) - return message_id_; -} -inline ::bgs::protocol::MessageId* DestroyMessageRequest::release_message_id() { - clear_has_message_id(); - ::bgs::protocol::MessageId* temp = message_id_; - message_id_ = NULL; - return temp; -} -inline void DestroyMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { - delete message_id_; - message_id_ = message_id; - if (message_id) { - set_has_message_id(); - } else { - clear_has_message_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageRequest.message_id) -} - -// ------------------------------------------------------------------- - -// DestroyMessageResponse - -// optional .bgs.protocol.club.v1.StreamMessage message = 1; -inline bool DestroyMessageResponse::has_message() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void DestroyMessageResponse::set_has_message() { - _has_bits_[0] |= 0x00000001u; -} -inline void DestroyMessageResponse::clear_has_message() { - _has_bits_[0] &= ~0x00000001u; -} -inline void DestroyMessageResponse::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& DestroyMessageResponse::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.DestroyMessageResponse.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* DestroyMessageResponse::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.DestroyMessageResponse.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* DestroyMessageResponse::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void DestroyMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.DestroyMessageResponse.message) -} - -// ------------------------------------------------------------------- - -// EditMessageRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool EditMessageRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EditMessageRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void EditMessageRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EditMessageRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& EditMessageRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.EditMessageRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* EditMessageRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void EditMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool EditMessageRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EditMessageRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void EditMessageRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void EditMessageRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 EditMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.club_id) - return club_id_; -} -inline void EditMessageRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.EditMessageRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool EditMessageRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void EditMessageRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void EditMessageRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void EditMessageRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 EditMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.stream_id) - return stream_id_; -} -inline void EditMessageRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.EditMessageRequest.stream_id) -} - -// optional .bgs.protocol.MessageId message_id = 4; -inline bool EditMessageRequest::has_message_id() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void EditMessageRequest::set_has_message_id() { - _has_bits_[0] |= 0x00000008u; -} -inline void EditMessageRequest::clear_has_message_id() { - _has_bits_[0] &= ~0x00000008u; -} -inline void EditMessageRequest::clear_message_id() { - if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); - clear_has_message_id(); -} -inline const ::bgs::protocol::MessageId& EditMessageRequest::message_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.message_id) - return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; -} -inline ::bgs::protocol::MessageId* EditMessageRequest::mutable_message_id() { - set_has_message_id(); - if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.EditMessageRequest.message_id) - return message_id_; -} -inline ::bgs::protocol::MessageId* EditMessageRequest::release_message_id() { - clear_has_message_id(); - ::bgs::protocol::MessageId* temp = message_id_; - message_id_ = NULL; - return temp; -} -inline void EditMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { - delete message_id_; - message_id_ = message_id; - if (message_id) { - set_has_message_id(); - } else { - clear_has_message_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.message_id) -} - -// optional .bgs.protocol.club.v1.CreateMessageOptions options = 5; -inline bool EditMessageRequest::has_options() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void EditMessageRequest::set_has_options() { - _has_bits_[0] |= 0x00000010u; -} -inline void EditMessageRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000010u; -} -inline void EditMessageRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::club::v1::CreateMessageOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::club::v1::CreateMessageOptions& EditMessageRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::club::v1::CreateMessageOptions* EditMessageRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::club::v1::CreateMessageOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.EditMessageRequest.options) - return options_; -} -inline ::bgs::protocol::club::v1::CreateMessageOptions* EditMessageRequest::release_options() { - clear_has_options(); - ::bgs::protocol::club::v1::CreateMessageOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void EditMessageRequest::set_allocated_options(::bgs::protocol::club::v1::CreateMessageOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageRequest.options) -} - -// ------------------------------------------------------------------- - -// EditMessageResponse - -// optional .bgs.protocol.club.v1.StreamMessage message = 1; -inline bool EditMessageResponse::has_message() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EditMessageResponse::set_has_message() { - _has_bits_[0] |= 0x00000001u; -} -inline void EditMessageResponse::clear_has_message() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EditMessageResponse::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& EditMessageResponse::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.EditMessageResponse.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* EditMessageResponse::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.EditMessageResponse.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* EditMessageResponse::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void EditMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.EditMessageResponse.message) -} - -// ------------------------------------------------------------------- - -// SetMessagePinnedRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SetMessagePinnedRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SetMessagePinnedRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SetMessagePinnedRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SetMessagePinnedRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SetMessagePinnedRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetMessagePinnedRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SetMessagePinnedRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetMessagePinnedRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SetMessagePinnedRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetMessagePinnedRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SetMessagePinnedRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SetMessagePinnedRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SetMessagePinnedRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SetMessagePinnedRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SetMessagePinnedRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetMessagePinnedRequest.club_id) - return club_id_; -} -inline void SetMessagePinnedRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetMessagePinnedRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool SetMessagePinnedRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SetMessagePinnedRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void SetMessagePinnedRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SetMessagePinnedRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 SetMessagePinnedRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetMessagePinnedRequest.stream_id) - return stream_id_; -} -inline void SetMessagePinnedRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetMessagePinnedRequest.stream_id) -} - -// ------------------------------------------------------------------- - -// SetTypingIndicatorRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool SetTypingIndicatorRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SetTypingIndicatorRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SetTypingIndicatorRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SetTypingIndicatorRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& SetTypingIndicatorRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SetTypingIndicatorRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* SetTypingIndicatorRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SetTypingIndicatorRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetTypingIndicatorRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool SetTypingIndicatorRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SetTypingIndicatorRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SetTypingIndicatorRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SetTypingIndicatorRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 SetTypingIndicatorRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.club_id) - return club_id_; -} -inline void SetTypingIndicatorRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetTypingIndicatorRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool SetTypingIndicatorRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void SetTypingIndicatorRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void SetTypingIndicatorRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void SetTypingIndicatorRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 SetTypingIndicatorRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.stream_id) - return stream_id_; -} -inline void SetTypingIndicatorRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetTypingIndicatorRequest.stream_id) -} - -// optional .bgs.protocol.TypingIndicator indicator = 4; -inline bool SetTypingIndicatorRequest::has_indicator() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void SetTypingIndicatorRequest::set_has_indicator() { - _has_bits_[0] |= 0x00000008u; -} -inline void SetTypingIndicatorRequest::clear_has_indicator() { - _has_bits_[0] &= ~0x00000008u; -} -inline void SetTypingIndicatorRequest::clear_indicator() { - indicator_ = 0; - clear_has_indicator(); -} -inline ::bgs::protocol::TypingIndicator SetTypingIndicatorRequest::indicator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetTypingIndicatorRequest.indicator) - return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); -} -inline void SetTypingIndicatorRequest::set_indicator(::bgs::protocol::TypingIndicator value) { - assert(::bgs::protocol::TypingIndicator_IsValid(value)); - set_has_indicator(); - indicator_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetTypingIndicatorRequest.indicator) -} - -// ------------------------------------------------------------------- - -// AdvanceStreamViewTimeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AdvanceStreamViewTimeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AdvanceStreamViewTimeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AdvanceStreamViewTimeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AdvanceStreamViewTimeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamViewTimeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamViewTimeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AdvanceStreamViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AdvanceStreamViewTimeRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AdvanceStreamViewTimeRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AdvanceStreamViewTimeRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AdvanceStreamViewTimeRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.club_id) - return club_id_; -} -inline void AdvanceStreamViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.club_id) -} - -// optional uint64 stream_id_deprecated = 3 [deprecated = true]; -inline bool AdvanceStreamViewTimeRequest::has_stream_id_deprecated() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AdvanceStreamViewTimeRequest::set_has_stream_id_deprecated() { - _has_bits_[0] |= 0x00000004u; -} -inline void AdvanceStreamViewTimeRequest::clear_has_stream_id_deprecated() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AdvanceStreamViewTimeRequest::clear_stream_id_deprecated() { - stream_id_deprecated_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id_deprecated(); -} -inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id_deprecated() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id_deprecated) - return stream_id_deprecated_; -} -inline void AdvanceStreamViewTimeRequest::set_stream_id_deprecated(::google::protobuf::uint64 value) { - set_has_stream_id_deprecated(); - stream_id_deprecated_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id_deprecated) -} - -// repeated uint64 stream_id = 4 [packed = true]; -inline int AdvanceStreamViewTimeRequest::stream_id_size() const { - return stream_id_.size(); -} -inline void AdvanceStreamViewTimeRequest::clear_stream_id() { - stream_id_.Clear(); -} -inline ::google::protobuf::uint64 AdvanceStreamViewTimeRequest::stream_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id) - return stream_id_.Get(index); -} -inline void AdvanceStreamViewTimeRequest::set_stream_id(int index, ::google::protobuf::uint64 value) { - stream_id_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id) -} -inline void AdvanceStreamViewTimeRequest::add_stream_id(::google::protobuf::uint64 value) { - stream_id_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& -AdvanceStreamViewTimeRequest::stream_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id) - return stream_id_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* -AdvanceStreamViewTimeRequest::mutable_stream_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.AdvanceStreamViewTimeRequest.stream_id) - return &stream_id_; -} - -// ------------------------------------------------------------------- - -// AdvanceStreamMentionViewTimeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AdvanceStreamMentionViewTimeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AdvanceStreamMentionViewTimeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AdvanceStreamMentionViewTimeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceStreamMentionViewTimeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AdvanceStreamMentionViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AdvanceStreamMentionViewTimeRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AdvanceStreamMentionViewTimeRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.club_id) - return club_id_; -} -inline void AdvanceStreamMentionViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool AdvanceStreamMentionViewTimeRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AdvanceStreamMentionViewTimeRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AdvanceStreamMentionViewTimeRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 AdvanceStreamMentionViewTimeRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.stream_id) - return stream_id_; -} -inline void AdvanceStreamMentionViewTimeRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceStreamMentionViewTimeRequest.stream_id) -} - -// ------------------------------------------------------------------- - -// AdvanceActivityViewTimeRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool AdvanceActivityViewTimeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void AdvanceActivityViewTimeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void AdvanceActivityViewTimeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void AdvanceActivityViewTimeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& AdvanceActivityViewTimeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* AdvanceActivityViewTimeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AdvanceActivityViewTimeRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool AdvanceActivityViewTimeRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AdvanceActivityViewTimeRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AdvanceActivityViewTimeRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AdvanceActivityViewTimeRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 AdvanceActivityViewTimeRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.club_id) - return club_id_; -} -inline void AdvanceActivityViewTimeRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AdvanceActivityViewTimeRequest.club_id) -} - -// ------------------------------------------------------------------- - -// GetStreamHistoryRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetStreamHistoryRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamHistoryRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamHistoryRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamHistoryRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetStreamHistoryRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamHistoryRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamHistoryRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamHistoryRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamHistoryRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetStreamHistoryRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamHistoryRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamHistoryRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamHistoryRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetStreamHistoryRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.club_id) - return club_id_; -} -inline void GetStreamHistoryRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamHistoryRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool GetStreamHistoryRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamHistoryRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamHistoryRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamHistoryRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 GetStreamHistoryRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.stream_id) - return stream_id_; -} -inline void GetStreamHistoryRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamHistoryRequest.stream_id) -} - -// optional .bgs.protocol.GetEventOptions options = 4; -inline bool GetStreamHistoryRequest::has_options() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void GetStreamHistoryRequest::set_has_options() { - _has_bits_[0] |= 0x00000008u; -} -inline void GetStreamHistoryRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000008u; -} -inline void GetStreamHistoryRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::GetEventOptions& GetStreamHistoryRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamHistoryRequest.options) - return options_; -} -inline ::bgs::protocol::GetEventOptions* GetStreamHistoryRequest::release_options() { - clear_has_options(); - ::bgs::protocol::GetEventOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void GetStreamHistoryRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamHistoryRequest.options) -} - -// ------------------------------------------------------------------- - -// GetStreamHistoryResponse - -// repeated .bgs.protocol.club.v1.StreamMessage message = 1; -inline int GetStreamHistoryResponse::message_size() const { - return message_.size(); -} -inline void GetStreamHistoryResponse::clear_message() { - message_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& GetStreamHistoryResponse::message(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryResponse.message) - return message_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamMessage* GetStreamHistoryResponse::mutable_message(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamHistoryResponse.message) - return message_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamMessage* GetStreamHistoryResponse::add_message() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.GetStreamHistoryResponse.message) - return message_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >& -GetStreamHistoryResponse::message() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.GetStreamHistoryResponse.message) - return message_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* -GetStreamHistoryResponse::mutable_message() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.GetStreamHistoryResponse.message) - return &message_; -} - -// optional uint64 continuation = 2; -inline bool GetStreamHistoryResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamHistoryResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamHistoryResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamHistoryResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetStreamHistoryResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamHistoryResponse.continuation) - return continuation_; -} -inline void GetStreamHistoryResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamHistoryResponse.continuation) -} - -// ------------------------------------------------------------------- - -// GetStreamMessageRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetStreamMessageRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamMessageRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamMessageRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamMessageRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetStreamMessageRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamMessageRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamMessageRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamMessageRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetStreamMessageRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamMessageRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamMessageRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamMessageRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetStreamMessageRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.club_id) - return club_id_; -} -inline void GetStreamMessageRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamMessageRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool GetStreamMessageRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamMessageRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamMessageRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamMessageRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 GetStreamMessageRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.stream_id) - return stream_id_; -} -inline void GetStreamMessageRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamMessageRequest.stream_id) -} - -// optional .bgs.protocol.MessageId message_id = 4; -inline bool GetStreamMessageRequest::has_message_id() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void GetStreamMessageRequest::set_has_message_id() { - _has_bits_[0] |= 0x00000008u; -} -inline void GetStreamMessageRequest::clear_has_message_id() { - _has_bits_[0] &= ~0x00000008u; -} -inline void GetStreamMessageRequest::clear_message_id() { - if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); - clear_has_message_id(); -} -inline const ::bgs::protocol::MessageId& GetStreamMessageRequest::message_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageRequest.message_id) - return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; -} -inline ::bgs::protocol::MessageId* GetStreamMessageRequest::mutable_message_id() { - set_has_message_id(); - if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamMessageRequest.message_id) - return message_id_; -} -inline ::bgs::protocol::MessageId* GetStreamMessageRequest::release_message_id() { - clear_has_message_id(); - ::bgs::protocol::MessageId* temp = message_id_; - message_id_ = NULL; - return temp; -} -inline void GetStreamMessageRequest::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { - delete message_id_; - message_id_ = message_id; - if (message_id) { - set_has_message_id(); - } else { - clear_has_message_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageRequest.message_id) -} - -// ------------------------------------------------------------------- - -// GetStreamMessageResponse - -// optional .bgs.protocol.club.v1.StreamMessage message = 1; -inline bool GetStreamMessageResponse::has_message() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamMessageResponse::set_has_message() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamMessageResponse::clear_has_message() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamMessageResponse::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& GetStreamMessageResponse::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamMessageResponse.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* GetStreamMessageResponse::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamMessageResponse.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* GetStreamMessageResponse::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void GetStreamMessageResponse::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamMessageResponse.message) -} - -// ------------------------------------------------------------------- - -// GetClubActivityRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetClubActivityRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetClubActivityRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetClubActivityRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetClubActivityRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetClubActivityRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubActivityRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetClubActivityRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetClubActivityRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubActivityRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetClubActivityRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetClubActivityRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetClubActivityRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetClubActivityRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetClubActivityRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityRequest.club_id) - return club_id_; -} -inline void GetClubActivityRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetClubActivityRequest.club_id) -} - -// optional .bgs.protocol.GetEventOptions options = 3; -inline bool GetClubActivityRequest::has_options() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetClubActivityRequest::set_has_options() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetClubActivityRequest::clear_has_options() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetClubActivityRequest::clear_options() { - if (options_ != NULL) options_->::bgs::protocol::GetEventOptions::Clear(); - clear_has_options(); -} -inline const ::bgs::protocol::GetEventOptions& GetClubActivityRequest::options() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityRequest.options) - return options_ != NULL ? *options_ : *default_instance_->options_; -} -inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::mutable_options() { - set_has_options(); - if (options_ == NULL) options_ = new ::bgs::protocol::GetEventOptions; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetClubActivityRequest.options) - return options_; -} -inline ::bgs::protocol::GetEventOptions* GetClubActivityRequest::release_options() { - clear_has_options(); - ::bgs::protocol::GetEventOptions* temp = options_; - options_ = NULL; - return temp; -} -inline void GetClubActivityRequest::set_allocated_options(::bgs::protocol::GetEventOptions* options) { - delete options_; - options_ = options; - if (options) { - set_has_options(); - } else { - clear_has_options(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetClubActivityRequest.options) -} - -// ------------------------------------------------------------------- - -// GetClubActivityResponse - -// optional uint64 continuation = 2; -inline bool GetClubActivityResponse::has_continuation() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetClubActivityResponse::set_has_continuation() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetClubActivityResponse::clear_has_continuation() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetClubActivityResponse::clear_continuation() { - continuation_ = GOOGLE_ULONGLONG(0); - clear_has_continuation(); -} -inline ::google::protobuf::uint64 GetClubActivityResponse::continuation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetClubActivityResponse.continuation) - return continuation_; -} -inline void GetClubActivityResponse::set_continuation(::google::protobuf::uint64 value) { - set_has_continuation(); - continuation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetClubActivityResponse.continuation) -} - -// ------------------------------------------------------------------- - -// GetStreamVoiceTokenRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool GetStreamVoiceTokenRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamVoiceTokenRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamVoiceTokenRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamVoiceTokenRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& GetStreamVoiceTokenRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* GetStreamVoiceTokenRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void GetStreamVoiceTokenRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool GetStreamVoiceTokenRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamVoiceTokenRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamVoiceTokenRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamVoiceTokenRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.club_id) - return club_id_; -} -inline void GetStreamVoiceTokenRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool GetStreamVoiceTokenRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetStreamVoiceTokenRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetStreamVoiceTokenRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetStreamVoiceTokenRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 GetStreamVoiceTokenRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.stream_id) - return stream_id_; -} -inline void GetStreamVoiceTokenRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.stream_id) -} - -// optional uint32 version = 4; -inline bool GetStreamVoiceTokenRequest::has_version() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void GetStreamVoiceTokenRequest::set_has_version() { - _has_bits_[0] |= 0x00000008u; -} -inline void GetStreamVoiceTokenRequest::clear_has_version() { - _has_bits_[0] &= ~0x00000008u; -} -inline void GetStreamVoiceTokenRequest::clear_version() { - version_ = 0u; - clear_has_version(); -} -inline ::google::protobuf::uint32 GetStreamVoiceTokenRequest::version() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.version) - return version_; -} -inline void GetStreamVoiceTokenRequest::set_version(::google::protobuf::uint32 value) { - set_has_version(); - version_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamVoiceTokenRequest.version) -} - -// ------------------------------------------------------------------- - -// GetStreamVoiceTokenResponse - -// optional string channel_uri = 1; -inline bool GetStreamVoiceTokenResponse::has_channel_uri() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetStreamVoiceTokenResponse::set_has_channel_uri() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetStreamVoiceTokenResponse::clear_has_channel_uri() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetStreamVoiceTokenResponse::clear_channel_uri() { - if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_uri_->clear(); - } - clear_has_channel_uri(); -} -inline const ::std::string& GetStreamVoiceTokenResponse::channel_uri() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) - return *channel_uri_; -} -inline void GetStreamVoiceTokenResponse::set_channel_uri(const ::std::string& value) { - set_has_channel_uri(); - if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_uri_ = new ::std::string; - } - channel_uri_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) -} -inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value) { - set_has_channel_uri(); - if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_uri_ = new ::std::string; - } - channel_uri_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) -} -inline void GetStreamVoiceTokenResponse::set_channel_uri(const char* value, size_t size) { - set_has_channel_uri(); - if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_uri_ = new ::std::string; - } - channel_uri_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) -} -inline ::std::string* GetStreamVoiceTokenResponse::mutable_channel_uri() { - set_has_channel_uri(); - if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - channel_uri_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) - return channel_uri_; -} -inline ::std::string* GetStreamVoiceTokenResponse::release_channel_uri() { - clear_has_channel_uri(); - if (channel_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = channel_uri_; - channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void GetStreamVoiceTokenResponse::set_allocated_channel_uri(::std::string* channel_uri) { - if (channel_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete channel_uri_; - } - if (channel_uri) { - set_has_channel_uri(); - channel_uri_ = channel_uri; - } else { - clear_has_channel_uri(); - channel_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.channel_uri) -} - -// optional .bgs.protocol.VoiceCredentials credentials = 2; -inline bool GetStreamVoiceTokenResponse::has_credentials() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetStreamVoiceTokenResponse::set_has_credentials() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetStreamVoiceTokenResponse::clear_has_credentials() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetStreamVoiceTokenResponse::clear_credentials() { - if (credentials_ != NULL) credentials_->::bgs::protocol::VoiceCredentials::Clear(); - clear_has_credentials(); -} -inline const ::bgs::protocol::VoiceCredentials& GetStreamVoiceTokenResponse::credentials() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.credentials) - return credentials_ != NULL ? *credentials_ : *default_instance_->credentials_; -} -inline ::bgs::protocol::VoiceCredentials* GetStreamVoiceTokenResponse::mutable_credentials() { - set_has_credentials(); - if (credentials_ == NULL) credentials_ = new ::bgs::protocol::VoiceCredentials; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.credentials) - return credentials_; -} -inline ::bgs::protocol::VoiceCredentials* GetStreamVoiceTokenResponse::release_credentials() { - clear_has_credentials(); - ::bgs::protocol::VoiceCredentials* temp = credentials_; - credentials_ = NULL; - return temp; -} -inline void GetStreamVoiceTokenResponse::set_allocated_credentials(::bgs::protocol::VoiceCredentials* credentials) { - delete credentials_; - credentials_ = credentials; - if (credentials) { - set_has_credentials(); - } else { - clear_has_credentials(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.GetStreamVoiceTokenResponse.credentials) -} - -// ------------------------------------------------------------------- - -// KickFromStreamVoiceRequest - -// optional .bgs.protocol.club.v1.MemberId agent_id = 1; -inline bool KickFromStreamVoiceRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void KickFromStreamVoiceRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void KickFromStreamVoiceRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void KickFromStreamVoiceRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.KickFromStreamVoiceRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::club::v1::MemberId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void KickFromStreamVoiceRequest::set_allocated_agent_id(::bgs::protocol::club::v1::MemberId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickFromStreamVoiceRequest.agent_id) -} - -// optional uint64 club_id = 2; -inline bool KickFromStreamVoiceRequest::has_club_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void KickFromStreamVoiceRequest::set_has_club_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void KickFromStreamVoiceRequest::clear_has_club_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void KickFromStreamVoiceRequest::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.club_id) - return club_id_; -} -inline void KickFromStreamVoiceRequest::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.KickFromStreamVoiceRequest.club_id) -} - -// optional uint64 stream_id = 3; -inline bool KickFromStreamVoiceRequest::has_stream_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void KickFromStreamVoiceRequest::set_has_stream_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void KickFromStreamVoiceRequest::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void KickFromStreamVoiceRequest::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 KickFromStreamVoiceRequest::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.stream_id) - return stream_id_; -} -inline void KickFromStreamVoiceRequest::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.KickFromStreamVoiceRequest.stream_id) -} - -// optional .bgs.protocol.club.v1.MemberId target_id = 4; -inline bool KickFromStreamVoiceRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void KickFromStreamVoiceRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000008u; -} -inline void KickFromStreamVoiceRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000008u; -} -inline void KickFromStreamVoiceRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& KickFromStreamVoiceRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.KickFromStreamVoiceRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.KickFromStreamVoiceRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::club::v1::MemberId* KickFromStreamVoiceRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::club::v1::MemberId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void KickFromStreamVoiceRequest::set_allocated_target_id(::bgs::protocol::club::v1::MemberId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.KickFromStreamVoiceRequest.target_id) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5frequest_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_role.pb.cc b/src/server/proto/Client/club_role.pb.cc deleted file mode 100644 index 90e06b87705..00000000000 --- a/src/server/proto/Client/club_role.pb.cc +++ /dev/null @@ -1,587 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_role.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_role.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* ClubPrivilegeSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubPrivilegeSet_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubRole_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubRole_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubRoleSet_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubRoleSet_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5frole_2eproto() { - protobuf_AddDesc_club_5frole_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_role.proto"); - GOOGLE_CHECK(file != NULL); - ClubPrivilegeSet_descriptor_ = file->message_type(0); - static const int ClubPrivilegeSet_offsets_[49] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_avatar_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_broadcast_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_privacy_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_kick_member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_voice_state_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_presence_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_whisper_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_own_member_note_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_other_member_note_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_use_voice_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_voice_mute_member_for_all_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_send_guest_invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_own_invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_revoke_other_invitation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_suggestion_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_suggest_member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_approve_member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ticket_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_ticket_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_ticket_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_get_ban_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_add_ban_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_remove_ban_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_stream_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_position_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_subject_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_set_stream_voice_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_create_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_own_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_destroy_other_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_edit_own_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_pin_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_all_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_here_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_member_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, can_mention_role_), - }; - ClubPrivilegeSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubPrivilegeSet_descriptor_, - ClubPrivilegeSet::default_instance_, - ClubPrivilegeSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubPrivilegeSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubPrivilegeSet)); - ClubRole_descriptor_ = file->message_type(1); - static const int ClubRole_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, state_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, privilege_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, always_grant_stream_access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, allow_in_club_slot_), - }; - ClubRole_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubRole_descriptor_, - ClubRole::default_instance_, - ClubRole_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRole, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubRole)); - ClubRoleSet_descriptor_ = file->message_type(2); - static const int ClubRoleSet_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, default_role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, assignment_respects_relegation_chain_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, subtype_), - }; - ClubRoleSet_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubRoleSet_descriptor_, - ClubRoleSet::default_instance_, - ClubRoleSet_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubRoleSet, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubRoleSet)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5frole_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubPrivilegeSet_descriptor_, &ClubPrivilegeSet::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubRole_descriptor_, &ClubRole::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubRoleSet_descriptor_, &ClubRoleSet::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5frole_2eproto() { - delete ClubPrivilegeSet::default_instance_; - delete ClubPrivilegeSet_reflection_; - delete ClubRole::default_instance_; - delete ClubRole_reflection_; - delete ClubRoleSet::default_instance_; - delete ClubRoleSet_reflection_; -} - -void protobuf_AddDesc_club_5frole_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_role_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\017club_role.proto\022\024bgs.protocol.club.v1\032" - "\020role_types.proto\"\307\013\n\020ClubPrivilegeSet\022\023" - "\n\013can_destroy\030\001 \001(\010\022\031\n\021can_set_attribute" - "\030\n \001(\010\022\024\n\014can_set_name\030\013 \001(\010\022\033\n\023can_set_" - "description\030\014 \001(\010\022\026\n\016can_set_avatar\030\r \001(" - "\010\022\031\n\021can_set_broadcast\030\016 \001(\010\022\035\n\025can_set_" - "privacy_level\030\017 \001(\010\022\026\n\016can_add_member\030\035 " - "\001(\010\022\027\n\017can_kick_member\030\036 \001(\010\022$\n\034can_set_" - "own_member_attribute\030\037 \001(\010\022&\n\036can_set_ot" - "her_member_attribute\030 \001(\010\022\037\n\027can_set_ow" - "n_voice_state\030! \001(\010\022\"\n\032can_set_own_prese" - "nce_level\030\" \001(\010\022!\n\031can_set_own_whisper_l" - "evel\030# \001(\010\022\037\n\027can_set_own_member_note\030$ " - "\001(\010\022!\n\031can_set_other_member_note\030% \001(\010\022\025" - "\n\rcan_use_voice\0302 \001(\010\022%\n\035can_voice_mute_" - "member_for_all\0303 \001(\010\022\032\n\022can_get_invitati" - "on\030F \001(\010\022\033\n\023can_send_invitation\030G \001(\010\022!\n" - "\031can_send_guest_invitation\030H \001(\010\022!\n\031can_" - "revoke_own_invitation\030I \001(\010\022#\n\033can_revok" - "e_other_invitation\030J \001(\010\022\032\n\022can_get_sugg" - "estion\030Z \001(\010\022\032\n\022can_suggest_member\030[ \001(\010" - "\022\032\n\022can_approve_member\030\\ \001(\010\022\026\n\016can_get_" - "ticket\030n \001(\010\022\031\n\021can_create_ticket\030o \001(\010\022" - "\032\n\022can_destroy_ticket\030p \001(\010\022\024\n\013can_get_b" - "an\030\202\001 \001(\010\022\024\n\013can_add_ban\030\203\001 \001(\010\022\027\n\016can_r" - "emove_ban\030\204\001 \001(\010\022\032\n\021can_create_stream\030\214\001" - " \001(\010\022\033\n\022can_destroy_stream\030\215\001 \001(\010\022 \n\027can" - "_set_stream_position\030\216\001 \001(\010\022!\n\030can_set_s" - "tream_attribute\030\217\001 \001(\010\022\034\n\023can_set_stream" - "_name\030\220\001 \001(\010\022\037\n\026can_set_stream_subject\030\221" - "\001 \001(\010\022\036\n\025can_set_stream_access\030\222\001 \001(\010\022#\n" - "\032can_set_stream_voice_level\030\223\001 \001(\010\022\033\n\022ca" - "n_create_message\030\264\001 \001(\010\022 \n\027can_destroy_o" - "wn_message\030\265\001 \001(\010\022\"\n\031can_destroy_other_m" - "essage\030\266\001 \001(\010\022\035\n\024can_edit_own_message\030\267\001" - " \001(\010\022\030\n\017can_pin_message\030\270\001 \001(\010\022\030\n\017can_me" - "ntion_all\030\271\001 \001(\010\022\031\n\020can_mention_here\030\272\001 " - "\001(\010\022\033\n\022can_mention_member\030\273\001 \001(\010\022\031\n\020can_" - "mention_role\030\274\001 \001(\010\"\271\001\n\010ClubRole\022\n\n\002id\030\001" - " \001(\r\022&\n\005state\030\002 \001(\0132\027.bgs.protocol.RoleS" - "tate\0229\n\tprivilege\030\003 \001(\0132&.bgs.protocol.c" - "lub.v1.ClubPrivilegeSet\022\"\n\032always_grant_" - "stream_access\030\004 \001(\010\022\032\n\022allow_in_club_slo" - "t\030\005 \001(\010\"\224\001\n\013ClubRoleSet\022,\n\004role\030\001 \003(\0132\036." - "bgs.protocol.club.v1.ClubRole\022\030\n\014default" - "_role\030\005 \003(\rB\002\020\001\022,\n$assignment_respects_r" - "elegation_chain\030\006 \001(\010\022\017\n\007subtype\030\007 \001(\tB\002" - "H\002", 1882); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_role.proto", &protobuf_RegisterTypes); - ClubPrivilegeSet::default_instance_ = new ClubPrivilegeSet(); - ClubRole::default_instance_ = new ClubRole(); - ClubRoleSet::default_instance_ = new ClubRoleSet(); - ClubPrivilegeSet::default_instance_->InitAsDefaultInstance(); - ClubRole::default_instance_->InitAsDefaultInstance(); - ClubRoleSet::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5frole_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5frole_2eproto { - StaticDescriptorInitializer_club_5frole_2eproto() { - protobuf_AddDesc_club_5frole_2eproto(); - } -} static_descriptor_initializer_club_5frole_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ClubPrivilegeSet::kCanDestroyFieldNumber; -const int ClubPrivilegeSet::kCanSetAttributeFieldNumber; -const int ClubPrivilegeSet::kCanSetNameFieldNumber; -const int ClubPrivilegeSet::kCanSetDescriptionFieldNumber; -const int ClubPrivilegeSet::kCanSetAvatarFieldNumber; -const int ClubPrivilegeSet::kCanSetBroadcastFieldNumber; -const int ClubPrivilegeSet::kCanSetPrivacyLevelFieldNumber; -const int ClubPrivilegeSet::kCanAddMemberFieldNumber; -const int ClubPrivilegeSet::kCanKickMemberFieldNumber; -const int ClubPrivilegeSet::kCanSetOwnMemberAttributeFieldNumber; -const int ClubPrivilegeSet::kCanSetOtherMemberAttributeFieldNumber; -const int ClubPrivilegeSet::kCanSetOwnVoiceStateFieldNumber; -const int ClubPrivilegeSet::kCanSetOwnPresenceLevelFieldNumber; -const int ClubPrivilegeSet::kCanSetOwnWhisperLevelFieldNumber; -const int ClubPrivilegeSet::kCanSetOwnMemberNoteFieldNumber; -const int ClubPrivilegeSet::kCanSetOtherMemberNoteFieldNumber; -const int ClubPrivilegeSet::kCanUseVoiceFieldNumber; -const int ClubPrivilegeSet::kCanVoiceMuteMemberForAllFieldNumber; -const int ClubPrivilegeSet::kCanGetInvitationFieldNumber; -const int ClubPrivilegeSet::kCanSendInvitationFieldNumber; -const int ClubPrivilegeSet::kCanSendGuestInvitationFieldNumber; -const int ClubPrivilegeSet::kCanRevokeOwnInvitationFieldNumber; -const int ClubPrivilegeSet::kCanRevokeOtherInvitationFieldNumber; -const int ClubPrivilegeSet::kCanGetSuggestionFieldNumber; -const int ClubPrivilegeSet::kCanSuggestMemberFieldNumber; -const int ClubPrivilegeSet::kCanApproveMemberFieldNumber; -const int ClubPrivilegeSet::kCanGetTicketFieldNumber; -const int ClubPrivilegeSet::kCanCreateTicketFieldNumber; -const int ClubPrivilegeSet::kCanDestroyTicketFieldNumber; -const int ClubPrivilegeSet::kCanGetBanFieldNumber; -const int ClubPrivilegeSet::kCanAddBanFieldNumber; -const int ClubPrivilegeSet::kCanRemoveBanFieldNumber; -const int ClubPrivilegeSet::kCanCreateStreamFieldNumber; -const int ClubPrivilegeSet::kCanDestroyStreamFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamPositionFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamAttributeFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamNameFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamSubjectFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamAccessFieldNumber; -const int ClubPrivilegeSet::kCanSetStreamVoiceLevelFieldNumber; -const int ClubPrivilegeSet::kCanCreateMessageFieldNumber; -const int ClubPrivilegeSet::kCanDestroyOwnMessageFieldNumber; -const int ClubPrivilegeSet::kCanDestroyOtherMessageFieldNumber; -const int ClubPrivilegeSet::kCanEditOwnMessageFieldNumber; -const int ClubPrivilegeSet::kCanPinMessageFieldNumber; -const int ClubPrivilegeSet::kCanMentionAllFieldNumber; -const int ClubPrivilegeSet::kCanMentionHereFieldNumber; -const int ClubPrivilegeSet::kCanMentionMemberFieldNumber; -const int ClubPrivilegeSet::kCanMentionRoleFieldNumber; -#endif // !_MSC_VER - -ClubPrivilegeSet::ClubPrivilegeSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubPrivilegeSet) -} - -void ClubPrivilegeSet::InitAsDefaultInstance() { -} - -ClubPrivilegeSet::ClubPrivilegeSet(const ClubPrivilegeSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubPrivilegeSet) -} - -void ClubPrivilegeSet::SharedCtor() { - _cached_size_ = 0; - can_destroy_ = false; - can_set_attribute_ = false; - can_set_name_ = false; - can_set_description_ = false; - can_set_avatar_ = false; - can_set_broadcast_ = false; - can_set_privacy_level_ = false; - can_add_member_ = false; - can_kick_member_ = false; - can_set_own_member_attribute_ = false; - can_set_other_member_attribute_ = false; - can_set_own_voice_state_ = false; - can_set_own_presence_level_ = false; - can_set_own_whisper_level_ = false; - can_set_own_member_note_ = false; - can_set_other_member_note_ = false; - can_use_voice_ = false; - can_voice_mute_member_for_all_ = false; - can_get_invitation_ = false; - can_send_invitation_ = false; - can_send_guest_invitation_ = false; - can_revoke_own_invitation_ = false; - can_revoke_other_invitation_ = false; - can_get_suggestion_ = false; - can_suggest_member_ = false; - can_approve_member_ = false; - can_get_ticket_ = false; - can_create_ticket_ = false; - can_destroy_ticket_ = false; - can_get_ban_ = false; - can_add_ban_ = false; - can_remove_ban_ = false; - can_create_stream_ = false; - can_destroy_stream_ = false; - can_set_stream_position_ = false; - can_set_stream_attribute_ = false; - can_set_stream_name_ = false; - can_set_stream_subject_ = false; - can_set_stream_access_ = false; - can_set_stream_voice_level_ = false; - can_create_message_ = false; - can_destroy_own_message_ = false; - can_destroy_other_message_ = false; - can_edit_own_message_ = false; - can_pin_message_ = false; - can_mention_all_ = false; - can_mention_here_ = false; - can_mention_member_ = false; - can_mention_role_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubPrivilegeSet::~ClubPrivilegeSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubPrivilegeSet) - SharedDtor(); -} - -void ClubPrivilegeSet::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubPrivilegeSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubPrivilegeSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubPrivilegeSet_descriptor_; -} - -const ClubPrivilegeSet& ClubPrivilegeSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); - return *default_instance_; -} - -ClubPrivilegeSet* ClubPrivilegeSet::default_instance_ = NULL; - -ClubPrivilegeSet* ClubPrivilegeSet::New() const { - return new ClubPrivilegeSet; -} - -void ClubPrivilegeSet::Swap(ClubPrivilegeSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubPrivilegeSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubPrivilegeSet_descriptor_; - metadata.reflection = ClubPrivilegeSet_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubRole::kIdFieldNumber; -const int ClubRole::kStateFieldNumber; -const int ClubRole::kPrivilegeFieldNumber; -const int ClubRole::kAlwaysGrantStreamAccessFieldNumber; -const int ClubRole::kAllowInClubSlotFieldNumber; -#endif // !_MSC_VER - -ClubRole::ClubRole() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubRole) -} - -void ClubRole::InitAsDefaultInstance() { - state_ = const_cast< ::bgs::protocol::RoleState*>(&::bgs::protocol::RoleState::default_instance()); - privilege_ = const_cast< ::bgs::protocol::club::v1::ClubPrivilegeSet*>(&::bgs::protocol::club::v1::ClubPrivilegeSet::default_instance()); -} - -ClubRole::ClubRole(const ClubRole& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubRole) -} - -void ClubRole::SharedCtor() { - _cached_size_ = 0; - id_ = 0u; - state_ = NULL; - privilege_ = NULL; - always_grant_stream_access_ = false; - allow_in_club_slot_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubRole::~ClubRole() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubRole) - SharedDtor(); -} - -void ClubRole::SharedDtor() { - if (this != default_instance_) { - delete state_; - delete privilege_; - } -} - -void ClubRole::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubRole::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubRole_descriptor_; -} - -const ClubRole& ClubRole::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); - return *default_instance_; -} - -ClubRole* ClubRole::default_instance_ = NULL; - -ClubRole* ClubRole::New() const { - return new ClubRole; -} - -void ClubRole::Swap(ClubRole* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubRole::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubRole_descriptor_; - metadata.reflection = ClubRole_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubRoleSet::kRoleFieldNumber; -const int ClubRoleSet::kDefaultRoleFieldNumber; -const int ClubRoleSet::kAssignmentRespectsRelegationChainFieldNumber; -const int ClubRoleSet::kSubtypeFieldNumber; -#endif // !_MSC_VER - -ClubRoleSet::ClubRoleSet() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubRoleSet) -} - -void ClubRoleSet::InitAsDefaultInstance() { -} - -ClubRoleSet::ClubRoleSet(const ClubRoleSet& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubRoleSet) -} - -void ClubRoleSet::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - assignment_respects_relegation_chain_ = false; - subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubRoleSet::~ClubRoleSet() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubRoleSet) - SharedDtor(); -} - -void ClubRoleSet::SharedDtor() { - if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subtype_; - } - if (this != default_instance_) { - } -} - -void ClubRoleSet::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubRoleSet::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubRoleSet_descriptor_; -} - -const ClubRoleSet& ClubRoleSet::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5frole_2eproto(); - return *default_instance_; -} - -ClubRoleSet* ClubRoleSet::default_instance_ = NULL; - -ClubRoleSet* ClubRoleSet::New() const { - return new ClubRoleSet; -} - -void ClubRoleSet::Swap(ClubRoleSet* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubRoleSet::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubRoleSet_descriptor_; - metadata.reflection = ClubRoleSet_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_role.pb.h b/src/server/proto/Client/club_role.pb.h deleted file mode 100644 index 4cdcd6efc9f..00000000000 --- a/src/server/proto/Client/club_role.pb.h +++ /dev/null @@ -1,2330 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_role.proto - -#ifndef PROTOBUF_club_5frole_2eproto__INCLUDED -#define PROTOBUF_club_5frole_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "role_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto(); -void protobuf_AssignDesc_club_5frole_2eproto(); -void protobuf_ShutdownFile_club_5frole_2eproto(); - -class ClubPrivilegeSet; -class ClubRole; -class ClubRoleSet; - -// =================================================================== - -class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message { - public: - ClubPrivilegeSet(); - virtual ~ClubPrivilegeSet(); - - ClubPrivilegeSet(const ClubPrivilegeSet& from); - - inline ClubPrivilegeSet& operator=(const ClubPrivilegeSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubPrivilegeSet& default_instance(); - - void Swap(ClubPrivilegeSet* other); - - // implements Message ---------------------------------------------- - - ClubPrivilegeSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional bool can_destroy = 1; - inline bool has_can_destroy() const; - inline void clear_can_destroy(); - static const int kCanDestroyFieldNumber = 1; - inline bool can_destroy() const; - inline void set_can_destroy(bool value); - - // optional bool can_set_attribute = 10; - inline bool has_can_set_attribute() const; - inline void clear_can_set_attribute(); - static const int kCanSetAttributeFieldNumber = 10; - inline bool can_set_attribute() const; - inline void set_can_set_attribute(bool value); - - // optional bool can_set_name = 11; - inline bool has_can_set_name() const; - inline void clear_can_set_name(); - static const int kCanSetNameFieldNumber = 11; - inline bool can_set_name() const; - inline void set_can_set_name(bool value); - - // optional bool can_set_description = 12; - inline bool has_can_set_description() const; - inline void clear_can_set_description(); - static const int kCanSetDescriptionFieldNumber = 12; - inline bool can_set_description() const; - inline void set_can_set_description(bool value); - - // optional bool can_set_avatar = 13; - inline bool has_can_set_avatar() const; - inline void clear_can_set_avatar(); - static const int kCanSetAvatarFieldNumber = 13; - inline bool can_set_avatar() const; - inline void set_can_set_avatar(bool value); - - // optional bool can_set_broadcast = 14; - inline bool has_can_set_broadcast() const; - inline void clear_can_set_broadcast(); - static const int kCanSetBroadcastFieldNumber = 14; - inline bool can_set_broadcast() const; - inline void set_can_set_broadcast(bool value); - - // optional bool can_set_privacy_level = 15; - inline bool has_can_set_privacy_level() const; - inline void clear_can_set_privacy_level(); - static const int kCanSetPrivacyLevelFieldNumber = 15; - inline bool can_set_privacy_level() const; - inline void set_can_set_privacy_level(bool value); - - // optional bool can_add_member = 29; - inline bool has_can_add_member() const; - inline void clear_can_add_member(); - static const int kCanAddMemberFieldNumber = 29; - inline bool can_add_member() const; - inline void set_can_add_member(bool value); - - // optional bool can_kick_member = 30; - inline bool has_can_kick_member() const; - inline void clear_can_kick_member(); - static const int kCanKickMemberFieldNumber = 30; - inline bool can_kick_member() const; - inline void set_can_kick_member(bool value); - - // optional bool can_set_own_member_attribute = 31; - inline bool has_can_set_own_member_attribute() const; - inline void clear_can_set_own_member_attribute(); - static const int kCanSetOwnMemberAttributeFieldNumber = 31; - inline bool can_set_own_member_attribute() const; - inline void set_can_set_own_member_attribute(bool value); - - // optional bool can_set_other_member_attribute = 32; - inline bool has_can_set_other_member_attribute() const; - inline void clear_can_set_other_member_attribute(); - static const int kCanSetOtherMemberAttributeFieldNumber = 32; - inline bool can_set_other_member_attribute() const; - inline void set_can_set_other_member_attribute(bool value); - - // optional bool can_set_own_voice_state = 33; - inline bool has_can_set_own_voice_state() const; - inline void clear_can_set_own_voice_state(); - static const int kCanSetOwnVoiceStateFieldNumber = 33; - inline bool can_set_own_voice_state() const; - inline void set_can_set_own_voice_state(bool value); - - // optional bool can_set_own_presence_level = 34; - inline bool has_can_set_own_presence_level() const; - inline void clear_can_set_own_presence_level(); - static const int kCanSetOwnPresenceLevelFieldNumber = 34; - inline bool can_set_own_presence_level() const; - inline void set_can_set_own_presence_level(bool value); - - // optional bool can_set_own_whisper_level = 35; - inline bool has_can_set_own_whisper_level() const; - inline void clear_can_set_own_whisper_level(); - static const int kCanSetOwnWhisperLevelFieldNumber = 35; - inline bool can_set_own_whisper_level() const; - inline void set_can_set_own_whisper_level(bool value); - - // optional bool can_set_own_member_note = 36; - inline bool has_can_set_own_member_note() const; - inline void clear_can_set_own_member_note(); - static const int kCanSetOwnMemberNoteFieldNumber = 36; - inline bool can_set_own_member_note() const; - inline void set_can_set_own_member_note(bool value); - - // optional bool can_set_other_member_note = 37; - inline bool has_can_set_other_member_note() const; - inline void clear_can_set_other_member_note(); - static const int kCanSetOtherMemberNoteFieldNumber = 37; - inline bool can_set_other_member_note() const; - inline void set_can_set_other_member_note(bool value); - - // optional bool can_use_voice = 50; - inline bool has_can_use_voice() const; - inline void clear_can_use_voice(); - static const int kCanUseVoiceFieldNumber = 50; - inline bool can_use_voice() const; - inline void set_can_use_voice(bool value); - - // optional bool can_voice_mute_member_for_all = 51; - inline bool has_can_voice_mute_member_for_all() const; - inline void clear_can_voice_mute_member_for_all(); - static const int kCanVoiceMuteMemberForAllFieldNumber = 51; - inline bool can_voice_mute_member_for_all() const; - inline void set_can_voice_mute_member_for_all(bool value); - - // optional bool can_get_invitation = 70; - inline bool has_can_get_invitation() const; - inline void clear_can_get_invitation(); - static const int kCanGetInvitationFieldNumber = 70; - inline bool can_get_invitation() const; - inline void set_can_get_invitation(bool value); - - // optional bool can_send_invitation = 71; - inline bool has_can_send_invitation() const; - inline void clear_can_send_invitation(); - static const int kCanSendInvitationFieldNumber = 71; - inline bool can_send_invitation() const; - inline void set_can_send_invitation(bool value); - - // optional bool can_send_guest_invitation = 72; - inline bool has_can_send_guest_invitation() const; - inline void clear_can_send_guest_invitation(); - static const int kCanSendGuestInvitationFieldNumber = 72; - inline bool can_send_guest_invitation() const; - inline void set_can_send_guest_invitation(bool value); - - // optional bool can_revoke_own_invitation = 73; - inline bool has_can_revoke_own_invitation() const; - inline void clear_can_revoke_own_invitation(); - static const int kCanRevokeOwnInvitationFieldNumber = 73; - inline bool can_revoke_own_invitation() const; - inline void set_can_revoke_own_invitation(bool value); - - // optional bool can_revoke_other_invitation = 74; - inline bool has_can_revoke_other_invitation() const; - inline void clear_can_revoke_other_invitation(); - static const int kCanRevokeOtherInvitationFieldNumber = 74; - inline bool can_revoke_other_invitation() const; - inline void set_can_revoke_other_invitation(bool value); - - // optional bool can_get_suggestion = 90; - inline bool has_can_get_suggestion() const; - inline void clear_can_get_suggestion(); - static const int kCanGetSuggestionFieldNumber = 90; - inline bool can_get_suggestion() const; - inline void set_can_get_suggestion(bool value); - - // optional bool can_suggest_member = 91; - inline bool has_can_suggest_member() const; - inline void clear_can_suggest_member(); - static const int kCanSuggestMemberFieldNumber = 91; - inline bool can_suggest_member() const; - inline void set_can_suggest_member(bool value); - - // optional bool can_approve_member = 92; - inline bool has_can_approve_member() const; - inline void clear_can_approve_member(); - static const int kCanApproveMemberFieldNumber = 92; - inline bool can_approve_member() const; - inline void set_can_approve_member(bool value); - - // optional bool can_get_ticket = 110; - inline bool has_can_get_ticket() const; - inline void clear_can_get_ticket(); - static const int kCanGetTicketFieldNumber = 110; - inline bool can_get_ticket() const; - inline void set_can_get_ticket(bool value); - - // optional bool can_create_ticket = 111; - inline bool has_can_create_ticket() const; - inline void clear_can_create_ticket(); - static const int kCanCreateTicketFieldNumber = 111; - inline bool can_create_ticket() const; - inline void set_can_create_ticket(bool value); - - // optional bool can_destroy_ticket = 112; - inline bool has_can_destroy_ticket() const; - inline void clear_can_destroy_ticket(); - static const int kCanDestroyTicketFieldNumber = 112; - inline bool can_destroy_ticket() const; - inline void set_can_destroy_ticket(bool value); - - // optional bool can_get_ban = 130; - inline bool has_can_get_ban() const; - inline void clear_can_get_ban(); - static const int kCanGetBanFieldNumber = 130; - inline bool can_get_ban() const; - inline void set_can_get_ban(bool value); - - // optional bool can_add_ban = 131; - inline bool has_can_add_ban() const; - inline void clear_can_add_ban(); - static const int kCanAddBanFieldNumber = 131; - inline bool can_add_ban() const; - inline void set_can_add_ban(bool value); - - // optional bool can_remove_ban = 132; - inline bool has_can_remove_ban() const; - inline void clear_can_remove_ban(); - static const int kCanRemoveBanFieldNumber = 132; - inline bool can_remove_ban() const; - inline void set_can_remove_ban(bool value); - - // optional bool can_create_stream = 140; - inline bool has_can_create_stream() const; - inline void clear_can_create_stream(); - static const int kCanCreateStreamFieldNumber = 140; - inline bool can_create_stream() const; - inline void set_can_create_stream(bool value); - - // optional bool can_destroy_stream = 141; - inline bool has_can_destroy_stream() const; - inline void clear_can_destroy_stream(); - static const int kCanDestroyStreamFieldNumber = 141; - inline bool can_destroy_stream() const; - inline void set_can_destroy_stream(bool value); - - // optional bool can_set_stream_position = 142; - inline bool has_can_set_stream_position() const; - inline void clear_can_set_stream_position(); - static const int kCanSetStreamPositionFieldNumber = 142; - inline bool can_set_stream_position() const; - inline void set_can_set_stream_position(bool value); - - // optional bool can_set_stream_attribute = 143; - inline bool has_can_set_stream_attribute() const; - inline void clear_can_set_stream_attribute(); - static const int kCanSetStreamAttributeFieldNumber = 143; - inline bool can_set_stream_attribute() const; - inline void set_can_set_stream_attribute(bool value); - - // optional bool can_set_stream_name = 144; - inline bool has_can_set_stream_name() const; - inline void clear_can_set_stream_name(); - static const int kCanSetStreamNameFieldNumber = 144; - inline bool can_set_stream_name() const; - inline void set_can_set_stream_name(bool value); - - // optional bool can_set_stream_subject = 145; - inline bool has_can_set_stream_subject() const; - inline void clear_can_set_stream_subject(); - static const int kCanSetStreamSubjectFieldNumber = 145; - inline bool can_set_stream_subject() const; - inline void set_can_set_stream_subject(bool value); - - // optional bool can_set_stream_access = 146; - inline bool has_can_set_stream_access() const; - inline void clear_can_set_stream_access(); - static const int kCanSetStreamAccessFieldNumber = 146; - inline bool can_set_stream_access() const; - inline void set_can_set_stream_access(bool value); - - // optional bool can_set_stream_voice_level = 147; - inline bool has_can_set_stream_voice_level() const; - inline void clear_can_set_stream_voice_level(); - static const int kCanSetStreamVoiceLevelFieldNumber = 147; - inline bool can_set_stream_voice_level() const; - inline void set_can_set_stream_voice_level(bool value); - - // optional bool can_create_message = 180; - inline bool has_can_create_message() const; - inline void clear_can_create_message(); - static const int kCanCreateMessageFieldNumber = 180; - inline bool can_create_message() const; - inline void set_can_create_message(bool value); - - // optional bool can_destroy_own_message = 181; - inline bool has_can_destroy_own_message() const; - inline void clear_can_destroy_own_message(); - static const int kCanDestroyOwnMessageFieldNumber = 181; - inline bool can_destroy_own_message() const; - inline void set_can_destroy_own_message(bool value); - - // optional bool can_destroy_other_message = 182; - inline bool has_can_destroy_other_message() const; - inline void clear_can_destroy_other_message(); - static const int kCanDestroyOtherMessageFieldNumber = 182; - inline bool can_destroy_other_message() const; - inline void set_can_destroy_other_message(bool value); - - // optional bool can_edit_own_message = 183; - inline bool has_can_edit_own_message() const; - inline void clear_can_edit_own_message(); - static const int kCanEditOwnMessageFieldNumber = 183; - inline bool can_edit_own_message() const; - inline void set_can_edit_own_message(bool value); - - // optional bool can_pin_message = 184; - inline bool has_can_pin_message() const; - inline void clear_can_pin_message(); - static const int kCanPinMessageFieldNumber = 184; - inline bool can_pin_message() const; - inline void set_can_pin_message(bool value); - - // optional bool can_mention_all = 185; - inline bool has_can_mention_all() const; - inline void clear_can_mention_all(); - static const int kCanMentionAllFieldNumber = 185; - inline bool can_mention_all() const; - inline void set_can_mention_all(bool value); - - // optional bool can_mention_here = 186; - inline bool has_can_mention_here() const; - inline void clear_can_mention_here(); - static const int kCanMentionHereFieldNumber = 186; - inline bool can_mention_here() const; - inline void set_can_mention_here(bool value); - - // optional bool can_mention_member = 187; - inline bool has_can_mention_member() const; - inline void clear_can_mention_member(); - static const int kCanMentionMemberFieldNumber = 187; - inline bool can_mention_member() const; - inline void set_can_mention_member(bool value); - - // optional bool can_mention_role = 188; - inline bool has_can_mention_role() const; - inline void clear_can_mention_role(); - static const int kCanMentionRoleFieldNumber = 188; - inline bool can_mention_role() const; - inline void set_can_mention_role(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubPrivilegeSet) - private: - inline void set_has_can_destroy(); - inline void clear_has_can_destroy(); - inline void set_has_can_set_attribute(); - inline void clear_has_can_set_attribute(); - inline void set_has_can_set_name(); - inline void clear_has_can_set_name(); - inline void set_has_can_set_description(); - inline void clear_has_can_set_description(); - inline void set_has_can_set_avatar(); - inline void clear_has_can_set_avatar(); - inline void set_has_can_set_broadcast(); - inline void clear_has_can_set_broadcast(); - inline void set_has_can_set_privacy_level(); - inline void clear_has_can_set_privacy_level(); - inline void set_has_can_add_member(); - inline void clear_has_can_add_member(); - inline void set_has_can_kick_member(); - inline void clear_has_can_kick_member(); - inline void set_has_can_set_own_member_attribute(); - inline void clear_has_can_set_own_member_attribute(); - inline void set_has_can_set_other_member_attribute(); - inline void clear_has_can_set_other_member_attribute(); - inline void set_has_can_set_own_voice_state(); - inline void clear_has_can_set_own_voice_state(); - inline void set_has_can_set_own_presence_level(); - inline void clear_has_can_set_own_presence_level(); - inline void set_has_can_set_own_whisper_level(); - inline void clear_has_can_set_own_whisper_level(); - inline void set_has_can_set_own_member_note(); - inline void clear_has_can_set_own_member_note(); - inline void set_has_can_set_other_member_note(); - inline void clear_has_can_set_other_member_note(); - inline void set_has_can_use_voice(); - inline void clear_has_can_use_voice(); - inline void set_has_can_voice_mute_member_for_all(); - inline void clear_has_can_voice_mute_member_for_all(); - inline void set_has_can_get_invitation(); - inline void clear_has_can_get_invitation(); - inline void set_has_can_send_invitation(); - inline void clear_has_can_send_invitation(); - inline void set_has_can_send_guest_invitation(); - inline void clear_has_can_send_guest_invitation(); - inline void set_has_can_revoke_own_invitation(); - inline void clear_has_can_revoke_own_invitation(); - inline void set_has_can_revoke_other_invitation(); - inline void clear_has_can_revoke_other_invitation(); - inline void set_has_can_get_suggestion(); - inline void clear_has_can_get_suggestion(); - inline void set_has_can_suggest_member(); - inline void clear_has_can_suggest_member(); - inline void set_has_can_approve_member(); - inline void clear_has_can_approve_member(); - inline void set_has_can_get_ticket(); - inline void clear_has_can_get_ticket(); - inline void set_has_can_create_ticket(); - inline void clear_has_can_create_ticket(); - inline void set_has_can_destroy_ticket(); - inline void clear_has_can_destroy_ticket(); - inline void set_has_can_get_ban(); - inline void clear_has_can_get_ban(); - inline void set_has_can_add_ban(); - inline void clear_has_can_add_ban(); - inline void set_has_can_remove_ban(); - inline void clear_has_can_remove_ban(); - inline void set_has_can_create_stream(); - inline void clear_has_can_create_stream(); - inline void set_has_can_destroy_stream(); - inline void clear_has_can_destroy_stream(); - inline void set_has_can_set_stream_position(); - inline void clear_has_can_set_stream_position(); - inline void set_has_can_set_stream_attribute(); - inline void clear_has_can_set_stream_attribute(); - inline void set_has_can_set_stream_name(); - inline void clear_has_can_set_stream_name(); - inline void set_has_can_set_stream_subject(); - inline void clear_has_can_set_stream_subject(); - inline void set_has_can_set_stream_access(); - inline void clear_has_can_set_stream_access(); - inline void set_has_can_set_stream_voice_level(); - inline void clear_has_can_set_stream_voice_level(); - inline void set_has_can_create_message(); - inline void clear_has_can_create_message(); - inline void set_has_can_destroy_own_message(); - inline void clear_has_can_destroy_own_message(); - inline void set_has_can_destroy_other_message(); - inline void clear_has_can_destroy_other_message(); - inline void set_has_can_edit_own_message(); - inline void clear_has_can_edit_own_message(); - inline void set_has_can_pin_message(); - inline void clear_has_can_pin_message(); - inline void set_has_can_mention_all(); - inline void clear_has_can_mention_all(); - inline void set_has_can_mention_here(); - inline void clear_has_can_mention_here(); - inline void set_has_can_mention_member(); - inline void clear_has_can_mention_member(); - inline void set_has_can_mention_role(); - inline void clear_has_can_mention_role(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[2]; - bool can_destroy_; - bool can_set_attribute_; - bool can_set_name_; - bool can_set_description_; - bool can_set_avatar_; - bool can_set_broadcast_; - bool can_set_privacy_level_; - bool can_add_member_; - bool can_kick_member_; - bool can_set_own_member_attribute_; - bool can_set_other_member_attribute_; - bool can_set_own_voice_state_; - bool can_set_own_presence_level_; - bool can_set_own_whisper_level_; - bool can_set_own_member_note_; - bool can_set_other_member_note_; - bool can_use_voice_; - bool can_voice_mute_member_for_all_; - bool can_get_invitation_; - bool can_send_invitation_; - bool can_send_guest_invitation_; - bool can_revoke_own_invitation_; - bool can_revoke_other_invitation_; - bool can_get_suggestion_; - bool can_suggest_member_; - bool can_approve_member_; - bool can_get_ticket_; - bool can_create_ticket_; - bool can_destroy_ticket_; - bool can_get_ban_; - bool can_add_ban_; - bool can_remove_ban_; - bool can_create_stream_; - bool can_destroy_stream_; - bool can_set_stream_position_; - bool can_set_stream_attribute_; - bool can_set_stream_name_; - bool can_set_stream_subject_; - bool can_set_stream_access_; - bool can_set_stream_voice_level_; - bool can_create_message_; - bool can_destroy_own_message_; - bool can_destroy_other_message_; - bool can_edit_own_message_; - bool can_pin_message_; - bool can_mention_all_; - bool can_mention_here_; - bool can_mention_member_; - bool can_mention_role_; - mutable int _cached_size_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto(); - friend void protobuf_AssignDesc_club_5frole_2eproto(); - friend void protobuf_ShutdownFile_club_5frole_2eproto(); - - void InitAsDefaultInstance(); - static ClubPrivilegeSet* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubRole : public ::google::protobuf::Message { - public: - ClubRole(); - virtual ~ClubRole(); - - ClubRole(const ClubRole& from); - - inline ClubRole& operator=(const ClubRole& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubRole& default_instance(); - - void Swap(ClubRole* other); - - // implements Message ---------------------------------------------- - - ClubRole* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint32 id() const; - inline void set_id(::google::protobuf::uint32 value); - - // optional .bgs.protocol.RoleState state = 2; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 2; - inline const ::bgs::protocol::RoleState& state() const; - inline ::bgs::protocol::RoleState* mutable_state(); - inline ::bgs::protocol::RoleState* release_state(); - inline void set_allocated_state(::bgs::protocol::RoleState* state); - - // optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3; - inline bool has_privilege() const; - inline void clear_privilege(); - static const int kPrivilegeFieldNumber = 3; - inline const ::bgs::protocol::club::v1::ClubPrivilegeSet& privilege() const; - inline ::bgs::protocol::club::v1::ClubPrivilegeSet* mutable_privilege(); - inline ::bgs::protocol::club::v1::ClubPrivilegeSet* release_privilege(); - inline void set_allocated_privilege(::bgs::protocol::club::v1::ClubPrivilegeSet* privilege); - - // optional bool always_grant_stream_access = 4; - inline bool has_always_grant_stream_access() const; - inline void clear_always_grant_stream_access(); - static const int kAlwaysGrantStreamAccessFieldNumber = 4; - inline bool always_grant_stream_access() const; - inline void set_always_grant_stream_access(bool value); - - // optional bool allow_in_club_slot = 5; - inline bool has_allow_in_club_slot() const; - inline void clear_allow_in_club_slot(); - static const int kAllowInClubSlotFieldNumber = 5; - inline bool allow_in_club_slot() const; - inline void set_allow_in_club_slot(bool value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubRole) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_state(); - inline void clear_has_state(); - inline void set_has_privilege(); - inline void clear_has_privilege(); - inline void set_has_always_grant_stream_access(); - inline void clear_has_always_grant_stream_access(); - inline void set_has_allow_in_club_slot(); - inline void clear_has_allow_in_club_slot(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::RoleState* state_; - ::bgs::protocol::club::v1::ClubPrivilegeSet* privilege_; - ::google::protobuf::uint32 id_; - bool always_grant_stream_access_; - bool allow_in_club_slot_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto(); - friend void protobuf_AssignDesc_club_5frole_2eproto(); - friend void protobuf_ShutdownFile_club_5frole_2eproto(); - - void InitAsDefaultInstance(); - static ClubRole* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message { - public: - ClubRoleSet(); - virtual ~ClubRoleSet(); - - ClubRoleSet(const ClubRoleSet& from); - - inline ClubRoleSet& operator=(const ClubRoleSet& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubRoleSet& default_instance(); - - void Swap(ClubRoleSet* other); - - // implements Message ---------------------------------------------- - - ClubRoleSet* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.ClubRole role = 1; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 1; - inline const ::bgs::protocol::club::v1::ClubRole& role(int index) const; - inline ::bgs::protocol::club::v1::ClubRole* mutable_role(int index); - inline ::bgs::protocol::club::v1::ClubRole* add_role(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >& - role() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >* - mutable_role(); - - // repeated uint32 default_role = 5 [packed = true]; - inline int default_role_size() const; - inline void clear_default_role(); - static const int kDefaultRoleFieldNumber = 5; - inline ::google::protobuf::uint32 default_role(int index) const; - inline void set_default_role(int index, ::google::protobuf::uint32 value); - inline void add_default_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - default_role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_default_role(); - - // optional bool assignment_respects_relegation_chain = 6; - inline bool has_assignment_respects_relegation_chain() const; - inline void clear_assignment_respects_relegation_chain(); - static const int kAssignmentRespectsRelegationChainFieldNumber = 6; - inline bool assignment_respects_relegation_chain() const; - inline void set_assignment_respects_relegation_chain(bool value); - - // optional string subtype = 7; - inline bool has_subtype() const; - inline void clear_subtype(); - static const int kSubtypeFieldNumber = 7; - inline const ::std::string& subtype() const; - inline void set_subtype(const ::std::string& value); - inline void set_subtype(const char* value); - inline void set_subtype(const char* value, size_t size); - inline ::std::string* mutable_subtype(); - inline ::std::string* release_subtype(); - inline void set_allocated_subtype(::std::string* subtype); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubRoleSet) - private: - inline void set_has_assignment_respects_relegation_chain(); - inline void clear_has_assignment_respects_relegation_chain(); - inline void set_has_subtype(); - inline void clear_has_subtype(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole > role_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_; - ::std::string* subtype_; - bool assignment_respects_relegation_chain_; - friend void TC_PROTO_API protobuf_AddDesc_club_5frole_2eproto(); - friend void protobuf_AssignDesc_club_5frole_2eproto(); - friend void protobuf_ShutdownFile_club_5frole_2eproto(); - - void InitAsDefaultInstance(); - static ClubRoleSet* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// ClubPrivilegeSet - -// optional bool can_destroy = 1; -inline bool ClubPrivilegeSet::has_can_destroy() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_destroy() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubPrivilegeSet::clear_has_can_destroy() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubPrivilegeSet::clear_can_destroy() { - can_destroy_ = false; - clear_has_can_destroy(); -} -inline bool ClubPrivilegeSet::can_destroy() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy) - return can_destroy_; -} -inline void ClubPrivilegeSet::set_can_destroy(bool value) { - set_has_can_destroy(); - can_destroy_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy) -} - -// optional bool can_set_attribute = 10; -inline bool ClubPrivilegeSet::has_can_set_attribute() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_attribute() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubPrivilegeSet::clear_has_can_set_attribute() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubPrivilegeSet::clear_can_set_attribute() { - can_set_attribute_ = false; - clear_has_can_set_attribute(); -} -inline bool ClubPrivilegeSet::can_set_attribute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_attribute) - return can_set_attribute_; -} -inline void ClubPrivilegeSet::set_can_set_attribute(bool value) { - set_has_can_set_attribute(); - can_set_attribute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_attribute) -} - -// optional bool can_set_name = 11; -inline bool ClubPrivilegeSet::has_can_set_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubPrivilegeSet::clear_has_can_set_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubPrivilegeSet::clear_can_set_name() { - can_set_name_ = false; - clear_has_can_set_name(); -} -inline bool ClubPrivilegeSet::can_set_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_name) - return can_set_name_; -} -inline void ClubPrivilegeSet::set_can_set_name(bool value) { - set_has_can_set_name(); - can_set_name_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_name) -} - -// optional bool can_set_description = 12; -inline bool ClubPrivilegeSet::has_can_set_description() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_description() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubPrivilegeSet::clear_has_can_set_description() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubPrivilegeSet::clear_can_set_description() { - can_set_description_ = false; - clear_has_can_set_description(); -} -inline bool ClubPrivilegeSet::can_set_description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_description) - return can_set_description_; -} -inline void ClubPrivilegeSet::set_can_set_description(bool value) { - set_has_can_set_description(); - can_set_description_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_description) -} - -// optional bool can_set_avatar = 13; -inline bool ClubPrivilegeSet::has_can_set_avatar() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_avatar() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubPrivilegeSet::clear_has_can_set_avatar() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubPrivilegeSet::clear_can_set_avatar() { - can_set_avatar_ = false; - clear_has_can_set_avatar(); -} -inline bool ClubPrivilegeSet::can_set_avatar() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_avatar) - return can_set_avatar_; -} -inline void ClubPrivilegeSet::set_can_set_avatar(bool value) { - set_has_can_set_avatar(); - can_set_avatar_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_avatar) -} - -// optional bool can_set_broadcast = 14; -inline bool ClubPrivilegeSet::has_can_set_broadcast() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_broadcast() { - _has_bits_[0] |= 0x00000020u; -} -inline void ClubPrivilegeSet::clear_has_can_set_broadcast() { - _has_bits_[0] &= ~0x00000020u; -} -inline void ClubPrivilegeSet::clear_can_set_broadcast() { - can_set_broadcast_ = false; - clear_has_can_set_broadcast(); -} -inline bool ClubPrivilegeSet::can_set_broadcast() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_broadcast) - return can_set_broadcast_; -} -inline void ClubPrivilegeSet::set_can_set_broadcast(bool value) { - set_has_can_set_broadcast(); - can_set_broadcast_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_broadcast) -} - -// optional bool can_set_privacy_level = 15; -inline bool ClubPrivilegeSet::has_can_set_privacy_level() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_privacy_level() { - _has_bits_[0] |= 0x00000040u; -} -inline void ClubPrivilegeSet::clear_has_can_set_privacy_level() { - _has_bits_[0] &= ~0x00000040u; -} -inline void ClubPrivilegeSet::clear_can_set_privacy_level() { - can_set_privacy_level_ = false; - clear_has_can_set_privacy_level(); -} -inline bool ClubPrivilegeSet::can_set_privacy_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_privacy_level) - return can_set_privacy_level_; -} -inline void ClubPrivilegeSet::set_can_set_privacy_level(bool value) { - set_has_can_set_privacy_level(); - can_set_privacy_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_privacy_level) -} - -// optional bool can_add_member = 29; -inline bool ClubPrivilegeSet::has_can_add_member() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_add_member() { - _has_bits_[0] |= 0x00000080u; -} -inline void ClubPrivilegeSet::clear_has_can_add_member() { - _has_bits_[0] &= ~0x00000080u; -} -inline void ClubPrivilegeSet::clear_can_add_member() { - can_add_member_ = false; - clear_has_can_add_member(); -} -inline bool ClubPrivilegeSet::can_add_member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_member) - return can_add_member_; -} -inline void ClubPrivilegeSet::set_can_add_member(bool value) { - set_has_can_add_member(); - can_add_member_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_member) -} - -// optional bool can_kick_member = 30; -inline bool ClubPrivilegeSet::has_can_kick_member() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_kick_member() { - _has_bits_[0] |= 0x00000100u; -} -inline void ClubPrivilegeSet::clear_has_can_kick_member() { - _has_bits_[0] &= ~0x00000100u; -} -inline void ClubPrivilegeSet::clear_can_kick_member() { - can_kick_member_ = false; - clear_has_can_kick_member(); -} -inline bool ClubPrivilegeSet::can_kick_member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_kick_member) - return can_kick_member_; -} -inline void ClubPrivilegeSet::set_can_kick_member(bool value) { - set_has_can_kick_member(); - can_kick_member_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_kick_member) -} - -// optional bool can_set_own_member_attribute = 31; -inline bool ClubPrivilegeSet::has_can_set_own_member_attribute() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_own_member_attribute() { - _has_bits_[0] |= 0x00000200u; -} -inline void ClubPrivilegeSet::clear_has_can_set_own_member_attribute() { - _has_bits_[0] &= ~0x00000200u; -} -inline void ClubPrivilegeSet::clear_can_set_own_member_attribute() { - can_set_own_member_attribute_ = false; - clear_has_can_set_own_member_attribute(); -} -inline bool ClubPrivilegeSet::can_set_own_member_attribute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_attribute) - return can_set_own_member_attribute_; -} -inline void ClubPrivilegeSet::set_can_set_own_member_attribute(bool value) { - set_has_can_set_own_member_attribute(); - can_set_own_member_attribute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_attribute) -} - -// optional bool can_set_other_member_attribute = 32; -inline bool ClubPrivilegeSet::has_can_set_other_member_attribute() const { - return (_has_bits_[0] & 0x00000400u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_other_member_attribute() { - _has_bits_[0] |= 0x00000400u; -} -inline void ClubPrivilegeSet::clear_has_can_set_other_member_attribute() { - _has_bits_[0] &= ~0x00000400u; -} -inline void ClubPrivilegeSet::clear_can_set_other_member_attribute() { - can_set_other_member_attribute_ = false; - clear_has_can_set_other_member_attribute(); -} -inline bool ClubPrivilegeSet::can_set_other_member_attribute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_attribute) - return can_set_other_member_attribute_; -} -inline void ClubPrivilegeSet::set_can_set_other_member_attribute(bool value) { - set_has_can_set_other_member_attribute(); - can_set_other_member_attribute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_attribute) -} - -// optional bool can_set_own_voice_state = 33; -inline bool ClubPrivilegeSet::has_can_set_own_voice_state() const { - return (_has_bits_[0] & 0x00000800u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_own_voice_state() { - _has_bits_[0] |= 0x00000800u; -} -inline void ClubPrivilegeSet::clear_has_can_set_own_voice_state() { - _has_bits_[0] &= ~0x00000800u; -} -inline void ClubPrivilegeSet::clear_can_set_own_voice_state() { - can_set_own_voice_state_ = false; - clear_has_can_set_own_voice_state(); -} -inline bool ClubPrivilegeSet::can_set_own_voice_state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_voice_state) - return can_set_own_voice_state_; -} -inline void ClubPrivilegeSet::set_can_set_own_voice_state(bool value) { - set_has_can_set_own_voice_state(); - can_set_own_voice_state_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_voice_state) -} - -// optional bool can_set_own_presence_level = 34; -inline bool ClubPrivilegeSet::has_can_set_own_presence_level() const { - return (_has_bits_[0] & 0x00001000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_own_presence_level() { - _has_bits_[0] |= 0x00001000u; -} -inline void ClubPrivilegeSet::clear_has_can_set_own_presence_level() { - _has_bits_[0] &= ~0x00001000u; -} -inline void ClubPrivilegeSet::clear_can_set_own_presence_level() { - can_set_own_presence_level_ = false; - clear_has_can_set_own_presence_level(); -} -inline bool ClubPrivilegeSet::can_set_own_presence_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_presence_level) - return can_set_own_presence_level_; -} -inline void ClubPrivilegeSet::set_can_set_own_presence_level(bool value) { - set_has_can_set_own_presence_level(); - can_set_own_presence_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_presence_level) -} - -// optional bool can_set_own_whisper_level = 35; -inline bool ClubPrivilegeSet::has_can_set_own_whisper_level() const { - return (_has_bits_[0] & 0x00002000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_own_whisper_level() { - _has_bits_[0] |= 0x00002000u; -} -inline void ClubPrivilegeSet::clear_has_can_set_own_whisper_level() { - _has_bits_[0] &= ~0x00002000u; -} -inline void ClubPrivilegeSet::clear_can_set_own_whisper_level() { - can_set_own_whisper_level_ = false; - clear_has_can_set_own_whisper_level(); -} -inline bool ClubPrivilegeSet::can_set_own_whisper_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_whisper_level) - return can_set_own_whisper_level_; -} -inline void ClubPrivilegeSet::set_can_set_own_whisper_level(bool value) { - set_has_can_set_own_whisper_level(); - can_set_own_whisper_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_whisper_level) -} - -// optional bool can_set_own_member_note = 36; -inline bool ClubPrivilegeSet::has_can_set_own_member_note() const { - return (_has_bits_[0] & 0x00004000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_own_member_note() { - _has_bits_[0] |= 0x00004000u; -} -inline void ClubPrivilegeSet::clear_has_can_set_own_member_note() { - _has_bits_[0] &= ~0x00004000u; -} -inline void ClubPrivilegeSet::clear_can_set_own_member_note() { - can_set_own_member_note_ = false; - clear_has_can_set_own_member_note(); -} -inline bool ClubPrivilegeSet::can_set_own_member_note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_note) - return can_set_own_member_note_; -} -inline void ClubPrivilegeSet::set_can_set_own_member_note(bool value) { - set_has_can_set_own_member_note(); - can_set_own_member_note_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_own_member_note) -} - -// optional bool can_set_other_member_note = 37; -inline bool ClubPrivilegeSet::has_can_set_other_member_note() const { - return (_has_bits_[0] & 0x00008000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_other_member_note() { - _has_bits_[0] |= 0x00008000u; -} -inline void ClubPrivilegeSet::clear_has_can_set_other_member_note() { - _has_bits_[0] &= ~0x00008000u; -} -inline void ClubPrivilegeSet::clear_can_set_other_member_note() { - can_set_other_member_note_ = false; - clear_has_can_set_other_member_note(); -} -inline bool ClubPrivilegeSet::can_set_other_member_note() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_note) - return can_set_other_member_note_; -} -inline void ClubPrivilegeSet::set_can_set_other_member_note(bool value) { - set_has_can_set_other_member_note(); - can_set_other_member_note_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_other_member_note) -} - -// optional bool can_use_voice = 50; -inline bool ClubPrivilegeSet::has_can_use_voice() const { - return (_has_bits_[0] & 0x00010000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_use_voice() { - _has_bits_[0] |= 0x00010000u; -} -inline void ClubPrivilegeSet::clear_has_can_use_voice() { - _has_bits_[0] &= ~0x00010000u; -} -inline void ClubPrivilegeSet::clear_can_use_voice() { - can_use_voice_ = false; - clear_has_can_use_voice(); -} -inline bool ClubPrivilegeSet::can_use_voice() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_use_voice) - return can_use_voice_; -} -inline void ClubPrivilegeSet::set_can_use_voice(bool value) { - set_has_can_use_voice(); - can_use_voice_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_use_voice) -} - -// optional bool can_voice_mute_member_for_all = 51; -inline bool ClubPrivilegeSet::has_can_voice_mute_member_for_all() const { - return (_has_bits_[0] & 0x00020000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_voice_mute_member_for_all() { - _has_bits_[0] |= 0x00020000u; -} -inline void ClubPrivilegeSet::clear_has_can_voice_mute_member_for_all() { - _has_bits_[0] &= ~0x00020000u; -} -inline void ClubPrivilegeSet::clear_can_voice_mute_member_for_all() { - can_voice_mute_member_for_all_ = false; - clear_has_can_voice_mute_member_for_all(); -} -inline bool ClubPrivilegeSet::can_voice_mute_member_for_all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_voice_mute_member_for_all) - return can_voice_mute_member_for_all_; -} -inline void ClubPrivilegeSet::set_can_voice_mute_member_for_all(bool value) { - set_has_can_voice_mute_member_for_all(); - can_voice_mute_member_for_all_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_voice_mute_member_for_all) -} - -// optional bool can_get_invitation = 70; -inline bool ClubPrivilegeSet::has_can_get_invitation() const { - return (_has_bits_[0] & 0x00040000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_get_invitation() { - _has_bits_[0] |= 0x00040000u; -} -inline void ClubPrivilegeSet::clear_has_can_get_invitation() { - _has_bits_[0] &= ~0x00040000u; -} -inline void ClubPrivilegeSet::clear_can_get_invitation() { - can_get_invitation_ = false; - clear_has_can_get_invitation(); -} -inline bool ClubPrivilegeSet::can_get_invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_invitation) - return can_get_invitation_; -} -inline void ClubPrivilegeSet::set_can_get_invitation(bool value) { - set_has_can_get_invitation(); - can_get_invitation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_invitation) -} - -// optional bool can_send_invitation = 71; -inline bool ClubPrivilegeSet::has_can_send_invitation() const { - return (_has_bits_[0] & 0x00080000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_send_invitation() { - _has_bits_[0] |= 0x00080000u; -} -inline void ClubPrivilegeSet::clear_has_can_send_invitation() { - _has_bits_[0] &= ~0x00080000u; -} -inline void ClubPrivilegeSet::clear_can_send_invitation() { - can_send_invitation_ = false; - clear_has_can_send_invitation(); -} -inline bool ClubPrivilegeSet::can_send_invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_invitation) - return can_send_invitation_; -} -inline void ClubPrivilegeSet::set_can_send_invitation(bool value) { - set_has_can_send_invitation(); - can_send_invitation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_invitation) -} - -// optional bool can_send_guest_invitation = 72; -inline bool ClubPrivilegeSet::has_can_send_guest_invitation() const { - return (_has_bits_[0] & 0x00100000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_send_guest_invitation() { - _has_bits_[0] |= 0x00100000u; -} -inline void ClubPrivilegeSet::clear_has_can_send_guest_invitation() { - _has_bits_[0] &= ~0x00100000u; -} -inline void ClubPrivilegeSet::clear_can_send_guest_invitation() { - can_send_guest_invitation_ = false; - clear_has_can_send_guest_invitation(); -} -inline bool ClubPrivilegeSet::can_send_guest_invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_guest_invitation) - return can_send_guest_invitation_; -} -inline void ClubPrivilegeSet::set_can_send_guest_invitation(bool value) { - set_has_can_send_guest_invitation(); - can_send_guest_invitation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_send_guest_invitation) -} - -// optional bool can_revoke_own_invitation = 73; -inline bool ClubPrivilegeSet::has_can_revoke_own_invitation() const { - return (_has_bits_[0] & 0x00200000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_revoke_own_invitation() { - _has_bits_[0] |= 0x00200000u; -} -inline void ClubPrivilegeSet::clear_has_can_revoke_own_invitation() { - _has_bits_[0] &= ~0x00200000u; -} -inline void ClubPrivilegeSet::clear_can_revoke_own_invitation() { - can_revoke_own_invitation_ = false; - clear_has_can_revoke_own_invitation(); -} -inline bool ClubPrivilegeSet::can_revoke_own_invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_own_invitation) - return can_revoke_own_invitation_; -} -inline void ClubPrivilegeSet::set_can_revoke_own_invitation(bool value) { - set_has_can_revoke_own_invitation(); - can_revoke_own_invitation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_own_invitation) -} - -// optional bool can_revoke_other_invitation = 74; -inline bool ClubPrivilegeSet::has_can_revoke_other_invitation() const { - return (_has_bits_[0] & 0x00400000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_revoke_other_invitation() { - _has_bits_[0] |= 0x00400000u; -} -inline void ClubPrivilegeSet::clear_has_can_revoke_other_invitation() { - _has_bits_[0] &= ~0x00400000u; -} -inline void ClubPrivilegeSet::clear_can_revoke_other_invitation() { - can_revoke_other_invitation_ = false; - clear_has_can_revoke_other_invitation(); -} -inline bool ClubPrivilegeSet::can_revoke_other_invitation() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_other_invitation) - return can_revoke_other_invitation_; -} -inline void ClubPrivilegeSet::set_can_revoke_other_invitation(bool value) { - set_has_can_revoke_other_invitation(); - can_revoke_other_invitation_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_revoke_other_invitation) -} - -// optional bool can_get_suggestion = 90; -inline bool ClubPrivilegeSet::has_can_get_suggestion() const { - return (_has_bits_[0] & 0x00800000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_get_suggestion() { - _has_bits_[0] |= 0x00800000u; -} -inline void ClubPrivilegeSet::clear_has_can_get_suggestion() { - _has_bits_[0] &= ~0x00800000u; -} -inline void ClubPrivilegeSet::clear_can_get_suggestion() { - can_get_suggestion_ = false; - clear_has_can_get_suggestion(); -} -inline bool ClubPrivilegeSet::can_get_suggestion() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_suggestion) - return can_get_suggestion_; -} -inline void ClubPrivilegeSet::set_can_get_suggestion(bool value) { - set_has_can_get_suggestion(); - can_get_suggestion_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_suggestion) -} - -// optional bool can_suggest_member = 91; -inline bool ClubPrivilegeSet::has_can_suggest_member() const { - return (_has_bits_[0] & 0x01000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_suggest_member() { - _has_bits_[0] |= 0x01000000u; -} -inline void ClubPrivilegeSet::clear_has_can_suggest_member() { - _has_bits_[0] &= ~0x01000000u; -} -inline void ClubPrivilegeSet::clear_can_suggest_member() { - can_suggest_member_ = false; - clear_has_can_suggest_member(); -} -inline bool ClubPrivilegeSet::can_suggest_member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_suggest_member) - return can_suggest_member_; -} -inline void ClubPrivilegeSet::set_can_suggest_member(bool value) { - set_has_can_suggest_member(); - can_suggest_member_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_suggest_member) -} - -// optional bool can_approve_member = 92; -inline bool ClubPrivilegeSet::has_can_approve_member() const { - return (_has_bits_[0] & 0x02000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_approve_member() { - _has_bits_[0] |= 0x02000000u; -} -inline void ClubPrivilegeSet::clear_has_can_approve_member() { - _has_bits_[0] &= ~0x02000000u; -} -inline void ClubPrivilegeSet::clear_can_approve_member() { - can_approve_member_ = false; - clear_has_can_approve_member(); -} -inline bool ClubPrivilegeSet::can_approve_member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_approve_member) - return can_approve_member_; -} -inline void ClubPrivilegeSet::set_can_approve_member(bool value) { - set_has_can_approve_member(); - can_approve_member_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_approve_member) -} - -// optional bool can_get_ticket = 110; -inline bool ClubPrivilegeSet::has_can_get_ticket() const { - return (_has_bits_[0] & 0x04000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_get_ticket() { - _has_bits_[0] |= 0x04000000u; -} -inline void ClubPrivilegeSet::clear_has_can_get_ticket() { - _has_bits_[0] &= ~0x04000000u; -} -inline void ClubPrivilegeSet::clear_can_get_ticket() { - can_get_ticket_ = false; - clear_has_can_get_ticket(); -} -inline bool ClubPrivilegeSet::can_get_ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ticket) - return can_get_ticket_; -} -inline void ClubPrivilegeSet::set_can_get_ticket(bool value) { - set_has_can_get_ticket(); - can_get_ticket_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ticket) -} - -// optional bool can_create_ticket = 111; -inline bool ClubPrivilegeSet::has_can_create_ticket() const { - return (_has_bits_[0] & 0x08000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_create_ticket() { - _has_bits_[0] |= 0x08000000u; -} -inline void ClubPrivilegeSet::clear_has_can_create_ticket() { - _has_bits_[0] &= ~0x08000000u; -} -inline void ClubPrivilegeSet::clear_can_create_ticket() { - can_create_ticket_ = false; - clear_has_can_create_ticket(); -} -inline bool ClubPrivilegeSet::can_create_ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_ticket) - return can_create_ticket_; -} -inline void ClubPrivilegeSet::set_can_create_ticket(bool value) { - set_has_can_create_ticket(); - can_create_ticket_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_ticket) -} - -// optional bool can_destroy_ticket = 112; -inline bool ClubPrivilegeSet::has_can_destroy_ticket() const { - return (_has_bits_[0] & 0x10000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_destroy_ticket() { - _has_bits_[0] |= 0x10000000u; -} -inline void ClubPrivilegeSet::clear_has_can_destroy_ticket() { - _has_bits_[0] &= ~0x10000000u; -} -inline void ClubPrivilegeSet::clear_can_destroy_ticket() { - can_destroy_ticket_ = false; - clear_has_can_destroy_ticket(); -} -inline bool ClubPrivilegeSet::can_destroy_ticket() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_ticket) - return can_destroy_ticket_; -} -inline void ClubPrivilegeSet::set_can_destroy_ticket(bool value) { - set_has_can_destroy_ticket(); - can_destroy_ticket_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_ticket) -} - -// optional bool can_get_ban = 130; -inline bool ClubPrivilegeSet::has_can_get_ban() const { - return (_has_bits_[0] & 0x20000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_get_ban() { - _has_bits_[0] |= 0x20000000u; -} -inline void ClubPrivilegeSet::clear_has_can_get_ban() { - _has_bits_[0] &= ~0x20000000u; -} -inline void ClubPrivilegeSet::clear_can_get_ban() { - can_get_ban_ = false; - clear_has_can_get_ban(); -} -inline bool ClubPrivilegeSet::can_get_ban() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ban) - return can_get_ban_; -} -inline void ClubPrivilegeSet::set_can_get_ban(bool value) { - set_has_can_get_ban(); - can_get_ban_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_get_ban) -} - -// optional bool can_add_ban = 131; -inline bool ClubPrivilegeSet::has_can_add_ban() const { - return (_has_bits_[0] & 0x40000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_add_ban() { - _has_bits_[0] |= 0x40000000u; -} -inline void ClubPrivilegeSet::clear_has_can_add_ban() { - _has_bits_[0] &= ~0x40000000u; -} -inline void ClubPrivilegeSet::clear_can_add_ban() { - can_add_ban_ = false; - clear_has_can_add_ban(); -} -inline bool ClubPrivilegeSet::can_add_ban() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_ban) - return can_add_ban_; -} -inline void ClubPrivilegeSet::set_can_add_ban(bool value) { - set_has_can_add_ban(); - can_add_ban_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_add_ban) -} - -// optional bool can_remove_ban = 132; -inline bool ClubPrivilegeSet::has_can_remove_ban() const { - return (_has_bits_[0] & 0x80000000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_remove_ban() { - _has_bits_[0] |= 0x80000000u; -} -inline void ClubPrivilegeSet::clear_has_can_remove_ban() { - _has_bits_[0] &= ~0x80000000u; -} -inline void ClubPrivilegeSet::clear_can_remove_ban() { - can_remove_ban_ = false; - clear_has_can_remove_ban(); -} -inline bool ClubPrivilegeSet::can_remove_ban() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_remove_ban) - return can_remove_ban_; -} -inline void ClubPrivilegeSet::set_can_remove_ban(bool value) { - set_has_can_remove_ban(); - can_remove_ban_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_remove_ban) -} - -// optional bool can_create_stream = 140; -inline bool ClubPrivilegeSet::has_can_create_stream() const { - return (_has_bits_[1] & 0x00000001u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_create_stream() { - _has_bits_[1] |= 0x00000001u; -} -inline void ClubPrivilegeSet::clear_has_can_create_stream() { - _has_bits_[1] &= ~0x00000001u; -} -inline void ClubPrivilegeSet::clear_can_create_stream() { - can_create_stream_ = false; - clear_has_can_create_stream(); -} -inline bool ClubPrivilegeSet::can_create_stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_stream) - return can_create_stream_; -} -inline void ClubPrivilegeSet::set_can_create_stream(bool value) { - set_has_can_create_stream(); - can_create_stream_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_stream) -} - -// optional bool can_destroy_stream = 141; -inline bool ClubPrivilegeSet::has_can_destroy_stream() const { - return (_has_bits_[1] & 0x00000002u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_destroy_stream() { - _has_bits_[1] |= 0x00000002u; -} -inline void ClubPrivilegeSet::clear_has_can_destroy_stream() { - _has_bits_[1] &= ~0x00000002u; -} -inline void ClubPrivilegeSet::clear_can_destroy_stream() { - can_destroy_stream_ = false; - clear_has_can_destroy_stream(); -} -inline bool ClubPrivilegeSet::can_destroy_stream() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_stream) - return can_destroy_stream_; -} -inline void ClubPrivilegeSet::set_can_destroy_stream(bool value) { - set_has_can_destroy_stream(); - can_destroy_stream_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_stream) -} - -// optional bool can_set_stream_position = 142; -inline bool ClubPrivilegeSet::has_can_set_stream_position() const { - return (_has_bits_[1] & 0x00000004u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_position() { - _has_bits_[1] |= 0x00000004u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_position() { - _has_bits_[1] &= ~0x00000004u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_position() { - can_set_stream_position_ = false; - clear_has_can_set_stream_position(); -} -inline bool ClubPrivilegeSet::can_set_stream_position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_position) - return can_set_stream_position_; -} -inline void ClubPrivilegeSet::set_can_set_stream_position(bool value) { - set_has_can_set_stream_position(); - can_set_stream_position_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_position) -} - -// optional bool can_set_stream_attribute = 143; -inline bool ClubPrivilegeSet::has_can_set_stream_attribute() const { - return (_has_bits_[1] & 0x00000008u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_attribute() { - _has_bits_[1] |= 0x00000008u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_attribute() { - _has_bits_[1] &= ~0x00000008u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_attribute() { - can_set_stream_attribute_ = false; - clear_has_can_set_stream_attribute(); -} -inline bool ClubPrivilegeSet::can_set_stream_attribute() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_attribute) - return can_set_stream_attribute_; -} -inline void ClubPrivilegeSet::set_can_set_stream_attribute(bool value) { - set_has_can_set_stream_attribute(); - can_set_stream_attribute_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_attribute) -} - -// optional bool can_set_stream_name = 144; -inline bool ClubPrivilegeSet::has_can_set_stream_name() const { - return (_has_bits_[1] & 0x00000010u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_name() { - _has_bits_[1] |= 0x00000010u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_name() { - _has_bits_[1] &= ~0x00000010u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_name() { - can_set_stream_name_ = false; - clear_has_can_set_stream_name(); -} -inline bool ClubPrivilegeSet::can_set_stream_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_name) - return can_set_stream_name_; -} -inline void ClubPrivilegeSet::set_can_set_stream_name(bool value) { - set_has_can_set_stream_name(); - can_set_stream_name_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_name) -} - -// optional bool can_set_stream_subject = 145; -inline bool ClubPrivilegeSet::has_can_set_stream_subject() const { - return (_has_bits_[1] & 0x00000020u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_subject() { - _has_bits_[1] |= 0x00000020u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_subject() { - _has_bits_[1] &= ~0x00000020u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_subject() { - can_set_stream_subject_ = false; - clear_has_can_set_stream_subject(); -} -inline bool ClubPrivilegeSet::can_set_stream_subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_subject) - return can_set_stream_subject_; -} -inline void ClubPrivilegeSet::set_can_set_stream_subject(bool value) { - set_has_can_set_stream_subject(); - can_set_stream_subject_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_subject) -} - -// optional bool can_set_stream_access = 146; -inline bool ClubPrivilegeSet::has_can_set_stream_access() const { - return (_has_bits_[1] & 0x00000040u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_access() { - _has_bits_[1] |= 0x00000040u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_access() { - _has_bits_[1] &= ~0x00000040u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_access() { - can_set_stream_access_ = false; - clear_has_can_set_stream_access(); -} -inline bool ClubPrivilegeSet::can_set_stream_access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_access) - return can_set_stream_access_; -} -inline void ClubPrivilegeSet::set_can_set_stream_access(bool value) { - set_has_can_set_stream_access(); - can_set_stream_access_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_access) -} - -// optional bool can_set_stream_voice_level = 147; -inline bool ClubPrivilegeSet::has_can_set_stream_voice_level() const { - return (_has_bits_[1] & 0x00000080u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_set_stream_voice_level() { - _has_bits_[1] |= 0x00000080u; -} -inline void ClubPrivilegeSet::clear_has_can_set_stream_voice_level() { - _has_bits_[1] &= ~0x00000080u; -} -inline void ClubPrivilegeSet::clear_can_set_stream_voice_level() { - can_set_stream_voice_level_ = false; - clear_has_can_set_stream_voice_level(); -} -inline bool ClubPrivilegeSet::can_set_stream_voice_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_voice_level) - return can_set_stream_voice_level_; -} -inline void ClubPrivilegeSet::set_can_set_stream_voice_level(bool value) { - set_has_can_set_stream_voice_level(); - can_set_stream_voice_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_set_stream_voice_level) -} - -// optional bool can_create_message = 180; -inline bool ClubPrivilegeSet::has_can_create_message() const { - return (_has_bits_[1] & 0x00000100u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_create_message() { - _has_bits_[1] |= 0x00000100u; -} -inline void ClubPrivilegeSet::clear_has_can_create_message() { - _has_bits_[1] &= ~0x00000100u; -} -inline void ClubPrivilegeSet::clear_can_create_message() { - can_create_message_ = false; - clear_has_can_create_message(); -} -inline bool ClubPrivilegeSet::can_create_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_message) - return can_create_message_; -} -inline void ClubPrivilegeSet::set_can_create_message(bool value) { - set_has_can_create_message(); - can_create_message_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_create_message) -} - -// optional bool can_destroy_own_message = 181; -inline bool ClubPrivilegeSet::has_can_destroy_own_message() const { - return (_has_bits_[1] & 0x00000200u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_destroy_own_message() { - _has_bits_[1] |= 0x00000200u; -} -inline void ClubPrivilegeSet::clear_has_can_destroy_own_message() { - _has_bits_[1] &= ~0x00000200u; -} -inline void ClubPrivilegeSet::clear_can_destroy_own_message() { - can_destroy_own_message_ = false; - clear_has_can_destroy_own_message(); -} -inline bool ClubPrivilegeSet::can_destroy_own_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_own_message) - return can_destroy_own_message_; -} -inline void ClubPrivilegeSet::set_can_destroy_own_message(bool value) { - set_has_can_destroy_own_message(); - can_destroy_own_message_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_own_message) -} - -// optional bool can_destroy_other_message = 182; -inline bool ClubPrivilegeSet::has_can_destroy_other_message() const { - return (_has_bits_[1] & 0x00000400u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_destroy_other_message() { - _has_bits_[1] |= 0x00000400u; -} -inline void ClubPrivilegeSet::clear_has_can_destroy_other_message() { - _has_bits_[1] &= ~0x00000400u; -} -inline void ClubPrivilegeSet::clear_can_destroy_other_message() { - can_destroy_other_message_ = false; - clear_has_can_destroy_other_message(); -} -inline bool ClubPrivilegeSet::can_destroy_other_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_other_message) - return can_destroy_other_message_; -} -inline void ClubPrivilegeSet::set_can_destroy_other_message(bool value) { - set_has_can_destroy_other_message(); - can_destroy_other_message_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_destroy_other_message) -} - -// optional bool can_edit_own_message = 183; -inline bool ClubPrivilegeSet::has_can_edit_own_message() const { - return (_has_bits_[1] & 0x00000800u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_edit_own_message() { - _has_bits_[1] |= 0x00000800u; -} -inline void ClubPrivilegeSet::clear_has_can_edit_own_message() { - _has_bits_[1] &= ~0x00000800u; -} -inline void ClubPrivilegeSet::clear_can_edit_own_message() { - can_edit_own_message_ = false; - clear_has_can_edit_own_message(); -} -inline bool ClubPrivilegeSet::can_edit_own_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_edit_own_message) - return can_edit_own_message_; -} -inline void ClubPrivilegeSet::set_can_edit_own_message(bool value) { - set_has_can_edit_own_message(); - can_edit_own_message_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_edit_own_message) -} - -// optional bool can_pin_message = 184; -inline bool ClubPrivilegeSet::has_can_pin_message() const { - return (_has_bits_[1] & 0x00001000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_pin_message() { - _has_bits_[1] |= 0x00001000u; -} -inline void ClubPrivilegeSet::clear_has_can_pin_message() { - _has_bits_[1] &= ~0x00001000u; -} -inline void ClubPrivilegeSet::clear_can_pin_message() { - can_pin_message_ = false; - clear_has_can_pin_message(); -} -inline bool ClubPrivilegeSet::can_pin_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_pin_message) - return can_pin_message_; -} -inline void ClubPrivilegeSet::set_can_pin_message(bool value) { - set_has_can_pin_message(); - can_pin_message_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_pin_message) -} - -// optional bool can_mention_all = 185; -inline bool ClubPrivilegeSet::has_can_mention_all() const { - return (_has_bits_[1] & 0x00002000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_mention_all() { - _has_bits_[1] |= 0x00002000u; -} -inline void ClubPrivilegeSet::clear_has_can_mention_all() { - _has_bits_[1] &= ~0x00002000u; -} -inline void ClubPrivilegeSet::clear_can_mention_all() { - can_mention_all_ = false; - clear_has_can_mention_all(); -} -inline bool ClubPrivilegeSet::can_mention_all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_all) - return can_mention_all_; -} -inline void ClubPrivilegeSet::set_can_mention_all(bool value) { - set_has_can_mention_all(); - can_mention_all_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_all) -} - -// optional bool can_mention_here = 186; -inline bool ClubPrivilegeSet::has_can_mention_here() const { - return (_has_bits_[1] & 0x00004000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_mention_here() { - _has_bits_[1] |= 0x00004000u; -} -inline void ClubPrivilegeSet::clear_has_can_mention_here() { - _has_bits_[1] &= ~0x00004000u; -} -inline void ClubPrivilegeSet::clear_can_mention_here() { - can_mention_here_ = false; - clear_has_can_mention_here(); -} -inline bool ClubPrivilegeSet::can_mention_here() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_here) - return can_mention_here_; -} -inline void ClubPrivilegeSet::set_can_mention_here(bool value) { - set_has_can_mention_here(); - can_mention_here_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_here) -} - -// optional bool can_mention_member = 187; -inline bool ClubPrivilegeSet::has_can_mention_member() const { - return (_has_bits_[1] & 0x00008000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_mention_member() { - _has_bits_[1] |= 0x00008000u; -} -inline void ClubPrivilegeSet::clear_has_can_mention_member() { - _has_bits_[1] &= ~0x00008000u; -} -inline void ClubPrivilegeSet::clear_can_mention_member() { - can_mention_member_ = false; - clear_has_can_mention_member(); -} -inline bool ClubPrivilegeSet::can_mention_member() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_member) - return can_mention_member_; -} -inline void ClubPrivilegeSet::set_can_mention_member(bool value) { - set_has_can_mention_member(); - can_mention_member_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_member) -} - -// optional bool can_mention_role = 188; -inline bool ClubPrivilegeSet::has_can_mention_role() const { - return (_has_bits_[1] & 0x00010000u) != 0; -} -inline void ClubPrivilegeSet::set_has_can_mention_role() { - _has_bits_[1] |= 0x00010000u; -} -inline void ClubPrivilegeSet::clear_has_can_mention_role() { - _has_bits_[1] &= ~0x00010000u; -} -inline void ClubPrivilegeSet::clear_can_mention_role() { - can_mention_role_ = false; - clear_has_can_mention_role(); -} -inline bool ClubPrivilegeSet::can_mention_role() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_role) - return can_mention_role_; -} -inline void ClubPrivilegeSet::set_can_mention_role(bool value) { - set_has_can_mention_role(); - can_mention_role_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubPrivilegeSet.can_mention_role) -} - -// ------------------------------------------------------------------- - -// ClubRole - -// optional uint32 id = 1; -inline bool ClubRole::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClubRole::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClubRole::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClubRole::clear_id() { - id_ = 0u; - clear_has_id(); -} -inline ::google::protobuf::uint32 ClubRole::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.id) - return id_; -} -inline void ClubRole::set_id(::google::protobuf::uint32 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.id) -} - -// optional .bgs.protocol.RoleState state = 2; -inline bool ClubRole::has_state() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClubRole::set_has_state() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClubRole::clear_has_state() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClubRole::clear_state() { - if (state_ != NULL) state_->::bgs::protocol::RoleState::Clear(); - clear_has_state(); -} -inline const ::bgs::protocol::RoleState& ClubRole::state() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.state) - return state_ != NULL ? *state_ : *default_instance_->state_; -} -inline ::bgs::protocol::RoleState* ClubRole::mutable_state() { - set_has_state(); - if (state_ == NULL) state_ = new ::bgs::protocol::RoleState; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRole.state) - return state_; -} -inline ::bgs::protocol::RoleState* ClubRole::release_state() { - clear_has_state(); - ::bgs::protocol::RoleState* temp = state_; - state_ = NULL; - return temp; -} -inline void ClubRole::set_allocated_state(::bgs::protocol::RoleState* state) { - delete state_; - state_ = state; - if (state) { - set_has_state(); - } else { - clear_has_state(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.state) -} - -// optional .bgs.protocol.club.v1.ClubPrivilegeSet privilege = 3; -inline bool ClubRole::has_privilege() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubRole::set_has_privilege() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubRole::clear_has_privilege() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubRole::clear_privilege() { - if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::ClubPrivilegeSet::Clear(); - clear_has_privilege(); -} -inline const ::bgs::protocol::club::v1::ClubPrivilegeSet& ClubRole::privilege() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.privilege) - return privilege_ != NULL ? *privilege_ : *default_instance_->privilege_; -} -inline ::bgs::protocol::club::v1::ClubPrivilegeSet* ClubRole::mutable_privilege() { - set_has_privilege(); - if (privilege_ == NULL) privilege_ = new ::bgs::protocol::club::v1::ClubPrivilegeSet; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRole.privilege) - return privilege_; -} -inline ::bgs::protocol::club::v1::ClubPrivilegeSet* ClubRole::release_privilege() { - clear_has_privilege(); - ::bgs::protocol::club::v1::ClubPrivilegeSet* temp = privilege_; - privilege_ = NULL; - return temp; -} -inline void ClubRole::set_allocated_privilege(::bgs::protocol::club::v1::ClubPrivilegeSet* privilege) { - delete privilege_; - privilege_ = privilege; - if (privilege) { - set_has_privilege(); - } else { - clear_has_privilege(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRole.privilege) -} - -// optional bool always_grant_stream_access = 4; -inline bool ClubRole::has_always_grant_stream_access() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubRole::set_has_always_grant_stream_access() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubRole::clear_has_always_grant_stream_access() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubRole::clear_always_grant_stream_access() { - always_grant_stream_access_ = false; - clear_has_always_grant_stream_access(); -} -inline bool ClubRole::always_grant_stream_access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.always_grant_stream_access) - return always_grant_stream_access_; -} -inline void ClubRole::set_always_grant_stream_access(bool value) { - set_has_always_grant_stream_access(); - always_grant_stream_access_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.always_grant_stream_access) -} - -// optional bool allow_in_club_slot = 5; -inline bool ClubRole::has_allow_in_club_slot() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void ClubRole::set_has_allow_in_club_slot() { - _has_bits_[0] |= 0x00000010u; -} -inline void ClubRole::clear_has_allow_in_club_slot() { - _has_bits_[0] &= ~0x00000010u; -} -inline void ClubRole::clear_allow_in_club_slot() { - allow_in_club_slot_ = false; - clear_has_allow_in_club_slot(); -} -inline bool ClubRole::allow_in_club_slot() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRole.allow_in_club_slot) - return allow_in_club_slot_; -} -inline void ClubRole::set_allow_in_club_slot(bool value) { - set_has_allow_in_club_slot(); - allow_in_club_slot_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRole.allow_in_club_slot) -} - -// ------------------------------------------------------------------- - -// ClubRoleSet - -// repeated .bgs.protocol.club.v1.ClubRole role = 1; -inline int ClubRoleSet::role_size() const { - return role_.size(); -} -inline void ClubRoleSet::clear_role() { - role_.Clear(); -} -inline const ::bgs::protocol::club::v1::ClubRole& ClubRoleSet::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.role) - return role_.Get(index); -} -inline ::bgs::protocol::club::v1::ClubRole* ClubRoleSet::mutable_role(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRoleSet.role) - return role_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ClubRole* ClubRoleSet::add_role() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubRoleSet.role) - return role_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >& -ClubRoleSet::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubRoleSet.role) - return role_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ClubRole >* -ClubRoleSet::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubRoleSet.role) - return &role_; -} - -// repeated uint32 default_role = 5 [packed = true]; -inline int ClubRoleSet::default_role_size() const { - return default_role_.size(); -} -inline void ClubRoleSet::clear_default_role() { - default_role_.Clear(); -} -inline ::google::protobuf::uint32 ClubRoleSet::default_role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.default_role) - return default_role_.Get(index); -} -inline void ClubRoleSet::set_default_role(int index, ::google::protobuf::uint32 value) { - default_role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.default_role) -} -inline void ClubRoleSet::add_default_role(::google::protobuf::uint32 value) { - default_role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubRoleSet.default_role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -ClubRoleSet::default_role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubRoleSet.default_role) - return default_role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -ClubRoleSet::mutable_default_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubRoleSet.default_role) - return &default_role_; -} - -// optional bool assignment_respects_relegation_chain = 6; -inline bool ClubRoleSet::has_assignment_respects_relegation_chain() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ClubRoleSet::set_has_assignment_respects_relegation_chain() { - _has_bits_[0] |= 0x00000004u; -} -inline void ClubRoleSet::clear_has_assignment_respects_relegation_chain() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ClubRoleSet::clear_assignment_respects_relegation_chain() { - assignment_respects_relegation_chain_ = false; - clear_has_assignment_respects_relegation_chain(); -} -inline bool ClubRoleSet::assignment_respects_relegation_chain() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.assignment_respects_relegation_chain) - return assignment_respects_relegation_chain_; -} -inline void ClubRoleSet::set_assignment_respects_relegation_chain(bool value) { - set_has_assignment_respects_relegation_chain(); - assignment_respects_relegation_chain_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.assignment_respects_relegation_chain) -} - -// optional string subtype = 7; -inline bool ClubRoleSet::has_subtype() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ClubRoleSet::set_has_subtype() { - _has_bits_[0] |= 0x00000008u; -} -inline void ClubRoleSet::clear_has_subtype() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ClubRoleSet::clear_subtype() { - if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subtype_->clear(); - } - clear_has_subtype(); -} -inline const ::std::string& ClubRoleSet::subtype() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubRoleSet.subtype) - return *subtype_; -} -inline void ClubRoleSet::set_subtype(const ::std::string& value) { - set_has_subtype(); - if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subtype_ = new ::std::string; - } - subtype_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubRoleSet.subtype) -} -inline void ClubRoleSet::set_subtype(const char* value) { - set_has_subtype(); - if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subtype_ = new ::std::string; - } - subtype_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubRoleSet.subtype) -} -inline void ClubRoleSet::set_subtype(const char* value, size_t size) { - set_has_subtype(); - if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subtype_ = new ::std::string; - } - subtype_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubRoleSet.subtype) -} -inline ::std::string* ClubRoleSet::mutable_subtype() { - set_has_subtype(); - if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subtype_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubRoleSet.subtype) - return subtype_; -} -inline ::std::string* ClubRoleSet::release_subtype() { - clear_has_subtype(); - if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = subtype_; - subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) { - if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subtype_; - } - if (subtype) { - set_has_subtype(); - subtype_ = subtype; - } else { - clear_has_subtype(); - subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubRoleSet.subtype) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5frole_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_service.pb.cc b/src/server/proto/Client/club_service.pb.cc deleted file mode 100644 index 1b04e1ab6ea..00000000000 --- a/src/server/proto/Client/club_service.pb.cc +++ /dev/null @@ -1,1511 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_service.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_service.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::ServiceDescriptor* ClubService_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fservice_2eproto() { - protobuf_AddDesc_club_5fservice_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_service.proto"); - GOOGLE_CHECK(file != NULL); - ClubService_descriptor_ = file->service(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fservice_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fservice_2eproto() { -} - -void protobuf_AddDesc_club_5fservice_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5frequest_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\022club_service.proto\022\024bgs.protocol.club." - "v1\032\022club_request.proto2\260+\n\013ClubService\022Q" - "\n\tSubscribe\022&.bgs.protocol.club.v1.Subsc" - "ribeRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010" - "\001\022U\n\013Unsubscribe\022(.bgs.protocol.club.v1." - "UnsubscribeRequest\032\024.bgs.protocol.NoData" - "\"\006\202\371+\002\010\002\022[\n\006Create\022#.bgs.protocol.club.v" - "1.CreateRequest\032$.bgs.protocol.club.v1.C" - "reateResponse\"\006\202\371+\002\010\003\022M\n\007Destroy\022$.bgs.p" - "rotocol.club.v1.DestroyRequest\032\024.bgs.pro" - "tocol.NoData\"\006\202\371+\002\010\004\022s\n\016GetDescription\022+" - ".bgs.protocol.club.v1.GetDescriptionRequ" - "est\032,.bgs.protocol.club.v1.GetDescriptio" - "nResponse\"\006\202\371+\002\010\005\022j\n\013GetClubType\022(.bgs.p" - "rotocol.club.v1.GetClubTypeRequest\032).bgs" - ".protocol.club.v1.GetClubTypeResponse\"\006\202" - "\371+\002\010\006\022]\n\017UpdateClubState\022,.bgs.protocol." - "club.v1.UpdateClubStateRequest\032\024.bgs.pro" - "tocol.NoData\"\006\202\371+\002\010\007\022c\n\022UpdateClubSettin" - "gs\022/.bgs.protocol.club.v1.UpdateClubSett" - "ingsRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010" - "\010\022G\n\004Join\022!.bgs.protocol.club.v1.JoinReq" - "uest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\036\022I\n\005Le" - "ave\022\".bgs.protocol.club.v1.LeaveRequest\032" - "\024.bgs.protocol.NoData\"\006\202\371+\002\010\037\022G\n\004Kick\022!." - "bgs.protocol.club.v1.KickRequest\032\024.bgs.p" - "rotocol.NoData\"\006\202\371+\002\010 \022d\n\tGetMember\022&.bg" - "s.protocol.club.v1.GetMemberRequest\032\'.bg" - "s.protocol.club.v1.GetMemberResponse\"\006\202\371" - "+\002\010!\022g\n\nGetMembers\022\'.bgs.protocol.club.v" - "1.GetMembersRequest\032(.bgs.protocol.club." - "v1.GetMembersResponse\"\006\202\371+\002\010\"\022a\n\021UpdateM" - "emberState\022..bgs.protocol.club.v1.Update" - "MemberStateRequest\032\024.bgs.protocol.NoData" - "\"\006\202\371+\002\010#\022i\n\025UpdateSubscriberState\0222.bgs." - "protocol.club.v1.UpdateSubscriberStateRe" - "quest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010$\022S\n\nA" - "ssignRole\022\'.bgs.protocol.club.v1.AssignR" - "oleRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010%" - "\022W\n\014UnassignRole\022).bgs.protocol.club.v1." - "UnassignRoleRequest\032\024.bgs.protocol.NoDat" - "a\"\006\202\371+\002\010&\022[\n\016SendInvitation\022+.bgs.protoc" - "ol.club.v1.SendInvitationRequest\032\024.bgs.p" - "rotocol.NoData\"\006\202\371+\002\0102\022_\n\020AcceptInvitati" - "on\022-.bgs.protocol.club.v1.AcceptInvitati" - "onRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\0103\022" - "a\n\021DeclineInvitation\022..bgs.protocol.club" - ".v1.DeclineInvitationRequest\032\024.bgs.proto" - "col.NoData\"\006\202\371+\002\0104\022_\n\020RevokeInvitation\022-" - ".bgs.protocol.club.v1.RevokeInvitationRe" - "quest\032\024.bgs.protocol.NoData\"\006\202\371+\002\0105\022p\n\rG" - "etInvitation\022*.bgs.protocol.club.v1.GetI" - "nvitationRequest\032+.bgs.protocol.club.v1." - "GetInvitationResponse\"\006\202\371+\002\0106\022s\n\016GetInvi" - "tations\022+.bgs.protocol.club.v1.GetInvita" - "tionsRequest\032,.bgs.protocol.club.v1.GetI" - "nvitationsResponse\"\006\202\371+\002\0107\022[\n\016SendSugges" - "tion\022+.bgs.protocol.club.v1.SendSuggesti" - "onRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010<\022" - "_\n\020AcceptSuggestion\022-.bgs.protocol.club." - "v1.AcceptSuggestionRequest\032\024.bgs.protoco" - "l.NoData\"\006\202\371+\002\010=\022a\n\021DeclineSuggestion\022.." - "bgs.protocol.club.v1.DeclineSuggestionRe" - "quest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010>\022p\n\rG" - "etSuggestion\022*.bgs.protocol.club.v1.GetS" - "uggestionRequest\032+.bgs.protocol.club.v1." - "GetSuggestionResponse\"\006\202\371+\002\010\?\022s\n\016GetSugg" - "estions\022+.bgs.protocol.club.v1.GetSugges" - "tionsRequest\032,.bgs.protocol.club.v1.GetS" - "uggestionsResponse\"\006\202\371+\002\010@\022m\n\014CreateTick" - "et\022).bgs.protocol.club.v1.CreateTicketRe" - "quest\032*.bgs.protocol.club.v1.CreateTicke" - "tResponse\"\006\202\371+\002\010F\022Y\n\rDestroyTicket\022*.bgs" - ".protocol.club.v1.DestroyTicketRequest\032\024" - ".bgs.protocol.NoData\"\006\202\371+\002\010G\022W\n\014RedeemTi" - "cket\022).bgs.protocol.club.v1.RedeemTicket" - "Request\032\024.bgs.protocol.NoData\"\006\202\371+\002\010H\022d\n" - "\tGetTicket\022&.bgs.protocol.club.v1.GetTic" - "ketRequest\032\'.bgs.protocol.club.v1.GetTic" - "ketResponse\"\006\202\371+\002\010I\022g\n\nGetTickets\022\'.bgs." - "protocol.club.v1.GetTicketsRequest\032(.bgs" - ".protocol.club.v1.GetTicketsResponse\"\006\202\371" - "+\002\010J\022K\n\006AddBan\022#.bgs.protocol.club.v1.Ad" - "dBanRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010" - "P\022Q\n\tRemoveBan\022&.bgs.protocol.club.v1.Re" - "moveBanRequest\032\024.bgs.protocol.NoData\"\006\202\371" - "+\002\010Q\022[\n\006GetBan\022#.bgs.protocol.club.v1.Ge" - "tBanRequest\032$.bgs.protocol.club.v1.GetBa" - "nResponse\"\006\202\371+\002\010R\022^\n\007GetBans\022$.bgs.proto" - "col.club.v1.GetBansRequest\032%.bgs.protoco" - "l.club.v1.GetBansResponse\"\006\202\371+\002\010S\022]\n\017Sub" - "scribeStream\022,.bgs.protocol.club.v1.Subs" - "cribeStreamRequest\032\024.bgs.protocol.NoData" - "\"\006\202\371+\002\010d\022a\n\021UnsubscribeStream\022..bgs.prot" - "ocol.club.v1.UnsubscribeStreamRequest\032\024." - "bgs.protocol.NoData\"\006\202\371+\002\010e\022m\n\014CreateStr" - "eam\022).bgs.protocol.club.v1.CreateStreamR" - "equest\032*.bgs.protocol.club.v1.CreateStre" - "amResponse\"\006\202\371+\002\010f\022Y\n\rDestroyStream\022*.bg" - "s.protocol.club.v1.DestroyStreamRequest\032" - "\024.bgs.protocol.NoData\"\006\202\371+\002\010g\022d\n\tGetStre" - "am\022&.bgs.protocol.club.v1.GetStreamReque" - "st\032\'.bgs.protocol.club.v1.GetStreamRespo" - "nse\"\006\202\371+\002\010h\022g\n\nGetStreams\022\'.bgs.protocol" - ".club.v1.GetStreamsRequest\032(.bgs.protoco" - "l.club.v1.GetStreamsResponse\"\006\202\371+\002\010i\022a\n\021" - "UpdateStreamState\022..bgs.protocol.club.v1" - ".UpdateStreamStateRequest\032\024.bgs.protocol" - ".NoData\"\006\202\371+\002\010j\022[\n\016SetStreamFocus\022+.bgs." - "protocol.club.v1.SetStreamFocusRequest\032\024" - ".bgs.protocol.NoData\"\006\202\371+\002\010k\022\202\001\n\023GetStre" - "amVoiceToken\0220.bgs.protocol.club.v1.GetS" - "treamVoiceTokenRequest\0321.bgs.protocol.cl" - "ub.v1.GetStreamVoiceTokenResponse\"\006\202\371+\002\010" - "l\022e\n\023KickFromStreamVoice\0220.bgs.protocol." - "club.v1.KickFromStreamVoiceRequest\032\024.bgs" - ".protocol.NoData\"\006\202\371+\002\010m\022q\n\rCreateMessag" - "e\022*.bgs.protocol.club.v1.CreateMessageRe" - "quest\032+.bgs.protocol.club.v1.CreateMessa" - "geResponse\"\007\202\371+\003\010\226\001\022t\n\016DestroyMessage\022+." - "bgs.protocol.club.v1.DestroyMessageReque" - "st\032,.bgs.protocol.club.v1.DestroyMessage" - "Response\"\007\202\371+\003\010\227\001\022k\n\013EditMessage\022(.bgs.p" - "rotocol.club.v1.EditMessageRequest\032).bgs" - ".protocol.club.v1.EditMessageResponse\"\007\202" - "\371+\003\010\230\001\022`\n\020SetMessagePinned\022-.bgs.protoco" - "l.club.v1.SetMessagePinnedRequest\032\024.bgs." - "protocol.NoData\"\007\202\371+\003\010\231\001\022d\n\022SetTypingInd" - "icator\022/.bgs.protocol.club.v1.SetTypingI" - "ndicatorRequest\032\024.bgs.protocol.NoData\"\007\202" - "\371+\003\010\232\001\022j\n\025AdvanceStreamViewTime\0222.bgs.pr" - "otocol.club.v1.AdvanceStreamViewTimeRequ" - "est\032\024.bgs.protocol.NoData\"\007\202\371+\003\010\233\001\022z\n\020Ge" - "tStreamHistory\022-.bgs.protocol.club.v1.Ge" - "tStreamHistoryRequest\032..bgs.protocol.clu" - "b.v1.GetStreamHistoryResponse\"\007\202\371+\003\010\234\001\022z" - "\n\020GetStreamMessage\022-.bgs.protocol.club.v" - "1.GetStreamMessageRequest\032..bgs.protocol" - ".club.v1.GetStreamMessageResponse\"\007\202\371+\003\010" - "\235\001\0325\202\371+)\n!bnet.protocol.club.v1.ClubServ" - "ice*\004club\212\371+\004\020\001\030\001B\005H\002\200\001\000", 5624); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_service.proto", &protobuf_RegisterTypes); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fservice_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fservice_2eproto { - StaticDescriptorInitializer_club_5fservice_2eproto() { - protobuf_AddDesc_club_5fservice_2eproto(); - } -} static_descriptor_initializer_club_5fservice_2eproto_; -// =================================================================== - -ClubService::ClubService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -ClubService::~ClubService() { -} - -google::protobuf::ServiceDescriptor const* ClubService::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubService_descriptor_; -} - -void ClubService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { - switch(methodId & 0x3FFFFFFF) { - case 1: - ParseAndHandleSubscribe(token, methodId, buffer); - break; - case 2: - ParseAndHandleUnsubscribe(token, methodId, buffer); - break; - case 3: - ParseAndHandleCreate(token, methodId, buffer); - break; - case 4: - ParseAndHandleDestroy(token, methodId, buffer); - break; - case 5: - ParseAndHandleGetDescription(token, methodId, buffer); - break; - case 6: - ParseAndHandleGetClubType(token, methodId, buffer); - break; - case 7: - ParseAndHandleUpdateClubState(token, methodId, buffer); - break; - case 8: - ParseAndHandleUpdateClubSettings(token, methodId, buffer); - break; - case 30: - ParseAndHandleJoin(token, methodId, buffer); - break; - case 31: - ParseAndHandleLeave(token, methodId, buffer); - break; - case 32: - ParseAndHandleKick(token, methodId, buffer); - break; - case 33: - ParseAndHandleGetMember(token, methodId, buffer); - break; - case 34: - ParseAndHandleGetMembers(token, methodId, buffer); - break; - case 35: - ParseAndHandleUpdateMemberState(token, methodId, buffer); - break; - case 36: - ParseAndHandleUpdateSubscriberState(token, methodId, buffer); - break; - case 37: - ParseAndHandleAssignRole(token, methodId, buffer); - break; - case 38: - ParseAndHandleUnassignRole(token, methodId, buffer); - break; - case 50: - ParseAndHandleSendInvitation(token, methodId, buffer); - break; - case 51: - ParseAndHandleAcceptInvitation(token, methodId, buffer); - break; - case 52: - ParseAndHandleDeclineInvitation(token, methodId, buffer); - break; - case 53: - ParseAndHandleRevokeInvitation(token, methodId, buffer); - break; - case 54: - ParseAndHandleGetInvitation(token, methodId, buffer); - break; - case 55: - ParseAndHandleGetInvitations(token, methodId, buffer); - break; - case 60: - ParseAndHandleSendSuggestion(token, methodId, buffer); - break; - case 61: - ParseAndHandleAcceptSuggestion(token, methodId, buffer); - break; - case 62: - ParseAndHandleDeclineSuggestion(token, methodId, buffer); - break; - case 63: - ParseAndHandleGetSuggestion(token, methodId, buffer); - break; - case 64: - ParseAndHandleGetSuggestions(token, methodId, buffer); - break; - case 70: - ParseAndHandleCreateTicket(token, methodId, buffer); - break; - case 71: - ParseAndHandleDestroyTicket(token, methodId, buffer); - break; - case 72: - ParseAndHandleRedeemTicket(token, methodId, buffer); - break; - case 73: - ParseAndHandleGetTicket(token, methodId, buffer); - break; - case 74: - ParseAndHandleGetTickets(token, methodId, buffer); - break; - case 80: - ParseAndHandleAddBan(token, methodId, buffer); - break; - case 81: - ParseAndHandleRemoveBan(token, methodId, buffer); - break; - case 82: - ParseAndHandleGetBan(token, methodId, buffer); - break; - case 83: - ParseAndHandleGetBans(token, methodId, buffer); - break; - case 100: - ParseAndHandleSubscribeStream(token, methodId, buffer); - break; - case 101: - ParseAndHandleUnsubscribeStream(token, methodId, buffer); - break; - case 102: - ParseAndHandleCreateStream(token, methodId, buffer); - break; - case 103: - ParseAndHandleDestroyStream(token, methodId, buffer); - break; - case 104: - ParseAndHandleGetStream(token, methodId, buffer); - break; - case 105: - ParseAndHandleGetStreams(token, methodId, buffer); - break; - case 106: - ParseAndHandleUpdateStreamState(token, methodId, buffer); - break; - case 107: - ParseAndHandleSetStreamFocus(token, methodId, buffer); - break; - case 108: - ParseAndHandleGetStreamVoiceToken(token, methodId, buffer); - break; - case 109: - ParseAndHandleKickFromStreamVoice(token, methodId, buffer); - break; - case 150: - ParseAndHandleCreateMessage(token, methodId, buffer); - break; - case 151: - ParseAndHandleDestroyMessage(token, methodId, buffer); - break; - case 152: - ParseAndHandleEditMessage(token, methodId, buffer); - break; - case 153: - ParseAndHandleSetMessagePinned(token, methodId, buffer); - break; - case 154: - ParseAndHandleSetTypingIndicator(token, methodId, buffer); - break; - case 155: - ParseAndHandleAdvanceStreamViewTime(token, methodId, buffer); - break; - case 156: - ParseAndHandleGetStreamHistory(token, methodId, buffer); - break; - case 157: - ParseAndHandleGetStreamMessage(token, methodId, buffer); - break; - default: - LogInvalidMethod(methodId); - SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); - break; - } -} - -uint32 ClubService::HandleSubscribe(::bgs::protocol::club::v1::SubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Subscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUnsubscribe(::bgs::protocol::club::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Unsubscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleCreate(::bgs::protocol::club::v1::CreateRequest const* request, ::bgs::protocol::club::v1::CreateResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Create", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDestroy(::bgs::protocol::club::v1::DestroyRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Destroy", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetDescription(::bgs::protocol::club::v1::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::GetDescriptionResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetDescription", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetClubType(::bgs::protocol::club::v1::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::GetClubTypeResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetClubType", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUpdateClubState(::bgs::protocol::club::v1::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UpdateClubState", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUpdateClubSettings(::bgs::protocol::club::v1::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UpdateClubSettings", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleJoin(::bgs::protocol::club::v1::JoinRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Join", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleLeave(::bgs::protocol::club::v1::LeaveRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Leave", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleKick(::bgs::protocol::club::v1::KickRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.Kick", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetMember(::bgs::protocol::club::v1::GetMemberRequest const* request, ::bgs::protocol::club::v1::GetMemberResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetMember", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetMembers(::bgs::protocol::club::v1::GetMembersRequest const* request, ::bgs::protocol::club::v1::GetMembersResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetMembers", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUpdateMemberState(::bgs::protocol::club::v1::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UpdateMemberState", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUpdateSubscriberState(::bgs::protocol::club::v1::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UpdateSubscriberState", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleAssignRole(::bgs::protocol::club::v1::AssignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.AssignRole", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUnassignRole(::bgs::protocol::club::v1::UnassignRoleRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UnassignRole", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSendInvitation(::bgs::protocol::club::v1::SendInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SendInvitation", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleAcceptInvitation(::bgs::protocol::club::v1::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.AcceptInvitation", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDeclineInvitation(::bgs::protocol::club::v1::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.DeclineInvitation", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleRevokeInvitation(::bgs::protocol::club::v1::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.RevokeInvitation", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetInvitation(::bgs::protocol::club::v1::GetInvitationRequest const* request, ::bgs::protocol::club::v1::GetInvitationResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetInvitation", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetInvitations(::bgs::protocol::club::v1::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::GetInvitationsResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetInvitations", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSendSuggestion(::bgs::protocol::club::v1::SendSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SendSuggestion", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleAcceptSuggestion(::bgs::protocol::club::v1::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.AcceptSuggestion", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDeclineSuggestion(::bgs::protocol::club::v1::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.DeclineSuggestion", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetSuggestion(::bgs::protocol::club::v1::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::GetSuggestionResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetSuggestion", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetSuggestions(::bgs::protocol::club::v1::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::GetSuggestionsResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetSuggestions", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleCreateTicket(::bgs::protocol::club::v1::CreateTicketRequest const* request, ::bgs::protocol::club::v1::CreateTicketResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.CreateTicket", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDestroyTicket(::bgs::protocol::club::v1::DestroyTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.DestroyTicket", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleRedeemTicket(::bgs::protocol::club::v1::RedeemTicketRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.RedeemTicket", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetTicket(::bgs::protocol::club::v1::GetTicketRequest const* request, ::bgs::protocol::club::v1::GetTicketResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetTicket", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetTickets(::bgs::protocol::club::v1::GetTicketsRequest const* request, ::bgs::protocol::club::v1::GetTicketsResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetTickets", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleAddBan(::bgs::protocol::club::v1::AddBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.AddBan", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleRemoveBan(::bgs::protocol::club::v1::RemoveBanRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.RemoveBan", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetBan(::bgs::protocol::club::v1::GetBanRequest const* request, ::bgs::protocol::club::v1::GetBanResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetBan", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetBans(::bgs::protocol::club::v1::GetBansRequest const* request, ::bgs::protocol::club::v1::GetBansResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetBans", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSubscribeStream(::bgs::protocol::club::v1::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SubscribeStream", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUnsubscribeStream(::bgs::protocol::club::v1::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UnsubscribeStream", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleCreateStream(::bgs::protocol::club::v1::CreateStreamRequest const* request, ::bgs::protocol::club::v1::CreateStreamResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.CreateStream", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDestroyStream(::bgs::protocol::club::v1::DestroyStreamRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.DestroyStream", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetStream(::bgs::protocol::club::v1::GetStreamRequest const* request, ::bgs::protocol::club::v1::GetStreamResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetStream", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetStreams(::bgs::protocol::club::v1::GetStreamsRequest const* request, ::bgs::protocol::club::v1::GetStreamsResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetStreams", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleUpdateStreamState(::bgs::protocol::club::v1::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.UpdateStreamState", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSetStreamFocus(::bgs::protocol::club::v1::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SetStreamFocus", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetStreamVoiceToken(::bgs::protocol::club::v1::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetStreamVoiceToken", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleKickFromStreamVoice(::bgs::protocol::club::v1::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.KickFromStreamVoice", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleCreateMessage(::bgs::protocol::club::v1::CreateMessageRequest const* request, ::bgs::protocol::club::v1::CreateMessageResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.CreateMessage", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleDestroyMessage(::bgs::protocol::club::v1::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::DestroyMessageResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.DestroyMessage", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleEditMessage(::bgs::protocol::club::v1::EditMessageRequest const* request, ::bgs::protocol::club::v1::EditMessageResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.EditMessage", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSetMessagePinned(::bgs::protocol::club::v1::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SetMessagePinned", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleSetTypingIndicator(::bgs::protocol::club::v1::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.SetTypingIndicator", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.AdvanceStreamViewTime", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetStreamHistory(::bgs::protocol::club::v1::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::GetStreamHistoryResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetStreamHistory", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ClubService::HandleGetStreamMessage(::bgs::protocol::club::v1::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::GetStreamMessageResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ClubService.GetStreamMessage", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -void ClubService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Subscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Subscribe", "bgs.protocol.club.v1.SubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Subscribe", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnsubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Unsubscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Unsubscribe", "bgs.protocol.club.v1.UnsubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnsubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Create"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Create", "bgs.protocol.club.v1.CreateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Create", ::bgs::protocol::club::v1::CreateResponse::descriptor()); - ::bgs::protocol::club::v1::CreateResponse response; - uint32 status = HandleCreate(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DestroyRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Destroy"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Destroy", "bgs.protocol.club.v1.DestroyRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Destroy", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleDestroy(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetDescriptionRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetDescription"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetDescription", "bgs.protocol.club.v1.GetDescriptionRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetDescription", ::bgs::protocol::club::v1::GetDescriptionResponse::descriptor()); - ::bgs::protocol::club::v1::GetDescriptionResponse response; - uint32 status = HandleGetDescription(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetClubTypeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetClubType"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetClubType", "bgs.protocol.club.v1.GetClubTypeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetClubType", ::bgs::protocol::club::v1::GetClubTypeResponse::descriptor()); - ::bgs::protocol::club::v1::GetClubTypeResponse response; - uint32 status = HandleGetClubType(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateClubStateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UpdateClubState"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UpdateClubState", "bgs.protocol.club.v1.UpdateClubStateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubState", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateClubState(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateClubSettingsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UpdateClubSettings"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UpdateClubSettings", "bgs.protocol.club.v1.UpdateClubSettingsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateClubSettings", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateClubSettings(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::JoinRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Join"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Join", "bgs.protocol.club.v1.JoinRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Join", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleJoin(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::LeaveRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Leave"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Leave", "bgs.protocol.club.v1.LeaveRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Leave", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleLeave(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::KickRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.Kick"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.Kick", "bgs.protocol.club.v1.KickRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.Kick", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleKick(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetMemberRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetMember"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetMember", "bgs.protocol.club.v1.GetMemberRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMember", ::bgs::protocol::club::v1::GetMemberResponse::descriptor()); - ::bgs::protocol::club::v1::GetMemberResponse response; - uint32 status = HandleGetMember(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetMembersRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetMembers"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetMembers", "bgs.protocol.club.v1.GetMembersRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetMembers", ::bgs::protocol::club::v1::GetMembersResponse::descriptor()); - ::bgs::protocol::club::v1::GetMembersResponse response; - uint32 status = HandleGetMembers(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateMemberStateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UpdateMemberState"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UpdateMemberState", "bgs.protocol.club.v1.UpdateMemberStateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateMemberState", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateMemberState(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateSubscriberStateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UpdateSubscriberState"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UpdateSubscriberState", "bgs.protocol.club.v1.UpdateSubscriberStateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateSubscriberState", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateSubscriberState(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AssignRoleRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.AssignRole"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.AssignRole", "bgs.protocol.club.v1.AssignRoleRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AssignRole", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAssignRole(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnassignRoleRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UnassignRole"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UnassignRole", "bgs.protocol.club.v1.UnassignRoleRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnassignRole", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnassignRole(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SendInvitationRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SendInvitation"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SendInvitation", "bgs.protocol.club.v1.SendInvitationRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendInvitation", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSendInvitation(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AcceptInvitationRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.AcceptInvitation"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.AcceptInvitation", "bgs.protocol.club.v1.AcceptInvitationRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptInvitation", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAcceptInvitation(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DeclineInvitationRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.DeclineInvitation"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.DeclineInvitation", "bgs.protocol.club.v1.DeclineInvitationRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineInvitation", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleDeclineInvitation(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RevokeInvitationRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.RevokeInvitation"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.RevokeInvitation", "bgs.protocol.club.v1.RevokeInvitationRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RevokeInvitation", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleRevokeInvitation(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetInvitationRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetInvitation"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetInvitation", "bgs.protocol.club.v1.GetInvitationRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitation", ::bgs::protocol::club::v1::GetInvitationResponse::descriptor()); - ::bgs::protocol::club::v1::GetInvitationResponse response; - uint32 status = HandleGetInvitation(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetInvitationsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetInvitations"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetInvitations", "bgs.protocol.club.v1.GetInvitationsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetInvitations", ::bgs::protocol::club::v1::GetInvitationsResponse::descriptor()); - ::bgs::protocol::club::v1::GetInvitationsResponse response; - uint32 status = HandleGetInvitations(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SendSuggestionRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SendSuggestion"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SendSuggestion", "bgs.protocol.club.v1.SendSuggestionRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SendSuggestion", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSendSuggestion(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AcceptSuggestionRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.AcceptSuggestion"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.AcceptSuggestion", "bgs.protocol.club.v1.AcceptSuggestionRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AcceptSuggestion", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAcceptSuggestion(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DeclineSuggestionRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.DeclineSuggestion"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.DeclineSuggestion", "bgs.protocol.club.v1.DeclineSuggestionRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DeclineSuggestion", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleDeclineSuggestion(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetSuggestionRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetSuggestion"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetSuggestion", "bgs.protocol.club.v1.GetSuggestionRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestion", ::bgs::protocol::club::v1::GetSuggestionResponse::descriptor()); - ::bgs::protocol::club::v1::GetSuggestionResponse response; - uint32 status = HandleGetSuggestion(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetSuggestionsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetSuggestions"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetSuggestions", "bgs.protocol.club.v1.GetSuggestionsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetSuggestions", ::bgs::protocol::club::v1::GetSuggestionsResponse::descriptor()); - ::bgs::protocol::club::v1::GetSuggestionsResponse response; - uint32 status = HandleGetSuggestions(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateTicketRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.CreateTicket"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.CreateTicket", "bgs.protocol.club.v1.CreateTicketRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateTicket", ::bgs::protocol::club::v1::CreateTicketResponse::descriptor()); - ::bgs::protocol::club::v1::CreateTicketResponse response; - uint32 status = HandleCreateTicket(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DestroyTicketRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.DestroyTicket"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.DestroyTicket", "bgs.protocol.club.v1.DestroyTicketRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyTicket", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleDestroyTicket(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RedeemTicketRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.RedeemTicket"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.RedeemTicket", "bgs.protocol.club.v1.RedeemTicketRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RedeemTicket", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleRedeemTicket(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetTicketRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetTicket"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetTicket", "bgs.protocol.club.v1.GetTicketRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTicket", ::bgs::protocol::club::v1::GetTicketResponse::descriptor()); - ::bgs::protocol::club::v1::GetTicketResponse response; - uint32 status = HandleGetTicket(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetTicketsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetTickets"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetTickets", "bgs.protocol.club.v1.GetTicketsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetTickets", ::bgs::protocol::club::v1::GetTicketsResponse::descriptor()); - ::bgs::protocol::club::v1::GetTicketsResponse response; - uint32 status = HandleGetTickets(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AddBanRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.AddBan"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.AddBan", "bgs.protocol.club.v1.AddBanRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AddBan", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAddBan(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::RemoveBanRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.RemoveBan"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.RemoveBan", "bgs.protocol.club.v1.RemoveBanRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.RemoveBan", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleRemoveBan(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetBanRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetBan"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetBan", "bgs.protocol.club.v1.GetBanRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBan", ::bgs::protocol::club::v1::GetBanResponse::descriptor()); - ::bgs::protocol::club::v1::GetBanResponse response; - uint32 status = HandleGetBan(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetBansRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetBans"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetBans", "bgs.protocol.club.v1.GetBansRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetBans", ::bgs::protocol::club::v1::GetBansResponse::descriptor()); - ::bgs::protocol::club::v1::GetBansResponse response; - uint32 status = HandleGetBans(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SubscribeStreamRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SubscribeStream"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SubscribeStream", "bgs.protocol.club.v1.SubscribeStreamRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SubscribeStream", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSubscribeStream(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UnsubscribeStreamRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UnsubscribeStream"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UnsubscribeStream", "bgs.protocol.club.v1.UnsubscribeStreamRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UnsubscribeStream", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnsubscribeStream(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateStreamRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.CreateStream"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.CreateStream", "bgs.protocol.club.v1.CreateStreamRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateStream", ::bgs::protocol::club::v1::CreateStreamResponse::descriptor()); - ::bgs::protocol::club::v1::CreateStreamResponse response; - uint32 status = HandleCreateStream(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DestroyStreamRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.DestroyStream"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.DestroyStream", "bgs.protocol.club.v1.DestroyStreamRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyStream", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleDestroyStream(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetStream"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetStream", "bgs.protocol.club.v1.GetStreamRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStream", ::bgs::protocol::club::v1::GetStreamResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamResponse response; - uint32 status = HandleGetStream(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamsRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetStreams"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetStreams", "bgs.protocol.club.v1.GetStreamsRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreams", ::bgs::protocol::club::v1::GetStreamsResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamsResponse response; - uint32 status = HandleGetStreams(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::UpdateStreamStateRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.UpdateStreamState"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.UpdateStreamState", "bgs.protocol.club.v1.UpdateStreamStateRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.UpdateStreamState", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUpdateStreamState(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SetStreamFocusRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SetStreamFocus"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SetStreamFocus", "bgs.protocol.club.v1.SetStreamFocusRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetStreamFocus", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSetStreamFocus(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamVoiceTokenRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetStreamVoiceToken"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetStreamVoiceToken", "bgs.protocol.club.v1.GetStreamVoiceTokenRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamVoiceToken", ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse response; - uint32 status = HandleGetStreamVoiceToken(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::KickFromStreamVoiceRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.KickFromStreamVoice"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.KickFromStreamVoice", "bgs.protocol.club.v1.KickFromStreamVoiceRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.KickFromStreamVoice", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleKickFromStreamVoice(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::CreateMessageRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.CreateMessage"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.CreateMessage", "bgs.protocol.club.v1.CreateMessageRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.CreateMessage", ::bgs::protocol::club::v1::CreateMessageResponse::descriptor()); - ::bgs::protocol::club::v1::CreateMessageResponse response; - uint32 status = HandleCreateMessage(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::DestroyMessageRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.DestroyMessage"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.DestroyMessage", "bgs.protocol.club.v1.DestroyMessageRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.DestroyMessage", ::bgs::protocol::club::v1::DestroyMessageResponse::descriptor()); - ::bgs::protocol::club::v1::DestroyMessageResponse response; - uint32 status = HandleDestroyMessage(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::EditMessageRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.EditMessage"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.EditMessage", "bgs.protocol.club.v1.EditMessageRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.EditMessage", ::bgs::protocol::club::v1::EditMessageResponse::descriptor()); - ::bgs::protocol::club::v1::EditMessageResponse response; - uint32 status = HandleEditMessage(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SetMessagePinnedRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SetMessagePinned"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SetMessagePinned", "bgs.protocol.club.v1.SetMessagePinnedRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetMessagePinned", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSetMessagePinned(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::SetTypingIndicatorRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.SetTypingIndicator"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.SetTypingIndicator", "bgs.protocol.club.v1.SetTypingIndicatorRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.SetTypingIndicator", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSetTypingIndicator(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::AdvanceStreamViewTimeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.AdvanceStreamViewTime"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.AdvanceStreamViewTime", "bgs.protocol.club.v1.AdvanceStreamViewTimeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.AdvanceStreamViewTime", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAdvanceStreamViewTime(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamHistoryRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetStreamHistory"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetStreamHistory", "bgs.protocol.club.v1.GetStreamHistoryRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamHistory", ::bgs::protocol::club::v1::GetStreamHistoryResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamHistoryResponse response; - uint32 status = HandleGetStreamHistory(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ClubService::ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::club::v1::GetStreamMessageRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ClubService.GetStreamMessage"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ClubService.GetStreamMessage", "bgs.protocol.club.v1.GetStreamMessageRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ClubService.GetStreamMessage", ::bgs::protocol::club::v1::GetStreamMessageResponse::descriptor()); - ::bgs::protocol::club::v1::GetStreamMessageResponse response; - uint32 status = HandleGetStreamMessage(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_service.pb.h b/src/server/proto/Client/club_service.pb.h deleted file mode 100644 index 4b6c92a9b8e..00000000000 --- a/src/server/proto/Client/club_service.pb.h +++ /dev/null @@ -1,199 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_service.proto - -#ifndef PROTOBUF_club_5fservice_2eproto__INCLUDED -#define PROTOBUF_club_5fservice_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include "club_request.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fservice_2eproto(); -void protobuf_AssignDesc_club_5fservice_2eproto(); -void protobuf_ShutdownFile_club_5fservice_2eproto(); - -// =================================================================== - -// =================================================================== - -class TC_PROTO_API ClubService : public ServiceBase -{ - public: - - explicit ClubService(bool use_original_hash); - ClubService(ClubService const&) = delete; - ClubService(ClubService&&) = delete; - ClubService& operator=(ClubService const&) = delete; - ClubService& operator=(ClubService&&) = delete; - virtual ~ClubService(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; - - protected: - // server methods -------------------------------------------------- - virtual uint32 HandleSubscribe(::bgs::protocol::club::v1::SubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::club::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleCreate(::bgs::protocol::club::v1::CreateRequest const* request, ::bgs::protocol::club::v1::CreateResponse* response, std::function& continuation); - virtual uint32 HandleDestroy(::bgs::protocol::club::v1::DestroyRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetDescription(::bgs::protocol::club::v1::GetDescriptionRequest const* request, ::bgs::protocol::club::v1::GetDescriptionResponse* response, std::function& continuation); - virtual uint32 HandleGetClubType(::bgs::protocol::club::v1::GetClubTypeRequest const* request, ::bgs::protocol::club::v1::GetClubTypeResponse* response, std::function& continuation); - virtual uint32 HandleUpdateClubState(::bgs::protocol::club::v1::UpdateClubStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUpdateClubSettings(::bgs::protocol::club::v1::UpdateClubSettingsRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleJoin(::bgs::protocol::club::v1::JoinRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleLeave(::bgs::protocol::club::v1::LeaveRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleKick(::bgs::protocol::club::v1::KickRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetMember(::bgs::protocol::club::v1::GetMemberRequest const* request, ::bgs::protocol::club::v1::GetMemberResponse* response, std::function& continuation); - virtual uint32 HandleGetMembers(::bgs::protocol::club::v1::GetMembersRequest const* request, ::bgs::protocol::club::v1::GetMembersResponse* response, std::function& continuation); - virtual uint32 HandleUpdateMemberState(::bgs::protocol::club::v1::UpdateMemberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUpdateSubscriberState(::bgs::protocol::club::v1::UpdateSubscriberStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleAssignRole(::bgs::protocol::club::v1::AssignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUnassignRole(::bgs::protocol::club::v1::UnassignRoleRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleSendInvitation(::bgs::protocol::club::v1::SendInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleAcceptInvitation(::bgs::protocol::club::v1::AcceptInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleDeclineInvitation(::bgs::protocol::club::v1::DeclineInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleRevokeInvitation(::bgs::protocol::club::v1::RevokeInvitationRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetInvitation(::bgs::protocol::club::v1::GetInvitationRequest const* request, ::bgs::protocol::club::v1::GetInvitationResponse* response, std::function& continuation); - virtual uint32 HandleGetInvitations(::bgs::protocol::club::v1::GetInvitationsRequest const* request, ::bgs::protocol::club::v1::GetInvitationsResponse* response, std::function& continuation); - virtual uint32 HandleSendSuggestion(::bgs::protocol::club::v1::SendSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleAcceptSuggestion(::bgs::protocol::club::v1::AcceptSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleDeclineSuggestion(::bgs::protocol::club::v1::DeclineSuggestionRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetSuggestion(::bgs::protocol::club::v1::GetSuggestionRequest const* request, ::bgs::protocol::club::v1::GetSuggestionResponse* response, std::function& continuation); - virtual uint32 HandleGetSuggestions(::bgs::protocol::club::v1::GetSuggestionsRequest const* request, ::bgs::protocol::club::v1::GetSuggestionsResponse* response, std::function& continuation); - virtual uint32 HandleCreateTicket(::bgs::protocol::club::v1::CreateTicketRequest const* request, ::bgs::protocol::club::v1::CreateTicketResponse* response, std::function& continuation); - virtual uint32 HandleDestroyTicket(::bgs::protocol::club::v1::DestroyTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleRedeemTicket(::bgs::protocol::club::v1::RedeemTicketRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetTicket(::bgs::protocol::club::v1::GetTicketRequest const* request, ::bgs::protocol::club::v1::GetTicketResponse* response, std::function& continuation); - virtual uint32 HandleGetTickets(::bgs::protocol::club::v1::GetTicketsRequest const* request, ::bgs::protocol::club::v1::GetTicketsResponse* response, std::function& continuation); - virtual uint32 HandleAddBan(::bgs::protocol::club::v1::AddBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleRemoveBan(::bgs::protocol::club::v1::RemoveBanRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetBan(::bgs::protocol::club::v1::GetBanRequest const* request, ::bgs::protocol::club::v1::GetBanResponse* response, std::function& continuation); - virtual uint32 HandleGetBans(::bgs::protocol::club::v1::GetBansRequest const* request, ::bgs::protocol::club::v1::GetBansResponse* response, std::function& continuation); - virtual uint32 HandleSubscribeStream(::bgs::protocol::club::v1::SubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUnsubscribeStream(::bgs::protocol::club::v1::UnsubscribeStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleCreateStream(::bgs::protocol::club::v1::CreateStreamRequest const* request, ::bgs::protocol::club::v1::CreateStreamResponse* response, std::function& continuation); - virtual uint32 HandleDestroyStream(::bgs::protocol::club::v1::DestroyStreamRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetStream(::bgs::protocol::club::v1::GetStreamRequest const* request, ::bgs::protocol::club::v1::GetStreamResponse* response, std::function& continuation); - virtual uint32 HandleGetStreams(::bgs::protocol::club::v1::GetStreamsRequest const* request, ::bgs::protocol::club::v1::GetStreamsResponse* response, std::function& continuation); - virtual uint32 HandleUpdateStreamState(::bgs::protocol::club::v1::UpdateStreamStateRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleSetStreamFocus(::bgs::protocol::club::v1::SetStreamFocusRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetStreamVoiceToken(::bgs::protocol::club::v1::GetStreamVoiceTokenRequest const* request, ::bgs::protocol::club::v1::GetStreamVoiceTokenResponse* response, std::function& continuation); - virtual uint32 HandleKickFromStreamVoice(::bgs::protocol::club::v1::KickFromStreamVoiceRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleCreateMessage(::bgs::protocol::club::v1::CreateMessageRequest const* request, ::bgs::protocol::club::v1::CreateMessageResponse* response, std::function& continuation); - virtual uint32 HandleDestroyMessage(::bgs::protocol::club::v1::DestroyMessageRequest const* request, ::bgs::protocol::club::v1::DestroyMessageResponse* response, std::function& continuation); - virtual uint32 HandleEditMessage(::bgs::protocol::club::v1::EditMessageRequest const* request, ::bgs::protocol::club::v1::EditMessageResponse* response, std::function& continuation); - virtual uint32 HandleSetMessagePinned(::bgs::protocol::club::v1::SetMessagePinnedRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleSetTypingIndicator(::bgs::protocol::club::v1::SetTypingIndicatorRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleAdvanceStreamViewTime(::bgs::protocol::club::v1::AdvanceStreamViewTimeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleGetStreamHistory(::bgs::protocol::club::v1::GetStreamHistoryRequest const* request, ::bgs::protocol::club::v1::GetStreamHistoryResponse* response, std::function& continuation); - virtual uint32 HandleGetStreamMessage(::bgs::protocol::club::v1::GetStreamMessageRequest const* request, ::bgs::protocol::club::v1::GetStreamMessageResponse* response, std::function& continuation); - - private: - void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleCreate(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDestroy(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetDescription(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetClubType(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateClubState(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateClubSettings(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleJoin(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleLeave(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleKick(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetMember(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetMembers(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateMemberState(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateSubscriberState(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAssignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnassignRole(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSendInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAcceptInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDeclineInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleRevokeInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetInvitation(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetInvitations(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSendSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAcceptSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDeclineSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetSuggestion(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetSuggestions(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleCreateTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDestroyTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleRedeemTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetTicket(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetTickets(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAddBan(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleRemoveBan(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetBan(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetBans(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnsubscribeStream(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleCreateStream(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDestroyStream(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStream(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStreams(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUpdateStreamState(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSetStreamFocus(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStreamVoiceToken(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleKickFromStreamVoice(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleCreateMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleDestroyMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleEditMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSetMessagePinned(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSetTypingIndicator(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAdvanceStreamViewTime(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStreamHistory(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleGetStreamMessage(uint32 token, uint32 methodId, MessageBuffer& buffer); -}; - -// =================================================================== - -// =================================================================== -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_service.proto b/src/server/proto/Client/club_service.proto deleted file mode 100644 index d0bb94bfbce..00000000000 --- a/src/server/proto/Client/club_service.proto +++ /dev/null @@ -1,293 +0,0 @@ -syntax = "proto2"; - -import "club_request.proto"; -package bgs.protocol.club.v1; - -option optimize_for = CODE_SIZE; -option cc_generic_services = false; - -service ClubService { - option (.bgs.protocol.service_options) = { - descriptor_name: "bnet.protocol.club.v1.ClubService" - shard_name: "club" - }; - option (.bgs.protocol.sdk_service_options) = { - outbound: true - use_client_id: true - }; - rpc Subscribe(.bgs.protocol.club.v1.SubscribeRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 1 - }; - } - rpc Unsubscribe(.bgs.protocol.club.v1.UnsubscribeRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 2 - }; - } - rpc Create(.bgs.protocol.club.v1.CreateRequest) returns (.bgs.protocol.club.v1.CreateResponse) { - option (.bgs.protocol.method_options) = { - id: 3 - }; - } - rpc Destroy(.bgs.protocol.club.v1.DestroyRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 4 - }; - } - rpc GetDescription(.bgs.protocol.club.v1.GetDescriptionRequest) returns (.bgs.protocol.club.v1.GetDescriptionResponse) { - option (.bgs.protocol.method_options) = { - id: 5 - }; - } - rpc GetClubType(.bgs.protocol.club.v1.GetClubTypeRequest) returns (.bgs.protocol.club.v1.GetClubTypeResponse) { - option (.bgs.protocol.method_options) = { - id: 6 - }; - } - rpc UpdateClubState(.bgs.protocol.club.v1.UpdateClubStateRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 7 - }; - } - rpc UpdateClubSettings(.bgs.protocol.club.v1.UpdateClubSettingsRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 8 - }; - } - rpc Join(.bgs.protocol.club.v1.JoinRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 30 - }; - } - rpc Leave(.bgs.protocol.club.v1.LeaveRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 31 - }; - } - rpc Kick(.bgs.protocol.club.v1.KickRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 32 - }; - } - rpc GetMember(.bgs.protocol.club.v1.GetMemberRequest) returns (.bgs.protocol.club.v1.GetMemberResponse) { - option (.bgs.protocol.method_options) = { - id: 33 - }; - } - rpc GetMembers(.bgs.protocol.club.v1.GetMembersRequest) returns (.bgs.protocol.club.v1.GetMembersResponse) { - option (.bgs.protocol.method_options) = { - id: 34 - }; - } - rpc UpdateMemberState(.bgs.protocol.club.v1.UpdateMemberStateRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 35 - }; - } - rpc UpdateSubscriberState(.bgs.protocol.club.v1.UpdateSubscriberStateRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 36 - }; - } - rpc AssignRole(.bgs.protocol.club.v1.AssignRoleRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 37 - }; - } - rpc UnassignRole(.bgs.protocol.club.v1.UnassignRoleRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 38 - }; - } - rpc SendInvitation(.bgs.protocol.club.v1.SendInvitationRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 50 - }; - } - rpc AcceptInvitation(.bgs.protocol.club.v1.AcceptInvitationRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 51 - }; - } - rpc DeclineInvitation(.bgs.protocol.club.v1.DeclineInvitationRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 52 - }; - } - rpc RevokeInvitation(.bgs.protocol.club.v1.RevokeInvitationRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 53 - }; - } - rpc GetInvitation(.bgs.protocol.club.v1.GetInvitationRequest) returns (.bgs.protocol.club.v1.GetInvitationResponse) { - option (.bgs.protocol.method_options) = { - id: 54 - }; - } - rpc GetInvitations(.bgs.protocol.club.v1.GetInvitationsRequest) returns (.bgs.protocol.club.v1.GetInvitationsResponse) { - option (.bgs.protocol.method_options) = { - id: 55 - }; - } - rpc SendSuggestion(.bgs.protocol.club.v1.SendSuggestionRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 60 - }; - } - rpc AcceptSuggestion(.bgs.protocol.club.v1.AcceptSuggestionRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 61 - }; - } - rpc DeclineSuggestion(.bgs.protocol.club.v1.DeclineSuggestionRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 62 - }; - } - rpc GetSuggestion(.bgs.protocol.club.v1.GetSuggestionRequest) returns (.bgs.protocol.club.v1.GetSuggestionResponse) { - option (.bgs.protocol.method_options) = { - id: 63 - }; - } - rpc GetSuggestions(.bgs.protocol.club.v1.GetSuggestionsRequest) returns (.bgs.protocol.club.v1.GetSuggestionsResponse) { - option (.bgs.protocol.method_options) = { - id: 64 - }; - } - rpc CreateTicket(.bgs.protocol.club.v1.CreateTicketRequest) returns (.bgs.protocol.club.v1.CreateTicketResponse) { - option (.bgs.protocol.method_options) = { - id: 70 - }; - } - rpc DestroyTicket(.bgs.protocol.club.v1.DestroyTicketRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 71 - }; - } - rpc RedeemTicket(.bgs.protocol.club.v1.RedeemTicketRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 72 - }; - } - rpc GetTicket(.bgs.protocol.club.v1.GetTicketRequest) returns (.bgs.protocol.club.v1.GetTicketResponse) { - option (.bgs.protocol.method_options) = { - id: 73 - }; - } - rpc GetTickets(.bgs.protocol.club.v1.GetTicketsRequest) returns (.bgs.protocol.club.v1.GetTicketsResponse) { - option (.bgs.protocol.method_options) = { - id: 74 - }; - } - rpc AddBan(.bgs.protocol.club.v1.AddBanRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 80 - }; - } - rpc RemoveBan(.bgs.protocol.club.v1.RemoveBanRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 81 - }; - } - rpc GetBan(.bgs.protocol.club.v1.GetBanRequest) returns (.bgs.protocol.club.v1.GetBanResponse) { - option (.bgs.protocol.method_options) = { - id: 82 - }; - } - rpc GetBans(.bgs.protocol.club.v1.GetBansRequest) returns (.bgs.protocol.club.v1.GetBansResponse) { - option (.bgs.protocol.method_options) = { - id: 83 - }; - } - rpc SubscribeStream(.bgs.protocol.club.v1.SubscribeStreamRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 100 - }; - } - rpc UnsubscribeStream(.bgs.protocol.club.v1.UnsubscribeStreamRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 101 - }; - } - rpc CreateStream(.bgs.protocol.club.v1.CreateStreamRequest) returns (.bgs.protocol.club.v1.CreateStreamResponse) { - option (.bgs.protocol.method_options) = { - id: 102 - }; - } - rpc DestroyStream(.bgs.protocol.club.v1.DestroyStreamRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 103 - }; - } - rpc GetStream(.bgs.protocol.club.v1.GetStreamRequest) returns (.bgs.protocol.club.v1.GetStreamResponse) { - option (.bgs.protocol.method_options) = { - id: 104 - }; - } - rpc GetStreams(.bgs.protocol.club.v1.GetStreamsRequest) returns (.bgs.protocol.club.v1.GetStreamsResponse) { - option (.bgs.protocol.method_options) = { - id: 105 - }; - } - rpc UpdateStreamState(.bgs.protocol.club.v1.UpdateStreamStateRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 106 - }; - } - rpc SetStreamFocus(.bgs.protocol.club.v1.SetStreamFocusRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 107 - }; - } - rpc GetStreamVoiceToken(.bgs.protocol.club.v1.GetStreamVoiceTokenRequest) returns (.bgs.protocol.club.v1.GetStreamVoiceTokenResponse) { - option (.bgs.protocol.method_options) = { - id: 108 - }; - } - rpc KickFromStreamVoice(.bgs.protocol.club.v1.KickFromStreamVoiceRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 109 - }; - } - rpc CreateMessage(.bgs.protocol.club.v1.CreateMessageRequest) returns (.bgs.protocol.club.v1.CreateMessageResponse) { - option (.bgs.protocol.method_options) = { - id: 150 - }; - } - rpc DestroyMessage(.bgs.protocol.club.v1.DestroyMessageRequest) returns (.bgs.protocol.club.v1.DestroyMessageResponse) { - option (.bgs.protocol.method_options) = { - id: 151 - }; - } - rpc EditMessage(.bgs.protocol.club.v1.EditMessageRequest) returns (.bgs.protocol.club.v1.EditMessageResponse) { - option (.bgs.protocol.method_options) = { - id: 152 - }; - } - rpc SetMessagePinned(.bgs.protocol.club.v1.SetMessagePinnedRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 153 - }; - } - rpc SetTypingIndicator(.bgs.protocol.club.v1.SetTypingIndicatorRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 154 - }; - } - rpc AdvanceStreamViewTime(.bgs.protocol.club.v1.AdvanceStreamViewTimeRequest) returns (.bgs.protocol.NoData) { - option (.bgs.protocol.method_options) = { - id: 155 - }; - } - rpc GetStreamHistory(.bgs.protocol.club.v1.GetStreamHistoryRequest) returns (.bgs.protocol.club.v1.GetStreamHistoryResponse) { - option (.bgs.protocol.method_options) = { - id: 156 - }; - } - rpc GetStreamMessage(.bgs.protocol.club.v1.GetStreamMessageRequest) returns (.bgs.protocol.club.v1.GetStreamMessageResponse) { - option (.bgs.protocol.method_options) = { - id: 157 - }; - } -} diff --git a/src/server/proto/Client/club_stream.pb.cc b/src/server/proto/Client/club_stream.pb.cc deleted file mode 100644 index c7be954557e..00000000000 --- a/src/server/proto/Client/club_stream.pb.cc +++ /dev/null @@ -1,2102 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_stream.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_stream.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* StreamPosition_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamPosition_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamAccess_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamAccess_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateStreamOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateStreamOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* Stream_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Stream_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamDescription_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamDescription_reflection_ = NULL; -const ::google::protobuf::Descriptor* MentionContent_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MentionContent_reflection_ = NULL; -const ::google::protobuf::Descriptor* CreateMessageOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CreateMessageOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClubStreamMessageContainer_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClubStreamMessageContainer_reflection_ = NULL; -const ::google::protobuf::Descriptor* ContentChain_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ContentChain_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMessage_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMessage_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMention_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMention_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamView_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamView_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamAdvanceViewTime_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamAdvanceViewTime_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamEventTime_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamEventTime_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamMentionView_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamMentionView_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamStateOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamStateOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamStateAssignment_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamStateAssignment_reflection_ = NULL; -const ::google::protobuf::Descriptor* StreamTypingIndicator_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StreamTypingIndicator_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5fstream_2eproto() { - protobuf_AddDesc_club_5fstream_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_stream.proto"); - GOOGLE_CHECK(file != NULL); - StreamPosition_descriptor_ = file->message_type(0); - static const int StreamPosition_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, stream_id_), - }; - StreamPosition_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamPosition_descriptor_, - StreamPosition::default_instance_, - StreamPosition_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamPosition, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamPosition)); - StreamAccess_descriptor_ = file->message_type(1); - static const int StreamAccess_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, role_), - }; - StreamAccess_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamAccess_descriptor_, - StreamAccess::default_instance_, - StreamAccess_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAccess, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamAccess)); - CreateStreamOptions_descriptor_ = file->message_type(2); - static const int CreateStreamOptions_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, subject_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, voice_level_), - }; - CreateStreamOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateStreamOptions_descriptor_, - CreateStreamOptions::default_instance_, - CreateStreamOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateStreamOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateStreamOptions)); - Stream_descriptor_ = file->message_type(3); - static const int Stream_offsets_[8] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, subject_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, voice_level_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, creation_time_), - }; - Stream_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Stream_descriptor_, - Stream::default_instance_, - Stream_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Stream, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Stream)); - StreamDescription_descriptor_ = file->message_type(4); - static const int StreamDescription_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, name_), - }; - StreamDescription_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamDescription_descriptor_, - StreamDescription::default_instance_, - StreamDescription_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamDescription, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamDescription)); - MentionContent_descriptor_ = file->message_type(5); - static const int MentionContent_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, all_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, here_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, role_), - }; - MentionContent_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MentionContent_descriptor_, - MentionContent::default_instance_, - MentionContent_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MentionContent, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MentionContent)); - CreateMessageOptions_descriptor_ = file->message_type(6); - static const int CreateMessageOptions_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, content_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, mention_), - }; - CreateMessageOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CreateMessageOptions_descriptor_, - CreateMessageOptions::default_instance_, - CreateMessageOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CreateMessageOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CreateMessageOptions)); - ClubStreamMessageContainer_descriptor_ = file->message_type(7); - static const int ClubStreamMessageContainer_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, message_), - }; - ClubStreamMessageContainer_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClubStreamMessageContainer_descriptor_, - ClubStreamMessageContainer::default_instance_, - ClubStreamMessageContainer_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClubStreamMessageContainer, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClubStreamMessageContainer)); - ContentChain_descriptor_ = file->message_type(8); - static const int ContentChain_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, content_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, embed_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, mention_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, edit_time_), - }; - ContentChain_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ContentChain_descriptor_, - ContentChain::default_instance_, - ContentChain_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ContentChain, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ContentChain)); - StreamMessage_descriptor_ = file->message_type(9); - static const int StreamMessage_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, author_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, content_chain_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyer_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroyed_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, destroy_time_), - }; - StreamMessage_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMessage_descriptor_, - StreamMessage::default_instance_, - StreamMessage_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMessage, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMessage)); - StreamMention_descriptor_ = file->message_type(10); - static const int StreamMention_offsets_[9] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, author_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, destroyed_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, mention_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, member_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, club_type_), - }; - StreamMention_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMention_descriptor_, - StreamMention::default_instance_, - StreamMention_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMention, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMention)); - StreamView_descriptor_ = file->message_type(11); - static const int StreamView_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, marker_), - }; - StreamView_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamView_descriptor_, - StreamView::default_instance_, - StreamView_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamView, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamView)); - StreamAdvanceViewTime_descriptor_ = file->message_type(12); - static const int StreamAdvanceViewTime_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, view_time_), - }; - StreamAdvanceViewTime_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamAdvanceViewTime_descriptor_, - StreamAdvanceViewTime::default_instance_, - StreamAdvanceViewTime_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamAdvanceViewTime, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamAdvanceViewTime)); - StreamEventTime_descriptor_ = file->message_type(13); - static const int StreamEventTime_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, event_time_), - }; - StreamEventTime_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamEventTime_descriptor_, - StreamEventTime::default_instance_, - StreamEventTime_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamEventTime, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamEventTime)); - StreamMentionView_descriptor_ = file->message_type(14); - static const int StreamMentionView_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, club_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, marker_), - }; - StreamMentionView_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamMentionView_descriptor_, - StreamMentionView::default_instance_, - StreamMentionView_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamMentionView, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamMentionView)); - StreamStateOptions_descriptor_ = file->message_type(15); - static const int StreamStateOptions_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, subject_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, voice_level_), - }; - StreamStateOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamStateOptions_descriptor_, - StreamStateOptions::default_instance_, - StreamStateOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamStateOptions)); - StreamStateAssignment_descriptor_ = file->message_type(16); - static const int StreamStateAssignment_offsets_[7] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, subject_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, access_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, stream_subscription_removed_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, voice_level_), - }; - StreamStateAssignment_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamStateAssignment_descriptor_, - StreamStateAssignment::default_instance_, - StreamStateAssignment_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamStateAssignment, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamStateAssignment)); - StreamTypingIndicator_descriptor_ = file->message_type(17); - static const int StreamTypingIndicator_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, author_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, indicator_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, epoch_), - }; - StreamTypingIndicator_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StreamTypingIndicator_descriptor_, - StreamTypingIndicator::default_instance_, - StreamTypingIndicator_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StreamTypingIndicator, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StreamTypingIndicator)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5fstream_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamPosition_descriptor_, &StreamPosition::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamAccess_descriptor_, &StreamAccess::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateStreamOptions_descriptor_, &CreateStreamOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Stream_descriptor_, &Stream::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamDescription_descriptor_, &StreamDescription::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MentionContent_descriptor_, &MentionContent::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CreateMessageOptions_descriptor_, &CreateMessageOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClubStreamMessageContainer_descriptor_, &ClubStreamMessageContainer::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ContentChain_descriptor_, &ContentChain::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMessage_descriptor_, &StreamMessage::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMention_descriptor_, &StreamMention::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamView_descriptor_, &StreamView::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamAdvanceViewTime_descriptor_, &StreamAdvanceViewTime::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamEventTime_descriptor_, &StreamEventTime::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamMentionView_descriptor_, &StreamMentionView::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamStateOptions_descriptor_, &StreamStateOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamStateAssignment_descriptor_, &StreamStateAssignment::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StreamTypingIndicator_descriptor_, &StreamTypingIndicator::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5fstream_2eproto() { - delete StreamPosition::default_instance_; - delete StreamPosition_reflection_; - delete StreamAccess::default_instance_; - delete StreamAccess_reflection_; - delete CreateStreamOptions::default_instance_; - delete CreateStreamOptions_reflection_; - delete Stream::default_instance_; - delete Stream_reflection_; - delete StreamDescription::default_instance_; - delete StreamDescription_reflection_; - delete MentionContent::default_instance_; - delete MentionContent_reflection_; - delete CreateMessageOptions::default_instance_; - delete CreateMessageOptions_reflection_; - delete ClubStreamMessageContainer::default_instance_; - delete ClubStreamMessageContainer_reflection_; - delete ContentChain::default_instance_; - delete ContentChain_reflection_; - delete StreamMessage::default_instance_; - delete StreamMessage_reflection_; - delete StreamMention::default_instance_; - delete StreamMention_reflection_; - delete StreamView::default_instance_; - delete StreamView_reflection_; - delete StreamAdvanceViewTime::default_instance_; - delete StreamAdvanceViewTime_reflection_; - delete StreamEventTime::default_instance_; - delete StreamEventTime_reflection_; - delete StreamMentionView::default_instance_; - delete StreamMentionView_reflection_; - delete StreamStateOptions::default_instance_; - delete StreamStateOptions_reflection_; - delete StreamStateAssignment::default_instance_; - delete StreamStateAssignment_reflection_; - delete StreamTypingIndicator::default_instance_; - delete StreamTypingIndicator_reflection_; -} - -void protobuf_AddDesc_club_5fstream_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_embed_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\021club_stream.proto\022\024bgs.protocol.club.v" - "1\032\017club_enum.proto\032\021club_member.proto\032\017c" - "lub_type.proto\032#api/client/v2/attribute_" - "types.proto\032\021embed_types.proto\032\026event_vi" - "ew_types.proto\032\023message_types.proto\032\017ets" - "_types.proto\"\'\n\016StreamPosition\022\025\n\tstream" - "_id\030\001 \003(\004B\002\020\001\" \n\014StreamAccess\022\020\n\004role\030\001 " - "\003(\rB\002\020\001\"\324\001\n\023CreateStreamOptions\022-\n\tattri" - "bute\030\001 \003(\0132\032.bgs.protocol.v2.Attribute\022\014" - "\n\004name\030\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0222\n\006access\030" - "\004 \001(\0132\".bgs.protocol.club.v1.StreamAcces" - "s\022;\n\013voice_level\030\005 \001(\0162&.bgs.protocol.cl" - "ub.v1.StreamVoiceLevel\"\373\001\n\006Stream\022\017\n\007clu" - "b_id\030\001 \001(\004\022\n\n\002id\030\002 \001(\004\022-\n\tattribute\030\003 \003(" - "\0132\032.bgs.protocol.v2.Attribute\022\014\n\004name\030\004 " - "\001(\t\022\017\n\007subject\030\005 \001(\t\0222\n\006access\030\006 \001(\0132\".b" - "gs.protocol.club.v1.StreamAccess\022;\n\013voic" - "e_level\030\007 \001(\0162&.bgs.protocol.club.v1.Str" - "eamVoiceLevel\022\025\n\rcreation_time\030\010 \001(\004\"-\n\021" - "StreamDescription\022\n\n\002id\030\002 \001(\004\022\014\n\004name\030\004 " - "\001(\t\"p\n\016MentionContent\022\013\n\003all\030\001 \001(\010\022\014\n\004he" - "re\030\002 \001(\010\0221\n\tmember_id\030\003 \003(\0132\036.bgs.protoc" - "ol.club.v1.MemberId\022\020\n\004role\030\004 \003(\rB\002\020\001\"^\n" - "\024CreateMessageOptions\022\017\n\007content\030\002 \001(\t\0225" - "\n\007mention\030\003 \001(\0132$.bgs.protocol.club.v1.M" - "entionContent\"R\n\032ClubStreamMessageContai" - "ner\0224\n\007message\030\001 \003(\0132#.bgs.protocol.club" - ".v1.StreamMessage\"\221\001\n\014ContentChain\022\017\n\007co" - "ntent\030\005 \001(\t\022&\n\005embed\030\006 \003(\0132\027.bgs.protoco" - "l.EmbedInfo\0225\n\007mention\030\007 \001(\0132$.bgs.proto" - "col.club.v1.MentionContent\022\021\n\tedit_time\030" - "\010 \001(\004\"\215\002\n\rStreamMessage\022#\n\002id\030\003 \001(\0132\027.bg" - "s.protocol.MessageId\0227\n\006author\030\004 \001(\0132\'.b" - "gs.protocol.club.v1.MemberDescription\0229\n" - "\rcontent_chain\030\006 \003(\0132\".bgs.protocol.club" - ".v1.ContentChain\022:\n\tdestroyer\030\017 \001(\0132\'.bg" - "s.protocol.club.v1.MemberDescription\022\021\n\t" - "destroyed\030\020 \001(\010\022\024\n\014destroy_time\030\021 \001(\004\"\376\002" - "\n\rStreamMention\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstre" - "am_id\030\002 \001(\004\022+\n\nmessage_id\030\003 \001(\0132\027.bgs.pr" - "otocol.MessageId\0227\n\006author\030\004 \001(\0132\'.bgs.p" - "rotocol.club.v1.MemberDescription\022\021\n\tdes" - "troyed\030\005 \001(\010\022.\n\nmention_id\030\006 \001(\0132\032.bgs.p" - "rotocol.TimeSeriesId\0221\n\tmember_id\030\007 \001(\0132" - "\036.bgs.protocol.club.v1.MemberId\0224\n\007messa" - "ge\030\010 \001(\0132#.bgs.protocol.club.v1.StreamMe" - "ssage\0227\n\tclub_type\030\t \001(\0132$.bgs.protocol." - "club.v1.UniqueClubType\"Z\n\nStreamView\022\017\n\007" - "club_id\030\001 \001(\004\022\021\n\tstream_id\030\002 \001(\004\022(\n\006mark" - "er\030\003 \001(\0132\030.bgs.protocol.ViewMarker\"=\n\025St" - "reamAdvanceViewTime\022\021\n\tstream_id\030\001 \001(\004\022\021" - "\n\tview_time\030\002 \001(\004\"8\n\017StreamEventTime\022\021\n\t" - "stream_id\030\001 \001(\004\022\022\n\nevent_time\030\002 \001(\004\"a\n\021S" - "treamMentionView\022\017\n\007club_id\030\001 \001(\004\022\021\n\tstr" - "eam_id\030\002 \001(\004\022(\n\006marker\030\003 \001(\0132\030.bgs.proto" - "col.ViewMarker\"\323\001\n\022StreamStateOptions\022-\n" - "\tattribute\030\001 \003(\0132\032.bgs.protocol.v2.Attri" - "bute\022\014\n\004name\030\002 \001(\t\022\017\n\007subject\030\003 \001(\t\0222\n\006a" - "ccess\030\004 \001(\0132\".bgs.protocol.club.v1.Strea" - "mAccess\022;\n\013voice_level\030\005 \001(\0162&.bgs.proto" - "col.club.v1.StreamVoiceLevel\"\216\002\n\025StreamS" - "tateAssignment\022\021\n\tstream_id\030\001 \001(\004\022-\n\tatt" - "ribute\030\002 \003(\0132\032.bgs.protocol.v2.Attribute" - "\022\014\n\004name\030\003 \001(\t\022\017\n\007subject\030\004 \001(\t\0222\n\006acces" - "s\030\005 \001(\0132\".bgs.protocol.club.v1.StreamAcc" - "ess\022#\n\033stream_subscription_removed\030\006 \001(\010" - "\022;\n\013voice_level\030\007 \001(\0162&.bgs.protocol.clu" - "b.v1.StreamVoiceLevel\"\213\001\n\025StreamTypingIn" - "dicator\0221\n\tauthor_id\030\001 \001(\0132\036.bgs.protoco" - "l.club.v1.MemberId\0220\n\tindicator\030\002 \001(\0162\035." - "bgs.protocol.TypingIndicator\022\r\n\005epoch\030\003 " - "\001(\004B\002H\002", 2847); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_stream.proto", &protobuf_RegisterTypes); - StreamPosition::default_instance_ = new StreamPosition(); - StreamAccess::default_instance_ = new StreamAccess(); - CreateStreamOptions::default_instance_ = new CreateStreamOptions(); - Stream::default_instance_ = new Stream(); - StreamDescription::default_instance_ = new StreamDescription(); - MentionContent::default_instance_ = new MentionContent(); - CreateMessageOptions::default_instance_ = new CreateMessageOptions(); - ClubStreamMessageContainer::default_instance_ = new ClubStreamMessageContainer(); - ContentChain::default_instance_ = new ContentChain(); - StreamMessage::default_instance_ = new StreamMessage(); - StreamMention::default_instance_ = new StreamMention(); - StreamView::default_instance_ = new StreamView(); - StreamAdvanceViewTime::default_instance_ = new StreamAdvanceViewTime(); - StreamEventTime::default_instance_ = new StreamEventTime(); - StreamMentionView::default_instance_ = new StreamMentionView(); - StreamStateOptions::default_instance_ = new StreamStateOptions(); - StreamStateAssignment::default_instance_ = new StreamStateAssignment(); - StreamTypingIndicator::default_instance_ = new StreamTypingIndicator(); - StreamPosition::default_instance_->InitAsDefaultInstance(); - StreamAccess::default_instance_->InitAsDefaultInstance(); - CreateStreamOptions::default_instance_->InitAsDefaultInstance(); - Stream::default_instance_->InitAsDefaultInstance(); - StreamDescription::default_instance_->InitAsDefaultInstance(); - MentionContent::default_instance_->InitAsDefaultInstance(); - CreateMessageOptions::default_instance_->InitAsDefaultInstance(); - ClubStreamMessageContainer::default_instance_->InitAsDefaultInstance(); - ContentChain::default_instance_->InitAsDefaultInstance(); - StreamMessage::default_instance_->InitAsDefaultInstance(); - StreamMention::default_instance_->InitAsDefaultInstance(); - StreamView::default_instance_->InitAsDefaultInstance(); - StreamAdvanceViewTime::default_instance_->InitAsDefaultInstance(); - StreamEventTime::default_instance_->InitAsDefaultInstance(); - StreamMentionView::default_instance_->InitAsDefaultInstance(); - StreamStateOptions::default_instance_->InitAsDefaultInstance(); - StreamStateAssignment::default_instance_->InitAsDefaultInstance(); - StreamTypingIndicator::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5fstream_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5fstream_2eproto { - StaticDescriptorInitializer_club_5fstream_2eproto() { - protobuf_AddDesc_club_5fstream_2eproto(); - } -} static_descriptor_initializer_club_5fstream_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int StreamPosition::kStreamIdFieldNumber; -#endif // !_MSC_VER - -StreamPosition::StreamPosition() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamPosition) -} - -void StreamPosition::InitAsDefaultInstance() { -} - -StreamPosition::StreamPosition(const StreamPosition& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamPosition) -} - -void StreamPosition::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamPosition::~StreamPosition() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamPosition) - SharedDtor(); -} - -void StreamPosition::SharedDtor() { - if (this != default_instance_) { - } -} - -void StreamPosition::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamPosition::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamPosition_descriptor_; -} - -const StreamPosition& StreamPosition::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamPosition* StreamPosition::default_instance_ = NULL; - -StreamPosition* StreamPosition::New() const { - return new StreamPosition; -} - -void StreamPosition::Swap(StreamPosition* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamPosition::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamPosition_descriptor_; - metadata.reflection = StreamPosition_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamAccess::kRoleFieldNumber; -#endif // !_MSC_VER - -StreamAccess::StreamAccess() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAccess) -} - -void StreamAccess::InitAsDefaultInstance() { -} - -StreamAccess::StreamAccess(const StreamAccess& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAccess) -} - -void StreamAccess::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamAccess::~StreamAccess() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAccess) - SharedDtor(); -} - -void StreamAccess::SharedDtor() { - if (this != default_instance_) { - } -} - -void StreamAccess::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamAccess::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamAccess_descriptor_; -} - -const StreamAccess& StreamAccess::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamAccess* StreamAccess::default_instance_ = NULL; - -StreamAccess* StreamAccess::New() const { - return new StreamAccess; -} - -void StreamAccess::Swap(StreamAccess* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamAccess::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamAccess_descriptor_; - metadata.reflection = StreamAccess_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateStreamOptions::kAttributeFieldNumber; -const int CreateStreamOptions::kNameFieldNumber; -const int CreateStreamOptions::kSubjectFieldNumber; -const int CreateStreamOptions::kAccessFieldNumber; -const int CreateStreamOptions::kVoiceLevelFieldNumber; -#endif // !_MSC_VER - -CreateStreamOptions::CreateStreamOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateStreamOptions) -} - -void CreateStreamOptions::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); -} - -CreateStreamOptions::CreateStreamOptions(const CreateStreamOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateStreamOptions) -} - -void CreateStreamOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - access_ = NULL; - voice_level_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateStreamOptions::~CreateStreamOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateStreamOptions) - SharedDtor(); -} - -void CreateStreamOptions::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (this != default_instance_) { - delete access_; - } -} - -void CreateStreamOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateStreamOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateStreamOptions_descriptor_; -} - -const CreateStreamOptions& CreateStreamOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -CreateStreamOptions* CreateStreamOptions::default_instance_ = NULL; - -CreateStreamOptions* CreateStreamOptions::New() const { - return new CreateStreamOptions; -} - -void CreateStreamOptions::Swap(CreateStreamOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateStreamOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateStreamOptions_descriptor_; - metadata.reflection = CreateStreamOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Stream::kClubIdFieldNumber; -const int Stream::kIdFieldNumber; -const int Stream::kAttributeFieldNumber; -const int Stream::kNameFieldNumber; -const int Stream::kSubjectFieldNumber; -const int Stream::kAccessFieldNumber; -const int Stream::kVoiceLevelFieldNumber; -const int Stream::kCreationTimeFieldNumber; -#endif // !_MSC_VER - -Stream::Stream() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.Stream) -} - -void Stream::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); -} - -Stream::Stream(const Stream& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.Stream) -} - -void Stream::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - id_ = GOOGLE_ULONGLONG(0); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - access_ = NULL; - voice_level_ = 0; - creation_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Stream::~Stream() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.Stream) - SharedDtor(); -} - -void Stream::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (this != default_instance_) { - delete access_; - } -} - -void Stream::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Stream::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Stream_descriptor_; -} - -const Stream& Stream::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -Stream* Stream::default_instance_ = NULL; - -Stream* Stream::New() const { - return new Stream; -} - -void Stream::Swap(Stream* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Stream::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Stream_descriptor_; - metadata.reflection = Stream_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamDescription::kIdFieldNumber; -const int StreamDescription::kNameFieldNumber; -#endif // !_MSC_VER - -StreamDescription::StreamDescription() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamDescription) -} - -void StreamDescription::InitAsDefaultInstance() { -} - -StreamDescription::StreamDescription(const StreamDescription& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamDescription) -} - -void StreamDescription::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamDescription::~StreamDescription() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamDescription) - SharedDtor(); -} - -void StreamDescription::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (this != default_instance_) { - } -} - -void StreamDescription::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamDescription::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamDescription_descriptor_; -} - -const StreamDescription& StreamDescription::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamDescription* StreamDescription::default_instance_ = NULL; - -StreamDescription* StreamDescription::New() const { - return new StreamDescription; -} - -void StreamDescription::Swap(StreamDescription* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamDescription::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamDescription_descriptor_; - metadata.reflection = StreamDescription_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int MentionContent::kAllFieldNumber; -const int MentionContent::kHereFieldNumber; -const int MentionContent::kMemberIdFieldNumber; -const int MentionContent::kRoleFieldNumber; -#endif // !_MSC_VER - -MentionContent::MentionContent() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.MentionContent) -} - -void MentionContent::InitAsDefaultInstance() { -} - -MentionContent::MentionContent(const MentionContent& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.MentionContent) -} - -void MentionContent::SharedCtor() { - _cached_size_ = 0; - all_ = false; - here_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MentionContent::~MentionContent() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.MentionContent) - SharedDtor(); -} - -void MentionContent::SharedDtor() { - if (this != default_instance_) { - } -} - -void MentionContent::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MentionContent::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MentionContent_descriptor_; -} - -const MentionContent& MentionContent::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -MentionContent* MentionContent::default_instance_ = NULL; - -MentionContent* MentionContent::New() const { - return new MentionContent; -} - -void MentionContent::Swap(MentionContent* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MentionContent::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MentionContent_descriptor_; - metadata.reflection = MentionContent_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CreateMessageOptions::kContentFieldNumber; -const int CreateMessageOptions::kMentionFieldNumber; -#endif // !_MSC_VER - -CreateMessageOptions::CreateMessageOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.CreateMessageOptions) -} - -void CreateMessageOptions::InitAsDefaultInstance() { - mention_ = const_cast< ::bgs::protocol::club::v1::MentionContent*>(&::bgs::protocol::club::v1::MentionContent::default_instance()); -} - -CreateMessageOptions::CreateMessageOptions(const CreateMessageOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.CreateMessageOptions) -} - -void CreateMessageOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mention_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CreateMessageOptions::~CreateMessageOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.CreateMessageOptions) - SharedDtor(); -} - -void CreateMessageOptions::SharedDtor() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (this != default_instance_) { - delete mention_; - } -} - -void CreateMessageOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CreateMessageOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CreateMessageOptions_descriptor_; -} - -const CreateMessageOptions& CreateMessageOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -CreateMessageOptions* CreateMessageOptions::default_instance_ = NULL; - -CreateMessageOptions* CreateMessageOptions::New() const { - return new CreateMessageOptions; -} - -void CreateMessageOptions::Swap(CreateMessageOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CreateMessageOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CreateMessageOptions_descriptor_; - metadata.reflection = CreateMessageOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClubStreamMessageContainer::kMessageFieldNumber; -#endif // !_MSC_VER - -ClubStreamMessageContainer::ClubStreamMessageContainer() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ClubStreamMessageContainer) -} - -void ClubStreamMessageContainer::InitAsDefaultInstance() { -} - -ClubStreamMessageContainer::ClubStreamMessageContainer(const ClubStreamMessageContainer& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ClubStreamMessageContainer) -} - -void ClubStreamMessageContainer::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClubStreamMessageContainer::~ClubStreamMessageContainer() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ClubStreamMessageContainer) - SharedDtor(); -} - -void ClubStreamMessageContainer::SharedDtor() { - if (this != default_instance_) { - } -} - -void ClubStreamMessageContainer::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClubStreamMessageContainer::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClubStreamMessageContainer_descriptor_; -} - -const ClubStreamMessageContainer& ClubStreamMessageContainer::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -ClubStreamMessageContainer* ClubStreamMessageContainer::default_instance_ = NULL; - -ClubStreamMessageContainer* ClubStreamMessageContainer::New() const { - return new ClubStreamMessageContainer; -} - -void ClubStreamMessageContainer::Swap(ClubStreamMessageContainer* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClubStreamMessageContainer::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClubStreamMessageContainer_descriptor_; - metadata.reflection = ClubStreamMessageContainer_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ContentChain::kContentFieldNumber; -const int ContentChain::kEmbedFieldNumber; -const int ContentChain::kMentionFieldNumber; -const int ContentChain::kEditTimeFieldNumber; -#endif // !_MSC_VER - -ContentChain::ContentChain() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.ContentChain) -} - -void ContentChain::InitAsDefaultInstance() { - mention_ = const_cast< ::bgs::protocol::club::v1::MentionContent*>(&::bgs::protocol::club::v1::MentionContent::default_instance()); -} - -ContentChain::ContentChain(const ContentChain& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.ContentChain) -} - -void ContentChain::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mention_ = NULL; - edit_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ContentChain::~ContentChain() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.ContentChain) - SharedDtor(); -} - -void ContentChain::SharedDtor() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (this != default_instance_) { - delete mention_; - } -} - -void ContentChain::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ContentChain::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ContentChain_descriptor_; -} - -const ContentChain& ContentChain::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -ContentChain* ContentChain::default_instance_ = NULL; - -ContentChain* ContentChain::New() const { - return new ContentChain; -} - -void ContentChain::Swap(ContentChain* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ContentChain::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ContentChain_descriptor_; - metadata.reflection = ContentChain_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMessage::kIdFieldNumber; -const int StreamMessage::kAuthorFieldNumber; -const int StreamMessage::kContentChainFieldNumber; -const int StreamMessage::kDestroyerFieldNumber; -const int StreamMessage::kDestroyedFieldNumber; -const int StreamMessage::kDestroyTimeFieldNumber; -#endif // !_MSC_VER - -StreamMessage::StreamMessage() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMessage) -} - -void StreamMessage::InitAsDefaultInstance() { - id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); - author_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - destroyer_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); -} - -StreamMessage::StreamMessage(const StreamMessage& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMessage) -} - -void StreamMessage::SharedCtor() { - _cached_size_ = 0; - id_ = NULL; - author_ = NULL; - destroyer_ = NULL; - destroyed_ = false; - destroy_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMessage::~StreamMessage() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMessage) - SharedDtor(); -} - -void StreamMessage::SharedDtor() { - if (this != default_instance_) { - delete id_; - delete author_; - delete destroyer_; - } -} - -void StreamMessage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMessage::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMessage_descriptor_; -} - -const StreamMessage& StreamMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamMessage* StreamMessage::default_instance_ = NULL; - -StreamMessage* StreamMessage::New() const { - return new StreamMessage; -} - -void StreamMessage::Swap(StreamMessage* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMessage::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMessage_descriptor_; - metadata.reflection = StreamMessage_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMention::kClubIdFieldNumber; -const int StreamMention::kStreamIdFieldNumber; -const int StreamMention::kMessageIdFieldNumber; -const int StreamMention::kAuthorFieldNumber; -const int StreamMention::kDestroyedFieldNumber; -const int StreamMention::kMentionIdFieldNumber; -const int StreamMention::kMemberIdFieldNumber; -const int StreamMention::kMessageFieldNumber; -const int StreamMention::kClubTypeFieldNumber; -#endif // !_MSC_VER - -StreamMention::StreamMention() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMention) -} - -void StreamMention::InitAsDefaultInstance() { - message_id_ = const_cast< ::bgs::protocol::MessageId*>(&::bgs::protocol::MessageId::default_instance()); - author_ = const_cast< ::bgs::protocol::club::v1::MemberDescription*>(&::bgs::protocol::club::v1::MemberDescription::default_instance()); - mention_id_ = const_cast< ::bgs::protocol::TimeSeriesId*>(&::bgs::protocol::TimeSeriesId::default_instance()); - member_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); - message_ = const_cast< ::bgs::protocol::club::v1::StreamMessage*>(&::bgs::protocol::club::v1::StreamMessage::default_instance()); - club_type_ = const_cast< ::bgs::protocol::club::v1::UniqueClubType*>(&::bgs::protocol::club::v1::UniqueClubType::default_instance()); -} - -StreamMention::StreamMention(const StreamMention& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMention) -} - -void StreamMention::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - message_id_ = NULL; - author_ = NULL; - destroyed_ = false; - mention_id_ = NULL; - member_id_ = NULL; - message_ = NULL; - club_type_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMention::~StreamMention() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMention) - SharedDtor(); -} - -void StreamMention::SharedDtor() { - if (this != default_instance_) { - delete message_id_; - delete author_; - delete mention_id_; - delete member_id_; - delete message_; - delete club_type_; - } -} - -void StreamMention::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMention::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMention_descriptor_; -} - -const StreamMention& StreamMention::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamMention* StreamMention::default_instance_ = NULL; - -StreamMention* StreamMention::New() const { - return new StreamMention; -} - -void StreamMention::Swap(StreamMention* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMention::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMention_descriptor_; - metadata.reflection = StreamMention_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamView::kClubIdFieldNumber; -const int StreamView::kStreamIdFieldNumber; -const int StreamView::kMarkerFieldNumber; -#endif // !_MSC_VER - -StreamView::StreamView() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamView) -} - -void StreamView::InitAsDefaultInstance() { - marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); -} - -StreamView::StreamView(const StreamView& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamView) -} - -void StreamView::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - marker_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamView::~StreamView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamView) - SharedDtor(); -} - -void StreamView::SharedDtor() { - if (this != default_instance_) { - delete marker_; - } -} - -void StreamView::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamView::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamView_descriptor_; -} - -const StreamView& StreamView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamView* StreamView::default_instance_ = NULL; - -StreamView* StreamView::New() const { - return new StreamView; -} - -void StreamView::Swap(StreamView* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamView::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamView_descriptor_; - metadata.reflection = StreamView_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamAdvanceViewTime::kStreamIdFieldNumber; -const int StreamAdvanceViewTime::kViewTimeFieldNumber; -#endif // !_MSC_VER - -StreamAdvanceViewTime::StreamAdvanceViewTime() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamAdvanceViewTime) -} - -void StreamAdvanceViewTime::InitAsDefaultInstance() { -} - -StreamAdvanceViewTime::StreamAdvanceViewTime(const StreamAdvanceViewTime& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamAdvanceViewTime) -} - -void StreamAdvanceViewTime::SharedCtor() { - _cached_size_ = 0; - stream_id_ = GOOGLE_ULONGLONG(0); - view_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamAdvanceViewTime::~StreamAdvanceViewTime() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamAdvanceViewTime) - SharedDtor(); -} - -void StreamAdvanceViewTime::SharedDtor() { - if (this != default_instance_) { - } -} - -void StreamAdvanceViewTime::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamAdvanceViewTime::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamAdvanceViewTime_descriptor_; -} - -const StreamAdvanceViewTime& StreamAdvanceViewTime::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamAdvanceViewTime* StreamAdvanceViewTime::default_instance_ = NULL; - -StreamAdvanceViewTime* StreamAdvanceViewTime::New() const { - return new StreamAdvanceViewTime; -} - -void StreamAdvanceViewTime::Swap(StreamAdvanceViewTime* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamAdvanceViewTime::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamAdvanceViewTime_descriptor_; - metadata.reflection = StreamAdvanceViewTime_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamEventTime::kStreamIdFieldNumber; -const int StreamEventTime::kEventTimeFieldNumber; -#endif // !_MSC_VER - -StreamEventTime::StreamEventTime() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamEventTime) -} - -void StreamEventTime::InitAsDefaultInstance() { -} - -StreamEventTime::StreamEventTime(const StreamEventTime& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamEventTime) -} - -void StreamEventTime::SharedCtor() { - _cached_size_ = 0; - stream_id_ = GOOGLE_ULONGLONG(0); - event_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamEventTime::~StreamEventTime() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamEventTime) - SharedDtor(); -} - -void StreamEventTime::SharedDtor() { - if (this != default_instance_) { - } -} - -void StreamEventTime::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamEventTime::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamEventTime_descriptor_; -} - -const StreamEventTime& StreamEventTime::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamEventTime* StreamEventTime::default_instance_ = NULL; - -StreamEventTime* StreamEventTime::New() const { - return new StreamEventTime; -} - -void StreamEventTime::Swap(StreamEventTime* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamEventTime::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamEventTime_descriptor_; - metadata.reflection = StreamEventTime_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamMentionView::kClubIdFieldNumber; -const int StreamMentionView::kStreamIdFieldNumber; -const int StreamMentionView::kMarkerFieldNumber; -#endif // !_MSC_VER - -StreamMentionView::StreamMentionView() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamMentionView) -} - -void StreamMentionView::InitAsDefaultInstance() { - marker_ = const_cast< ::bgs::protocol::ViewMarker*>(&::bgs::protocol::ViewMarker::default_instance()); -} - -StreamMentionView::StreamMentionView(const StreamMentionView& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamMentionView) -} - -void StreamMentionView::SharedCtor() { - _cached_size_ = 0; - club_id_ = GOOGLE_ULONGLONG(0); - stream_id_ = GOOGLE_ULONGLONG(0); - marker_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamMentionView::~StreamMentionView() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamMentionView) - SharedDtor(); -} - -void StreamMentionView::SharedDtor() { - if (this != default_instance_) { - delete marker_; - } -} - -void StreamMentionView::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamMentionView::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamMentionView_descriptor_; -} - -const StreamMentionView& StreamMentionView::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamMentionView* StreamMentionView::default_instance_ = NULL; - -StreamMentionView* StreamMentionView::New() const { - return new StreamMentionView; -} - -void StreamMentionView::Swap(StreamMentionView* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamMentionView::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamMentionView_descriptor_; - metadata.reflection = StreamMentionView_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamStateOptions::kAttributeFieldNumber; -const int StreamStateOptions::kNameFieldNumber; -const int StreamStateOptions::kSubjectFieldNumber; -const int StreamStateOptions::kAccessFieldNumber; -const int StreamStateOptions::kVoiceLevelFieldNumber; -#endif // !_MSC_VER - -StreamStateOptions::StreamStateOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateOptions) -} - -void StreamStateOptions::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); -} - -StreamStateOptions::StreamStateOptions(const StreamStateOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamStateOptions) -} - -void StreamStateOptions::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - access_ = NULL; - voice_level_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamStateOptions::~StreamStateOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateOptions) - SharedDtor(); -} - -void StreamStateOptions::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (this != default_instance_) { - delete access_; - } -} - -void StreamStateOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamStateOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamStateOptions_descriptor_; -} - -const StreamStateOptions& StreamStateOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamStateOptions* StreamStateOptions::default_instance_ = NULL; - -StreamStateOptions* StreamStateOptions::New() const { - return new StreamStateOptions; -} - -void StreamStateOptions::Swap(StreamStateOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamStateOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamStateOptions_descriptor_; - metadata.reflection = StreamStateOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamStateAssignment::kStreamIdFieldNumber; -const int StreamStateAssignment::kAttributeFieldNumber; -const int StreamStateAssignment::kNameFieldNumber; -const int StreamStateAssignment::kSubjectFieldNumber; -const int StreamStateAssignment::kAccessFieldNumber; -const int StreamStateAssignment::kStreamSubscriptionRemovedFieldNumber; -const int StreamStateAssignment::kVoiceLevelFieldNumber; -#endif // !_MSC_VER - -StreamStateAssignment::StreamStateAssignment() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamStateAssignment) -} - -void StreamStateAssignment::InitAsDefaultInstance() { - access_ = const_cast< ::bgs::protocol::club::v1::StreamAccess*>(&::bgs::protocol::club::v1::StreamAccess::default_instance()); -} - -StreamStateAssignment::StreamStateAssignment(const StreamStateAssignment& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamStateAssignment) -} - -void StreamStateAssignment::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - stream_id_ = GOOGLE_ULONGLONG(0); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - access_ = NULL; - stream_subscription_removed_ = false; - voice_level_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamStateAssignment::~StreamStateAssignment() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamStateAssignment) - SharedDtor(); -} - -void StreamStateAssignment::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (this != default_instance_) { - delete access_; - } -} - -void StreamStateAssignment::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamStateAssignment::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamStateAssignment_descriptor_; -} - -const StreamStateAssignment& StreamStateAssignment::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamStateAssignment* StreamStateAssignment::default_instance_ = NULL; - -StreamStateAssignment* StreamStateAssignment::New() const { - return new StreamStateAssignment; -} - -void StreamStateAssignment::Swap(StreamStateAssignment* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamStateAssignment::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamStateAssignment_descriptor_; - metadata.reflection = StreamStateAssignment_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int StreamTypingIndicator::kAuthorIdFieldNumber; -const int StreamTypingIndicator::kIndicatorFieldNumber; -const int StreamTypingIndicator::kEpochFieldNumber; -#endif // !_MSC_VER - -StreamTypingIndicator::StreamTypingIndicator() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.StreamTypingIndicator) -} - -void StreamTypingIndicator::InitAsDefaultInstance() { - author_id_ = const_cast< ::bgs::protocol::club::v1::MemberId*>(&::bgs::protocol::club::v1::MemberId::default_instance()); -} - -StreamTypingIndicator::StreamTypingIndicator(const StreamTypingIndicator& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.StreamTypingIndicator) -} - -void StreamTypingIndicator::SharedCtor() { - _cached_size_ = 0; - author_id_ = NULL; - indicator_ = 0; - epoch_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -StreamTypingIndicator::~StreamTypingIndicator() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.StreamTypingIndicator) - SharedDtor(); -} - -void StreamTypingIndicator::SharedDtor() { - if (this != default_instance_) { - delete author_id_; - } -} - -void StreamTypingIndicator::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StreamTypingIndicator::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StreamTypingIndicator_descriptor_; -} - -const StreamTypingIndicator& StreamTypingIndicator::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5fstream_2eproto(); - return *default_instance_; -} - -StreamTypingIndicator* StreamTypingIndicator::default_instance_ = NULL; - -StreamTypingIndicator* StreamTypingIndicator::New() const { - return new StreamTypingIndicator; -} - -void StreamTypingIndicator::Swap(StreamTypingIndicator* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata StreamTypingIndicator::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StreamTypingIndicator_descriptor_; - metadata.reflection = StreamTypingIndicator_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_stream.pb.h b/src/server/proto/Client/club_stream.pb.h deleted file mode 100644 index 342fb7230c9..00000000000 --- a/src/server/proto/Client/club_stream.pb.h +++ /dev/null @@ -1,4552 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_stream.proto - -#ifndef PROTOBUF_club_5fstream_2eproto__INCLUDED -#define PROTOBUF_club_5fstream_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "club_enum.pb.h" -#include "club_member.pb.h" -#include "club_type.pb.h" -#include "api/client/v2/attribute_types.pb.h" -#include "embed_types.pb.h" -#include "event_view_types.pb.h" -#include "message_types.pb.h" -#include "ets_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); -void protobuf_AssignDesc_club_5fstream_2eproto(); -void protobuf_ShutdownFile_club_5fstream_2eproto(); - -class StreamPosition; -class StreamAccess; -class CreateStreamOptions; -class Stream; -class StreamDescription; -class MentionContent; -class CreateMessageOptions; -class ClubStreamMessageContainer; -class ContentChain; -class StreamMessage; -class StreamMention; -class StreamView; -class StreamAdvanceViewTime; -class StreamEventTime; -class StreamMentionView; -class StreamStateOptions; -class StreamStateAssignment; -class StreamTypingIndicator; - -// =================================================================== - -class TC_PROTO_API StreamPosition : public ::google::protobuf::Message { - public: - StreamPosition(); - virtual ~StreamPosition(); - - StreamPosition(const StreamPosition& from); - - inline StreamPosition& operator=(const StreamPosition& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamPosition& default_instance(); - - void Swap(StreamPosition* other); - - // implements Message ---------------------------------------------- - - StreamPosition* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated uint64 stream_id = 1 [packed = true]; - inline int stream_id_size() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id(int index) const; - inline void set_stream_id(int index, ::google::protobuf::uint64 value); - inline void add_stream_id(::google::protobuf::uint64 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& - stream_id() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* - mutable_stream_id(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamPosition) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamPosition* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamAccess : public ::google::protobuf::Message { - public: - StreamAccess(); - virtual ~StreamAccess(); - - StreamAccess(const StreamAccess& from); - - inline StreamAccess& operator=(const StreamAccess& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamAccess& default_instance(); - - void Swap(StreamAccess* other); - - // implements Message ---------------------------------------------- - - StreamAccess* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated uint32 role = 1 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 1; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAccess) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamAccess* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message { - public: - CreateStreamOptions(); - virtual ~CreateStreamOptions(); - - CreateStreamOptions(const CreateStreamOptions& from); - - inline CreateStreamOptions& operator=(const CreateStreamOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateStreamOptions& default_instance(); - - void Swap(CreateStreamOptions* other); - - // implements Message ---------------------------------------------- - - CreateStreamOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.v2.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string subject = 3; - inline bool has_subject() const; - inline void clear_subject(); - static const int kSubjectFieldNumber = 3; - inline const ::std::string& subject() const; - inline void set_subject(const ::std::string& value); - inline void set_subject(const char* value); - inline void set_subject(const char* value, size_t size); - inline ::std::string* mutable_subject(); - inline ::std::string* release_subject(); - inline void set_allocated_subject(::std::string* subject); - - // optional .bgs.protocol.club.v1.StreamAccess access = 4; - inline bool has_access() const; - inline void clear_access(); - static const int kAccessFieldNumber = 4; - inline const ::bgs::protocol::club::v1::StreamAccess& access() const; - inline ::bgs::protocol::club::v1::StreamAccess* mutable_access(); - inline ::bgs::protocol::club::v1::StreamAccess* release_access(); - inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access); - - // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; - inline bool has_voice_level() const; - inline void clear_voice_level(); - static const int kVoiceLevelFieldNumber = 5; - inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateStreamOptions) - private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_subject(); - inline void clear_has_subject(); - inline void set_has_access(); - inline void clear_has_access(); - inline void set_has_voice_level(); - inline void clear_has_voice_level(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; - int voice_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static CreateStreamOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Stream : public ::google::protobuf::Message { - public: - Stream(); - virtual ~Stream(); - - Stream(const Stream& from); - - inline Stream& operator=(const Stream& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Stream& default_instance(); - - void Swap(Stream* other); - - // implements Message ---------------------------------------------- - - Stream* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 id = 2; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 2; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.v2.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 4; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 4; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string subject = 5; - inline bool has_subject() const; - inline void clear_subject(); - static const int kSubjectFieldNumber = 5; - inline const ::std::string& subject() const; - inline void set_subject(const ::std::string& value); - inline void set_subject(const char* value); - inline void set_subject(const char* value, size_t size); - inline ::std::string* mutable_subject(); - inline ::std::string* release_subject(); - inline void set_allocated_subject(::std::string* subject); - - // optional .bgs.protocol.club.v1.StreamAccess access = 6; - inline bool has_access() const; - inline void clear_access(); - static const int kAccessFieldNumber = 6; - inline const ::bgs::protocol::club::v1::StreamAccess& access() const; - inline ::bgs::protocol::club::v1::StreamAccess* mutable_access(); - inline ::bgs::protocol::club::v1::StreamAccess* release_access(); - inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access); - - // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; - inline bool has_voice_level() const; - inline void clear_voice_level(); - static const int kVoiceLevelFieldNumber = 7; - inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); - - // optional uint64 creation_time = 8; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 8; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Stream) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_subject(); - inline void clear_has_subject(); - inline void set_has_access(); - inline void clear_has_access(); - inline void set_has_voice_level(); - inline void clear_has_voice_level(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; - ::google::protobuf::uint64 creation_time_; - int voice_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static Stream* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamDescription : public ::google::protobuf::Message { - public: - StreamDescription(); - virtual ~StreamDescription(); - - StreamDescription(const StreamDescription& from); - - inline StreamDescription& operator=(const StreamDescription& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamDescription& default_instance(); - - void Swap(StreamDescription* other); - - // implements Message ---------------------------------------------- - - StreamDescription* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 id = 2; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 2; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional string name = 4; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 4; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamDescription) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_name(); - inline void clear_has_name(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::std::string* name_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamDescription* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API MentionContent : public ::google::protobuf::Message { - public: - MentionContent(); - virtual ~MentionContent(); - - MentionContent(const MentionContent& from); - - inline MentionContent& operator=(const MentionContent& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MentionContent& default_instance(); - - void Swap(MentionContent* other); - - // implements Message ---------------------------------------------- - - MentionContent* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional bool all = 1; - inline bool has_all() const; - inline void clear_all(); - static const int kAllFieldNumber = 1; - inline bool all() const; - inline void set_all(bool value); - - // optional bool here = 2; - inline bool has_here() const; - inline void clear_here(); - static const int kHereFieldNumber = 2; - inline bool here() const; - inline void set_here(bool value); - - // repeated .bgs.protocol.club.v1.MemberId member_id = 3; - inline int member_id_size() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MemberId& member_id(int index) const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(int index); - inline ::bgs::protocol::club::v1::MemberId* add_member_id(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& - member_id() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* - mutable_member_id(); - - // repeated uint32 role = 4 [packed = true]; - inline int role_size() const; - inline void clear_role(); - static const int kRoleFieldNumber = 4; - inline ::google::protobuf::uint32 role(int index) const; - inline void set_role(int index, ::google::protobuf::uint32 value); - inline void add_role(::google::protobuf::uint32 value); - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MentionContent) - private: - inline void set_has_all(); - inline void clear_has_all(); - inline void set_has_here(); - inline void clear_has_here(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - bool all_; - bool here_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static MentionContent* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message { - public: - CreateMessageOptions(); - virtual ~CreateMessageOptions(); - - CreateMessageOptions(const CreateMessageOptions& from); - - inline CreateMessageOptions& operator=(const CreateMessageOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CreateMessageOptions& default_instance(); - - void Swap(CreateMessageOptions* other); - - // implements Message ---------------------------------------------- - - CreateMessageOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string content = 2; - inline bool has_content() const; - inline void clear_content(); - static const int kContentFieldNumber = 2; - inline const ::std::string& content() const; - inline void set_content(const ::std::string& value); - inline void set_content(const char* value); - inline void set_content(const char* value, size_t size); - inline ::std::string* mutable_content(); - inline ::std::string* release_content(); - inline void set_allocated_content(::std::string* content); - - // optional .bgs.protocol.club.v1.MentionContent mention = 3; - inline bool has_mention() const; - inline void clear_mention(); - static const int kMentionFieldNumber = 3; - inline const ::bgs::protocol::club::v1::MentionContent& mention() const; - inline ::bgs::protocol::club::v1::MentionContent* mutable_mention(); - inline ::bgs::protocol::club::v1::MentionContent* release_mention(); - inline void set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateMessageOptions) - private: - inline void set_has_content(); - inline void clear_has_content(); - inline void set_has_mention(); - inline void clear_has_mention(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* content_; - ::bgs::protocol::club::v1::MentionContent* mention_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static CreateMessageOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Message { - public: - ClubStreamMessageContainer(); - virtual ~ClubStreamMessageContainer(); - - ClubStreamMessageContainer(const ClubStreamMessageContainer& from); - - inline ClubStreamMessageContainer& operator=(const ClubStreamMessageContainer& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClubStreamMessageContainer& default_instance(); - - void Swap(ClubStreamMessageContainer* other); - - // implements Message ---------------------------------------------- - - ClubStreamMessageContainer* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.club.v1.StreamMessage message = 1; - inline int message_size() const; - inline void clear_message(); - static const int kMessageFieldNumber = 1; - inline const ::bgs::protocol::club::v1::StreamMessage& message(int index) const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(int index); - inline ::bgs::protocol::club::v1::StreamMessage* add_message(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >& - message() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* - mutable_message(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStreamMessageContainer) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > message_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static ClubStreamMessageContainer* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ContentChain : public ::google::protobuf::Message { - public: - ContentChain(); - virtual ~ContentChain(); - - ContentChain(const ContentChain& from); - - inline ContentChain& operator=(const ContentChain& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ContentChain& default_instance(); - - void Swap(ContentChain* other); - - // implements Message ---------------------------------------------- - - ContentChain* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string content = 5; - inline bool has_content() const; - inline void clear_content(); - static const int kContentFieldNumber = 5; - inline const ::std::string& content() const; - inline void set_content(const ::std::string& value); - inline void set_content(const char* value); - inline void set_content(const char* value, size_t size); - inline ::std::string* mutable_content(); - inline ::std::string* release_content(); - inline void set_allocated_content(::std::string* content); - - // repeated .bgs.protocol.EmbedInfo embed = 6; - inline int embed_size() const; - inline void clear_embed(); - static const int kEmbedFieldNumber = 6; - inline const ::bgs::protocol::EmbedInfo& embed(int index) const; - inline ::bgs::protocol::EmbedInfo* mutable_embed(int index); - inline ::bgs::protocol::EmbedInfo* add_embed(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& - embed() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* - mutable_embed(); - - // optional .bgs.protocol.club.v1.MentionContent mention = 7; - inline bool has_mention() const; - inline void clear_mention(); - static const int kMentionFieldNumber = 7; - inline const ::bgs::protocol::club::v1::MentionContent& mention() const; - inline ::bgs::protocol::club::v1::MentionContent* mutable_mention(); - inline ::bgs::protocol::club::v1::MentionContent* release_mention(); - inline void set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention); - - // optional uint64 edit_time = 8; - inline bool has_edit_time() const; - inline void clear_edit_time(); - static const int kEditTimeFieldNumber = 8; - inline ::google::protobuf::uint64 edit_time() const; - inline void set_edit_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ContentChain) - private: - inline void set_has_content(); - inline void clear_has_content(); - inline void set_has_mention(); - inline void clear_has_mention(); - inline void set_has_edit_time(); - inline void clear_has_edit_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* content_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_; - ::bgs::protocol::club::v1::MentionContent* mention_; - ::google::protobuf::uint64 edit_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static ContentChain* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMessage : public ::google::protobuf::Message { - public: - StreamMessage(); - virtual ~StreamMessage(); - - StreamMessage(const StreamMessage& from); - - inline StreamMessage& operator=(const StreamMessage& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMessage& default_instance(); - - void Swap(StreamMessage* other); - - // implements Message ---------------------------------------------- - - StreamMessage* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.MessageId id = 3; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 3; - inline const ::bgs::protocol::MessageId& id() const; - inline ::bgs::protocol::MessageId* mutable_id(); - inline ::bgs::protocol::MessageId* release_id(); - inline void set_allocated_id(::bgs::protocol::MessageId* id); - - // optional .bgs.protocol.club.v1.MemberDescription author = 4; - inline bool has_author() const; - inline void clear_author(); - static const int kAuthorFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberDescription& author() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_author(); - inline ::bgs::protocol::club::v1::MemberDescription* release_author(); - inline void set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author); - - // repeated .bgs.protocol.club.v1.ContentChain content_chain = 6; - inline int content_chain_size() const; - inline void clear_content_chain(); - static const int kContentChainFieldNumber = 6; - inline const ::bgs::protocol::club::v1::ContentChain& content_chain(int index) const; - inline ::bgs::protocol::club::v1::ContentChain* mutable_content_chain(int index); - inline ::bgs::protocol::club::v1::ContentChain* add_content_chain(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >& - content_chain() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >* - mutable_content_chain(); - - // optional .bgs.protocol.club.v1.MemberDescription destroyer = 15; - inline bool has_destroyer() const; - inline void clear_destroyer(); - static const int kDestroyerFieldNumber = 15; - inline const ::bgs::protocol::club::v1::MemberDescription& destroyer() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_destroyer(); - inline ::bgs::protocol::club::v1::MemberDescription* release_destroyer(); - inline void set_allocated_destroyer(::bgs::protocol::club::v1::MemberDescription* destroyer); - - // optional bool destroyed = 16; - inline bool has_destroyed() const; - inline void clear_destroyed(); - static const int kDestroyedFieldNumber = 16; - inline bool destroyed() const; - inline void set_destroyed(bool value); - - // optional uint64 destroy_time = 17; - inline bool has_destroy_time() const; - inline void clear_destroy_time(); - static const int kDestroyTimeFieldNumber = 17; - inline ::google::protobuf::uint64 destroy_time() const; - inline void set_destroy_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMessage) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_author(); - inline void clear_has_author(); - inline void set_has_destroyer(); - inline void clear_has_destroyer(); - inline void set_has_destroyed(); - inline void clear_has_destroyed(); - inline void set_has_destroy_time(); - inline void clear_has_destroy_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::MessageId* id_; - ::bgs::protocol::club::v1::MemberDescription* author_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain > content_chain_; - ::bgs::protocol::club::v1::MemberDescription* destroyer_; - ::google::protobuf::uint64 destroy_time_; - bool destroyed_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamMessage* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMention : public ::google::protobuf::Message { - public: - StreamMention(); - virtual ~StreamMention(); - - StreamMention(const StreamMention& from); - - inline StreamMention& operator=(const StreamMention& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMention& default_instance(); - - void Swap(StreamMention* other); - - // implements Message ---------------------------------------------- - - StreamMention* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 2; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.MessageId message_id = 3; - inline bool has_message_id() const; - inline void clear_message_id(); - static const int kMessageIdFieldNumber = 3; - inline const ::bgs::protocol::MessageId& message_id() const; - inline ::bgs::protocol::MessageId* mutable_message_id(); - inline ::bgs::protocol::MessageId* release_message_id(); - inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id); - - // optional .bgs.protocol.club.v1.MemberDescription author = 4; - inline bool has_author() const; - inline void clear_author(); - static const int kAuthorFieldNumber = 4; - inline const ::bgs::protocol::club::v1::MemberDescription& author() const; - inline ::bgs::protocol::club::v1::MemberDescription* mutable_author(); - inline ::bgs::protocol::club::v1::MemberDescription* release_author(); - inline void set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author); - - // optional bool destroyed = 5; - inline bool has_destroyed() const; - inline void clear_destroyed(); - static const int kDestroyedFieldNumber = 5; - inline bool destroyed() const; - inline void set_destroyed(bool value); - - // optional .bgs.protocol.TimeSeriesId mention_id = 6; - inline bool has_mention_id() const; - inline void clear_mention_id(); - static const int kMentionIdFieldNumber = 6; - inline const ::bgs::protocol::TimeSeriesId& mention_id() const; - inline ::bgs::protocol::TimeSeriesId* mutable_mention_id(); - inline ::bgs::protocol::TimeSeriesId* release_mention_id(); - inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id); - - // optional .bgs.protocol.club.v1.MemberId member_id = 7; - inline bool has_member_id() const; - inline void clear_member_id(); - static const int kMemberIdFieldNumber = 7; - inline const ::bgs::protocol::club::v1::MemberId& member_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(); - inline ::bgs::protocol::club::v1::MemberId* release_member_id(); - inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id); - - // optional .bgs.protocol.club.v1.StreamMessage message = 8; - inline bool has_message() const; - inline void clear_message(); - static const int kMessageFieldNumber = 8; - inline const ::bgs::protocol::club::v1::StreamMessage& message() const; - inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(); - inline ::bgs::protocol::club::v1::StreamMessage* release_message(); - inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message); - - // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; - inline bool has_club_type() const; - inline void clear_club_type(); - static const int kClubTypeFieldNumber = 9; - inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const; - inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type(); - inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type(); - inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMention) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_message_id(); - inline void clear_has_message_id(); - inline void set_has_author(); - inline void clear_has_author(); - inline void set_has_destroyed(); - inline void clear_has_destroyed(); - inline void set_has_mention_id(); - inline void clear_has_mention_id(); - inline void set_has_member_id(); - inline void clear_has_member_id(); - inline void set_has_message(); - inline void clear_has_message(); - inline void set_has_club_type(); - inline void clear_has_club_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::MessageId* message_id_; - ::bgs::protocol::club::v1::MemberDescription* author_; - ::bgs::protocol::TimeSeriesId* mention_id_; - ::bgs::protocol::club::v1::MemberId* member_id_; - ::bgs::protocol::club::v1::StreamMessage* message_; - ::bgs::protocol::club::v1::UniqueClubType* club_type_; - bool destroyed_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamMention* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamView : public ::google::protobuf::Message { - public: - StreamView(); - virtual ~StreamView(); - - StreamView(const StreamView& from); - - inline StreamView& operator=(const StreamView& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamView& default_instance(); - - void Swap(StreamView* other); - - // implements Message ---------------------------------------------- - - StreamView* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 2; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.ViewMarker marker = 3; - inline bool has_marker() const; - inline void clear_marker(); - static const int kMarkerFieldNumber = 3; - inline const ::bgs::protocol::ViewMarker& marker() const; - inline ::bgs::protocol::ViewMarker* mutable_marker(); - inline ::bgs::protocol::ViewMarker* release_marker(); - inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamView) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_marker(); - inline void clear_has_marker(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::ViewMarker* marker_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamView* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message { - public: - StreamAdvanceViewTime(); - virtual ~StreamAdvanceViewTime(); - - StreamAdvanceViewTime(const StreamAdvanceViewTime& from); - - inline StreamAdvanceViewTime& operator=(const StreamAdvanceViewTime& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamAdvanceViewTime& default_instance(); - - void Swap(StreamAdvanceViewTime* other); - - // implements Message ---------------------------------------------- - - StreamAdvanceViewTime* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 stream_id = 1; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional uint64 view_time = 2; - inline bool has_view_time() const; - inline void clear_view_time(); - static const int kViewTimeFieldNumber = 2; - inline ::google::protobuf::uint64 view_time() const; - inline void set_view_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAdvanceViewTime) - private: - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_view_time(); - inline void clear_has_view_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 stream_id_; - ::google::protobuf::uint64 view_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamAdvanceViewTime* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message { - public: - StreamEventTime(); - virtual ~StreamEventTime(); - - StreamEventTime(const StreamEventTime& from); - - inline StreamEventTime& operator=(const StreamEventTime& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamEventTime& default_instance(); - - void Swap(StreamEventTime* other); - - // implements Message ---------------------------------------------- - - StreamEventTime* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 stream_id = 1; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional uint64 event_time = 2; - inline bool has_event_time() const; - inline void clear_event_time(); - static const int kEventTimeFieldNumber = 2; - inline ::google::protobuf::uint64 event_time() const; - inline void set_event_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamEventTime) - private: - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_event_time(); - inline void clear_has_event_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 stream_id_; - ::google::protobuf::uint64 event_time_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamEventTime* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message { - public: - StreamMentionView(); - virtual ~StreamMentionView(); - - StreamMentionView(const StreamMentionView& from); - - inline StreamMentionView& operator=(const StreamMentionView& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamMentionView& default_instance(); - - void Swap(StreamMentionView* other); - - // implements Message ---------------------------------------------- - - StreamMentionView* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 club_id = 1; - inline bool has_club_id() const; - inline void clear_club_id(); - static const int kClubIdFieldNumber = 1; - inline ::google::protobuf::uint64 club_id() const; - inline void set_club_id(::google::protobuf::uint64 value); - - // optional uint64 stream_id = 2; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 2; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // optional .bgs.protocol.ViewMarker marker = 3; - inline bool has_marker() const; - inline void clear_marker(); - static const int kMarkerFieldNumber = 3; - inline const ::bgs::protocol::ViewMarker& marker() const; - inline ::bgs::protocol::ViewMarker* mutable_marker(); - inline ::bgs::protocol::ViewMarker* release_marker(); - inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMentionView) - private: - inline void set_has_club_id(); - inline void clear_has_club_id(); - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_marker(); - inline void clear_has_marker(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 club_id_; - ::google::protobuf::uint64 stream_id_; - ::bgs::protocol::ViewMarker* marker_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamMentionView* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message { - public: - StreamStateOptions(); - virtual ~StreamStateOptions(); - - StreamStateOptions(const StreamStateOptions& from); - - inline StreamStateOptions& operator=(const StreamStateOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamStateOptions& default_instance(); - - void Swap(StreamStateOptions* other); - - // implements Message ---------------------------------------------- - - StreamStateOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.v2.Attribute attribute = 1; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 1; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string subject = 3; - inline bool has_subject() const; - inline void clear_subject(); - static const int kSubjectFieldNumber = 3; - inline const ::std::string& subject() const; - inline void set_subject(const ::std::string& value); - inline void set_subject(const char* value); - inline void set_subject(const char* value, size_t size); - inline ::std::string* mutable_subject(); - inline ::std::string* release_subject(); - inline void set_allocated_subject(::std::string* subject); - - // optional .bgs.protocol.club.v1.StreamAccess access = 4; - inline bool has_access() const; - inline void clear_access(); - static const int kAccessFieldNumber = 4; - inline const ::bgs::protocol::club::v1::StreamAccess& access() const; - inline ::bgs::protocol::club::v1::StreamAccess* mutable_access(); - inline ::bgs::protocol::club::v1::StreamAccess* release_access(); - inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access); - - // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; - inline bool has_voice_level() const; - inline void clear_voice_level(); - static const int kVoiceLevelFieldNumber = 5; - inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamStateOptions) - private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_subject(); - inline void clear_has_subject(); - inline void set_has_access(); - inline void clear_has_access(); - inline void set_has_voice_level(); - inline void clear_has_voice_level(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; - int voice_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamStateOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message { - public: - StreamStateAssignment(); - virtual ~StreamStateAssignment(); - - StreamStateAssignment(const StreamStateAssignment& from); - - inline StreamStateAssignment& operator=(const StreamStateAssignment& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamStateAssignment& default_instance(); - - void Swap(StreamStateAssignment* other); - - // implements Message ---------------------------------------------- - - StreamStateAssignment* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 stream_id = 1; - inline bool has_stream_id() const; - inline void clear_stream_id(); - static const int kStreamIdFieldNumber = 1; - inline ::google::protobuf::uint64 stream_id() const; - inline void set_stream_id(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.v2.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::v2::Attribute& attribute(int index) const; - inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::v2::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* - mutable_attribute(); - - // optional string name = 3; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 3; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string subject = 4; - inline bool has_subject() const; - inline void clear_subject(); - static const int kSubjectFieldNumber = 4; - inline const ::std::string& subject() const; - inline void set_subject(const ::std::string& value); - inline void set_subject(const char* value); - inline void set_subject(const char* value, size_t size); - inline ::std::string* mutable_subject(); - inline ::std::string* release_subject(); - inline void set_allocated_subject(::std::string* subject); - - // optional .bgs.protocol.club.v1.StreamAccess access = 5; - inline bool has_access() const; - inline void clear_access(); - static const int kAccessFieldNumber = 5; - inline const ::bgs::protocol::club::v1::StreamAccess& access() const; - inline ::bgs::protocol::club::v1::StreamAccess* mutable_access(); - inline ::bgs::protocol::club::v1::StreamAccess* release_access(); - inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access); - - // optional bool stream_subscription_removed = 6; - inline bool has_stream_subscription_removed() const; - inline void clear_stream_subscription_removed(); - static const int kStreamSubscriptionRemovedFieldNumber = 6; - inline bool stream_subscription_removed() const; - inline void set_stream_subscription_removed(bool value); - - // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; - inline bool has_voice_level() const; - inline void clear_voice_level(); - static const int kVoiceLevelFieldNumber = 7; - inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const; - inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamStateAssignment) - private: - inline void set_has_stream_id(); - inline void clear_has_stream_id(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_subject(); - inline void clear_has_subject(); - inline void set_has_access(); - inline void clear_has_access(); - inline void set_has_stream_subscription_removed(); - inline void clear_has_stream_subscription_removed(); - inline void set_has_voice_level(); - inline void clear_has_voice_level(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 stream_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_; - ::std::string* name_; - ::std::string* subject_; - ::bgs::protocol::club::v1::StreamAccess* access_; - bool stream_subscription_removed_; - int voice_level_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamStateAssignment* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message { - public: - StreamTypingIndicator(); - virtual ~StreamTypingIndicator(); - - StreamTypingIndicator(const StreamTypingIndicator& from); - - inline StreamTypingIndicator& operator=(const StreamTypingIndicator& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StreamTypingIndicator& default_instance(); - - void Swap(StreamTypingIndicator* other); - - // implements Message ---------------------------------------------- - - StreamTypingIndicator* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.MemberId author_id = 1; - inline bool has_author_id() const; - inline void clear_author_id(); - static const int kAuthorIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::MemberId& author_id() const; - inline ::bgs::protocol::club::v1::MemberId* mutable_author_id(); - inline ::bgs::protocol::club::v1::MemberId* release_author_id(); - inline void set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id); - - // optional .bgs.protocol.TypingIndicator indicator = 2; - inline bool has_indicator() const; - inline void clear_indicator(); - static const int kIndicatorFieldNumber = 2; - inline ::bgs::protocol::TypingIndicator indicator() const; - inline void set_indicator(::bgs::protocol::TypingIndicator value); - - // optional uint64 epoch = 3; - inline bool has_epoch() const; - inline void clear_epoch(); - static const int kEpochFieldNumber = 3; - inline ::google::protobuf::uint64 epoch() const; - inline void set_epoch(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamTypingIndicator) - private: - inline void set_has_author_id(); - inline void clear_has_author_id(); - inline void set_has_indicator(); - inline void clear_has_indicator(); - inline void set_has_epoch(); - inline void clear_has_epoch(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::MemberId* author_id_; - ::google::protobuf::uint64 epoch_; - int indicator_; - friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto(); - friend void protobuf_AssignDesc_club_5fstream_2eproto(); - friend void protobuf_ShutdownFile_club_5fstream_2eproto(); - - void InitAsDefaultInstance(); - static StreamTypingIndicator* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// StreamPosition - -// repeated uint64 stream_id = 1 [packed = true]; -inline int StreamPosition::stream_id_size() const { - return stream_id_.size(); -} -inline void StreamPosition::clear_stream_id() { - stream_id_.Clear(); -} -inline ::google::protobuf::uint64 StreamPosition::stream_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamPosition.stream_id) - return stream_id_.Get(index); -} -inline void StreamPosition::set_stream_id(int index, ::google::protobuf::uint64 value) { - stream_id_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamPosition.stream_id) -} -inline void StreamPosition::add_stream_id(::google::protobuf::uint64 value) { - stream_id_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamPosition.stream_id) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& -StreamPosition::stream_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamPosition.stream_id) - return stream_id_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* -StreamPosition::mutable_stream_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamPosition.stream_id) - return &stream_id_; -} - -// ------------------------------------------------------------------- - -// StreamAccess - -// repeated uint32 role = 1 [packed = true]; -inline int StreamAccess::role_size() const { - return role_.size(); -} -inline void StreamAccess::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 StreamAccess::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAccess.role) - return role_.Get(index); -} -inline void StreamAccess::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAccess.role) -} -inline void StreamAccess::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamAccess.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -StreamAccess::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamAccess.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -StreamAccess::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamAccess.role) - return &role_; -} - -// ------------------------------------------------------------------- - -// CreateStreamOptions - -// repeated .bgs.protocol.v2.Attribute attribute = 1; -inline int CreateStreamOptions::attribute_size() const { - return attribute_.size(); -} -inline void CreateStreamOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& CreateStreamOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.CreateStreamOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -CreateStreamOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.CreateStreamOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -CreateStreamOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.CreateStreamOptions.attribute) - return &attribute_; -} - -// optional string name = 2; -inline bool CreateStreamOptions::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateStreamOptions::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateStreamOptions::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateStreamOptions::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& CreateStreamOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.name) - return *name_; -} -inline void CreateStreamOptions::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.name) -} -inline void CreateStreamOptions::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.name) -} -inline void CreateStreamOptions::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.name) -} -inline ::std::string* CreateStreamOptions::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.name) - return name_; -} -inline ::std::string* CreateStreamOptions::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CreateStreamOptions::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.name) -} - -// optional string subject = 3; -inline bool CreateStreamOptions::has_subject() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CreateStreamOptions::set_has_subject() { - _has_bits_[0] |= 0x00000004u; -} -inline void CreateStreamOptions::clear_has_subject() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CreateStreamOptions::clear_subject() { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_->clear(); - } - clear_has_subject(); -} -inline const ::std::string& CreateStreamOptions::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.subject) - return *subject_; -} -inline void CreateStreamOptions::set_subject(const ::std::string& value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.subject) -} -inline void CreateStreamOptions::set_subject(const char* value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.subject) -} -inline void CreateStreamOptions::set_subject(const char* value, size_t size) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.subject) -} -inline ::std::string* CreateStreamOptions::mutable_subject() { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.subject) - return subject_; -} -inline ::std::string* CreateStreamOptions::release_subject() { - clear_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = subject_; - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (subject) { - set_has_subject(); - subject_ = subject; - } else { - clear_has_subject(); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.subject) -} - -// optional .bgs.protocol.club.v1.StreamAccess access = 4; -inline bool CreateStreamOptions::has_access() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void CreateStreamOptions::set_has_access() { - _has_bits_[0] |= 0x00000008u; -} -inline void CreateStreamOptions::clear_has_access() { - _has_bits_[0] &= ~0x00000008u; -} -inline void CreateStreamOptions::clear_access() { - if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear(); - clear_has_access(); -} -inline const ::bgs::protocol::club::v1::StreamAccess& CreateStreamOptions::access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.access) - return access_ != NULL ? *access_ : *default_instance_->access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* CreateStreamOptions::mutable_access() { - set_has_access(); - if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.access) - return access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* CreateStreamOptions::release_access() { - clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; - access_ = NULL; - return temp; -} -inline void CreateStreamOptions::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { - delete access_; - access_ = access; - if (access) { - set_has_access(); - } else { - clear_has_access(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.access) -} - -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; -inline bool CreateStreamOptions::has_voice_level() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void CreateStreamOptions::set_has_voice_level() { - _has_bits_[0] |= 0x00000010u; -} -inline void CreateStreamOptions::clear_has_voice_level() { - _has_bits_[0] &= ~0x00000010u; -} -inline void CreateStreamOptions::clear_voice_level() { - voice_level_ = 0; - clear_has_voice_level(); -} -inline ::bgs::protocol::club::v1::StreamVoiceLevel CreateStreamOptions::voice_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.voice_level) - return static_cast< ::bgs::protocol::club::v1::StreamVoiceLevel >(voice_level_); -} -inline void CreateStreamOptions::set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); - set_has_voice_level(); - voice_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.voice_level) -} - -// ------------------------------------------------------------------- - -// Stream - -// optional uint64 club_id = 1; -inline bool Stream::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Stream::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void Stream::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Stream::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 Stream::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.club_id) - return club_id_; -} -inline void Stream::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.club_id) -} - -// optional uint64 id = 2; -inline bool Stream::has_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Stream::set_has_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void Stream::clear_has_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Stream::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 Stream::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.id) - return id_; -} -inline void Stream::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 3; -inline int Stream::attribute_size() const { - return attribute_.size(); -} -inline void Stream::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& Stream::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* Stream::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* Stream::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Stream.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -Stream::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Stream.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -Stream::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Stream.attribute) - return &attribute_; -} - -// optional string name = 4; -inline bool Stream::has_name() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void Stream::set_has_name() { - _has_bits_[0] |= 0x00000008u; -} -inline void Stream::clear_has_name() { - _has_bits_[0] &= ~0x00000008u; -} -inline void Stream::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& Stream::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.name) - return *name_; -} -inline void Stream::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.name) -} -inline void Stream::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.name) -} -inline void Stream::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.name) -} -inline ::std::string* Stream::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.name) - return name_; -} -inline ::std::string* Stream::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Stream::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.name) -} - -// optional string subject = 5; -inline bool Stream::has_subject() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void Stream::set_has_subject() { - _has_bits_[0] |= 0x00000010u; -} -inline void Stream::clear_has_subject() { - _has_bits_[0] &= ~0x00000010u; -} -inline void Stream::clear_subject() { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_->clear(); - } - clear_has_subject(); -} -inline const ::std::string& Stream::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.subject) - return *subject_; -} -inline void Stream::set_subject(const ::std::string& value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.subject) -} -inline void Stream::set_subject(const char* value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.subject) -} -inline void Stream::set_subject(const char* value, size_t size) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.subject) -} -inline ::std::string* Stream::mutable_subject() { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.subject) - return subject_; -} -inline ::std::string* Stream::release_subject() { - clear_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = subject_; - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Stream::set_allocated_subject(::std::string* subject) { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (subject) { - set_has_subject(); - subject_ = subject; - } else { - clear_has_subject(); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.subject) -} - -// optional .bgs.protocol.club.v1.StreamAccess access = 6; -inline bool Stream::has_access() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Stream::set_has_access() { - _has_bits_[0] |= 0x00000020u; -} -inline void Stream::clear_has_access() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Stream::clear_access() { - if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear(); - clear_has_access(); -} -inline const ::bgs::protocol::club::v1::StreamAccess& Stream::access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.access) - return access_ != NULL ? *access_ : *default_instance_->access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* Stream::mutable_access() { - set_has_access(); - if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.access) - return access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* Stream::release_access() { - clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; - access_ = NULL; - return temp; -} -inline void Stream::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { - delete access_; - access_ = access; - if (access) { - set_has_access(); - } else { - clear_has_access(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.access) -} - -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; -inline bool Stream::has_voice_level() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void Stream::set_has_voice_level() { - _has_bits_[0] |= 0x00000040u; -} -inline void Stream::clear_has_voice_level() { - _has_bits_[0] &= ~0x00000040u; -} -inline void Stream::clear_voice_level() { - voice_level_ = 0; - clear_has_voice_level(); -} -inline ::bgs::protocol::club::v1::StreamVoiceLevel Stream::voice_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.voice_level) - return static_cast< ::bgs::protocol::club::v1::StreamVoiceLevel >(voice_level_); -} -inline void Stream::set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); - set_has_voice_level(); - voice_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.voice_level) -} - -// optional uint64 creation_time = 8; -inline bool Stream::has_creation_time() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void Stream::set_has_creation_time() { - _has_bits_[0] |= 0x00000080u; -} -inline void Stream::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000080u; -} -inline void Stream::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 Stream::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.creation_time) - return creation_time_; -} -inline void Stream::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.creation_time) -} - -// ------------------------------------------------------------------- - -// StreamDescription - -// optional uint64 id = 2; -inline bool StreamDescription::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamDescription::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamDescription::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamDescription::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 StreamDescription::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.id) - return id_; -} -inline void StreamDescription::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamDescription.id) -} - -// optional string name = 4; -inline bool StreamDescription::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamDescription::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamDescription::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamDescription::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& StreamDescription::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.name) - return *name_; -} -inline void StreamDescription::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamDescription.name) -} -inline void StreamDescription::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamDescription.name) -} -inline void StreamDescription::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamDescription.name) -} -inline ::std::string* StreamDescription::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamDescription.name) - return name_; -} -inline ::std::string* StreamDescription::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void StreamDescription::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamDescription.name) -} - -// ------------------------------------------------------------------- - -// MentionContent - -// optional bool all = 1; -inline bool MentionContent::has_all() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MentionContent::set_has_all() { - _has_bits_[0] |= 0x00000001u; -} -inline void MentionContent::clear_has_all() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MentionContent::clear_all() { - all_ = false; - clear_has_all(); -} -inline bool MentionContent::all() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.all) - return all_; -} -inline void MentionContent::set_all(bool value) { - set_has_all(); - all_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.all) -} - -// optional bool here = 2; -inline bool MentionContent::has_here() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MentionContent::set_has_here() { - _has_bits_[0] |= 0x00000002u; -} -inline void MentionContent::clear_has_here() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MentionContent::clear_here() { - here_ = false; - clear_has_here(); -} -inline bool MentionContent::here() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.here) - return here_; -} -inline void MentionContent::set_here(bool value) { - set_has_here(); - here_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.here) -} - -// repeated .bgs.protocol.club.v1.MemberId member_id = 3; -inline int MentionContent::member_id_size() const { - return member_id_.size(); -} -inline void MentionContent::clear_member_id() { - member_id_.Clear(); -} -inline const ::bgs::protocol::club::v1::MemberId& MentionContent::member_id(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.member_id) - return member_id_.Get(index); -} -inline ::bgs::protocol::club::v1::MemberId* MentionContent::mutable_member_id(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MentionContent.member_id) - return member_id_.Mutable(index); -} -inline ::bgs::protocol::club::v1::MemberId* MentionContent::add_member_id() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MentionContent.member_id) - return member_id_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >& -MentionContent::member_id() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MentionContent.member_id) - return member_id_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >* -MentionContent::mutable_member_id() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MentionContent.member_id) - return &member_id_; -} - -// repeated uint32 role = 4 [packed = true]; -inline int MentionContent::role_size() const { - return role_.size(); -} -inline void MentionContent::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 MentionContent::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.role) - return role_.Get(index); -} -inline void MentionContent::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.role) -} -inline void MentionContent::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MentionContent.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -MentionContent::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MentionContent.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -MentionContent::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MentionContent.role) - return &role_; -} - -// ------------------------------------------------------------------- - -// CreateMessageOptions - -// optional string content = 2; -inline bool CreateMessageOptions::has_content() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CreateMessageOptions::set_has_content() { - _has_bits_[0] |= 0x00000001u; -} -inline void CreateMessageOptions::clear_has_content() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CreateMessageOptions::clear_content() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_->clear(); - } - clear_has_content(); -} -inline const ::std::string& CreateMessageOptions::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageOptions.content) - return *content_; -} -inline void CreateMessageOptions::set_content(const ::std::string& value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMessageOptions.content) -} -inline void CreateMessageOptions::set_content(const char* value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateMessageOptions.content) -} -inline void CreateMessageOptions::set_content(const char* value, size_t size) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateMessageOptions.content) -} -inline ::std::string* CreateMessageOptions::mutable_content() { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageOptions.content) - return content_; -} -inline ::std::string* CreateMessageOptions::release_content() { - clear_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = content_; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CreateMessageOptions::set_allocated_content(::std::string* content) { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (content) { - set_has_content(); - content_ = content; - } else { - clear_has_content(); - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.content) -} - -// optional .bgs.protocol.club.v1.MentionContent mention = 3; -inline bool CreateMessageOptions::has_mention() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CreateMessageOptions::set_has_mention() { - _has_bits_[0] |= 0x00000002u; -} -inline void CreateMessageOptions::clear_has_mention() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CreateMessageOptions::clear_mention() { - if (mention_ != NULL) mention_->::bgs::protocol::club::v1::MentionContent::Clear(); - clear_has_mention(); -} -inline const ::bgs::protocol::club::v1::MentionContent& CreateMessageOptions::mention() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageOptions.mention) - return mention_ != NULL ? *mention_ : *default_instance_->mention_; -} -inline ::bgs::protocol::club::v1::MentionContent* CreateMessageOptions::mutable_mention() { - set_has_mention(); - if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::MentionContent; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageOptions.mention) - return mention_; -} -inline ::bgs::protocol::club::v1::MentionContent* CreateMessageOptions::release_mention() { - clear_has_mention(); - ::bgs::protocol::club::v1::MentionContent* temp = mention_; - mention_ = NULL; - return temp; -} -inline void CreateMessageOptions::set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention) { - delete mention_; - mention_ = mention; - if (mention) { - set_has_mention(); - } else { - clear_has_mention(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.mention) -} - -// ------------------------------------------------------------------- - -// ClubStreamMessageContainer - -// repeated .bgs.protocol.club.v1.StreamMessage message = 1; -inline int ClubStreamMessageContainer::message_size() const { - return message_.size(); -} -inline void ClubStreamMessageContainer::clear_message() { - message_.Clear(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& ClubStreamMessageContainer::message(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamMessageContainer.message) - return message_.Get(index); -} -inline ::bgs::protocol::club::v1::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamMessageContainer.message) - return message_.Mutable(index); -} -inline ::bgs::protocol::club::v1::StreamMessage* ClubStreamMessageContainer::add_message() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStreamMessageContainer.message) - return message_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >& -ClubStreamMessageContainer::message() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message) - return message_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >* -ClubStreamMessageContainer::mutable_message() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message) - return &message_; -} - -// ------------------------------------------------------------------- - -// ContentChain - -// optional string content = 5; -inline bool ContentChain::has_content() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ContentChain::set_has_content() { - _has_bits_[0] |= 0x00000001u; -} -inline void ContentChain::clear_has_content() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ContentChain::clear_content() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_->clear(); - } - clear_has_content(); -} -inline const ::std::string& ContentChain::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.content) - return *content_; -} -inline void ContentChain::set_content(const ::std::string& value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ContentChain.content) -} -inline void ContentChain::set_content(const char* value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ContentChain.content) -} -inline void ContentChain::set_content(const char* value, size_t size) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ContentChain.content) -} -inline ::std::string* ContentChain::mutable_content() { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.content) - return content_; -} -inline ::std::string* ContentChain::release_content() { - clear_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = content_; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ContentChain::set_allocated_content(::std::string* content) { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (content) { - set_has_content(); - content_ = content; - } else { - clear_has_content(); - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.content) -} - -// repeated .bgs.protocol.EmbedInfo embed = 6; -inline int ContentChain::embed_size() const { - return embed_.size(); -} -inline void ContentChain::clear_embed() { - embed_.Clear(); -} -inline const ::bgs::protocol::EmbedInfo& ContentChain::embed(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.embed) - return embed_.Get(index); -} -inline ::bgs::protocol::EmbedInfo* ContentChain::mutable_embed(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.embed) - return embed_.Mutable(index); -} -inline ::bgs::protocol::EmbedInfo* ContentChain::add_embed() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ContentChain.embed) - return embed_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >& -ContentChain::embed() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ContentChain.embed) - return embed_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >* -ContentChain::mutable_embed() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ContentChain.embed) - return &embed_; -} - -// optional .bgs.protocol.club.v1.MentionContent mention = 7; -inline bool ContentChain::has_mention() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void ContentChain::set_has_mention() { - _has_bits_[0] |= 0x00000004u; -} -inline void ContentChain::clear_has_mention() { - _has_bits_[0] &= ~0x00000004u; -} -inline void ContentChain::clear_mention() { - if (mention_ != NULL) mention_->::bgs::protocol::club::v1::MentionContent::Clear(); - clear_has_mention(); -} -inline const ::bgs::protocol::club::v1::MentionContent& ContentChain::mention() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.mention) - return mention_ != NULL ? *mention_ : *default_instance_->mention_; -} -inline ::bgs::protocol::club::v1::MentionContent* ContentChain::mutable_mention() { - set_has_mention(); - if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::MentionContent; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.mention) - return mention_; -} -inline ::bgs::protocol::club::v1::MentionContent* ContentChain::release_mention() { - clear_has_mention(); - ::bgs::protocol::club::v1::MentionContent* temp = mention_; - mention_ = NULL; - return temp; -} -inline void ContentChain::set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention) { - delete mention_; - mention_ = mention; - if (mention) { - set_has_mention(); - } else { - clear_has_mention(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.mention) -} - -// optional uint64 edit_time = 8; -inline bool ContentChain::has_edit_time() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void ContentChain::set_has_edit_time() { - _has_bits_[0] |= 0x00000008u; -} -inline void ContentChain::clear_has_edit_time() { - _has_bits_[0] &= ~0x00000008u; -} -inline void ContentChain::clear_edit_time() { - edit_time_ = GOOGLE_ULONGLONG(0); - clear_has_edit_time(); -} -inline ::google::protobuf::uint64 ContentChain::edit_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.edit_time) - return edit_time_; -} -inline void ContentChain::set_edit_time(::google::protobuf::uint64 value) { - set_has_edit_time(); - edit_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ContentChain.edit_time) -} - -// ------------------------------------------------------------------- - -// StreamMessage - -// optional .bgs.protocol.MessageId id = 3; -inline bool StreamMessage::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMessage::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMessage::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMessage::clear_id() { - if (id_ != NULL) id_->::bgs::protocol::MessageId::Clear(); - clear_has_id(); -} -inline const ::bgs::protocol::MessageId& StreamMessage::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.id) - return id_ != NULL ? *id_ : *default_instance_->id_; -} -inline ::bgs::protocol::MessageId* StreamMessage::mutable_id() { - set_has_id(); - if (id_ == NULL) id_ = new ::bgs::protocol::MessageId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.id) - return id_; -} -inline ::bgs::protocol::MessageId* StreamMessage::release_id() { - clear_has_id(); - ::bgs::protocol::MessageId* temp = id_; - id_ = NULL; - return temp; -} -inline void StreamMessage::set_allocated_id(::bgs::protocol::MessageId* id) { - delete id_; - id_ = id; - if (id) { - set_has_id(); - } else { - clear_has_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.id) -} - -// optional .bgs.protocol.club.v1.MemberDescription author = 4; -inline bool StreamMessage::has_author() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMessage::set_has_author() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMessage::clear_has_author() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMessage::clear_author() { - if (author_ != NULL) author_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_author(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& StreamMessage::author() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.author) - return author_ != NULL ? *author_ : *default_instance_->author_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::mutable_author() { - set_has_author(); - if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.author) - return author_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::release_author() { - clear_has_author(); - ::bgs::protocol::club::v1::MemberDescription* temp = author_; - author_ = NULL; - return temp; -} -inline void StreamMessage::set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author) { - delete author_; - author_ = author; - if (author) { - set_has_author(); - } else { - clear_has_author(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.author) -} - -// repeated .bgs.protocol.club.v1.ContentChain content_chain = 6; -inline int StreamMessage::content_chain_size() const { - return content_chain_.size(); -} -inline void StreamMessage::clear_content_chain() { - content_chain_.Clear(); -} -inline const ::bgs::protocol::club::v1::ContentChain& StreamMessage::content_chain(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.content_chain) - return content_chain_.Get(index); -} -inline ::bgs::protocol::club::v1::ContentChain* StreamMessage::mutable_content_chain(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.content_chain) - return content_chain_.Mutable(index); -} -inline ::bgs::protocol::club::v1::ContentChain* StreamMessage::add_content_chain() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamMessage.content_chain) - return content_chain_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >& -StreamMessage::content_chain() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamMessage.content_chain) - return content_chain_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >* -StreamMessage::mutable_content_chain() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamMessage.content_chain) - return &content_chain_; -} - -// optional .bgs.protocol.club.v1.MemberDescription destroyer = 15; -inline bool StreamMessage::has_destroyer() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamMessage::set_has_destroyer() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamMessage::clear_has_destroyer() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamMessage::clear_destroyer() { - if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_destroyer(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& StreamMessage::destroyer() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroyer) - return destroyer_ != NULL ? *destroyer_ : *default_instance_->destroyer_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::mutable_destroyer() { - set_has_destroyer(); - if (destroyer_ == NULL) destroyer_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.destroyer) - return destroyer_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::release_destroyer() { - clear_has_destroyer(); - ::bgs::protocol::club::v1::MemberDescription* temp = destroyer_; - destroyer_ = NULL; - return temp; -} -inline void StreamMessage::set_allocated_destroyer(::bgs::protocol::club::v1::MemberDescription* destroyer) { - delete destroyer_; - destroyer_ = destroyer; - if (destroyer) { - set_has_destroyer(); - } else { - clear_has_destroyer(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.destroyer) -} - -// optional bool destroyed = 16; -inline bool StreamMessage::has_destroyed() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void StreamMessage::set_has_destroyed() { - _has_bits_[0] |= 0x00000010u; -} -inline void StreamMessage::clear_has_destroyed() { - _has_bits_[0] &= ~0x00000010u; -} -inline void StreamMessage::clear_destroyed() { - destroyed_ = false; - clear_has_destroyed(); -} -inline bool StreamMessage::destroyed() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroyed) - return destroyed_; -} -inline void StreamMessage::set_destroyed(bool value) { - set_has_destroyed(); - destroyed_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessage.destroyed) -} - -// optional uint64 destroy_time = 17; -inline bool StreamMessage::has_destroy_time() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void StreamMessage::set_has_destroy_time() { - _has_bits_[0] |= 0x00000020u; -} -inline void StreamMessage::clear_has_destroy_time() { - _has_bits_[0] &= ~0x00000020u; -} -inline void StreamMessage::clear_destroy_time() { - destroy_time_ = GOOGLE_ULONGLONG(0); - clear_has_destroy_time(); -} -inline ::google::protobuf::uint64 StreamMessage::destroy_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroy_time) - return destroy_time_; -} -inline void StreamMessage::set_destroy_time(::google::protobuf::uint64 value) { - set_has_destroy_time(); - destroy_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessage.destroy_time) -} - -// ------------------------------------------------------------------- - -// StreamMention - -// optional uint64 club_id = 1; -inline bool StreamMention::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMention::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMention::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMention::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamMention::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_id) - return club_id_; -} -inline void StreamMention::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.club_id) -} - -// optional uint64 stream_id = 2; -inline bool StreamMention::has_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMention::set_has_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMention::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMention::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamMention::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.stream_id) - return stream_id_; -} -inline void StreamMention::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.stream_id) -} - -// optional .bgs.protocol.MessageId message_id = 3; -inline bool StreamMention::has_message_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamMention::set_has_message_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamMention::clear_has_message_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamMention::clear_message_id() { - if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear(); - clear_has_message_id(); -} -inline const ::bgs::protocol::MessageId& StreamMention::message_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.message_id) - return message_id_ != NULL ? *message_id_ : *default_instance_->message_id_; -} -inline ::bgs::protocol::MessageId* StreamMention::mutable_message_id() { - set_has_message_id(); - if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.message_id) - return message_id_; -} -inline ::bgs::protocol::MessageId* StreamMention::release_message_id() { - clear_has_message_id(); - ::bgs::protocol::MessageId* temp = message_id_; - message_id_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_message_id(::bgs::protocol::MessageId* message_id) { - delete message_id_; - message_id_ = message_id; - if (message_id) { - set_has_message_id(); - } else { - clear_has_message_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message_id) -} - -// optional .bgs.protocol.club.v1.MemberDescription author = 4; -inline bool StreamMention::has_author() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamMention::set_has_author() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamMention::clear_has_author() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamMention::clear_author() { - if (author_ != NULL) author_->::bgs::protocol::club::v1::MemberDescription::Clear(); - clear_has_author(); -} -inline const ::bgs::protocol::club::v1::MemberDescription& StreamMention::author() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.author) - return author_ != NULL ? *author_ : *default_instance_->author_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMention::mutable_author() { - set_has_author(); - if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::MemberDescription; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.author) - return author_; -} -inline ::bgs::protocol::club::v1::MemberDescription* StreamMention::release_author() { - clear_has_author(); - ::bgs::protocol::club::v1::MemberDescription* temp = author_; - author_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author) { - delete author_; - author_ = author; - if (author) { - set_has_author(); - } else { - clear_has_author(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.author) -} - -// optional bool destroyed = 5; -inline bool StreamMention::has_destroyed() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void StreamMention::set_has_destroyed() { - _has_bits_[0] |= 0x00000010u; -} -inline void StreamMention::clear_has_destroyed() { - _has_bits_[0] &= ~0x00000010u; -} -inline void StreamMention::clear_destroyed() { - destroyed_ = false; - clear_has_destroyed(); -} -inline bool StreamMention::destroyed() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.destroyed) - return destroyed_; -} -inline void StreamMention::set_destroyed(bool value) { - set_has_destroyed(); - destroyed_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.destroyed) -} - -// optional .bgs.protocol.TimeSeriesId mention_id = 6; -inline bool StreamMention::has_mention_id() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void StreamMention::set_has_mention_id() { - _has_bits_[0] |= 0x00000020u; -} -inline void StreamMention::clear_has_mention_id() { - _has_bits_[0] &= ~0x00000020u; -} -inline void StreamMention::clear_mention_id() { - if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear(); - clear_has_mention_id(); -} -inline const ::bgs::protocol::TimeSeriesId& StreamMention::mention_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.mention_id) - return mention_id_ != NULL ? *mention_id_ : *default_instance_->mention_id_; -} -inline ::bgs::protocol::TimeSeriesId* StreamMention::mutable_mention_id() { - set_has_mention_id(); - if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.mention_id) - return mention_id_; -} -inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() { - clear_has_mention_id(); - ::bgs::protocol::TimeSeriesId* temp = mention_id_; - mention_id_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id) { - delete mention_id_; - mention_id_ = mention_id; - if (mention_id) { - set_has_mention_id(); - } else { - clear_has_mention_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.mention_id) -} - -// optional .bgs.protocol.club.v1.MemberId member_id = 7; -inline bool StreamMention::has_member_id() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void StreamMention::set_has_member_id() { - _has_bits_[0] |= 0x00000040u; -} -inline void StreamMention::clear_has_member_id() { - _has_bits_[0] &= ~0x00000040u; -} -inline void StreamMention::clear_member_id() { - if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_member_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamMention::member_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.member_id) - return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMention::mutable_member_id() { - set_has_member_id(); - if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.member_id) - return member_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamMention::release_member_id() { - clear_has_member_id(); - ::bgs::protocol::club::v1::MemberId* temp = member_id_; - member_id_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id) { - delete member_id_; - member_id_ = member_id; - if (member_id) { - set_has_member_id(); - } else { - clear_has_member_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.member_id) -} - -// optional .bgs.protocol.club.v1.StreamMessage message = 8; -inline bool StreamMention::has_message() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void StreamMention::set_has_message() { - _has_bits_[0] |= 0x00000080u; -} -inline void StreamMention::clear_has_message() { - _has_bits_[0] &= ~0x00000080u; -} -inline void StreamMention::clear_message() { - if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear(); - clear_has_message(); -} -inline const ::bgs::protocol::club::v1::StreamMessage& StreamMention::message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.message) - return message_ != NULL ? *message_ : *default_instance_->message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMention::mutable_message() { - set_has_message(); - if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.message) - return message_; -} -inline ::bgs::protocol::club::v1::StreamMessage* StreamMention::release_message() { - clear_has_message(); - ::bgs::protocol::club::v1::StreamMessage* temp = message_; - message_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message) { - delete message_; - message_ = message; - if (message) { - set_has_message(); - } else { - clear_has_message(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message) -} - -// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9; -inline bool StreamMention::has_club_type() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void StreamMention::set_has_club_type() { - _has_bits_[0] |= 0x00000100u; -} -inline void StreamMention::clear_has_club_type() { - _has_bits_[0] &= ~0x00000100u; -} -inline void StreamMention::clear_club_type() { - if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear(); - clear_has_club_type(); -} -inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_type) - return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() { - set_has_club_type(); - if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.club_type) - return club_type_; -} -inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() { - clear_has_club_type(); - ::bgs::protocol::club::v1::UniqueClubType* temp = club_type_; - club_type_ = NULL; - return temp; -} -inline void StreamMention::set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type) { - delete club_type_; - club_type_ = club_type; - if (club_type) { - set_has_club_type(); - } else { - clear_has_club_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.club_type) -} - -// ------------------------------------------------------------------- - -// StreamView - -// optional uint64 club_id = 1; -inline bool StreamView::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamView::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamView::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamView::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.club_id) - return club_id_; -} -inline void StreamView::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamView.club_id) -} - -// optional uint64 stream_id = 2; -inline bool StreamView::has_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamView::set_has_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamView::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamView::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamView::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.stream_id) - return stream_id_; -} -inline void StreamView::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamView.stream_id) -} - -// optional .bgs.protocol.ViewMarker marker = 3; -inline bool StreamView::has_marker() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamView::set_has_marker() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamView::clear_has_marker() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamView::clear_marker() { - if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); - clear_has_marker(); -} -inline const ::bgs::protocol::ViewMarker& StreamView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.marker) - return marker_ != NULL ? *marker_ : *default_instance_->marker_; -} -inline ::bgs::protocol::ViewMarker* StreamView::mutable_marker() { - set_has_marker(); - if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamView.marker) - return marker_; -} -inline ::bgs::protocol::ViewMarker* StreamView::release_marker() { - clear_has_marker(); - ::bgs::protocol::ViewMarker* temp = marker_; - marker_ = NULL; - return temp; -} -inline void StreamView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { - delete marker_; - marker_ = marker; - if (marker) { - set_has_marker(); - } else { - clear_has_marker(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamView.marker) -} - -// ------------------------------------------------------------------- - -// StreamAdvanceViewTime - -// optional uint64 stream_id = 1; -inline bool StreamAdvanceViewTime::has_stream_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamAdvanceViewTime::set_has_stream_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamAdvanceViewTime::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamAdvanceViewTime::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamAdvanceViewTime::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.stream_id) - return stream_id_; -} -inline void StreamAdvanceViewTime::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAdvanceViewTime.stream_id) -} - -// optional uint64 view_time = 2; -inline bool StreamAdvanceViewTime::has_view_time() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamAdvanceViewTime::set_has_view_time() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamAdvanceViewTime::clear_has_view_time() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamAdvanceViewTime::clear_view_time() { - view_time_ = GOOGLE_ULONGLONG(0); - clear_has_view_time(); -} -inline ::google::protobuf::uint64 StreamAdvanceViewTime::view_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.view_time) - return view_time_; -} -inline void StreamAdvanceViewTime::set_view_time(::google::protobuf::uint64 value) { - set_has_view_time(); - view_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAdvanceViewTime.view_time) -} - -// ------------------------------------------------------------------- - -// StreamEventTime - -// optional uint64 stream_id = 1; -inline bool StreamEventTime::has_stream_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamEventTime::set_has_stream_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamEventTime::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamEventTime::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamEventTime::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.stream_id) - return stream_id_; -} -inline void StreamEventTime::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamEventTime.stream_id) -} - -// optional uint64 event_time = 2; -inline bool StreamEventTime::has_event_time() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamEventTime::set_has_event_time() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamEventTime::clear_has_event_time() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamEventTime::clear_event_time() { - event_time_ = GOOGLE_ULONGLONG(0); - clear_has_event_time(); -} -inline ::google::protobuf::uint64 StreamEventTime::event_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.event_time) - return event_time_; -} -inline void StreamEventTime::set_event_time(::google::protobuf::uint64 value) { - set_has_event_time(); - event_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamEventTime.event_time) -} - -// ------------------------------------------------------------------- - -// StreamMentionView - -// optional uint64 club_id = 1; -inline bool StreamMentionView::has_club_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamMentionView::set_has_club_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamMentionView::clear_has_club_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamMentionView::clear_club_id() { - club_id_ = GOOGLE_ULONGLONG(0); - clear_has_club_id(); -} -inline ::google::protobuf::uint64 StreamMentionView::club_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.club_id) - return club_id_; -} -inline void StreamMentionView::set_club_id(::google::protobuf::uint64 value) { - set_has_club_id(); - club_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMentionView.club_id) -} - -// optional uint64 stream_id = 2; -inline bool StreamMentionView::has_stream_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamMentionView::set_has_stream_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamMentionView::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamMentionView::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamMentionView::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.stream_id) - return stream_id_; -} -inline void StreamMentionView::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMentionView.stream_id) -} - -// optional .bgs.protocol.ViewMarker marker = 3; -inline bool StreamMentionView::has_marker() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamMentionView::set_has_marker() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamMentionView::clear_has_marker() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamMentionView::clear_marker() { - if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear(); - clear_has_marker(); -} -inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.marker) - return marker_ != NULL ? *marker_ : *default_instance_->marker_; -} -inline ::bgs::protocol::ViewMarker* StreamMentionView::mutable_marker() { - set_has_marker(); - if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMentionView.marker) - return marker_; -} -inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() { - clear_has_marker(); - ::bgs::protocol::ViewMarker* temp = marker_; - marker_ = NULL; - return temp; -} -inline void StreamMentionView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) { - delete marker_; - marker_ = marker; - if (marker) { - set_has_marker(); - } else { - clear_has_marker(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMentionView.marker) -} - -// ------------------------------------------------------------------- - -// StreamStateOptions - -// repeated .bgs.protocol.v2.Attribute attribute = 1; -inline int StreamStateOptions::attribute_size() const { - return attribute_.size(); -} -inline void StreamStateOptions::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& StreamStateOptions::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* StreamStateOptions::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* StreamStateOptions::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamStateOptions.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -StreamStateOptions::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamStateOptions.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -StreamStateOptions::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamStateOptions.attribute) - return &attribute_; -} - -// optional string name = 2; -inline bool StreamStateOptions::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamStateOptions::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamStateOptions::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamStateOptions::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& StreamStateOptions::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.name) - return *name_; -} -inline void StreamStateOptions::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.name) -} -inline void StreamStateOptions::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.name) -} -inline void StreamStateOptions::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.name) -} -inline ::std::string* StreamStateOptions::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.name) - return name_; -} -inline ::std::string* StreamStateOptions::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void StreamStateOptions::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.name) -} - -// optional string subject = 3; -inline bool StreamStateOptions::has_subject() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamStateOptions::set_has_subject() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamStateOptions::clear_has_subject() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamStateOptions::clear_subject() { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_->clear(); - } - clear_has_subject(); -} -inline const ::std::string& StreamStateOptions::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.subject) - return *subject_; -} -inline void StreamStateOptions::set_subject(const ::std::string& value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.subject) -} -inline void StreamStateOptions::set_subject(const char* value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.subject) -} -inline void StreamStateOptions::set_subject(const char* value, size_t size) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.subject) -} -inline ::std::string* StreamStateOptions::mutable_subject() { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.subject) - return subject_; -} -inline ::std::string* StreamStateOptions::release_subject() { - clear_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = subject_; - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void StreamStateOptions::set_allocated_subject(::std::string* subject) { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (subject) { - set_has_subject(); - subject_ = subject; - } else { - clear_has_subject(); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.subject) -} - -// optional .bgs.protocol.club.v1.StreamAccess access = 4; -inline bool StreamStateOptions::has_access() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamStateOptions::set_has_access() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamStateOptions::clear_has_access() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamStateOptions::clear_access() { - if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear(); - clear_has_access(); -} -inline const ::bgs::protocol::club::v1::StreamAccess& StreamStateOptions::access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.access) - return access_ != NULL ? *access_ : *default_instance_->access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* StreamStateOptions::mutable_access() { - set_has_access(); - if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.access) - return access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* StreamStateOptions::release_access() { - clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; - access_ = NULL; - return temp; -} -inline void StreamStateOptions::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { - delete access_; - access_ = access; - if (access) { - set_has_access(); - } else { - clear_has_access(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.access) -} - -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5; -inline bool StreamStateOptions::has_voice_level() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void StreamStateOptions::set_has_voice_level() { - _has_bits_[0] |= 0x00000010u; -} -inline void StreamStateOptions::clear_has_voice_level() { - _has_bits_[0] &= ~0x00000010u; -} -inline void StreamStateOptions::clear_voice_level() { - voice_level_ = 0; - clear_has_voice_level(); -} -inline ::bgs::protocol::club::v1::StreamVoiceLevel StreamStateOptions::voice_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.voice_level) - return static_cast< ::bgs::protocol::club::v1::StreamVoiceLevel >(voice_level_); -} -inline void StreamStateOptions::set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); - set_has_voice_level(); - voice_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.voice_level) -} - -// ------------------------------------------------------------------- - -// StreamStateAssignment - -// optional uint64 stream_id = 1; -inline bool StreamStateAssignment::has_stream_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamStateAssignment::set_has_stream_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamStateAssignment::clear_has_stream_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamStateAssignment::clear_stream_id() { - stream_id_ = GOOGLE_ULONGLONG(0); - clear_has_stream_id(); -} -inline ::google::protobuf::uint64 StreamStateAssignment::stream_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.stream_id) - return stream_id_; -} -inline void StreamStateAssignment::set_stream_id(::google::protobuf::uint64 value) { - set_has_stream_id(); - stream_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.stream_id) -} - -// repeated .bgs.protocol.v2.Attribute attribute = 2; -inline int StreamStateAssignment::attribute_size() const { - return attribute_.size(); -} -inline void StreamStateAssignment::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::v2::Attribute& StreamStateAssignment::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamStateAssignment.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >& -StreamStateAssignment::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamStateAssignment.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >* -StreamStateAssignment::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamStateAssignment.attribute) - return &attribute_; -} - -// optional string name = 3; -inline bool StreamStateAssignment::has_name() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamStateAssignment::set_has_name() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamStateAssignment::clear_has_name() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamStateAssignment::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& StreamStateAssignment::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.name) - return *name_; -} -inline void StreamStateAssignment::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.name) -} -inline void StreamStateAssignment::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.name) -} -inline void StreamStateAssignment::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.name) -} -inline ::std::string* StreamStateAssignment::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.name) - return name_; -} -inline ::std::string* StreamStateAssignment::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void StreamStateAssignment::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.name) -} - -// optional string subject = 4; -inline bool StreamStateAssignment::has_subject() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StreamStateAssignment::set_has_subject() { - _has_bits_[0] |= 0x00000008u; -} -inline void StreamStateAssignment::clear_has_subject() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StreamStateAssignment::clear_subject() { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_->clear(); - } - clear_has_subject(); -} -inline const ::std::string& StreamStateAssignment::subject() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.subject) - return *subject_; -} -inline void StreamStateAssignment::set_subject(const ::std::string& value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.subject) -} -inline void StreamStateAssignment::set_subject(const char* value) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.subject) -} -inline void StreamStateAssignment::set_subject(const char* value, size_t size) { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - subject_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.subject) -} -inline ::std::string* StreamStateAssignment::mutable_subject() { - set_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - subject_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.subject) - return subject_; -} -inline ::std::string* StreamStateAssignment::release_subject() { - clear_has_subject(); - if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = subject_; - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) { - if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete subject_; - } - if (subject) { - set_has_subject(); - subject_ = subject; - } else { - clear_has_subject(); - subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.subject) -} - -// optional .bgs.protocol.club.v1.StreamAccess access = 5; -inline bool StreamStateAssignment::has_access() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void StreamStateAssignment::set_has_access() { - _has_bits_[0] |= 0x00000010u; -} -inline void StreamStateAssignment::clear_has_access() { - _has_bits_[0] &= ~0x00000010u; -} -inline void StreamStateAssignment::clear_access() { - if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear(); - clear_has_access(); -} -inline const ::bgs::protocol::club::v1::StreamAccess& StreamStateAssignment::access() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.access) - return access_ != NULL ? *access_ : *default_instance_->access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* StreamStateAssignment::mutable_access() { - set_has_access(); - if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.access) - return access_; -} -inline ::bgs::protocol::club::v1::StreamAccess* StreamStateAssignment::release_access() { - clear_has_access(); - ::bgs::protocol::club::v1::StreamAccess* temp = access_; - access_ = NULL; - return temp; -} -inline void StreamStateAssignment::set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access) { - delete access_; - access_ = access; - if (access) { - set_has_access(); - } else { - clear_has_access(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.access) -} - -// optional bool stream_subscription_removed = 6; -inline bool StreamStateAssignment::has_stream_subscription_removed() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void StreamStateAssignment::set_has_stream_subscription_removed() { - _has_bits_[0] |= 0x00000020u; -} -inline void StreamStateAssignment::clear_has_stream_subscription_removed() { - _has_bits_[0] &= ~0x00000020u; -} -inline void StreamStateAssignment::clear_stream_subscription_removed() { - stream_subscription_removed_ = false; - clear_has_stream_subscription_removed(); -} -inline bool StreamStateAssignment::stream_subscription_removed() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.stream_subscription_removed) - return stream_subscription_removed_; -} -inline void StreamStateAssignment::set_stream_subscription_removed(bool value) { - set_has_stream_subscription_removed(); - stream_subscription_removed_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.stream_subscription_removed) -} - -// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7; -inline bool StreamStateAssignment::has_voice_level() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void StreamStateAssignment::set_has_voice_level() { - _has_bits_[0] |= 0x00000040u; -} -inline void StreamStateAssignment::clear_has_voice_level() { - _has_bits_[0] &= ~0x00000040u; -} -inline void StreamStateAssignment::clear_voice_level() { - voice_level_ = 0; - clear_has_voice_level(); -} -inline ::bgs::protocol::club::v1::StreamVoiceLevel StreamStateAssignment::voice_level() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.voice_level) - return static_cast< ::bgs::protocol::club::v1::StreamVoiceLevel >(voice_level_); -} -inline void StreamStateAssignment::set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value) { - assert(::bgs::protocol::club::v1::StreamVoiceLevel_IsValid(value)); - set_has_voice_level(); - voice_level_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.voice_level) -} - -// ------------------------------------------------------------------- - -// StreamTypingIndicator - -// optional .bgs.protocol.club.v1.MemberId author_id = 1; -inline bool StreamTypingIndicator::has_author_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StreamTypingIndicator::set_has_author_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StreamTypingIndicator::clear_has_author_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StreamTypingIndicator::clear_author_id() { - if (author_id_ != NULL) author_id_->::bgs::protocol::club::v1::MemberId::Clear(); - clear_has_author_id(); -} -inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicator::author_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.author_id) - return author_id_ != NULL ? *author_id_ : *default_instance_->author_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::mutable_author_id() { - set_has_author_id(); - if (author_id_ == NULL) author_id_ = new ::bgs::protocol::club::v1::MemberId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamTypingIndicator.author_id) - return author_id_; -} -inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::release_author_id() { - clear_has_author_id(); - ::bgs::protocol::club::v1::MemberId* temp = author_id_; - author_id_ = NULL; - return temp; -} -inline void StreamTypingIndicator::set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id) { - delete author_id_; - author_id_ = author_id; - if (author_id) { - set_has_author_id(); - } else { - clear_has_author_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamTypingIndicator.author_id) -} - -// optional .bgs.protocol.TypingIndicator indicator = 2; -inline bool StreamTypingIndicator::has_indicator() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StreamTypingIndicator::set_has_indicator() { - _has_bits_[0] |= 0x00000002u; -} -inline void StreamTypingIndicator::clear_has_indicator() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StreamTypingIndicator::clear_indicator() { - indicator_ = 0; - clear_has_indicator(); -} -inline ::bgs::protocol::TypingIndicator StreamTypingIndicator::indicator() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.indicator) - return static_cast< ::bgs::protocol::TypingIndicator >(indicator_); -} -inline void StreamTypingIndicator::set_indicator(::bgs::protocol::TypingIndicator value) { - assert(::bgs::protocol::TypingIndicator_IsValid(value)); - set_has_indicator(); - indicator_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicator.indicator) -} - -// optional uint64 epoch = 3; -inline bool StreamTypingIndicator::has_epoch() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StreamTypingIndicator::set_has_epoch() { - _has_bits_[0] |= 0x00000004u; -} -inline void StreamTypingIndicator::clear_has_epoch() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StreamTypingIndicator::clear_epoch() { - epoch_ = GOOGLE_ULONGLONG(0); - clear_has_epoch(); -} -inline ::google::protobuf::uint64 StreamTypingIndicator::epoch() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.epoch) - return epoch_; -} -inline void StreamTypingIndicator::set_epoch(::google::protobuf::uint64 value) { - set_has_epoch(); - epoch_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicator.epoch) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5fstream_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_tag.pb.cc b/src/server/proto/Client/club_tag.pb.cc deleted file mode 100644 index d0194082859..00000000000 --- a/src/server/proto/Client/club_tag.pb.cc +++ /dev/null @@ -1,434 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_tag.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_tag.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* TagOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - TagOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* TagIdentifier_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - TagIdentifier_reflection_ = NULL; -const ::google::protobuf::Descriptor* LocalizedTag_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - LocalizedTag_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* TagAction_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* TagType_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5ftag_2eproto() { - protobuf_AddDesc_club_5ftag_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_tag.proto"); - GOOGLE_CHECK(file != NULL); - TagOptions_descriptor_ = file->message_type(0); - static const int TagOptions_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, action_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, tag_), - }; - TagOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - TagOptions_descriptor_, - TagOptions::default_instance_, - TagOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(TagOptions)); - TagIdentifier_descriptor_ = file->message_type(1); - static const int TagIdentifier_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, type_), - }; - TagIdentifier_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - TagIdentifier_descriptor_, - TagIdentifier::default_instance_, - TagIdentifier_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TagIdentifier, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(TagIdentifier)); - LocalizedTag_descriptor_ = file->message_type(2); - static const int LocalizedTag_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, tag_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, description_), - }; - LocalizedTag_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - LocalizedTag_descriptor_, - LocalizedTag::default_instance_, - LocalizedTag_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LocalizedTag, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(LocalizedTag)); - TagAction_descriptor_ = file->enum_type(0); - TagType_descriptor_ = file->enum_type(1); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5ftag_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - TagOptions_descriptor_, &TagOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - TagIdentifier_descriptor_, &TagIdentifier::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - LocalizedTag_descriptor_, &LocalizedTag::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5ftag_2eproto() { - delete TagOptions::default_instance_; - delete TagOptions_reflection_; - delete TagIdentifier::default_instance_; - delete TagIdentifier_reflection_; - delete LocalizedTag::default_instance_; - delete LocalizedTag_reflection_; -} - -void protobuf_AddDesc_club_5ftag_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\016club_tag.proto\022\024bgs.protocol.club.v1\032\017" - "rpc_types.proto\"_\n\nTagOptions\022\037\n\006action\030" - "\001 \001(\rB\017\202\371+\013*\tTagAction\0220\n\003tag\030\002 \003(\0132#.bg" - "s.protocol.club.v1.TagIdentifier\"8\n\rTagI" - "dentifier\022\n\n\002id\030\001 \001(\r\022\033\n\004type\030\002 \001(\rB\r\202\371+" - "\t*\007TagType\"f\n\014LocalizedTag\0223\n\006tag_id\030\001 \001" - "(\0132#.bgs.protocol.club.v1.TagIdentifier\022" - "\014\n\004name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t*J\n\tTa" - "gAction\022\023\n\017TAG_ACTION_NONE\020\000\022\024\n\020TAG_ACTI" - "ON_CLEAR\020\001\022\022\n\016TAG_ACTION_SET\020\002*K\n\007TagTyp" - "e\022\024\n\020TAG_TYPE_INVALID\020\000\022\025\n\021TAG_TYPE_PLAT" - "FORM\020\001\022\023\n\017TAG_TYPE_CUSTOM\020\002B\002H\002", 471); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_tag.proto", &protobuf_RegisterTypes); - TagOptions::default_instance_ = new TagOptions(); - TagIdentifier::default_instance_ = new TagIdentifier(); - LocalizedTag::default_instance_ = new LocalizedTag(); - TagOptions::default_instance_->InitAsDefaultInstance(); - TagIdentifier::default_instance_->InitAsDefaultInstance(); - LocalizedTag::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftag_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5ftag_2eproto { - StaticDescriptorInitializer_club_5ftag_2eproto() { - protobuf_AddDesc_club_5ftag_2eproto(); - } -} static_descriptor_initializer_club_5ftag_2eproto_; -const ::google::protobuf::EnumDescriptor* TagAction_descriptor() { - protobuf_AssignDescriptorsOnce(); - return TagAction_descriptor_; -} -bool TagAction_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* TagType_descriptor() { - protobuf_AssignDescriptorsOnce(); - return TagType_descriptor_; -} -bool TagType_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -// =================================================================== - -#ifndef _MSC_VER -const int TagOptions::kActionFieldNumber; -const int TagOptions::kTagFieldNumber; -#endif // !_MSC_VER - -TagOptions::TagOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagOptions) -} - -void TagOptions::InitAsDefaultInstance() { -} - -TagOptions::TagOptions(const TagOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagOptions) -} - -void TagOptions::SharedCtor() { - _cached_size_ = 0; - action_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -TagOptions::~TagOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagOptions) - SharedDtor(); -} - -void TagOptions::SharedDtor() { - if (this != default_instance_) { - } -} - -void TagOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* TagOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return TagOptions_descriptor_; -} - -const TagOptions& TagOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); - return *default_instance_; -} - -TagOptions* TagOptions::default_instance_ = NULL; - -TagOptions* TagOptions::New() const { - return new TagOptions; -} - -void TagOptions::Swap(TagOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata TagOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = TagOptions_descriptor_; - metadata.reflection = TagOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int TagIdentifier::kIdFieldNumber; -const int TagIdentifier::kTypeFieldNumber; -#endif // !_MSC_VER - -TagIdentifier::TagIdentifier() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.TagIdentifier) -} - -void TagIdentifier::InitAsDefaultInstance() { -} - -TagIdentifier::TagIdentifier(const TagIdentifier& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.TagIdentifier) -} - -void TagIdentifier::SharedCtor() { - _cached_size_ = 0; - id_ = 0u; - type_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -TagIdentifier::~TagIdentifier() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.TagIdentifier) - SharedDtor(); -} - -void TagIdentifier::SharedDtor() { - if (this != default_instance_) { - } -} - -void TagIdentifier::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* TagIdentifier::descriptor() { - protobuf_AssignDescriptorsOnce(); - return TagIdentifier_descriptor_; -} - -const TagIdentifier& TagIdentifier::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); - return *default_instance_; -} - -TagIdentifier* TagIdentifier::default_instance_ = NULL; - -TagIdentifier* TagIdentifier::New() const { - return new TagIdentifier; -} - -void TagIdentifier::Swap(TagIdentifier* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata TagIdentifier::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = TagIdentifier_descriptor_; - metadata.reflection = TagIdentifier_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int LocalizedTag::kTagIdFieldNumber; -const int LocalizedTag::kNameFieldNumber; -const int LocalizedTag::kDescriptionFieldNumber; -#endif // !_MSC_VER - -LocalizedTag::LocalizedTag() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.LocalizedTag) -} - -void LocalizedTag::InitAsDefaultInstance() { - tag_id_ = const_cast< ::bgs::protocol::club::v1::TagIdentifier*>(&::bgs::protocol::club::v1::TagIdentifier::default_instance()); -} - -LocalizedTag::LocalizedTag(const LocalizedTag& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.LocalizedTag) -} - -void LocalizedTag::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - tag_id_ = NULL; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -LocalizedTag::~LocalizedTag() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.LocalizedTag) - SharedDtor(); -} - -void LocalizedTag::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (this != default_instance_) { - delete tag_id_; - } -} - -void LocalizedTag::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* LocalizedTag::descriptor() { - protobuf_AssignDescriptorsOnce(); - return LocalizedTag_descriptor_; -} - -const LocalizedTag& LocalizedTag::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftag_2eproto(); - return *default_instance_; -} - -LocalizedTag* LocalizedTag::default_instance_ = NULL; - -LocalizedTag* LocalizedTag::New() const { - return new LocalizedTag; -} - -void LocalizedTag::Swap(LocalizedTag* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata LocalizedTag::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = LocalizedTag_descriptor_; - metadata.reflection = LocalizedTag_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_tag.pb.h b/src/server/proto/Client/club_tag.pb.h deleted file mode 100644 index 1795e6bdd3f..00000000000 --- a/src/server/proto/Client/club_tag.pb.h +++ /dev/null @@ -1,676 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_tag.proto - -#ifndef PROTOBUF_club_5ftag_2eproto__INCLUDED -#define PROTOBUF_club_5ftag_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto(); -void protobuf_AssignDesc_club_5ftag_2eproto(); -void protobuf_ShutdownFile_club_5ftag_2eproto(); - -class TagOptions; -class TagIdentifier; -class LocalizedTag; - -enum TagAction { - TAG_ACTION_NONE = 0, - TAG_ACTION_CLEAR = 1, - TAG_ACTION_SET = 2 -}; -TC_PROTO_API bool TagAction_IsValid(int value); -const TagAction TagAction_MIN = TAG_ACTION_NONE; -const TagAction TagAction_MAX = TAG_ACTION_SET; -const int TagAction_ARRAYSIZE = TagAction_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagAction_descriptor(); -inline const ::std::string& TagAction_Name(TagAction value) { - return ::google::protobuf::internal::NameOfEnum( - TagAction_descriptor(), value); -} -inline bool TagAction_Parse( - const ::std::string& name, TagAction* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TagAction_descriptor(), name, value); -} -enum TagType { - TAG_TYPE_INVALID = 0, - TAG_TYPE_PLATFORM = 1, - TAG_TYPE_CUSTOM = 2 -}; -TC_PROTO_API bool TagType_IsValid(int value); -const TagType TagType_MIN = TAG_TYPE_INVALID; -const TagType TagType_MAX = TAG_TYPE_CUSTOM; -const int TagType_ARRAYSIZE = TagType_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* TagType_descriptor(); -inline const ::std::string& TagType_Name(TagType value) { - return ::google::protobuf::internal::NameOfEnum( - TagType_descriptor(), value); -} -inline bool TagType_Parse( - const ::std::string& name, TagType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TagType_descriptor(), name, value); -} -// =================================================================== - -class TC_PROTO_API TagOptions : public ::google::protobuf::Message { - public: - TagOptions(); - virtual ~TagOptions(); - - TagOptions(const TagOptions& from); - - inline TagOptions& operator=(const TagOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const TagOptions& default_instance(); - - void Swap(TagOptions* other); - - // implements Message ---------------------------------------------- - - TagOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 action = 1; - inline bool has_action() const; - inline void clear_action(); - static const int kActionFieldNumber = 1; - inline ::google::protobuf::uint32 action() const; - inline void set_action(::google::protobuf::uint32 value); - - // repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; - inline int tag_size() const; - inline void clear_tag(); - static const int kTagFieldNumber = 2; - inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const; - inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index); - inline ::bgs::protocol::club::v1::TagIdentifier* add_tag(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& - tag() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* - mutable_tag(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagOptions) - private: - inline void set_has_action(); - inline void clear_has_action(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_; - ::google::protobuf::uint32 action_; - friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto(); - friend void protobuf_AssignDesc_club_5ftag_2eproto(); - friend void protobuf_ShutdownFile_club_5ftag_2eproto(); - - void InitAsDefaultInstance(); - static TagOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API TagIdentifier : public ::google::protobuf::Message { - public: - TagIdentifier(); - virtual ~TagIdentifier(); - - TagIdentifier(const TagIdentifier& from); - - inline TagIdentifier& operator=(const TagIdentifier& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const TagIdentifier& default_instance(); - - void Swap(TagIdentifier* other); - - // implements Message ---------------------------------------------- - - TagIdentifier* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint32 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint32 id() const; - inline void set_id(::google::protobuf::uint32 value); - - // optional uint32 type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline ::google::protobuf::uint32 type() const; - inline void set_type(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.TagIdentifier) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint32 id_; - ::google::protobuf::uint32 type_; - friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto(); - friend void protobuf_AssignDesc_club_5ftag_2eproto(); - friend void protobuf_ShutdownFile_club_5ftag_2eproto(); - - void InitAsDefaultInstance(); - static TagIdentifier* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API LocalizedTag : public ::google::protobuf::Message { - public: - LocalizedTag(); - virtual ~LocalizedTag(); - - LocalizedTag(const LocalizedTag& from); - - inline LocalizedTag& operator=(const LocalizedTag& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const LocalizedTag& default_instance(); - - void Swap(LocalizedTag* other); - - // implements Message ---------------------------------------------- - - LocalizedTag* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; - inline bool has_tag_id() const; - inline void clear_tag_id(); - static const int kTagIdFieldNumber = 1; - inline const ::bgs::protocol::club::v1::TagIdentifier& tag_id() const; - inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag_id(); - inline ::bgs::protocol::club::v1::TagIdentifier* release_tag_id(); - inline void set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id); - - // optional string name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional string description = 3; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 3; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.LocalizedTag) - private: - inline void set_has_tag_id(); - inline void clear_has_tag_id(); - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_description(); - inline void clear_has_description(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::club::v1::TagIdentifier* tag_id_; - ::std::string* name_; - ::std::string* description_; - friend void TC_PROTO_API protobuf_AddDesc_club_5ftag_2eproto(); - friend void protobuf_AssignDesc_club_5ftag_2eproto(); - friend void protobuf_ShutdownFile_club_5ftag_2eproto(); - - void InitAsDefaultInstance(); - static LocalizedTag* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// TagOptions - -// optional uint32 action = 1; -inline bool TagOptions::has_action() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void TagOptions::set_has_action() { - _has_bits_[0] |= 0x00000001u; -} -inline void TagOptions::clear_has_action() { - _has_bits_[0] &= ~0x00000001u; -} -inline void TagOptions::clear_action() { - action_ = 0u; - clear_has_action(); -} -inline ::google::protobuf::uint32 TagOptions::action() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.action) - return action_; -} -inline void TagOptions::set_action(::google::protobuf::uint32 value) { - set_has_action(); - action_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagOptions.action) -} - -// repeated .bgs.protocol.club.v1.TagIdentifier tag = 2; -inline int TagOptions::tag_size() const { - return tag_.size(); -} -inline void TagOptions::clear_tag() { - tag_.Clear(); -} -inline const ::bgs::protocol::club::v1::TagIdentifier& TagOptions::tag(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagOptions.tag) - return tag_.Get(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::mutable_tag(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.TagOptions.tag) - return tag_.Mutable(index); -} -inline ::bgs::protocol::club::v1::TagIdentifier* TagOptions::add_tag() { - // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.TagOptions.tag) - return tag_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >& -TagOptions::tag() const { - // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.TagOptions.tag) - return tag_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >* -TagOptions::mutable_tag() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.TagOptions.tag) - return &tag_; -} - -// ------------------------------------------------------------------- - -// TagIdentifier - -// optional uint32 id = 1; -inline bool TagIdentifier::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void TagIdentifier::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void TagIdentifier::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void TagIdentifier::clear_id() { - id_ = 0u; - clear_has_id(); -} -inline ::google::protobuf::uint32 TagIdentifier::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.id) - return id_; -} -inline void TagIdentifier::set_id(::google::protobuf::uint32 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.id) -} - -// optional uint32 type = 2; -inline bool TagIdentifier::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void TagIdentifier::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void TagIdentifier::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void TagIdentifier::clear_type() { - type_ = 0u; - clear_has_type(); -} -inline ::google::protobuf::uint32 TagIdentifier::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.TagIdentifier.type) - return type_; -} -inline void TagIdentifier::set_type(::google::protobuf::uint32 value) { - set_has_type(); - type_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.TagIdentifier.type) -} - -// ------------------------------------------------------------------- - -// LocalizedTag - -// optional .bgs.protocol.club.v1.TagIdentifier tag_id = 1; -inline bool LocalizedTag::has_tag_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void LocalizedTag::set_has_tag_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void LocalizedTag::clear_has_tag_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void LocalizedTag::clear_tag_id() { - if (tag_id_ != NULL) tag_id_->::bgs::protocol::club::v1::TagIdentifier::Clear(); - clear_has_tag_id(); -} -inline const ::bgs::protocol::club::v1::TagIdentifier& LocalizedTag::tag_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.tag_id) - return tag_id_ != NULL ? *tag_id_ : *default_instance_->tag_id_; -} -inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::mutable_tag_id() { - set_has_tag_id(); - if (tag_id_ == NULL) tag_id_ = new ::bgs::protocol::club::v1::TagIdentifier; - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.tag_id) - return tag_id_; -} -inline ::bgs::protocol::club::v1::TagIdentifier* LocalizedTag::release_tag_id() { - clear_has_tag_id(); - ::bgs::protocol::club::v1::TagIdentifier* temp = tag_id_; - tag_id_ = NULL; - return temp; -} -inline void LocalizedTag::set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier* tag_id) { - delete tag_id_; - tag_id_ = tag_id; - if (tag_id) { - set_has_tag_id(); - } else { - clear_has_tag_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.tag_id) -} - -// optional string name = 2; -inline bool LocalizedTag::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void LocalizedTag::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void LocalizedTag::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void LocalizedTag::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& LocalizedTag::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.name) - return *name_; -} -inline void LocalizedTag::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.name) -} -inline void LocalizedTag::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.name) -} -inline void LocalizedTag::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.name) -} -inline ::std::string* LocalizedTag::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.name) - return name_; -} -inline ::std::string* LocalizedTag::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void LocalizedTag::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.name) -} - -// optional string description = 3; -inline bool LocalizedTag::has_description() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void LocalizedTag::set_has_description() { - _has_bits_[0] |= 0x00000004u; -} -inline void LocalizedTag::clear_has_description() { - _has_bits_[0] &= ~0x00000004u; -} -inline void LocalizedTag::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& LocalizedTag::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.LocalizedTag.description) - return *description_; -} -inline void LocalizedTag::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.LocalizedTag.description) -} -inline void LocalizedTag::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.LocalizedTag.description) -} -inline void LocalizedTag::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.LocalizedTag.description) -} -inline ::std::string* LocalizedTag::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.LocalizedTag.description) - return description_; -} -inline ::std::string* LocalizedTag::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void LocalizedTag::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.LocalizedTag.description) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagAction> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagAction>() { - return ::bgs::protocol::club::v1::TagAction_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::club::v1::TagType> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::club::v1::TagType>() { - return ::bgs::protocol::club::v1::TagType_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5ftag_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_type.pb.cc b/src/server/proto/Client/club_type.pb.cc deleted file mode 100644 index 79fe50bd39d..00000000000 --- a/src/server/proto/Client/club_type.pb.cc +++ /dev/null @@ -1,185 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_type.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_type.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* UniqueClubType_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UniqueClubType_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_club_5ftype_2eproto() { - protobuf_AddDesc_club_5ftype_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_type.proto"); - GOOGLE_CHECK(file != NULL); - UniqueClubType_descriptor_ = file->message_type(0); - static const int UniqueClubType_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, program_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, name_), - }; - UniqueClubType_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UniqueClubType_descriptor_, - UniqueClubType::default_instance_, - UniqueClubType_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UniqueClubType, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UniqueClubType)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5ftype_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UniqueClubType_descriptor_, &UniqueClubType::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_club_5ftype_2eproto() { - delete UniqueClubType::default_instance_; - delete UniqueClubType_reflection_; -} - -void protobuf_AddDesc_club_5ftype_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\017club_type.proto\022\024bgs.protocol.club.v1\"" - "/\n\016UniqueClubType\022\017\n\007program\030\001 \001(\007\022\014\n\004na" - "me\030\002 \001(\tB\002H\002", 92); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_type.proto", &protobuf_RegisterTypes); - UniqueClubType::default_instance_ = new UniqueClubType(); - UniqueClubType::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftype_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5ftype_2eproto { - StaticDescriptorInitializer_club_5ftype_2eproto() { - protobuf_AddDesc_club_5ftype_2eproto(); - } -} static_descriptor_initializer_club_5ftype_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int UniqueClubType::kProgramFieldNumber; -const int UniqueClubType::kNameFieldNumber; -#endif // !_MSC_VER - -UniqueClubType::UniqueClubType() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.club.v1.UniqueClubType) -} - -void UniqueClubType::InitAsDefaultInstance() { -} - -UniqueClubType::UniqueClubType(const UniqueClubType& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.club.v1.UniqueClubType) -} - -void UniqueClubType::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - program_ = 0u; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UniqueClubType::~UniqueClubType() { - // @@protoc_insertion_point(destructor:bgs.protocol.club.v1.UniqueClubType) - SharedDtor(); -} - -void UniqueClubType::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (this != default_instance_) { - } -} - -void UniqueClubType::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UniqueClubType::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UniqueClubType_descriptor_; -} - -const UniqueClubType& UniqueClubType::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_club_5ftype_2eproto(); - return *default_instance_; -} - -UniqueClubType* UniqueClubType::default_instance_ = NULL; - -UniqueClubType* UniqueClubType::New() const { - return new UniqueClubType; -} - -void UniqueClubType::Swap(UniqueClubType* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UniqueClubType::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UniqueClubType_descriptor_; - metadata.reflection = UniqueClubType_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_type.pb.h b/src/server/proto/Client/club_type.pb.h deleted file mode 100644 index 36aa28ebd30..00000000000 --- a/src/server/proto/Client/club_type.pb.h +++ /dev/null @@ -1,247 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_type.proto - -#ifndef PROTOBUF_club_5ftype_2eproto__INCLUDED -#define PROTOBUF_club_5ftype_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5ftype_2eproto(); -void protobuf_AssignDesc_club_5ftype_2eproto(); -void protobuf_ShutdownFile_club_5ftype_2eproto(); - -class UniqueClubType; - -// =================================================================== - -class TC_PROTO_API UniqueClubType : public ::google::protobuf::Message { - public: - UniqueClubType(); - virtual ~UniqueClubType(); - - UniqueClubType(const UniqueClubType& from); - - inline UniqueClubType& operator=(const UniqueClubType& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UniqueClubType& default_instance(); - - void Swap(UniqueClubType* other); - - // implements Message ---------------------------------------------- - - UniqueClubType* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional fixed32 program = 1; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 1; - inline ::google::protobuf::uint32 program() const; - inline void set_program(::google::protobuf::uint32 value); - - // optional string name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.UniqueClubType) - private: - inline void set_has_program(); - inline void clear_has_program(); - inline void set_has_name(); - inline void clear_has_name(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* name_; - ::google::protobuf::uint32 program_; - friend void TC_PROTO_API protobuf_AddDesc_club_5ftype_2eproto(); - friend void protobuf_AssignDesc_club_5ftype_2eproto(); - friend void protobuf_ShutdownFile_club_5ftype_2eproto(); - - void InitAsDefaultInstance(); - static UniqueClubType* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// UniqueClubType - -// optional fixed32 program = 1; -inline bool UniqueClubType::has_program() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UniqueClubType::set_has_program() { - _has_bits_[0] |= 0x00000001u; -} -inline void UniqueClubType::clear_has_program() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UniqueClubType::clear_program() { - program_ = 0u; - clear_has_program(); -} -inline ::google::protobuf::uint32 UniqueClubType::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.program) - return program_; -} -inline void UniqueClubType::set_program(::google::protobuf::uint32 value) { - set_has_program(); - program_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.program) -} - -// optional string name = 2; -inline bool UniqueClubType::has_name() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UniqueClubType::set_has_name() { - _has_bits_[0] |= 0x00000002u; -} -inline void UniqueClubType::clear_has_name() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UniqueClubType::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& UniqueClubType::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.UniqueClubType.name) - return *name_; -} -inline void UniqueClubType::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.UniqueClubType.name) -} -inline void UniqueClubType::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.UniqueClubType.name) -} -inline void UniqueClubType::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.UniqueClubType.name) -} -inline ::std::string* UniqueClubType::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.UniqueClubType.name) - return name_; -} -inline ::std::string* UniqueClubType::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void UniqueClubType::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.UniqueClubType.name) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5ftype_2eproto__INCLUDED diff --git a/src/server/proto/Client/club_types.pb.cc b/src/server/proto/Client/club_types.pb.cc deleted file mode 100644 index 1a5b76fde65..00000000000 --- a/src/server/proto/Client/club_types.pb.cc +++ /dev/null @@ -1,107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "club_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -void protobuf_AssignDesc_club_5ftypes_2eproto() { - protobuf_AddDesc_club_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "club_types.proto"); - GOOGLE_CHECK(file != NULL); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_club_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); -} - -} // namespace - -void protobuf_ShutdownFile_club_5ftypes_2eproto() { -} - -void protobuf_AddDesc_club_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmembership_5ftypes_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fenum_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5frole_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5frange_5fset_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fcore_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fmember_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5finvitation_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fban_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fstream_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftype_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5ftag_2eproto(); - ::bgs::protocol::club::v1::protobuf_AddDesc_club_5fname_5fgenerator_2eproto(); - ::bgs::protocol::v2::protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto(); - ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_invitation_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_message_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_ets_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_voice_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\020club_types.proto\022\024bgs.protocol.club.v1" - "\032\033club_membership_types.proto\032\017club_enum" - ".proto\032\017club_role.proto\032\024club_range_set." - "proto\032\017club_core.proto\032\021club_member.prot" - "o\032\025club_invitation.proto\032\016club_ban.proto" - "\032\021club_stream.proto\032\017club_type.proto\032\016cl" - "ub_tag.proto\032\031club_name_generator.proto\032" - "#api/client/v2/attribute_types.proto\032\023ac" - "count_types.proto\032\026event_view_types.prot" - "o\032\026invitation_types.proto\032\023message_types" - ".proto\032\017ets_types.proto\032\021voice_types.pro" - "to\032\017rpc_types.protoB\002H\002P\000P\001P\002P\003P\004P\005P\006P\007P" - "\010P\tP\nP\013P\014P\rP\016P\017P\020P\021P\022P\023", 503); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "club_types.proto", &protobuf_RegisterTypes); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_club_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_club_5ftypes_2eproto { - StaticDescriptorInitializer_club_5ftypes_2eproto() { - protobuf_AddDesc_club_5ftypes_2eproto(); - } -} static_descriptor_initializer_club_5ftypes_2eproto_; -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/club_types.pb.h b/src/server/proto/Client/club_types.pb.h deleted file mode 100644 index babc660a81c..00000000000 --- a/src/server/proto/Client/club_types.pb.h +++ /dev/null @@ -1,81 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: club_types.proto - -#ifndef PROTOBUF_club_5ftypes_2eproto__INCLUDED -#define PROTOBUF_club_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include "club_membership_types.pb.h" // IWYU pragma: export -#include "club_enum.pb.h" // IWYU pragma: export -#include "club_role.pb.h" // IWYU pragma: export -#include "club_range_set.pb.h" // IWYU pragma: export -#include "club_core.pb.h" // IWYU pragma: export -#include "club_member.pb.h" // IWYU pragma: export -#include "club_invitation.pb.h" // IWYU pragma: export -#include "club_ban.pb.h" // IWYU pragma: export -#include "club_stream.pb.h" // IWYU pragma: export -#include "club_type.pb.h" // IWYU pragma: export -#include "club_tag.pb.h" // IWYU pragma: export -#include "club_name_generator.pb.h" // IWYU pragma: export -#include "api/client/v2/attribute_types.pb.h" // IWYU pragma: export -#include "account_types.pb.h" // IWYU pragma: export -#include "event_view_types.pb.h" // IWYU pragma: export -#include "invitation_types.pb.h" // IWYU pragma: export -#include "message_types.pb.h" // IWYU pragma: export -#include "ets_types.pb.h" // IWYU pragma: export -#include "voice_types.pb.h" // IWYU pragma: export -#include "rpc_types.pb.h" // IWYU pragma: export -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace club { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_club_5ftypes_2eproto(); -void protobuf_AssignDesc_club_5ftypes_2eproto(); -void protobuf_ShutdownFile_club_5ftypes_2eproto(); - -// =================================================================== - -// =================================================================== - -// =================================================================== - -// =================================================================== -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace club -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_club_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/embed_types.pb.cc b/src/server/proto/Client/embed_types.pb.cc index e7af84a1e86..fc20d09373f 100644 --- a/src/server/proto/Client/embed_types.pb.cc +++ b/src/server/proto/Client/embed_types.pb.cc @@ -19,99 +19,12 @@ namespace bgs { namespace protocol { -namespace { - -const ::google::protobuf::Descriptor* EmbedImage_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - EmbedImage_reflection_ = NULL; -const ::google::protobuf::Descriptor* Provider_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Provider_reflection_ = NULL; -const ::google::protobuf::Descriptor* EmbedHTML_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - EmbedHTML_reflection_ = NULL; -const ::google::protobuf::Descriptor* EmbedInfo_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - EmbedInfo_reflection_ = NULL; - -} // namespace - void protobuf_AssignDesc_embed_5ftypes_2eproto() { protobuf_AddDesc_embed_5ftypes_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "embed_types.proto"); GOOGLE_CHECK(file != NULL); - EmbedImage_descriptor_ = file->message_type(0); - static const int EmbedImage_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, url_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, width_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, height_), - }; - EmbedImage_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - EmbedImage_descriptor_, - EmbedImage::default_instance_, - EmbedImage_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedImage, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(EmbedImage)); - Provider_descriptor_ = file->message_type(1); - static const int Provider_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, name_), - }; - Provider_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Provider_descriptor_, - Provider::default_instance_, - Provider_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Provider, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Provider)); - EmbedHTML_descriptor_ = file->message_type(2); - static const int EmbedHTML_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, content_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, width_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, height_), - }; - EmbedHTML_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - EmbedHTML_descriptor_, - EmbedHTML::default_instance_, - EmbedHTML_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedHTML, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(EmbedHTML)); - EmbedInfo_descriptor_ = file->message_type(3); - static const int EmbedInfo_offsets_[7] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, title_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, original_url_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, thumbnail_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, provider_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, description_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, html_), - }; - EmbedInfo_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - EmbedInfo_descriptor_, - EmbedInfo::default_instance_, - EmbedInfo_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EmbedInfo, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(EmbedInfo)); } namespace { @@ -124,27 +37,11 @@ inline void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - EmbedImage_descriptor_, &EmbedImage::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Provider_descriptor_, &Provider::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - EmbedHTML_descriptor_, &EmbedHTML::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - EmbedInfo_descriptor_, &EmbedInfo::default_instance()); } } // namespace void protobuf_ShutdownFile_embed_5ftypes_2eproto() { - delete EmbedImage::default_instance_; - delete EmbedImage_reflection_; - delete Provider::default_instance_; - delete Provider_reflection_; - delete EmbedHTML::default_instance_; - delete EmbedHTML_reflection_; - delete EmbedInfo::default_instance_; - delete EmbedInfo_reflection_; } void protobuf_AddDesc_embed_5ftypes_2eproto() { @@ -153,27 +50,12 @@ void protobuf_AddDesc_embed_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fembed_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\021embed_types.proto\022\014bgs.protocol\"8\n\nEmb" - "edImage\022\013\n\003url\030\001 \001(\t\022\r\n\005width\030\002 \001(\r\022\016\n\006h" - "eight\030\003 \001(\r\"\030\n\010Provider\022\014\n\004name\030\001 \001(\t\";\n" - "\tEmbedHTML\022\017\n\007content\030\001 \001(\t\022\r\n\005width\030\002 \001" - "(\r\022\016\n\006height\030\003 \001(\r\"\321\001\n\tEmbedInfo\022\r\n\005titl" - "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\024\n\014original_url\030\003 " - "\001(\t\022+\n\tthumbnail\030\004 \001(\0132\030.bgs.protocol.Em" - "bedImage\022(\n\010provider\030\005 \001(\0132\026.bgs.protoco" - "l.Provider\022\023\n\013description\030\006 \001(\t\022%\n\004html\030" - "\010 \001(\0132\027.bgs.protocol.EmbedHTMLB\002H\002", 394); + "\n\021embed_types.proto\022\014bgs.protocol\032\037api/c" + "ommon/v1/embed_types.protoB\002H\002P\000", 72); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "embed_types.proto", &protobuf_RegisterTypes); - EmbedImage::default_instance_ = new EmbedImage(); - Provider::default_instance_ = new Provider(); - EmbedHTML::default_instance_ = new EmbedHTML(); - EmbedInfo::default_instance_ = new EmbedInfo(); - EmbedImage::default_instance_->InitAsDefaultInstance(); - Provider::default_instance_->InitAsDefaultInstance(); - EmbedHTML::default_instance_->InitAsDefaultInstance(); - EmbedInfo::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_embed_5ftypes_2eproto); } @@ -183,345 +65,6 @@ struct StaticDescriptorInitializer_embed_5ftypes_2eproto { protobuf_AddDesc_embed_5ftypes_2eproto(); } } static_descriptor_initializer_embed_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int EmbedImage::kUrlFieldNumber; -const int EmbedImage::kWidthFieldNumber; -const int EmbedImage::kHeightFieldNumber; -#endif // !_MSC_VER - -EmbedImage::EmbedImage() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.EmbedImage) -} - -void EmbedImage::InitAsDefaultInstance() { -} - -EmbedImage::EmbedImage(const EmbedImage& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedImage) -} - -void EmbedImage::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - width_ = 0u; - height_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -EmbedImage::~EmbedImage() { - // @@protoc_insertion_point(destructor:bgs.protocol.EmbedImage) - SharedDtor(); -} - -void EmbedImage::SharedDtor() { - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete url_; - } - if (this != default_instance_) { - } -} - -void EmbedImage::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* EmbedImage::descriptor() { - protobuf_AssignDescriptorsOnce(); - return EmbedImage_descriptor_; -} - -const EmbedImage& EmbedImage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_embed_5ftypes_2eproto(); - return *default_instance_; -} - -EmbedImage* EmbedImage::default_instance_ = NULL; - -EmbedImage* EmbedImage::New() const { - return new EmbedImage; -} - -void EmbedImage::Swap(EmbedImage* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata EmbedImage::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = EmbedImage_descriptor_; - metadata.reflection = EmbedImage_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Provider::kNameFieldNumber; -#endif // !_MSC_VER - -Provider::Provider() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.Provider) -} - -void Provider::InitAsDefaultInstance() { -} - -Provider::Provider(const Provider& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.Provider) -} - -void Provider::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Provider::~Provider() { - // @@protoc_insertion_point(destructor:bgs.protocol.Provider) - SharedDtor(); -} - -void Provider::SharedDtor() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (this != default_instance_) { - } -} - -void Provider::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Provider::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Provider_descriptor_; -} - -const Provider& Provider::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_embed_5ftypes_2eproto(); - return *default_instance_; -} - -Provider* Provider::default_instance_ = NULL; - -Provider* Provider::New() const { - return new Provider; -} - -void Provider::Swap(Provider* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Provider::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Provider_descriptor_; - metadata.reflection = Provider_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int EmbedHTML::kContentFieldNumber; -const int EmbedHTML::kWidthFieldNumber; -const int EmbedHTML::kHeightFieldNumber; -#endif // !_MSC_VER - -EmbedHTML::EmbedHTML() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.EmbedHTML) -} - -void EmbedHTML::InitAsDefaultInstance() { -} - -EmbedHTML::EmbedHTML(const EmbedHTML& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedHTML) -} - -void EmbedHTML::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - width_ = 0u; - height_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -EmbedHTML::~EmbedHTML() { - // @@protoc_insertion_point(destructor:bgs.protocol.EmbedHTML) - SharedDtor(); -} - -void EmbedHTML::SharedDtor() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (this != default_instance_) { - } -} - -void EmbedHTML::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* EmbedHTML::descriptor() { - protobuf_AssignDescriptorsOnce(); - return EmbedHTML_descriptor_; -} - -const EmbedHTML& EmbedHTML::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_embed_5ftypes_2eproto(); - return *default_instance_; -} - -EmbedHTML* EmbedHTML::default_instance_ = NULL; - -EmbedHTML* EmbedHTML::New() const { - return new EmbedHTML; -} - -void EmbedHTML::Swap(EmbedHTML* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata EmbedHTML::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = EmbedHTML_descriptor_; - metadata.reflection = EmbedHTML_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int EmbedInfo::kTitleFieldNumber; -const int EmbedInfo::kTypeFieldNumber; -const int EmbedInfo::kOriginalUrlFieldNumber; -const int EmbedInfo::kThumbnailFieldNumber; -const int EmbedInfo::kProviderFieldNumber; -const int EmbedInfo::kDescriptionFieldNumber; -const int EmbedInfo::kHtmlFieldNumber; -#endif // !_MSC_VER - -EmbedInfo::EmbedInfo() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.EmbedInfo) -} - -void EmbedInfo::InitAsDefaultInstance() { - thumbnail_ = const_cast< ::bgs::protocol::EmbedImage*>(&::bgs::protocol::EmbedImage::default_instance()); - provider_ = const_cast< ::bgs::protocol::Provider*>(&::bgs::protocol::Provider::default_instance()); - html_ = const_cast< ::bgs::protocol::EmbedHTML*>(&::bgs::protocol::EmbedHTML::default_instance()); -} - -EmbedInfo::EmbedInfo(const EmbedInfo& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.EmbedInfo) -} - -void EmbedInfo::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - thumbnail_ = NULL; - provider_ = NULL; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - html_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -EmbedInfo::~EmbedInfo() { - // @@protoc_insertion_point(destructor:bgs.protocol.EmbedInfo) - SharedDtor(); -} - -void EmbedInfo::SharedDtor() { - if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete title_; - } - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete type_; - } - if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete original_url_; - } - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (this != default_instance_) { - delete thumbnail_; - delete provider_; - delete html_; - } -} - -void EmbedInfo::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* EmbedInfo::descriptor() { - protobuf_AssignDescriptorsOnce(); - return EmbedInfo_descriptor_; -} - -const EmbedInfo& EmbedInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_embed_5ftypes_2eproto(); - return *default_instance_; -} - -EmbedInfo* EmbedInfo::default_instance_ = NULL; - -EmbedInfo* EmbedInfo::New() const { - return new EmbedInfo; -} - -void EmbedInfo::Swap(EmbedInfo* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata EmbedInfo::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = EmbedInfo_descriptor_; - metadata.reflection = EmbedInfo_reflection_; - return metadata; -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/embed_types.pb.h b/src/server/proto/Client/embed_types.pb.h index 051e63f1235..5f8835cae3e 100644 --- a/src/server/proto/Client/embed_types.pb.h +++ b/src/server/proto/Client/embed_types.pb.h @@ -20,10 +20,9 @@ #endif #include -#include #include #include -#include +#include "api/common/v1/embed_types.pb.h" // IWYU pragma: export #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) @@ -35,1187 +34,13 @@ void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto(); void protobuf_AssignDesc_embed_5ftypes_2eproto(); void protobuf_ShutdownFile_embed_5ftypes_2eproto(); -class EmbedImage; -class Provider; -class EmbedHTML; -class EmbedInfo; - // =================================================================== -class TC_PROTO_API EmbedImage : public ::google::protobuf::Message { - public: - EmbedImage(); - virtual ~EmbedImage(); - - EmbedImage(const EmbedImage& from); - - inline EmbedImage& operator=(const EmbedImage& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const EmbedImage& default_instance(); - - void Swap(EmbedImage* other); - - // implements Message ---------------------------------------------- - - EmbedImage* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string url = 1; - inline bool has_url() const; - inline void clear_url(); - static const int kUrlFieldNumber = 1; - inline const ::std::string& url() const; - inline void set_url(const ::std::string& value); - inline void set_url(const char* value); - inline void set_url(const char* value, size_t size); - inline ::std::string* mutable_url(); - inline ::std::string* release_url(); - inline void set_allocated_url(::std::string* url); - - // optional uint32 width = 2; - inline bool has_width() const; - inline void clear_width(); - static const int kWidthFieldNumber = 2; - inline ::google::protobuf::uint32 width() const; - inline void set_width(::google::protobuf::uint32 value); - - // optional uint32 height = 3; - inline bool has_height() const; - inline void clear_height(); - static const int kHeightFieldNumber = 3; - inline ::google::protobuf::uint32 height() const; - inline void set_height(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedImage) - private: - inline void set_has_url(); - inline void clear_has_url(); - inline void set_has_width(); - inline void clear_has_width(); - inline void set_has_height(); - inline void clear_has_height(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* url_; - ::google::protobuf::uint32 width_; - ::google::protobuf::uint32 height_; - friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto(); - friend void protobuf_AssignDesc_embed_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_embed_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static EmbedImage* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Provider : public ::google::protobuf::Message { - public: - Provider(); - virtual ~Provider(); - - Provider(const Provider& from); - - inline Provider& operator=(const Provider& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Provider& default_instance(); - - void Swap(Provider* other); - - // implements Message ---------------------------------------------- - - Provider* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string name = 1; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 1; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // @@protoc_insertion_point(class_scope:bgs.protocol.Provider) - private: - inline void set_has_name(); - inline void clear_has_name(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* name_; - friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto(); - friend void protobuf_AssignDesc_embed_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_embed_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Provider* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API EmbedHTML : public ::google::protobuf::Message { - public: - EmbedHTML(); - virtual ~EmbedHTML(); - - EmbedHTML(const EmbedHTML& from); - - inline EmbedHTML& operator=(const EmbedHTML& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const EmbedHTML& default_instance(); - - void Swap(EmbedHTML* other); - - // implements Message ---------------------------------------------- - - EmbedHTML* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string content = 1; - inline bool has_content() const; - inline void clear_content(); - static const int kContentFieldNumber = 1; - inline const ::std::string& content() const; - inline void set_content(const ::std::string& value); - inline void set_content(const char* value); - inline void set_content(const char* value, size_t size); - inline ::std::string* mutable_content(); - inline ::std::string* release_content(); - inline void set_allocated_content(::std::string* content); - - // optional uint32 width = 2; - inline bool has_width() const; - inline void clear_width(); - static const int kWidthFieldNumber = 2; - inline ::google::protobuf::uint32 width() const; - inline void set_width(::google::protobuf::uint32 value); - - // optional uint32 height = 3; - inline bool has_height() const; - inline void clear_height(); - static const int kHeightFieldNumber = 3; - inline ::google::protobuf::uint32 height() const; - inline void set_height(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedHTML) - private: - inline void set_has_content(); - inline void clear_has_content(); - inline void set_has_width(); - inline void clear_has_width(); - inline void set_has_height(); - inline void clear_has_height(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* content_; - ::google::protobuf::uint32 width_; - ::google::protobuf::uint32 height_; - friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto(); - friend void protobuf_AssignDesc_embed_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_embed_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static EmbedHTML* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API EmbedInfo : public ::google::protobuf::Message { - public: - EmbedInfo(); - virtual ~EmbedInfo(); - - EmbedInfo(const EmbedInfo& from); - - inline EmbedInfo& operator=(const EmbedInfo& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const EmbedInfo& default_instance(); - - void Swap(EmbedInfo* other); - - // implements Message ---------------------------------------------- - - EmbedInfo* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string title = 1; - inline bool has_title() const; - inline void clear_title(); - static const int kTitleFieldNumber = 1; - inline const ::std::string& title() const; - inline void set_title(const ::std::string& value); - inline void set_title(const char* value); - inline void set_title(const char* value, size_t size); - inline ::std::string* mutable_title(); - inline ::std::string* release_title(); - inline void set_allocated_title(::std::string* title); - - // optional string type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::std::string& type() const; - inline void set_type(const ::std::string& value); - inline void set_type(const char* value); - inline void set_type(const char* value, size_t size); - inline ::std::string* mutable_type(); - inline ::std::string* release_type(); - inline void set_allocated_type(::std::string* type); - - // optional string original_url = 3; - inline bool has_original_url() const; - inline void clear_original_url(); - static const int kOriginalUrlFieldNumber = 3; - inline const ::std::string& original_url() const; - inline void set_original_url(const ::std::string& value); - inline void set_original_url(const char* value); - inline void set_original_url(const char* value, size_t size); - inline ::std::string* mutable_original_url(); - inline ::std::string* release_original_url(); - inline void set_allocated_original_url(::std::string* original_url); - - // optional .bgs.protocol.EmbedImage thumbnail = 4; - inline bool has_thumbnail() const; - inline void clear_thumbnail(); - static const int kThumbnailFieldNumber = 4; - inline const ::bgs::protocol::EmbedImage& thumbnail() const; - inline ::bgs::protocol::EmbedImage* mutable_thumbnail(); - inline ::bgs::protocol::EmbedImage* release_thumbnail(); - inline void set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail); - - // optional .bgs.protocol.Provider provider = 5; - inline bool has_provider() const; - inline void clear_provider(); - static const int kProviderFieldNumber = 5; - inline const ::bgs::protocol::Provider& provider() const; - inline ::bgs::protocol::Provider* mutable_provider(); - inline ::bgs::protocol::Provider* release_provider(); - inline void set_allocated_provider(::bgs::protocol::Provider* provider); - - // optional string description = 6; - inline bool has_description() const; - inline void clear_description(); - static const int kDescriptionFieldNumber = 6; - inline const ::std::string& description() const; - inline void set_description(const ::std::string& value); - inline void set_description(const char* value); - inline void set_description(const char* value, size_t size); - inline ::std::string* mutable_description(); - inline ::std::string* release_description(); - inline void set_allocated_description(::std::string* description); - - // optional .bgs.protocol.EmbedHTML html = 8; - inline bool has_html() const; - inline void clear_html(); - static const int kHtmlFieldNumber = 8; - inline const ::bgs::protocol::EmbedHTML& html() const; - inline ::bgs::protocol::EmbedHTML* mutable_html(); - inline ::bgs::protocol::EmbedHTML* release_html(); - inline void set_allocated_html(::bgs::protocol::EmbedHTML* html); - - // @@protoc_insertion_point(class_scope:bgs.protocol.EmbedInfo) - private: - inline void set_has_title(); - inline void clear_has_title(); - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_original_url(); - inline void clear_has_original_url(); - inline void set_has_thumbnail(); - inline void clear_has_thumbnail(); - inline void set_has_provider(); - inline void clear_has_provider(); - inline void set_has_description(); - inline void clear_has_description(); - inline void set_has_html(); - inline void clear_has_html(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* title_; - ::std::string* type_; - ::std::string* original_url_; - ::bgs::protocol::EmbedImage* thumbnail_; - ::bgs::protocol::Provider* provider_; - ::std::string* description_; - ::bgs::protocol::EmbedHTML* html_; - friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto(); - friend void protobuf_AssignDesc_embed_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_embed_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static EmbedInfo* default_instance_; -}; // =================================================================== // =================================================================== // =================================================================== - -// EmbedImage - -// optional string url = 1; -inline bool EmbedImage::has_url() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EmbedImage::set_has_url() { - _has_bits_[0] |= 0x00000001u; -} -inline void EmbedImage::clear_has_url() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EmbedImage::clear_url() { - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_->clear(); - } - clear_has_url(); -} -inline const ::std::string& EmbedImage::url() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.url) - return *url_; -} -inline void EmbedImage::set_url(const ::std::string& value) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.url) -} -inline void EmbedImage::set_url(const char* value) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedImage.url) -} -inline void EmbedImage::set_url(const char* value, size_t size) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedImage.url) -} -inline ::std::string* EmbedImage::mutable_url() { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedImage.url) - return url_; -} -inline ::std::string* EmbedImage::release_url() { - clear_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = url_; - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedImage::set_allocated_url(::std::string* url) { - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete url_; - } - if (url) { - set_has_url(); - url_ = url; - } else { - clear_has_url(); - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedImage.url) -} - -// optional uint32 width = 2; -inline bool EmbedImage::has_width() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EmbedImage::set_has_width() { - _has_bits_[0] |= 0x00000002u; -} -inline void EmbedImage::clear_has_width() { - _has_bits_[0] &= ~0x00000002u; -} -inline void EmbedImage::clear_width() { - width_ = 0u; - clear_has_width(); -} -inline ::google::protobuf::uint32 EmbedImage::width() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.width) - return width_; -} -inline void EmbedImage::set_width(::google::protobuf::uint32 value) { - set_has_width(); - width_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.width) -} - -// optional uint32 height = 3; -inline bool EmbedImage::has_height() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void EmbedImage::set_has_height() { - _has_bits_[0] |= 0x00000004u; -} -inline void EmbedImage::clear_has_height() { - _has_bits_[0] &= ~0x00000004u; -} -inline void EmbedImage::clear_height() { - height_ = 0u; - clear_has_height(); -} -inline ::google::protobuf::uint32 EmbedImage::height() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedImage.height) - return height_; -} -inline void EmbedImage::set_height(::google::protobuf::uint32 value) { - set_has_height(); - height_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedImage.height) -} - -// ------------------------------------------------------------------- - -// Provider - -// optional string name = 1; -inline bool Provider::has_name() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Provider::set_has_name() { - _has_bits_[0] |= 0x00000001u; -} -inline void Provider::clear_has_name() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Provider::clear_name() { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_->clear(); - } - clear_has_name(); -} -inline const ::std::string& Provider::name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Provider.name) - return *name_; -} -inline void Provider::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.Provider.name) -} -inline void Provider::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.Provider.name) -} -inline void Provider::set_name(const char* value, size_t size) { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Provider.name) -} -inline ::std::string* Provider::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.Provider.name) - return name_; -} -inline ::std::string* Provider::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Provider::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete name_; - } - if (name) { - set_has_name(); - name_ = name; - } else { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Provider.name) -} - -// ------------------------------------------------------------------- - -// EmbedHTML - -// optional string content = 1; -inline bool EmbedHTML::has_content() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EmbedHTML::set_has_content() { - _has_bits_[0] |= 0x00000001u; -} -inline void EmbedHTML::clear_has_content() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EmbedHTML::clear_content() { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_->clear(); - } - clear_has_content(); -} -inline const ::std::string& EmbedHTML::content() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.content) - return *content_; -} -inline void EmbedHTML::set_content(const ::std::string& value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.content) -} -inline void EmbedHTML::set_content(const char* value) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedHTML.content) -} -inline void EmbedHTML::set_content(const char* value, size_t size) { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - content_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedHTML.content) -} -inline ::std::string* EmbedHTML::mutable_content() { - set_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - content_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedHTML.content) - return content_; -} -inline ::std::string* EmbedHTML::release_content() { - clear_has_content(); - if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = content_; - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedHTML::set_allocated_content(::std::string* content) { - if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete content_; - } - if (content) { - set_has_content(); - content_ = content; - } else { - clear_has_content(); - content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedHTML.content) -} - -// optional uint32 width = 2; -inline bool EmbedHTML::has_width() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EmbedHTML::set_has_width() { - _has_bits_[0] |= 0x00000002u; -} -inline void EmbedHTML::clear_has_width() { - _has_bits_[0] &= ~0x00000002u; -} -inline void EmbedHTML::clear_width() { - width_ = 0u; - clear_has_width(); -} -inline ::google::protobuf::uint32 EmbedHTML::width() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.width) - return width_; -} -inline void EmbedHTML::set_width(::google::protobuf::uint32 value) { - set_has_width(); - width_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.width) -} - -// optional uint32 height = 3; -inline bool EmbedHTML::has_height() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void EmbedHTML::set_has_height() { - _has_bits_[0] |= 0x00000004u; -} -inline void EmbedHTML::clear_has_height() { - _has_bits_[0] &= ~0x00000004u; -} -inline void EmbedHTML::clear_height() { - height_ = 0u; - clear_has_height(); -} -inline ::google::protobuf::uint32 EmbedHTML::height() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedHTML.height) - return height_; -} -inline void EmbedHTML::set_height(::google::protobuf::uint32 value) { - set_has_height(); - height_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedHTML.height) -} - -// ------------------------------------------------------------------- - -// EmbedInfo - -// optional string title = 1; -inline bool EmbedInfo::has_title() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void EmbedInfo::set_has_title() { - _has_bits_[0] |= 0x00000001u; -} -inline void EmbedInfo::clear_has_title() { - _has_bits_[0] &= ~0x00000001u; -} -inline void EmbedInfo::clear_title() { - if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - title_->clear(); - } - clear_has_title(); -} -inline const ::std::string& EmbedInfo::title() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.title) - return *title_; -} -inline void EmbedInfo::set_title(const ::std::string& value) { - set_has_title(); - if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - title_ = new ::std::string; - } - title_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.title) -} -inline void EmbedInfo::set_title(const char* value) { - set_has_title(); - if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - title_ = new ::std::string; - } - title_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.title) -} -inline void EmbedInfo::set_title(const char* value, size_t size) { - set_has_title(); - if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - title_ = new ::std::string; - } - title_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.title) -} -inline ::std::string* EmbedInfo::mutable_title() { - set_has_title(); - if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - title_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.title) - return title_; -} -inline ::std::string* EmbedInfo::release_title() { - clear_has_title(); - if (title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = title_; - title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedInfo::set_allocated_title(::std::string* title) { - if (title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete title_; - } - if (title) { - set_has_title(); - title_ = title; - } else { - clear_has_title(); - title_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.title) -} - -// optional string type = 2; -inline bool EmbedInfo::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void EmbedInfo::set_has_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void EmbedInfo::clear_has_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void EmbedInfo::clear_type() { - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_->clear(); - } - clear_has_type(); -} -inline const ::std::string& EmbedInfo::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.type) - return *type_; -} -inline void EmbedInfo::set_type(const ::std::string& value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.type) -} -inline void EmbedInfo::set_type(const char* value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.type) -} -inline void EmbedInfo::set_type(const char* value, size_t size) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.type) -} -inline ::std::string* EmbedInfo::mutable_type() { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.type) - return type_; -} -inline ::std::string* EmbedInfo::release_type() { - clear_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = type_; - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedInfo::set_allocated_type(::std::string* type) { - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete type_; - } - if (type) { - set_has_type(); - type_ = type; - } else { - clear_has_type(); - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.type) -} - -// optional string original_url = 3; -inline bool EmbedInfo::has_original_url() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void EmbedInfo::set_has_original_url() { - _has_bits_[0] |= 0x00000004u; -} -inline void EmbedInfo::clear_has_original_url() { - _has_bits_[0] &= ~0x00000004u; -} -inline void EmbedInfo::clear_original_url() { - if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - original_url_->clear(); - } - clear_has_original_url(); -} -inline const ::std::string& EmbedInfo::original_url() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.original_url) - return *original_url_; -} -inline void EmbedInfo::set_original_url(const ::std::string& value) { - set_has_original_url(); - if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - original_url_ = new ::std::string; - } - original_url_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.original_url) -} -inline void EmbedInfo::set_original_url(const char* value) { - set_has_original_url(); - if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - original_url_ = new ::std::string; - } - original_url_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.original_url) -} -inline void EmbedInfo::set_original_url(const char* value, size_t size) { - set_has_original_url(); - if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - original_url_ = new ::std::string; - } - original_url_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.original_url) -} -inline ::std::string* EmbedInfo::mutable_original_url() { - set_has_original_url(); - if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - original_url_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.original_url) - return original_url_; -} -inline ::std::string* EmbedInfo::release_original_url() { - clear_has_original_url(); - if (original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = original_url_; - original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedInfo::set_allocated_original_url(::std::string* original_url) { - if (original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete original_url_; - } - if (original_url) { - set_has_original_url(); - original_url_ = original_url; - } else { - clear_has_original_url(); - original_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.original_url) -} - -// optional .bgs.protocol.EmbedImage thumbnail = 4; -inline bool EmbedInfo::has_thumbnail() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void EmbedInfo::set_has_thumbnail() { - _has_bits_[0] |= 0x00000008u; -} -inline void EmbedInfo::clear_has_thumbnail() { - _has_bits_[0] &= ~0x00000008u; -} -inline void EmbedInfo::clear_thumbnail() { - if (thumbnail_ != NULL) thumbnail_->::bgs::protocol::EmbedImage::Clear(); - clear_has_thumbnail(); -} -inline const ::bgs::protocol::EmbedImage& EmbedInfo::thumbnail() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.thumbnail) - return thumbnail_ != NULL ? *thumbnail_ : *default_instance_->thumbnail_; -} -inline ::bgs::protocol::EmbedImage* EmbedInfo::mutable_thumbnail() { - set_has_thumbnail(); - if (thumbnail_ == NULL) thumbnail_ = new ::bgs::protocol::EmbedImage; - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.thumbnail) - return thumbnail_; -} -inline ::bgs::protocol::EmbedImage* EmbedInfo::release_thumbnail() { - clear_has_thumbnail(); - ::bgs::protocol::EmbedImage* temp = thumbnail_; - thumbnail_ = NULL; - return temp; -} -inline void EmbedInfo::set_allocated_thumbnail(::bgs::protocol::EmbedImage* thumbnail) { - delete thumbnail_; - thumbnail_ = thumbnail; - if (thumbnail) { - set_has_thumbnail(); - } else { - clear_has_thumbnail(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.thumbnail) -} - -// optional .bgs.protocol.Provider provider = 5; -inline bool EmbedInfo::has_provider() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void EmbedInfo::set_has_provider() { - _has_bits_[0] |= 0x00000010u; -} -inline void EmbedInfo::clear_has_provider() { - _has_bits_[0] &= ~0x00000010u; -} -inline void EmbedInfo::clear_provider() { - if (provider_ != NULL) provider_->::bgs::protocol::Provider::Clear(); - clear_has_provider(); -} -inline const ::bgs::protocol::Provider& EmbedInfo::provider() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.provider) - return provider_ != NULL ? *provider_ : *default_instance_->provider_; -} -inline ::bgs::protocol::Provider* EmbedInfo::mutable_provider() { - set_has_provider(); - if (provider_ == NULL) provider_ = new ::bgs::protocol::Provider; - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.provider) - return provider_; -} -inline ::bgs::protocol::Provider* EmbedInfo::release_provider() { - clear_has_provider(); - ::bgs::protocol::Provider* temp = provider_; - provider_ = NULL; - return temp; -} -inline void EmbedInfo::set_allocated_provider(::bgs::protocol::Provider* provider) { - delete provider_; - provider_ = provider; - if (provider) { - set_has_provider(); - } else { - clear_has_provider(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.provider) -} - -// optional string description = 6; -inline bool EmbedInfo::has_description() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void EmbedInfo::set_has_description() { - _has_bits_[0] |= 0x00000020u; -} -inline void EmbedInfo::clear_has_description() { - _has_bits_[0] &= ~0x00000020u; -} -inline void EmbedInfo::clear_description() { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_->clear(); - } - clear_has_description(); -} -inline const ::std::string& EmbedInfo::description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.description) - return *description_; -} -inline void EmbedInfo::set_description(const ::std::string& value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.EmbedInfo.description) -} -inline void EmbedInfo::set_description(const char* value) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.EmbedInfo.description) -} -inline void EmbedInfo::set_description(const char* value, size_t size) { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.EmbedInfo.description) -} -inline ::std::string* EmbedInfo::mutable_description() { - set_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.description) - return description_; -} -inline ::std::string* EmbedInfo::release_description() { - clear_has_description(); - if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = description_; - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void EmbedInfo::set_allocated_description(::std::string* description) { - if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete description_; - } - if (description) { - set_has_description(); - description_ = description; - } else { - clear_has_description(); - description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.description) -} - -// optional .bgs.protocol.EmbedHTML html = 8; -inline bool EmbedInfo::has_html() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void EmbedInfo::set_has_html() { - _has_bits_[0] |= 0x00000040u; -} -inline void EmbedInfo::clear_has_html() { - _has_bits_[0] &= ~0x00000040u; -} -inline void EmbedInfo::clear_html() { - if (html_ != NULL) html_->::bgs::protocol::EmbedHTML::Clear(); - clear_has_html(); -} -inline const ::bgs::protocol::EmbedHTML& EmbedInfo::html() const { - // @@protoc_insertion_point(field_get:bgs.protocol.EmbedInfo.html) - return html_ != NULL ? *html_ : *default_instance_->html_; -} -inline ::bgs::protocol::EmbedHTML* EmbedInfo::mutable_html() { - set_has_html(); - if (html_ == NULL) html_ = new ::bgs::protocol::EmbedHTML; - // @@protoc_insertion_point(field_mutable:bgs.protocol.EmbedInfo.html) - return html_; -} -inline ::bgs::protocol::EmbedHTML* EmbedInfo::release_html() { - clear_has_html(); - ::bgs::protocol::EmbedHTML* temp = html_; - html_ = NULL; - return temp; -} -inline void EmbedInfo::set_allocated_html(::bgs::protocol::EmbedHTML* html) { - delete html_; - html_ = html; - if (html) { - set_has_html(); - } else { - clear_has_html(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.EmbedInfo.html) -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/entity_types.pb.cc b/src/server/proto/Client/entity_types.pb.cc index 56ac2d5c135..e68747f53b5 100644 --- a/src/server/proto/Client/entity_types.pb.cc +++ b/src/server/proto/Client/entity_types.pb.cc @@ -107,7 +107,7 @@ void protobuf_AddDesc_entity_5ftypes_2eproto() { "\n\022entity_types.proto\022\014bgs.protocol\032%glob" "al_extensions/field_options.proto\032\'globa" "l_extensions/message_options.proto\"=\n\010En" - "tityId\022\024\n\004high\030\001 \002(\006B\006\202\371+\002\010\002\022\023\n\003low\030\002 \002(" + "tityId\022\024\n\004high\030\001 \001(\006B\006\202\371+\002\010\002\022\023\n\003low\030\002 \001(" "\006B\006\202\371+\002\010\002:\006\202\371+\002\010\001\"{\n\010Identity\0224\n\naccount" "_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\010\212\371+\004:" "\002\020\001\0229\n\017game_account_id\030\002 \001(\0132\026.bgs.proto" diff --git a/src/server/proto/Client/entity_types.pb.h b/src/server/proto/Client/entity_types.pb.h index 3c772c16d2f..7f756483aa1 100644 --- a/src/server/proto/Client/entity_types.pb.h +++ b/src/server/proto/Client/entity_types.pb.h @@ -82,14 +82,14 @@ class TC_PROTO_API EntityId : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // required fixed64 high = 1; + // optional fixed64 high = 1; inline bool has_high() const; inline void clear_high(); static const int kHighFieldNumber = 1; inline ::google::protobuf::uint64 high() const; inline void set_high(::google::protobuf::uint64 value); - // required fixed64 low = 2; + // optional fixed64 low = 2; inline bool has_low() const; inline void clear_low(); static const int kLowFieldNumber = 2; @@ -204,7 +204,7 @@ class TC_PROTO_API Identity : public ::google::protobuf::Message { // EntityId -// required fixed64 high = 1; +// optional fixed64 high = 1; inline bool EntityId::has_high() const { return (_has_bits_[0] & 0x00000001u) != 0; } @@ -228,7 +228,7 @@ inline void EntityId::set_high(::google::protobuf::uint64 value) { // @@protoc_insertion_point(field_set:bgs.protocol.EntityId.high) } -// required fixed64 low = 2; +// optional fixed64 low = 2; inline bool EntityId::has_low() const { return (_has_bits_[0] & 0x00000002u) != 0; } diff --git a/src/server/proto/Client/event_view_types.pb.cc b/src/server/proto/Client/event_view_types.pb.cc index cb16a26157d..40fa80641c7 100644 --- a/src/server/proto/Client/event_view_types.pb.cc +++ b/src/server/proto/Client/event_view_types.pb.cc @@ -19,59 +19,12 @@ namespace bgs { namespace protocol { -namespace { - -const ::google::protobuf::Descriptor* GetEventOptions_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - GetEventOptions_reflection_ = NULL; -const ::google::protobuf::Descriptor* ViewMarker_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ViewMarker_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* EventOrder_descriptor_ = NULL; - -} // namespace - void protobuf_AssignDesc_event_5fview_5ftypes_2eproto() { protobuf_AddDesc_event_5fview_5ftypes_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "event_view_types.proto"); GOOGLE_CHECK(file != NULL); - GetEventOptions_descriptor_ = file->message_type(0); - static const int GetEventOptions_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_from_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, fetch_until_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, max_events_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, order_), - }; - GetEventOptions_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - GetEventOptions_descriptor_, - GetEventOptions::default_instance_, - GetEventOptions_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GetEventOptions, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(GetEventOptions)); - ViewMarker_descriptor_ = file->message_type(1); - static const int ViewMarker_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_read_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, last_message_time_), - }; - ViewMarker_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ViewMarker_descriptor_, - ViewMarker::default_instance_, - ViewMarker_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ViewMarker, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ViewMarker)); - EventOrder_descriptor_ = file->enum_type(0); } namespace { @@ -84,19 +37,11 @@ inline void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - GetEventOptions_descriptor_, &GetEventOptions::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ViewMarker_descriptor_, &ViewMarker::default_instance()); } } // namespace void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto() { - delete GetEventOptions::default_instance_; - delete GetEventOptions_reflection_; - delete ViewMarker::default_instance_; - delete ViewMarker_reflection_; } void protobuf_AddDesc_event_5fview_5ftypes_2eproto() { @@ -105,21 +50,13 @@ void protobuf_AddDesc_event_5fview_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fevent_5fview_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\026event_view_types.proto\022\014bgs.protocol\"w" - "\n\017GetEventOptions\022\022\n\nfetch_from\030\001 \001(\004\022\023\n" - "\013fetch_until\030\002 \001(\004\022\022\n\nmax_events\030\003 \001(\r\022\'" - "\n\005order\030\004 \001(\0162\030.bgs.protocol.EventOrder\"" - "\?\n\nViewMarker\022\026\n\016last_read_time\030\001 \001(\004\022\031\n" - "\021last_message_time\030\002 \001(\004*7\n\nEventOrder\022\024" - "\n\020EVENT_DESCENDING\020\000\022\023\n\017EVENT_ASCENDING\020" - "\001B\002H\002", 285); + "\n\026event_view_types.proto\022\014bgs.protocol\032$" + "api/common/v1/event_view_types.protoB\002H\002" + "P\000", 82); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "event_view_types.proto", &protobuf_RegisterTypes); - GetEventOptions::default_instance_ = new GetEventOptions(); - ViewMarker::default_instance_ = new ViewMarker(); - GetEventOptions::default_instance_->InitAsDefaultInstance(); - ViewMarker::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_event_5fview_5ftypes_2eproto); } @@ -129,172 +66,6 @@ struct StaticDescriptorInitializer_event_5fview_5ftypes_2eproto { protobuf_AddDesc_event_5fview_5ftypes_2eproto(); } } static_descriptor_initializer_event_5fview_5ftypes_2eproto_; -const ::google::protobuf::EnumDescriptor* EventOrder_descriptor() { - protobuf_AssignDescriptorsOnce(); - return EventOrder_descriptor_; -} -bool EventOrder_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -// =================================================================== - -#ifndef _MSC_VER -const int GetEventOptions::kFetchFromFieldNumber; -const int GetEventOptions::kFetchUntilFieldNumber; -const int GetEventOptions::kMaxEventsFieldNumber; -const int GetEventOptions::kOrderFieldNumber; -#endif // !_MSC_VER - -GetEventOptions::GetEventOptions() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.GetEventOptions) -} - -void GetEventOptions::InitAsDefaultInstance() { -} - -GetEventOptions::GetEventOptions(const GetEventOptions& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.GetEventOptions) -} - -void GetEventOptions::SharedCtor() { - _cached_size_ = 0; - fetch_from_ = GOOGLE_ULONGLONG(0); - fetch_until_ = GOOGLE_ULONGLONG(0); - max_events_ = 0u; - order_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -GetEventOptions::~GetEventOptions() { - // @@protoc_insertion_point(destructor:bgs.protocol.GetEventOptions) - SharedDtor(); -} - -void GetEventOptions::SharedDtor() { - if (this != default_instance_) { - } -} - -void GetEventOptions::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* GetEventOptions::descriptor() { - protobuf_AssignDescriptorsOnce(); - return GetEventOptions_descriptor_; -} - -const GetEventOptions& GetEventOptions::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - return *default_instance_; -} - -GetEventOptions* GetEventOptions::default_instance_ = NULL; - -GetEventOptions* GetEventOptions::New() const { - return new GetEventOptions; -} - -void GetEventOptions::Swap(GetEventOptions* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata GetEventOptions::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = GetEventOptions_descriptor_; - metadata.reflection = GetEventOptions_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ViewMarker::kLastReadTimeFieldNumber; -const int ViewMarker::kLastMessageTimeFieldNumber; -#endif // !_MSC_VER - -ViewMarker::ViewMarker() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.ViewMarker) -} - -void ViewMarker::InitAsDefaultInstance() { -} - -ViewMarker::ViewMarker(const ViewMarker& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.ViewMarker) -} - -void ViewMarker::SharedCtor() { - _cached_size_ = 0; - last_read_time_ = GOOGLE_ULONGLONG(0); - last_message_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ViewMarker::~ViewMarker() { - // @@protoc_insertion_point(destructor:bgs.protocol.ViewMarker) - SharedDtor(); -} - -void ViewMarker::SharedDtor() { - if (this != default_instance_) { - } -} - -void ViewMarker::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ViewMarker::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ViewMarker_descriptor_; -} - -const ViewMarker& ViewMarker::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - return *default_instance_; -} - -ViewMarker* ViewMarker::default_instance_ = NULL; - -ViewMarker* ViewMarker::New() const { - return new ViewMarker; -} - -void ViewMarker::Swap(ViewMarker* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ViewMarker::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ViewMarker_descriptor_; - metadata.reflection = ViewMarker_reflection_; - return metadata; -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/event_view_types.pb.h b/src/server/proto/Client/event_view_types.pb.h index 897eff0d4d1..8672e0e8958 100644 --- a/src/server/proto/Client/event_view_types.pb.h +++ b/src/server/proto/Client/event_view_types.pb.h @@ -20,11 +20,9 @@ #endif #include -#include #include #include -#include -#include +#include "api/common/v1/event_view_types.pb.h" // IWYU pragma: export #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) @@ -36,357 +34,13 @@ void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto(); void protobuf_AssignDesc_event_5fview_5ftypes_2eproto(); void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto(); -class GetEventOptions; -class ViewMarker; - -enum EventOrder { - EVENT_DESCENDING = 0, - EVENT_ASCENDING = 1 -}; -TC_PROTO_API bool EventOrder_IsValid(int value); -const EventOrder EventOrder_MIN = EVENT_DESCENDING; -const EventOrder EventOrder_MAX = EVENT_ASCENDING; -const int EventOrder_ARRAYSIZE = EventOrder_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* EventOrder_descriptor(); -inline const ::std::string& EventOrder_Name(EventOrder value) { - return ::google::protobuf::internal::NameOfEnum( - EventOrder_descriptor(), value); -} -inline bool EventOrder_Parse( - const ::std::string& name, EventOrder* value) { - return ::google::protobuf::internal::ParseNamedEnum( - EventOrder_descriptor(), name, value); -} // =================================================================== -class TC_PROTO_API GetEventOptions : public ::google::protobuf::Message { - public: - GetEventOptions(); - virtual ~GetEventOptions(); - - GetEventOptions(const GetEventOptions& from); - - inline GetEventOptions& operator=(const GetEventOptions& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const GetEventOptions& default_instance(); - - void Swap(GetEventOptions* other); - - // implements Message ---------------------------------------------- - - GetEventOptions* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 fetch_from = 1; - inline bool has_fetch_from() const; - inline void clear_fetch_from(); - static const int kFetchFromFieldNumber = 1; - inline ::google::protobuf::uint64 fetch_from() const; - inline void set_fetch_from(::google::protobuf::uint64 value); - - // optional uint64 fetch_until = 2; - inline bool has_fetch_until() const; - inline void clear_fetch_until(); - static const int kFetchUntilFieldNumber = 2; - inline ::google::protobuf::uint64 fetch_until() const; - inline void set_fetch_until(::google::protobuf::uint64 value); - - // optional uint32 max_events = 3; - inline bool has_max_events() const; - inline void clear_max_events(); - static const int kMaxEventsFieldNumber = 3; - inline ::google::protobuf::uint32 max_events() const; - inline void set_max_events(::google::protobuf::uint32 value); - - // optional .bgs.protocol.EventOrder order = 4; - inline bool has_order() const; - inline void clear_order(); - static const int kOrderFieldNumber = 4; - inline ::bgs::protocol::EventOrder order() const; - inline void set_order(::bgs::protocol::EventOrder value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.GetEventOptions) - private: - inline void set_has_fetch_from(); - inline void clear_has_fetch_from(); - inline void set_has_fetch_until(); - inline void clear_has_fetch_until(); - inline void set_has_max_events(); - inline void clear_has_max_events(); - inline void set_has_order(); - inline void clear_has_order(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 fetch_from_; - ::google::protobuf::uint64 fetch_until_; - ::google::protobuf::uint32 max_events_; - int order_; - friend void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - friend void protobuf_AssignDesc_event_5fview_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static GetEventOptions* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ViewMarker : public ::google::protobuf::Message { - public: - ViewMarker(); - virtual ~ViewMarker(); - - ViewMarker(const ViewMarker& from); - - inline ViewMarker& operator=(const ViewMarker& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ViewMarker& default_instance(); - - void Swap(ViewMarker* other); - - // implements Message ---------------------------------------------- - - ViewMarker* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 last_read_time = 1; - inline bool has_last_read_time() const; - inline void clear_last_read_time(); - static const int kLastReadTimeFieldNumber = 1; - inline ::google::protobuf::uint64 last_read_time() const; - inline void set_last_read_time(::google::protobuf::uint64 value); - - // optional uint64 last_message_time = 2; - inline bool has_last_message_time() const; - inline void clear_last_message_time(); - static const int kLastMessageTimeFieldNumber = 2; - inline ::google::protobuf::uint64 last_message_time() const; - inline void set_last_message_time(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.ViewMarker) - private: - inline void set_has_last_read_time(); - inline void clear_has_last_read_time(); - inline void set_has_last_message_time(); - inline void clear_has_last_message_time(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 last_read_time_; - ::google::protobuf::uint64 last_message_time_; - friend void TC_PROTO_API protobuf_AddDesc_event_5fview_5ftypes_2eproto(); - friend void protobuf_AssignDesc_event_5fview_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_event_5fview_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ViewMarker* default_instance_; -}; // =================================================================== // =================================================================== // =================================================================== - -// GetEventOptions - -// optional uint64 fetch_from = 1; -inline bool GetEventOptions::has_fetch_from() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GetEventOptions::set_has_fetch_from() { - _has_bits_[0] |= 0x00000001u; -} -inline void GetEventOptions::clear_has_fetch_from() { - _has_bits_[0] &= ~0x00000001u; -} -inline void GetEventOptions::clear_fetch_from() { - fetch_from_ = GOOGLE_ULONGLONG(0); - clear_has_fetch_from(); -} -inline ::google::protobuf::uint64 GetEventOptions::fetch_from() const { - // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_from) - return fetch_from_; -} -inline void GetEventOptions::set_fetch_from(::google::protobuf::uint64 value) { - set_has_fetch_from(); - fetch_from_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_from) -} - -// optional uint64 fetch_until = 2; -inline bool GetEventOptions::has_fetch_until() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GetEventOptions::set_has_fetch_until() { - _has_bits_[0] |= 0x00000002u; -} -inline void GetEventOptions::clear_has_fetch_until() { - _has_bits_[0] &= ~0x00000002u; -} -inline void GetEventOptions::clear_fetch_until() { - fetch_until_ = GOOGLE_ULONGLONG(0); - clear_has_fetch_until(); -} -inline ::google::protobuf::uint64 GetEventOptions::fetch_until() const { - // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.fetch_until) - return fetch_until_; -} -inline void GetEventOptions::set_fetch_until(::google::protobuf::uint64 value) { - set_has_fetch_until(); - fetch_until_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.fetch_until) -} - -// optional uint32 max_events = 3; -inline bool GetEventOptions::has_max_events() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GetEventOptions::set_has_max_events() { - _has_bits_[0] |= 0x00000004u; -} -inline void GetEventOptions::clear_has_max_events() { - _has_bits_[0] &= ~0x00000004u; -} -inline void GetEventOptions::clear_max_events() { - max_events_ = 0u; - clear_has_max_events(); -} -inline ::google::protobuf::uint32 GetEventOptions::max_events() const { - // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.max_events) - return max_events_; -} -inline void GetEventOptions::set_max_events(::google::protobuf::uint32 value) { - set_has_max_events(); - max_events_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.max_events) -} - -// optional .bgs.protocol.EventOrder order = 4; -inline bool GetEventOptions::has_order() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void GetEventOptions::set_has_order() { - _has_bits_[0] |= 0x00000008u; -} -inline void GetEventOptions::clear_has_order() { - _has_bits_[0] &= ~0x00000008u; -} -inline void GetEventOptions::clear_order() { - order_ = 0; - clear_has_order(); -} -inline ::bgs::protocol::EventOrder GetEventOptions::order() const { - // @@protoc_insertion_point(field_get:bgs.protocol.GetEventOptions.order) - return static_cast< ::bgs::protocol::EventOrder >(order_); -} -inline void GetEventOptions::set_order(::bgs::protocol::EventOrder value) { - assert(::bgs::protocol::EventOrder_IsValid(value)); - set_has_order(); - order_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.GetEventOptions.order) -} - -// ------------------------------------------------------------------- - -// ViewMarker - -// optional uint64 last_read_time = 1; -inline bool ViewMarker::has_last_read_time() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ViewMarker::set_has_last_read_time() { - _has_bits_[0] |= 0x00000001u; -} -inline void ViewMarker::clear_has_last_read_time() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ViewMarker::clear_last_read_time() { - last_read_time_ = GOOGLE_ULONGLONG(0); - clear_has_last_read_time(); -} -inline ::google::protobuf::uint64 ViewMarker::last_read_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_read_time) - return last_read_time_; -} -inline void ViewMarker::set_last_read_time(::google::protobuf::uint64 value) { - set_has_last_read_time(); - last_read_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_read_time) -} - -// optional uint64 last_message_time = 2; -inline bool ViewMarker::has_last_message_time() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ViewMarker::set_has_last_message_time() { - _has_bits_[0] |= 0x00000002u; -} -inline void ViewMarker::clear_has_last_message_time() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ViewMarker::clear_last_message_time() { - last_message_time_ = GOOGLE_ULONGLONG(0); - clear_has_last_message_time(); -} -inline ::google::protobuf::uint64 ViewMarker::last_message_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.ViewMarker.last_message_time) - return last_message_time_; -} -inline void ViewMarker::set_last_message_time(::google::protobuf::uint64 value) { - set_has_last_message_time(); - last_message_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.ViewMarker.last_message_time) -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol @@ -395,11 +49,6 @@ inline void ViewMarker::set_last_message_time(::google::protobuf::uint64 value) #ifndef SWIG namespace google { namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::EventOrder> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::EventOrder>() { - return ::bgs::protocol::EventOrder_descriptor(); -} } // namespace google } // namespace protobuf #endif // SWIG diff --git a/src/server/proto/Client/friends_service.pb.cc b/src/server/proto/Client/friends_service.pb.cc index 23a065b9976..8f6b25e946d 100644 --- a/src/server/proto/Client/friends_service.pb.cc +++ b/src/server/proto/Client/friends_service.pb.cc @@ -527,130 +527,131 @@ void protobuf_AddDesc_friends_5fservice_2eproto() { ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); ::bgs::protocol::friends::v1::protobuf_AddDesc_friends_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_invitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\025friends_service.proto\022\027bgs.protocol.fr" "iends.v1\032\025attribute_types.proto\032\022entity_" - "types.proto\032\023friends_types.proto\032\026invita" - "tion_types.proto\032\017rpc_types.proto\"W\n\020Sub" - "scribeRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.pr" - "otocol.EntityIdB\006\202\371+\002 \001\022\021\n\tobject_id\030\002 \002" - "(\004\"Y\n\022UnsubscribeRequest\0220\n\010agent_id\030\001 \001" - "(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\021\n\tob" - "ject_id\030\002 \001(\004\"\252\001\n\025SendInvitationRequest\022" - "6\n\016agent_identity\030\001 \001(\0132\026.bgs.protocol.I" - "dentityB\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs" - ".protocol.EntityId\022.\n\006params\030\003 \002(\0132\036.bgs" - ".protocol.InvitationParams\"b\n\027RevokeInvi" - "tationRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.pr" - "otocol.EntityIdB\006\202\371+\002 \001\022\025\n\rinvitation_id" - "\030\002 \001(\006\"\245\001\n\027AcceptInvitationRequest\0220\n\010ag" - "ent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371" - "+\002 \001\022\025\n\rinvitation_id\030\003 \002(\006\022A\n\007options\030\004" - " \001(\01320.bgs.protocol.friends.v1.AcceptInv" - "itationOptions\"c\n\030DeclineInvitationReque" - "st\0220\n\010agent_id\030\001 \001(\0132\026.bgs.protocol.Enti" - "tyIdB\006\202\371+\002 \001\022\025\n\rinvitation_id\030\003 \002(\006\"b\n\027I" - "gnoreInvitationRequest\0220\n\010agent_id\030\001 \001(\013" - "2\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\025\n\rinvi" - "tation_id\030\003 \002(\006\"r\n\023RemoveFriendRequest\0220" + "types.proto\032\023friends_types.proto\032$api/co" + "mmon/v1/invitation_types.proto\032\017rpc_type" + "s.proto\"W\n\020SubscribeRequest\0220\n\010agent_id\030" + "\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\021\n" + "\tobject_id\030\002 \002(\004\"Y\n\022UnsubscribeRequest\0220" "\n\010agent_id\030\001 \001(\0132\026.bgs.protocol.EntityId" - "B\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs.protoc" - "ol.EntityId\"O\n\033RevokeAllInvitationsReque" - "st\0220\n\010agent_id\030\002 \001(\0132\026.bgs.protocol.Enti" - "tyIdB\006\202\371+\002\020\001\"q\n\022ViewFriendsRequest\0220\n\010ag" - "ent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371" - "+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs.protocol.E" - "ntityId\"O\n\023ViewFriendsResponse\0228\n\007friend" - "s\030\001 \003(\0132\'.bgs.protocol.friends.v1.Friend" - "OfFriend\"\243\001\n\030UpdateFriendStateRequest\0220\n" - "\010agent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB" - "\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs.protoco" - "l.EntityId\022*\n\tattribute\030\003 \003(\0132\027.bgs.prot" - "ocol.Attribute\"H\n\024GetFriendListRequest\0220" - "\n\010agent_id\030\002 \001(\0132\026.bgs.protocol.EntityId" - "B\006\202\371+\002\020\001\"I\n\025GetFriendListResponse\0220\n\007fri" - "ends\030\001 \003(\0132\037.bgs.protocol.friends.v1.Fri" - "end\"\224\001\n\027CreateFriendshipRequest\0220\n\010agent" - "_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002\020" - "\001\022)\n\ttarget_id\030\002 \001(\0132\026.bgs.protocol.Enti" - "tyId\022\034\n\004role\030\003 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\"q\n\022Fr" - "iendNotification\022/\n\006target\030\001 \002(\0132\037.bgs.p" - "rotocol.friends.v1.Friend\022*\n\naccount_id\030" - "\005 \001(\0132\026.bgs.protocol.EntityId\"\204\001\n\035Update" - "FriendStateNotification\0227\n\016changed_frien" - "d\030\001 \002(\0132\037.bgs.protocol.friends.v1.Friend" - "\022*\n\naccount_id\030\005 \001(\0132\026.bgs.protocol.Enti" - "tyId\"\230\001\n\026InvitationNotification\022\?\n\ninvit" - "ation\030\001 \002(\0132+.bgs.protocol.friends.v1.Re" - "ceivedInvitation\022\021\n\006reason\030\003 \001(\r:\0010\022*\n\na" - "ccount_id\030\005 \001(\0132\026.bgs.protocol.EntityId\"" - "\212\001\n\037SentInvitationAddedNotification\022*\n\na" - "ccount_id\030\001 \001(\0132\026.bgs.protocol.EntityId\022" - ";\n\ninvitation\030\002 \001(\0132\'.bgs.protocol.frien" - "ds.v1.SentInvitation\"v\n!SentInvitationRe" - "movedNotification\022*\n\naccount_id\030\001 \001(\0132\026." - "bgs.protocol.EntityId\022\025\n\rinvitation_id\030\002" - " \001(\006\022\016\n\006reason\030\003 \001(\r2\227\013\n\016FriendsService\022" - "l\n\tSubscribe\022).bgs.protocol.friends.v1.S" - "ubscribeRequest\032*.bgs.protocol.friends.v" - "1.SubscribeResponse\"\010\202\371+\004\010\001\020\001\022`\n\016SendInv" - "itation\022..bgs.protocol.friends.v1.SendIn" - "vitationRequest\032\024.bgs.protocol.NoData\"\010\202" - "\371+\004\010\002\020\001\022d\n\020AcceptInvitation\0220.bgs.protoc" - "ol.friends.v1.AcceptInvitationRequest\032\024." - "bgs.protocol.NoData\"\010\202\371+\004\010\003\020\001\022d\n\020RevokeI" - "nvitation\0220.bgs.protocol.friends.v1.Revo" - "keInvitationRequest\032\024.bgs.protocol.NoDat" - "a\"\010\202\371+\004\010\004\020\001\022h\n\021DeclineInvitation\0221.bgs.p" - "rotocol.friends.v1.DeclineInvitationRequ" - "est\032\024.bgs.protocol.NoData\"\n\202\371+\006\010\005\020\001P\001\022d\n" - "\020IgnoreInvitation\0220.bgs.protocol.friends" - ".v1.IgnoreInvitationRequest\032\024.bgs.protoc" - "ol.NoData\"\010\202\371+\004\010\006\020\001\022\\\n\014RemoveFriend\022,.bg" - "s.protocol.friends.v1.RemoveFriendReques" - "t\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\010\020\001\022r\n\013Vie" - "wFriends\022+.bgs.protocol.friends.v1.ViewF" - "riendsRequest\032,.bgs.protocol.friends.v1." - "ViewFriendsResponse\"\010\202\371+\004\010\t\020\001\022f\n\021UpdateF" - "riendState\0221.bgs.protocol.friends.v1.Upd" - "ateFriendStateRequest\032\024.bgs.protocol.NoD" - "ata\"\010\202\371+\004\010\n\020\001\022Z\n\013Unsubscribe\022+.bgs.proto" - "col.friends.v1.UnsubscribeRequest\032\024.bgs." - "protocol.NoData\"\010\202\371+\004\010\013\020\001\022j\n\024RevokeAllIn" - "vitations\0224.bgs.protocol.friends.v1.Revo" - "keAllInvitationsRequest\032\024.bgs.protocol.N" - "oData\"\006\202\371+\002\010\014\022v\n\rGetFriendList\022-.bgs.pro" - "tocol.friends.v1.GetFriendListRequest\032.." - "bgs.protocol.friends.v1.GetFriendListRes" - "ponse\"\006\202\371+\002\010\r\022b\n\020CreateFriendship\0220.bgs." - "protocol.friends.v1.CreateFriendshipRequ" - "est\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\016\032;\202\371+1\n" - "$bnet.protocol.friends.FriendsService*\007f" - "riends0\001\212\371+\002\020\0012\316\006\n\017FriendsListener\022_\n\rOn" - "FriendAdded\022+.bgs.protocol.friends.v1.Fr" - "iendNotification\032\031.bgs.protocol.NO_RESPO" - "NSE\"\006\202\371+\002\010\001\022a\n\017OnFriendRemoved\022+.bgs.pro" - "tocol.friends.v1.FriendNotification\032\031.bg" - "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\002\022o\n\031OnRece" - "ivedInvitationAdded\022/.bgs.protocol.frien" - "ds.v1.InvitationNotification\032\031.bgs.proto" - "col.NO_RESPONSE\"\006\202\371+\002\010\003\022q\n\033OnReceivedInv" - "itationRemoved\022/.bgs.protocol.friends.v1" - ".InvitationNotification\032\031.bgs.protocol.N" - "O_RESPONSE\"\006\202\371+\002\010\004\022t\n\025OnSentInvitationAd" - "ded\0228.bgs.protocol.friends.v1.SentInvita" - "tionAddedNotification\032\031.bgs.protocol.NO_" - "RESPONSE\"\006\202\371+\002\010\005\022x\n\027OnSentInvitationRemo" - "ved\022:.bgs.protocol.friends.v1.SentInvita" - "tionRemovedNotification\032\031.bgs.protocol.N" - "O_RESPONSE\"\006\202\371+\002\010\006\022p\n\023OnUpdateFriendStat" - "e\0226.bgs.protocol.friends.v1.UpdateFriend" - "StateNotification\032\031.bgs.protocol.NO_RESP" - "ONSE\"\006\202\371+\002\010\007\0321\202\371+\'\n#bnet.protocol.friend" - "s.FriendsNotify8\001\212\371+\002\010\001B6\n\027bgs.protocol." - "friends.v1B\023FriendsServiceProtoH\002\200\001\000\210\001\001", 4839); + "B\006\202\371+\002 \001\022\021\n\tobject_id\030\002 \001(\004\"\252\001\n\025SendInvi" + "tationRequest\0226\n\016agent_identity\030\001 \001(\0132\026." + "bgs.protocol.IdentityB\006\202\371+\002 \001\022)\n\ttarget_" + "id\030\002 \002(\0132\026.bgs.protocol.EntityId\022.\n\006para" + "ms\030\003 \002(\0132\036.bgs.protocol.InvitationParams" + "\"b\n\027RevokeInvitationRequest\0220\n\010agent_id\030" + "\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\025\n" + "\rinvitation_id\030\002 \001(\006\"\245\001\n\027AcceptInvitatio" + "nRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.protoco" + "l.EntityIdB\006\202\371+\002 \001\022\025\n\rinvitation_id\030\003 \002(" + "\006\022A\n\007options\030\004 \001(\01320.bgs.protocol.friend" + "s.v1.AcceptInvitationOptions\"c\n\030DeclineI" + "nvitationRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs" + ".protocol.EntityIdB\006\202\371+\002 \001\022\025\n\rinvitation" + "_id\030\003 \002(\006\"b\n\027IgnoreInvitationRequest\0220\n\010" + "agent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006" + "\202\371+\002 \001\022\025\n\rinvitation_id\030\003 \002(\006\"r\n\023RemoveF" + "riendRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.pro" + "tocol.EntityIdB\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(" + "\0132\026.bgs.protocol.EntityId\"O\n\033RevokeAllIn" + "vitationsRequest\0220\n\010agent_id\030\002 \001(\0132\026.bgs" + ".protocol.EntityIdB\006\202\371+\002\020\001\"q\n\022ViewFriend" + "sRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.protoco" + "l.EntityIdB\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026." + "bgs.protocol.EntityId\"O\n\023ViewFriendsResp" + "onse\0228\n\007friends\030\001 \003(\0132\'.bgs.protocol.fri" + "ends.v1.FriendOfFriend\"\243\001\n\030UpdateFriendS" + "tateRequest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.prot" + "ocol.EntityIdB\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\013" + "2\026.bgs.protocol.EntityId\022*\n\tattribute\030\003 " + "\003(\0132\027.bgs.protocol.Attribute\"H\n\024GetFrien" + "dListRequest\0220\n\010agent_id\030\002 \001(\0132\026.bgs.pro" + "tocol.EntityIdB\006\202\371+\002\020\001\"I\n\025GetFriendListR" + "esponse\0220\n\007friends\030\001 \003(\0132\037.bgs.protocol." + "friends.v1.Friend\"\224\001\n\027CreateFriendshipRe" + "quest\0220\n\010agent_id\030\001 \001(\0132\026.bgs.protocol.E" + "ntityIdB\006\202\371+\002\020\001\022)\n\ttarget_id\030\002 \001(\0132\026.bgs" + ".protocol.EntityId\022\034\n\004role\030\003 \003(\rB\016\020\001\212\371+\010" + "*\006\n\004\010\001\020\001\"q\n\022FriendNotification\022/\n\006target" + "\030\001 \002(\0132\037.bgs.protocol.friends.v1.Friend\022" + "*\n\naccount_id\030\005 \001(\0132\026.bgs.protocol.Entit" + "yId\"\204\001\n\035UpdateFriendStateNotification\0227\n" + "\016changed_friend\030\001 \002(\0132\037.bgs.protocol.fri" + "ends.v1.Friend\022*\n\naccount_id\030\005 \001(\0132\026.bgs" + ".protocol.EntityId\"\230\001\n\026InvitationNotific" + "ation\022\?\n\ninvitation\030\001 \002(\0132+.bgs.protocol" + ".friends.v1.ReceivedInvitation\022\021\n\006reason" + "\030\003 \001(\r:\0010\022*\n\naccount_id\030\005 \001(\0132\026.bgs.prot" + "ocol.EntityId\"\212\001\n\037SentInvitationAddedNot" + "ification\022*\n\naccount_id\030\001 \001(\0132\026.bgs.prot" + "ocol.EntityId\022;\n\ninvitation\030\002 \001(\0132\'.bgs." + "protocol.friends.v1.SentInvitation\"v\n!Se" + "ntInvitationRemovedNotification\022*\n\naccou" + "nt_id\030\001 \001(\0132\026.bgs.protocol.EntityId\022\025\n\ri" + "nvitation_id\030\002 \001(\006\022\016\n\006reason\030\003 \001(\r2\227\013\n\016F" + "riendsService\022l\n\tSubscribe\022).bgs.protoco" + "l.friends.v1.SubscribeRequest\032*.bgs.prot" + "ocol.friends.v1.SubscribeResponse\"\010\202\371+\004\010" + "\001\020\001\022`\n\016SendInvitation\022..bgs.protocol.fri" + "ends.v1.SendInvitationRequest\032\024.bgs.prot" + "ocol.NoData\"\010\202\371+\004\010\002\020\001\022d\n\020AcceptInvitatio" + "n\0220.bgs.protocol.friends.v1.AcceptInvita" + "tionRequest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010" + "\003\020\001\022d\n\020RevokeInvitation\0220.bgs.protocol.f" + "riends.v1.RevokeInvitationRequest\032\024.bgs." + "protocol.NoData\"\010\202\371+\004\010\004\020\001\022h\n\021DeclineInvi" + "tation\0221.bgs.protocol.friends.v1.Decline" + "InvitationRequest\032\024.bgs.protocol.NoData\"" + "\n\202\371+\006\010\005\020\001P\001\022d\n\020IgnoreInvitation\0220.bgs.pr" + "otocol.friends.v1.IgnoreInvitationReques" + "t\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\006\020\001\022\\\n\014Rem" + "oveFriend\022,.bgs.protocol.friends.v1.Remo" + "veFriendRequest\032\024.bgs.protocol.NoData\"\010\202" + "\371+\004\010\010\020\001\022r\n\013ViewFriends\022+.bgs.protocol.fr" + "iends.v1.ViewFriendsRequest\032,.bgs.protoc" + "ol.friends.v1.ViewFriendsResponse\"\010\202\371+\004\010" + "\t\020\001\022f\n\021UpdateFriendState\0221.bgs.protocol." + "friends.v1.UpdateFriendStateRequest\032\024.bg" + "s.protocol.NoData\"\010\202\371+\004\010\n\020\001\022Z\n\013Unsubscri" + "be\022+.bgs.protocol.friends.v1.Unsubscribe" + "Request\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\013\020\001\022" + "j\n\024RevokeAllInvitations\0224.bgs.protocol.f" + "riends.v1.RevokeAllInvitationsRequest\032\024." + "bgs.protocol.NoData\"\006\202\371+\002\010\014\022v\n\rGetFriend" + "List\022-.bgs.protocol.friends.v1.GetFriend" + "ListRequest\032..bgs.protocol.friends.v1.Ge" + "tFriendListResponse\"\006\202\371+\002\010\r\022b\n\020CreateFri" + "endship\0220.bgs.protocol.friends.v1.Create" + "FriendshipRequest\032\024.bgs.protocol.NoData\"" + "\006\202\371+\002\010\016\032;\202\371+1\n$bnet.protocol.friends.Fri" + "endsService*\007friends0\001\212\371+\002\020\0012\316\006\n\017Friends" + "Listener\022_\n\rOnFriendAdded\022+.bgs.protocol" + ".friends.v1.FriendNotification\032\031.bgs.pro" + "tocol.NO_RESPONSE\"\006\202\371+\002\010\001\022a\n\017OnFriendRem" + "oved\022+.bgs.protocol.friends.v1.FriendNot" + "ification\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371" + "+\002\010\002\022o\n\031OnReceivedInvitationAdded\022/.bgs." + "protocol.friends.v1.InvitationNotificati" + "on\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\003\022q\n" + "\033OnReceivedInvitationRemoved\022/.bgs.proto" + "col.friends.v1.InvitationNotification\032\031." + "bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\004\022t\n\025OnSe" + "ntInvitationAdded\0228.bgs.protocol.friends" + ".v1.SentInvitationAddedNotification\032\031.bg" + "s.protocol.NO_RESPONSE\"\006\202\371+\002\010\005\022x\n\027OnSent" + "InvitationRemoved\022:.bgs.protocol.friends" + ".v1.SentInvitationRemovedNotification\032\031." + "bgs.protocol.NO_RESPONSE\"\006\202\371+\002\010\006\022p\n\023OnUp" + "dateFriendState\0226.bgs.protocol.friends.v" + "1.UpdateFriendStateNotification\032\031.bgs.pr" + "otocol.NO_RESPONSE\"\006\202\371+\002\010\007\0321\202\371+\'\n#bnet.p" + "rotocol.friends.FriendsNotify8\001\212\371+\002\010\001B6\n" + "\027bgs.protocol.friends.v1B\023FriendsService" + "ProtoH\002\200\001\000\210\001\001", 4853); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "friends_service.proto", &protobuf_RegisterTypes); SubscribeRequest::default_instance_ = new SubscribeRequest(); diff --git a/src/server/proto/Client/friends_service.pb.h b/src/server/proto/Client/friends_service.pb.h index 1b5d9b3fbff..d89cb08c26c 100644 --- a/src/server/proto/Client/friends_service.pb.h +++ b/src/server/proto/Client/friends_service.pb.h @@ -27,7 +27,7 @@ #include "attribute_types.pb.h" #include "entity_types.pb.h" #include "friends_types.pb.h" -#include "invitation_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" #include "rpc_types.pb.h" #include "ServiceBase.h" #include "MessageBuffer.h" diff --git a/src/server/proto/Client/friends_types.pb.cc b/src/server/proto/Client/friends_types.pb.cc index 57db0de4ad3..2962c8dee7a 100644 --- a/src/server/proto/Client/friends_types.pb.cc +++ b/src/server/proto/Client/friends_types.pb.cc @@ -270,59 +270,59 @@ void protobuf_AddDesc_friends_5ftypes_2eproto() { ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_invitation_5ftypes_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_role_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\023friends_types.proto\022\027bgs.protocol.frie" "nds.v1\032%global_extensions/field_options." "proto\032\025attribute_types.proto\032\022entity_typ" - "es.proto\032\026invitation_types.proto\032\020role_t" - "ypes.proto\"\273\001\n\006Friend\022*\n\naccount_id\030\001 \002(" - "\0132\026.bgs.protocol.EntityId\022*\n\tattribute\030\002" - " \003(\0132\027.bgs.protocol.Attribute\022\020\n\004role\030\003 " - "\003(\rB\002\020\001\022\022\n\nprivileges\030\004 \001(\004\022\034\n\020attribute" - "s_epoch\030\005 \001(\004B\002\030\001\022\025\n\rcreation_time\030\006 \001(\004" - "\"\245\001\n\016FriendOfFriend\022*\n\naccount_id\030\001 \001(\0132" - "\026.bgs.protocol.EntityId\022\034\n\004role\030\003 \003(\rB\016\020" - "\001\212\371+\010*\006\n\004\010\001\020\001\022\022\n\nprivileges\030\004 \001(\004\022\031\n\tful" - "l_name\030\006 \001(\tB\006\202\371+\002\010\001\022\032\n\nbattle_tag\030\007 \001(\t" - "B\006\202\371+\002\010\001\"\357\001\n\022ReceivedInvitation\022\n\n\002id\030\001 " - "\002(\006\0220\n\020inviter_identity\030\002 \002(\0132\026.bgs.prot" - "ocol.Identity\0220\n\020invitee_identity\030\003 \002(\0132" - "\026.bgs.protocol.Identity\022\034\n\014inviter_name\030" - "\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_name\030\005 \001(\tB\006\202\371+" - "\002\010\001\022\025\n\rcreation_time\030\007 \001(\004\022\017\n\007program\030\t " - "\001(\007*\005\010d\020\220N\"\317\001\n\020FriendInvitation\022\034\n\004role\030" - "\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\tattribute\030\003 \003(\013" - "2\027.bgs.protocol.Attribute2q\n\021friend_invi" - "tation\022+.bgs.protocol.friends.v1.Receive" - "dInvitation\030g \001(\0132).bgs.protocol.friends" - ".v1.FriendInvitation\"\233\001\n\016SentInvitation\022" - "\n\n\002id\030\001 \001(\006\022\033\n\013target_name\030\002 \001(\tB\006\202\371+\002\010\001" - "\022\014\n\004role\030\003 \001(\r\022*\n\tattribute\030\004 \003(\0132\027.bgs." - "protocol.Attribute\022\025\n\rcreation_time\030\005 \001(" - "\004\022\017\n\007program\030\006 \001(\007\"\342\002\n\026FriendInvitationP" - "arams\022\034\n\014target_email\030\001 \001(\tB\006\202\371+\002\010\001\022!\n\021t" - "arget_battle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\034\n\004role\030\006" - " \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\tattribute\030\010 \003(\0132" - "\027.bgs.protocol.Attribute\022\033\n\013target_name\030" - "\t \001(\tB\006\202\371+\002\010\001\022\023\n\007program\030\n \001(\007B\002\030\001\022#\n\023ta" - "rget_phone_number\030\013 \001(\tB\006\202\371+\002\010\0012f\n\rfrien" - "d_params\022\036.bgs.protocol.InvitationParams" - "\030g \001(\0132/.bgs.protocol.friends.v1.FriendI" - "nvitationParams\"\326\002\n\021SubscribeResponse\022\027\n" - "\013max_friends\030\001 \001(\rB\002\030\001\022$\n\030max_received_i" - "nvitations\030\002 \001(\rB\002\030\001\022 \n\024max_sent_invitat" - "ions\030\003 \001(\rB\002\030\001\022 \n\004role\030\004 \003(\0132\022.bgs.proto" - "col.Role\0220\n\007friends\030\005 \003(\0132\037.bgs.protocol" - ".friends.v1.Friend\022I\n\024received_invitatio" - "ns\030\007 \003(\0132+.bgs.protocol.friends.v1.Recei" - "vedInvitation\022A\n\020sent_invitations\030\010 \003(\0132" - "\'.bgs.protocol.friends.v1.SentInvitation" - "\"F\n\027AcceptInvitationOptions\022\032\n\004role\030\001 \001(" - "\rB\014\212\371+\010\022\006\n\004\010\000\020\002\022\017\n\007program\030\002 \001(\007B.\n\027bgs." - "protocol.friends.v1B\021FriendsTypesProtoH\002" - "P\000", 1962); + "es.proto\032$api/common/v1/invitation_types" + ".proto\032\020role_types.proto\"\273\001\n\006Friend\022*\n\na" + "ccount_id\030\001 \002(\0132\026.bgs.protocol.EntityId\022" + "*\n\tattribute\030\002 \003(\0132\027.bgs.protocol.Attrib" + "ute\022\020\n\004role\030\003 \003(\rB\002\020\001\022\022\n\nprivileges\030\004 \001(" + "\004\022\034\n\020attributes_epoch\030\005 \001(\004B\002\030\001\022\025\n\rcreat" + "ion_time\030\006 \001(\004\"\245\001\n\016FriendOfFriend\022*\n\nacc" + "ount_id\030\001 \001(\0132\026.bgs.protocol.EntityId\022\034\n" + "\004role\030\003 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022\022\n\nprivilege" + "s\030\004 \001(\004\022\031\n\tfull_name\030\006 \001(\tB\006\202\371+\002\010\001\022\032\n\nba" + "ttle_tag\030\007 \001(\tB\006\202\371+\002\010\001\"\357\001\n\022ReceivedInvit" + "ation\022\n\n\002id\030\001 \002(\006\0220\n\020inviter_identity\030\002 " + "\002(\0132\026.bgs.protocol.Identity\0220\n\020invitee_i" + "dentity\030\003 \002(\0132\026.bgs.protocol.Identity\022\034\n" + "\014inviter_name\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_n" + "ame\030\005 \001(\tB\006\202\371+\002\010\001\022\025\n\rcreation_time\030\007 \001(\004" + "\022\017\n\007program\030\t \001(\007*\005\010d\020\220N\"\317\001\n\020FriendInvit" + "ation\022\034\n\004role\030\002 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\ta" + "ttribute\030\003 \003(\0132\027.bgs.protocol.Attribute2" + "q\n\021friend_invitation\022+.bgs.protocol.frie" + "nds.v1.ReceivedInvitation\030g \001(\0132).bgs.pr" + "otocol.friends.v1.FriendInvitation\"\233\001\n\016S" + "entInvitation\022\n\n\002id\030\001 \001(\006\022\033\n\013target_name" + "\030\002 \001(\tB\006\202\371+\002\010\001\022\014\n\004role\030\003 \001(\r\022*\n\tattribut" + "e\030\004 \003(\0132\027.bgs.protocol.Attribute\022\025\n\rcrea" + "tion_time\030\005 \001(\004\022\017\n\007program\030\006 \001(\007\"\342\002\n\026Fri" + "endInvitationParams\022\034\n\014target_email\030\001 \001(" + "\tB\006\202\371+\002\010\001\022!\n\021target_battle_tag\030\002 \001(\tB\006\202\371" + "+\002\010\001\022\034\n\004role\030\006 \003(\rB\016\020\001\212\371+\010*\006\n\004\010\001\020\001\022*\n\tat" + "tribute\030\010 \003(\0132\027.bgs.protocol.Attribute\022\033" + "\n\013target_name\030\t \001(\tB\006\202\371+\002\010\001\022\023\n\007program\030\n" + " \001(\007B\002\030\001\022#\n\023target_phone_number\030\013 \001(\tB\006\202" + "\371+\002\010\0012f\n\rfriend_params\022\036.bgs.protocol.In" + "vitationParams\030g \001(\0132/.bgs.protocol.frie" + "nds.v1.FriendInvitationParams\"\326\002\n\021Subscr" + "ibeResponse\022\027\n\013max_friends\030\001 \001(\rB\002\030\001\022$\n\030" + "max_received_invitations\030\002 \001(\rB\002\030\001\022 \n\024ma" + "x_sent_invitations\030\003 \001(\rB\002\030\001\022 \n\004role\030\004 \003" + "(\0132\022.bgs.protocol.Role\0220\n\007friends\030\005 \003(\0132" + "\037.bgs.protocol.friends.v1.Friend\022I\n\024rece" + "ived_invitations\030\007 \003(\0132+.bgs.protocol.fr" + "iends.v1.ReceivedInvitation\022A\n\020sent_invi" + "tations\030\010 \003(\0132\'.bgs.protocol.friends.v1." + "SentInvitation\"F\n\027AcceptInvitationOption" + "s\022\032\n\004role\030\001 \001(\rB\014\212\371+\010\022\006\n\004\010\000\020\002\022\017\n\007program" + "\030\002 \001(\007B.\n\027bgs.protocol.friends.v1B\021Frien" + "dsTypesProtoH\002P\000", 1976); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "friends_types.proto", &protobuf_RegisterTypes); Friend::default_instance_ = new Friend(); diff --git a/src/server/proto/Client/friends_types.pb.h b/src/server/proto/Client/friends_types.pb.h index 91139bb2856..0647d855748 100644 --- a/src/server/proto/Client/friends_types.pb.h +++ b/src/server/proto/Client/friends_types.pb.h @@ -27,7 +27,7 @@ #include "global_extensions/field_options.pb.h" // IWYU pragma: export #include "attribute_types.pb.h" #include "entity_types.pb.h" -#include "invitation_types.pb.h" +#include "api/common/v1/invitation_types.pb.h" #include "role_types.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) diff --git a/src/server/proto/Client/game_utilities_service.pb.cc b/src/server/proto/Client/game_utilities_service.pb.cc index 92013b5c1ed..1e31bd1559c 100644 --- a/src/server/proto/Client/game_utilities_service.pb.cc +++ b/src/server/proto/Client/game_utilities_service.pb.cc @@ -234,7 +234,7 @@ void protobuf_AssignDesc_game_5futilities_5fservice_2eproto() { sizeof(RegisterUtilitiesRequest)); RegisterUtilitiesResponse_descriptor_ = file->message_type(10); static const int RegisterUtilitiesResponse_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RegisterUtilitiesResponse, client_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RegisterUtilitiesResponse, ciid_), }; RegisterUtilitiesResponse_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -372,39 +372,39 @@ void protobuf_AddDesc_game_5futilities_5fservice_2eproto() { "e\030\001 \003(\0132\025.bgs.protocol.Variant\"a\n\030Regist" "erUtilitiesRequest\022*\n\tattribute\030\001 \003(\0132\027." "bgs.protocol.Attribute\022\031\n\007program\030\002 \001(\007B" - "\010\212\371+\004\022\002\020\000\".\n\031RegisterUtilitiesResponse\022\021" - "\n\tclient_id\030\001 \001(\t\"\034\n\032UnregisterUtilities" - "Request2\204\t\n\024GameUtilitiesService\022}\n\024Proc" - "essClientRequest\022-.bgs.protocol.game_uti" - "lities.v1.ClientRequest\032..bgs.protocol.g" - "ame_utilities.v1.ClientResponse\"\006\202\371+\002\010\001\022" - "u\n\026PresenceChannelCreated\022=.bgs.protocol" - ".game_utilities.v1.PresenceChannelCreate" - "dRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\002\022}" - "\n\024ProcessServerRequest\022-.bgs.protocol.ga" - "me_utilities.v1.ServerRequest\032..bgs.prot" - "ocol.game_utilities.v1.ServerResponse\"\006\202" - "\371+\002\010\006\022z\n\023OnGameAccountOnline\022=.bgs.proto" - "col.game_utilities.v1.GameAccountOnlineN" - "otification\032\031.bgs.protocol.NO_RESPONSE\"\t" - "\210\002\001\202\371+\002\010\007\022|\n\024OnGameAccountOffline\022>.bgs." - "protocol.game_utilities.v1.GameAccountOf" - "flineNotification\032\031.bgs.protocol.NO_RESP" - "ONSE\"\t\210\002\001\202\371+\002\010\010\022\245\001\n\030GetAllValuesForAttri" - "bute\022\?.bgs.protocol.game_utilities.v1.Ge" - "tAllValuesForAttributeRequest\032@.bgs.prot" - "ocol.game_utilities.v1.GetAllValuesForAt" - "tributeResponse\"\006\202\371+\002\010\n\022\222\001\n\021RegisterUtil" - "ities\0228.bgs.protocol.game_utilities.v1.R" - "egisterUtilitiesRequest\0329.bgs.protocol.g" - "ame_utilities.v1.RegisterUtilitiesRespon" - "se\"\010\202\371+\004\010\013\020\003\022v\n\023UnregisterUtilities\022:.bg" - "s.protocol.game_utilities.v1.UnregisterU" - "tilitiesRequest\032\031.bgs.protocol.NO_RESPON" - "SE\"\010\202\371+\004\010\014\020\003\032H\202\371+<\n*bnet.protocol.game_u" - "tilities.GameUtilities*\016game_utilities\212\371" - "+\004\010\001\020\001BC\n\036bgs.protocol.game_utilities.v1" - "B\031GameUtilitiesServiceProtoH\002\200\001\000\210\001\001", 2595); + "\010\212\371+\004\022\002\020\000\")\n\031RegisterUtilitiesResponse\022\014" + "\n\004ciid\030\001 \001(\t\"\034\n\032UnregisterUtilitiesReque" + "st2\204\t\n\024GameUtilitiesService\022}\n\024ProcessCl" + "ientRequest\022-.bgs.protocol.game_utilitie" + "s.v1.ClientRequest\032..bgs.protocol.game_u" + "tilities.v1.ClientResponse\"\006\202\371+\002\010\001\022u\n\026Pr" + "esenceChannelCreated\022=.bgs.protocol.game" + "_utilities.v1.PresenceChannelCreatedRequ" + "est\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\002\022}\n\024Pro" + "cessServerRequest\022-.bgs.protocol.game_ut" + "ilities.v1.ServerRequest\032..bgs.protocol." + "game_utilities.v1.ServerResponse\"\006\202\371+\002\010\006" + "\022z\n\023OnGameAccountOnline\022=.bgs.protocol.g" + "ame_utilities.v1.GameAccountOnlineNotifi" + "cation\032\031.bgs.protocol.NO_RESPONSE\"\t\210\002\001\202\371" + "+\002\010\007\022|\n\024OnGameAccountOffline\022>.bgs.proto" + "col.game_utilities.v1.GameAccountOffline" + "Notification\032\031.bgs.protocol.NO_RESPONSE\"" + "\t\210\002\001\202\371+\002\010\010\022\245\001\n\030GetAllValuesForAttribute\022" + "\?.bgs.protocol.game_utilities.v1.GetAllV" + "aluesForAttributeRequest\032@.bgs.protocol." + "game_utilities.v1.GetAllValuesForAttribu" + "teResponse\"\006\202\371+\002\010\n\022\222\001\n\021RegisterUtilities" + "\0228.bgs.protocol.game_utilities.v1.Regist" + "erUtilitiesRequest\0329.bgs.protocol.game_u" + "tilities.v1.RegisterUtilitiesResponse\"\010\202" + "\371+\004\010\013\020\003\022v\n\023UnregisterUtilities\022:.bgs.pro" + "tocol.game_utilities.v1.UnregisterUtilit" + "iesRequest\032\031.bgs.protocol.NO_RESPONSE\"\010\202" + "\371+\004\010\014\020\003\032H\202\371+<\n*bnet.protocol.game_utilit" + "ies.GameUtilities*\016game_utilities\212\371+\004\010\001\020" + "\001BC\n\036bgs.protocol.game_utilities.v1B\031Gam" + "eUtilitiesServiceProtoH\002\200\001\000\210\001\001", 2590); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "game_utilities_service.proto", &protobuf_RegisterTypes); ClientRequest::default_instance_ = new ClientRequest(); @@ -1211,7 +1211,7 @@ void RegisterUtilitiesRequest::Swap(RegisterUtilitiesRequest* other) { // =================================================================== #ifndef _MSC_VER -const int RegisterUtilitiesResponse::kClientIdFieldNumber; +const int RegisterUtilitiesResponse::kCiidFieldNumber; #endif // !_MSC_VER RegisterUtilitiesResponse::RegisterUtilitiesResponse() @@ -1233,7 +1233,7 @@ RegisterUtilitiesResponse::RegisterUtilitiesResponse(const RegisterUtilitiesResp void RegisterUtilitiesResponse::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -1243,8 +1243,8 @@ RegisterUtilitiesResponse::~RegisterUtilitiesResponse() { } void RegisterUtilitiesResponse::SharedDtor() { - if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete client_id_; + if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ciid_; } if (this != default_instance_) { } diff --git a/src/server/proto/Client/game_utilities_service.pb.h b/src/server/proto/Client/game_utilities_service.pb.h index 90cbde0c13d..b07cb4ebd45 100644 --- a/src/server/proto/Client/game_utilities_service.pb.h +++ b/src/server/proto/Client/game_utilities_service.pb.h @@ -930,28 +930,28 @@ class TC_PROTO_API RegisterUtilitiesResponse : public ::google::protobuf::Messag // accessors ------------------------------------------------------- - // optional string client_id = 1; - inline bool has_client_id() const; - inline void clear_client_id(); - static const int kClientIdFieldNumber = 1; - inline const ::std::string& client_id() const; - inline void set_client_id(const ::std::string& value); - inline void set_client_id(const char* value); - inline void set_client_id(const char* value, size_t size); - inline ::std::string* mutable_client_id(); - inline ::std::string* release_client_id(); - inline void set_allocated_client_id(::std::string* client_id); + // optional string ciid = 1; + inline bool has_ciid() const; + inline void clear_ciid(); + static const int kCiidFieldNumber = 1; + inline const ::std::string& ciid() const; + inline void set_ciid(const ::std::string& value); + inline void set_ciid(const char* value); + inline void set_ciid(const char* value, size_t size); + inline ::std::string* mutable_ciid(); + inline ::std::string* release_ciid(); + inline void set_allocated_ciid(::std::string* ciid); // @@protoc_insertion_point(class_scope:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse) private: - inline void set_has_client_id(); - inline void clear_has_client_id(); + inline void set_has_ciid(); + inline void clear_has_ciid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::std::string* client_id_; + ::std::string* ciid_; friend void TC_PROTO_API protobuf_AddDesc_game_5futilities_5fservice_2eproto(); friend void protobuf_AssignDesc_game_5futilities_5fservice_2eproto(); friend void protobuf_ShutdownFile_game_5futilities_5fservice_2eproto(); @@ -1986,80 +1986,80 @@ inline void RegisterUtilitiesRequest::set_program(::google::protobuf::uint32 val // RegisterUtilitiesResponse -// optional string client_id = 1; -inline bool RegisterUtilitiesResponse::has_client_id() const { +// optional string ciid = 1; +inline bool RegisterUtilitiesResponse::has_ciid() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void RegisterUtilitiesResponse::set_has_client_id() { +inline void RegisterUtilitiesResponse::set_has_ciid() { _has_bits_[0] |= 0x00000001u; } -inline void RegisterUtilitiesResponse::clear_has_client_id() { +inline void RegisterUtilitiesResponse::clear_has_ciid() { _has_bits_[0] &= ~0x00000001u; } -inline void RegisterUtilitiesResponse::clear_client_id() { - if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - client_id_->clear(); +inline void RegisterUtilitiesResponse::clear_ciid() { + if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ciid_->clear(); } - clear_has_client_id(); + clear_has_ciid(); } -inline const ::std::string& RegisterUtilitiesResponse::client_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) - return *client_id_; +inline const ::std::string& RegisterUtilitiesResponse::ciid() const { + // @@protoc_insertion_point(field_get:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) + return *ciid_; } -inline void RegisterUtilitiesResponse::set_client_id(const ::std::string& value) { - set_has_client_id(); - if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - client_id_ = new ::std::string; +inline void RegisterUtilitiesResponse::set_ciid(const ::std::string& value) { + set_has_ciid(); + if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ciid_ = new ::std::string; } - client_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) + ciid_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) } -inline void RegisterUtilitiesResponse::set_client_id(const char* value) { - set_has_client_id(); - if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - client_id_ = new ::std::string; +inline void RegisterUtilitiesResponse::set_ciid(const char* value) { + set_has_ciid(); + if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ciid_ = new ::std::string; } - client_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) + ciid_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) } -inline void RegisterUtilitiesResponse::set_client_id(const char* value, size_t size) { - set_has_client_id(); - if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - client_id_ = new ::std::string; +inline void RegisterUtilitiesResponse::set_ciid(const char* value, size_t size) { + set_has_ciid(); + if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ciid_ = new ::std::string; } - client_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) + ciid_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) } -inline ::std::string* RegisterUtilitiesResponse::mutable_client_id() { - set_has_client_id(); - if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - client_id_ = new ::std::string; +inline ::std::string* RegisterUtilitiesResponse::mutable_ciid() { + set_has_ciid(); + if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + ciid_ = new ::std::string; } - // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) - return client_id_; + // @@protoc_insertion_point(field_mutable:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) + return ciid_; } -inline ::std::string* RegisterUtilitiesResponse::release_client_id() { - clear_has_client_id(); - if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { +inline ::std::string* RegisterUtilitiesResponse::release_ciid() { + clear_has_ciid(); + if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { - ::std::string* temp = client_id_; - client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::std::string* temp = ciid_; + ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } -inline void RegisterUtilitiesResponse::set_allocated_client_id(::std::string* client_id) { - if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete client_id_; +inline void RegisterUtilitiesResponse::set_allocated_ciid(::std::string* ciid) { + if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete ciid_; } - if (client_id) { - set_has_client_id(); - client_id_ = client_id; + if (ciid) { + set_has_ciid(); + ciid_ = ciid; } else { - clear_has_client_id(); - client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_ciid(); + ciid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.client_id) + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.game_utilities.v1.RegisterUtilitiesResponse.ciid) } // ------------------------------------------------------------------- diff --git a/src/server/proto/Client/global_extensions/field_options.pb.cc b/src/server/proto/Client/global_extensions/field_options.pb.cc index 7fdb22a23bb..20e3287ad78 100644 --- a/src/server/proto/Client/global_extensions/field_options.pb.cc +++ b/src/server/proto/Client/global_extensions/field_options.pb.cc @@ -67,6 +67,9 @@ const ::google::protobuf::EnumDescriptor* EntityIdRestriction_Kind_descriptor_ = const ::google::protobuf::Descriptor* MessageFieldRestriction_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* MessageFieldRestriction_reflection_ = NULL; +const ::google::protobuf::Descriptor* SDKFieldOptions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SDKFieldOptions_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* LogOption_descriptor_ = NULL; } // namespace @@ -242,6 +245,21 @@ void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MessageFieldRestriction)); + SDKFieldOptions_descriptor_ = file->message_type(9); + static const int SDKFieldOptions_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKFieldOptions, deprecated_32_bit_), + }; + SDKFieldOptions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SDKFieldOptions_descriptor_, + SDKFieldOptions::default_instance_, + SDKFieldOptions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKFieldOptions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKFieldOptions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SDKFieldOptions)); LogOption_descriptor_ = file->enum_type(0); } @@ -273,6 +291,8 @@ void protobuf_RegisterTypes(const ::std::string&) { EntityIdRestriction_descriptor_, &EntityIdRestriction::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( MessageFieldRestriction_descriptor_, &MessageFieldRestriction::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SDKFieldOptions_descriptor_, &SDKFieldOptions::default_instance()); } } // namespace @@ -298,6 +318,8 @@ void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto() { delete EntityIdRestriction_reflection_; delete MessageFieldRestriction::default_instance_; delete MessageFieldRestriction_reflection_; + delete SDKFieldOptions::default_instance_; + delete SDKFieldOptions_reflection_; } void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() { @@ -353,13 +375,16 @@ void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() { "Kind\022\007\n\003ANY\020\000\022\013\n\007ACCOUNT\020\001\022\020\n\014GAME_ACCOU" "NT\020\002\022\033\n\027ACCOUNT_OR_GAME_ACCOUNT\020\003\022\013\n\007SER" "VICE\020\004\022\013\n\007CHANNEL\020\005\")\n\027MessageFieldRestr" - "iction\022\016\n\006needed\030\001 \001(\010* \n\tLogOption\022\n\n\006H" - "IDDEN\020\001\022\007\n\003HEX\020\002:U\n\rfield_options\022\035.goog" - "le.protobuf.FieldOptions\030\220\277\005 \001(\0132\035.bgs.p" - "rotocol.BGSFieldOptions:N\n\005valid\022\035.googl" - "e.protobuf.FieldOptions\030\221\277\005 \001(\0132\036.bgs.pr" - "otocol.FieldRestrictionB#\n\014bgs.protocolB" - "\021FieldOptionsProtoH\002", 2020); + "iction\022\016\n\006needed\030\001 \001(\010\",\n\017SDKFieldOption" + "s\022\031\n\021deprecated_32_bit\030\004 \001(\010* \n\tLogOptio" + "n\022\n\n\006HIDDEN\020\001\022\007\n\003HEX\020\002:U\n\rfield_options\022" + "\035.google.protobuf.FieldOptions\030\220\277\005 \001(\0132\035" + ".bgs.protocol.BGSFieldOptions:N\n\005valid\022\035" + ".google.protobuf.FieldOptions\030\221\277\005 \001(\0132\036." + "bgs.protocol.FieldRestriction:Y\n\021sdk_fie" + "ld_options\022\035.google.protobuf.FieldOption" + "s\030\222\277\005 \001(\0132\035.bgs.protocol.SDKFieldOptions" + "B#\n\014bgs.protocolB\021FieldOptionsProtoH\002", 2157); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "global_extensions/field_options.proto", &protobuf_RegisterTypes); BGSFieldOptions::default_instance_ = new BGSFieldOptions(); @@ -373,6 +398,7 @@ void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() { StringFieldRestriction::default_instance_ = new StringFieldRestriction(); EntityIdRestriction::default_instance_ = new EntityIdRestriction(); MessageFieldRestriction::default_instance_ = new MessageFieldRestriction(); + SDKFieldOptions::default_instance_ = new SDKFieldOptions(); ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( &::google::protobuf::FieldOptions::default_instance(), 90000, 11, false, false, @@ -381,6 +407,10 @@ void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() { &::google::protobuf::FieldOptions::default_instance(), 90001, 11, false, false, &::bgs::protocol::FieldRestriction::default_instance()); + ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( + &::google::protobuf::FieldOptions::default_instance(), + 90002, 11, false, false, + &::bgs::protocol::SDKFieldOptions::default_instance()); BGSFieldOptions::default_instance_->InitAsDefaultInstance(); FieldRestriction::default_instance_->InitAsDefaultInstance(); RepeatedFieldRestriction::default_instance_->InitAsDefaultInstance(); @@ -390,6 +420,7 @@ void protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto() { StringFieldRestriction::default_instance_->InitAsDefaultInstance(); EntityIdRestriction::default_instance_->InitAsDefaultInstance(); MessageFieldRestriction::default_instance_->InitAsDefaultInstance(); + SDKFieldOptions::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto); } @@ -1229,12 +1260,87 @@ void MessageFieldRestriction::Swap(MessageFieldRestriction* other) { return metadata; } +// =================================================================== + +#ifndef _MSC_VER +const int SDKFieldOptions::kDeprecated32BitFieldNumber; +#endif // !_MSC_VER + +SDKFieldOptions::SDKFieldOptions() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:bgs.protocol.SDKFieldOptions) +} + +void SDKFieldOptions::InitAsDefaultInstance() { +} + +SDKFieldOptions::SDKFieldOptions(const SDKFieldOptions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:bgs.protocol.SDKFieldOptions) +} + +void SDKFieldOptions::SharedCtor() { + _cached_size_ = 0; + deprecated_32_bit_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SDKFieldOptions::~SDKFieldOptions() { + // @@protoc_insertion_point(destructor:bgs.protocol.SDKFieldOptions) + SharedDtor(); +} + +void SDKFieldOptions::SharedDtor() { + if (this != default_instance_) { + } +} + +void SDKFieldOptions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SDKFieldOptions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SDKFieldOptions_descriptor_; +} + +const SDKFieldOptions& SDKFieldOptions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + return *default_instance_; +} + +SDKFieldOptions* SDKFieldOptions::default_instance_ = NULL; + +SDKFieldOptions* SDKFieldOptions::New() const { + return new SDKFieldOptions; +} + +void SDKFieldOptions::Swap(SDKFieldOptions* other) { + if (other != this) { + GetReflection()->Swap(this, other);} +} + +::google::protobuf::Metadata SDKFieldOptions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SDKFieldOptions_descriptor_; + metadata.reflection = SDKFieldOptions_reflection_; + return metadata; +} + ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSFieldOptions >, 11, false > field_options(kFieldOptionsFieldNumber, ::bgs::protocol::BGSFieldOptions::default_instance()); ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::FieldRestriction >, 11, false > valid(kValidFieldNumber, ::bgs::protocol::FieldRestriction::default_instance()); +::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, + ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKFieldOptions >, 11, false > + sdk_field_options(kSdkFieldOptionsFieldNumber, ::bgs::protocol::SDKFieldOptions::default_instance()); // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/global_extensions/field_options.pb.h b/src/server/proto/Client/global_extensions/field_options.pb.h index f5007f4bb6b..85c438b070f 100644 --- a/src/server/proto/Client/global_extensions/field_options.pb.h +++ b/src/server/proto/Client/global_extensions/field_options.pb.h @@ -47,6 +47,7 @@ class FloatFieldRestriction; class StringFieldRestriction; class EntityIdRestriction; class MessageFieldRestriction; +class SDKFieldOptions; enum EntityIdRestriction_Kind { EntityIdRestriction_Kind_ANY = 0, @@ -1027,6 +1028,72 @@ class TC_PROTO_API MessageFieldRestriction : public ::google::protobuf::Message void InitAsDefaultInstance(); static MessageFieldRestriction* default_instance_; }; +// ------------------------------------------------------------------- + +class TC_PROTO_API SDKFieldOptions : public ::google::protobuf::Message { + public: + SDKFieldOptions(); + virtual ~SDKFieldOptions(); + + SDKFieldOptions(const SDKFieldOptions& from); + + inline SDKFieldOptions& operator=(const SDKFieldOptions& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const SDKFieldOptions& default_instance(); + + void Swap(SDKFieldOptions* other); + + // implements Message ---------------------------------------------- + + SDKFieldOptions* New() const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool deprecated_32_bit = 4; + inline bool has_deprecated_32_bit() const; + inline void clear_deprecated_32_bit(); + static const int kDeprecated32BitFieldNumber = 4; + inline bool deprecated_32_bit() const; + inline void set_deprecated_32_bit(bool value); + + // @@protoc_insertion_point(class_scope:bgs.protocol.SDKFieldOptions) + private: + inline void set_has_deprecated_32_bit(); + inline void clear_has_deprecated_32_bit(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool deprecated_32_bit_; + friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto(); + friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto(); + + void InitAsDefaultInstance(); + static SDKFieldOptions* default_instance_; +}; // =================================================================== // =================================================================== @@ -1039,6 +1106,10 @@ static const int kValidFieldNumber = 90001; TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::FieldRestriction >, 11, false > valid; +static const int kSdkFieldOptionsFieldNumber = 90002; +TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, + ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKFieldOptions >, 11, false > + sdk_field_options; // =================================================================== @@ -2315,6 +2386,34 @@ inline void MessageFieldRestriction::set_needed(bool value) { // @@protoc_insertion_point(field_set:bgs.protocol.MessageFieldRestriction.needed) } +// ------------------------------------------------------------------- + +// SDKFieldOptions + +// optional bool deprecated_32_bit = 4; +inline bool SDKFieldOptions::has_deprecated_32_bit() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SDKFieldOptions::set_has_deprecated_32_bit() { + _has_bits_[0] |= 0x00000001u; +} +inline void SDKFieldOptions::clear_has_deprecated_32_bit() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SDKFieldOptions::clear_deprecated_32_bit() { + deprecated_32_bit_ = false; + clear_has_deprecated_32_bit(); +} +inline bool SDKFieldOptions::deprecated_32_bit() const { + // @@protoc_insertion_point(field_get:bgs.protocol.SDKFieldOptions.deprecated_32_bit) + return deprecated_32_bit_; +} +inline void SDKFieldOptions::set_deprecated_32_bit(bool value) { + set_has_deprecated_32_bit(); + deprecated_32_bit_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.SDKFieldOptions.deprecated_32_bit) +} + // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/global_extensions/method_options.pb.cc b/src/server/proto/Client/global_extensions/method_options.pb.cc index c585877cae5..92736165dc8 100644 --- a/src/server/proto/Client/global_extensions/method_options.pb.cc +++ b/src/server/proto/Client/global_extensions/method_options.pb.cc @@ -34,7 +34,7 @@ void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto() { "global_extensions/method_options.proto"); GOOGLE_CHECK(file != NULL); BGSMethodOptions_descriptor_ = file->message_type(0); - static const int BGSMethodOptions_offsets_[12] = { + static const int BGSMethodOptions_offsets_[13] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, client_identity_routing_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, enable_fanout_), @@ -47,6 +47,7 @@ void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto() { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, obsolete_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, client_register_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, forward_key_proto_file_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BGSMethodOptions, forward_shard_name_), }; BGSMethodOptions_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -96,7 +97,7 @@ void protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto() { "\022\014bgs.protocol\032 google/protobuf/descript" "or.proto\032\037global_extensions/routing.prot" "o\032-global_extensions/register_method_typ" - "es.proto\"\254\003\n\020BGSMethodOptions\022\n\n\002id\030\001 \001(" + "es.proto\"\310\003\n\020BGSMethodOptions\022\n\n\002id\030\001 \001(" "\r\022H\n\027client_identity_routing\030\002 \001(\0162\'.bgs" ".protocol.ClientIdentityRoutingType\022\025\n\re" "nable_fanout\030\003 \001(\010\022!\n\031legacy_fanout_repl" @@ -106,11 +107,11 @@ void protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto() { "\030\010 \001(\t\022\037\n\027explicit_region_routing\030\t \001(\010\022" "\020\n\010obsolete\030\n \001(\010\022D\n\024client_register_typ" "e\030\013 \001(\0162&.bgs.protocol.ClientRegisterMet" - "hodType\022\036\n\026forward_key_proto_file\030\014 \001(\t:" - "X\n\016method_options\022\036.google.protobuf.Meth" - "odOptions\030\220\277\005 \001(\0132\036.bgs.protocol.BGSMeth" - "odOptionsB$\n\014bgs.protocolB\022MethodOptions" - "ProtoH\002", 727); + "hodType\022\036\n\026forward_key_proto_file\030\014 \001(\t\022" + "\032\n\022forward_shard_name\030\r \001(\t:X\n\016method_op" + "tions\022\036.google.protobuf.MethodOptions\030\220\277" + "\005 \001(\0132\036.bgs.protocol.BGSMethodOptionsB$\n" + "\014bgs.protocolB\022MethodOptionsProtoH\002", 755); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "global_extensions/method_options.proto", &protobuf_RegisterTypes); BGSMethodOptions::default_instance_ = new BGSMethodOptions(); @@ -143,6 +144,7 @@ const int BGSMethodOptions::kExplicitRegionRoutingFieldNumber; const int BGSMethodOptions::kObsoleteFieldNumber; const int BGSMethodOptions::kClientRegisterTypeFieldNumber; const int BGSMethodOptions::kForwardKeyProtoFileFieldNumber; +const int BGSMethodOptions::kForwardShardNameFieldNumber; #endif // !_MSC_VER BGSMethodOptions::BGSMethodOptions() @@ -176,6 +178,7 @@ void BGSMethodOptions::SharedCtor() { obsolete_ = false; client_register_type_ = 0; forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + forward_shard_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -197,6 +200,9 @@ void BGSMethodOptions::SharedDtor() { if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete forward_key_proto_file_; } + if (forward_shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete forward_shard_name_; + } if (this != default_instance_) { } } diff --git a/src/server/proto/Client/global_extensions/method_options.pb.h b/src/server/proto/Client/global_extensions/method_options.pb.h index 467890d838d..e224d7fb493 100644 --- a/src/server/proto/Client/global_extensions/method_options.pb.h +++ b/src/server/proto/Client/global_extensions/method_options.pb.h @@ -186,6 +186,18 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message { inline ::std::string* release_forward_key_proto_file(); inline void set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file); + // optional string forward_shard_name = 13; + inline bool has_forward_shard_name() const; + inline void clear_forward_shard_name(); + static const int kForwardShardNameFieldNumber = 13; + inline const ::std::string& forward_shard_name() const; + inline void set_forward_shard_name(const ::std::string& value); + inline void set_forward_shard_name(const char* value); + inline void set_forward_shard_name(const char* value, size_t size); + inline ::std::string* mutable_forward_shard_name(); + inline ::std::string* release_forward_shard_name(); + inline void set_allocated_forward_shard_name(::std::string* forward_shard_name); + // @@protoc_insertion_point(class_scope:bgs.protocol.BGSMethodOptions) private: inline void set_has_id(); @@ -212,6 +224,8 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message { inline void clear_has_client_register_type(); inline void set_has_forward_key_proto_file(); inline void clear_has_forward_key_proto_file(); + inline void set_has_forward_shard_name(); + inline void clear_has_forward_shard_name(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -228,6 +242,7 @@ class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message { bool obsolete_; ::std::string* custom_region_resolver_; ::std::string* forward_key_proto_file_; + ::std::string* forward_shard_name_; int client_register_type_; friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto(); friend void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto(); @@ -747,6 +762,82 @@ inline void BGSMethodOptions::set_allocated_forward_key_proto_file(::std::string // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.forward_key_proto_file) } +// optional string forward_shard_name = 13; +inline bool BGSMethodOptions::has_forward_shard_name() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void BGSMethodOptions::set_has_forward_shard_name() { + _has_bits_[0] |= 0x00001000u; +} +inline void BGSMethodOptions::clear_has_forward_shard_name() { + _has_bits_[0] &= ~0x00001000u; +} +inline void BGSMethodOptions::clear_forward_shard_name() { + if (forward_shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + forward_shard_name_->clear(); + } + clear_has_forward_shard_name(); +} +inline const ::std::string& BGSMethodOptions::forward_shard_name() const { + // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.forward_shard_name) + return *forward_shard_name_; +} +inline void BGSMethodOptions::set_forward_shard_name(const ::std::string& value) { + set_has_forward_shard_name(); + if (forward_shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + forward_shard_name_ = new ::std::string; + } + forward_shard_name_->assign(value); + // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.forward_shard_name) +} +inline void BGSMethodOptions::set_forward_shard_name(const char* value) { + set_has_forward_shard_name(); + if (forward_shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + forward_shard_name_ = new ::std::string; + } + forward_shard_name_->assign(value); + // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.forward_shard_name) +} +inline void BGSMethodOptions::set_forward_shard_name(const char* value, size_t size) { + set_has_forward_shard_name(); + if (forward_shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + forward_shard_name_ = new ::std::string; + } + forward_shard_name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.forward_shard_name) +} +inline ::std::string* BGSMethodOptions::mutable_forward_shard_name() { + set_has_forward_shard_name(); + if (forward_shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + forward_shard_name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.forward_shard_name) + return forward_shard_name_; +} +inline ::std::string* BGSMethodOptions::release_forward_shard_name() { + clear_has_forward_shard_name(); + if (forward_shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = forward_shard_name_; + forward_shard_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void BGSMethodOptions::set_allocated_forward_shard_name(::std::string* forward_shard_name) { + if (forward_shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete forward_shard_name_; + } + if (forward_shard_name) { + set_has_forward_shard_name(); + forward_shard_name_ = forward_shard_name; + } else { + clear_has_forward_shard_name(); + forward_shard_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.forward_shard_name) +} + // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/global_extensions/service_options.pb.cc b/src/server/proto/Client/global_extensions/service_options.pb.cc index e63be92a696..a3b45d71a2f 100644 --- a/src/server/proto/Client/global_extensions/service_options.pb.cc +++ b/src/server/proto/Client/global_extensions/service_options.pb.cc @@ -60,10 +60,12 @@ void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto() { sizeof(BGSServiceOptions)); BGSServiceOptions_ServiceType_descriptor_ = BGSServiceOptions_descriptor_->enum_type(0); SDKServiceOptions_descriptor_ = file->message_type(1); - static const int SDKServiceOptions_offsets_[3] = { + static const int SDKServiceOptions_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKServiceOptions, inbound_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKServiceOptions, outbound_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKServiceOptions, use_client_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKServiceOptions, deprecated_32_bit_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SDKServiceOptions, obsolete_), }; SDKServiceOptions_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -121,15 +123,16 @@ void protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto() { "\001(\t\022\021\n\tis_global\030\t \001(\010\"z\n\013ServiceType\022\024\n" "\020SERVICE_TYPE_RPC\020\000\022\033\n\027SERVICE_TYPE_RPC_" "DIRECT\020\001\022\026\n\022SERVICE_TYPE_EVENT\020\002\022 \n\034SERV" - "ICE_TYPE_EVENT_BROADCAST\020\003\"M\n\021SDKService" + "ICE_TYPE_EVENT_BROADCAST\020\003\"z\n\021SDKService" "Options\022\017\n\007inbound\030\001 \001(\010\022\020\n\010outbound\030\002 \001" - "(\010\022\025\n\ruse_client_id\030\003 \001(\010:[\n\017service_opt" - "ions\022\037.google.protobuf.ServiceOptions\030\220\277" - "\005 \001(\0132\037.bgs.protocol.BGSServiceOptions:_" - "\n\023sdk_service_options\022\037.google.protobuf." - "ServiceOptions\030\221\277\005 \001(\0132\037.bgs.protocol.SD" - "KServiceOptionsB%\n\014bgs.protocolB\023Service" - "OptionsProtoH\002", 734); + "(\010\022\025\n\ruse_client_id\030\003 \001(\010\022\031\n\021deprecated_" + "32_bit\030\004 \001(\010\022\020\n\010obsolete\030\005 \001(\010:[\n\017servic" + "e_options\022\037.google.protobuf.ServiceOptio" + "ns\030\220\277\005 \001(\0132\037.bgs.protocol.BGSServiceOpti" + "ons:_\n\023sdk_service_options\022\037.google.prot" + "obuf.ServiceOptions\030\221\277\005 \001(\0132\037.bgs.protoc" + "ol.SDKServiceOptionsB%\n\014bgs.protocolB\023Se" + "rviceOptionsProtoH\002", 779); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "global_extensions/service_options.proto", &protobuf_RegisterTypes); BGSServiceOptions::default_instance_ = new BGSServiceOptions(); @@ -278,6 +281,8 @@ void BGSServiceOptions::Swap(BGSServiceOptions* other) { const int SDKServiceOptions::kInboundFieldNumber; const int SDKServiceOptions::kOutboundFieldNumber; const int SDKServiceOptions::kUseClientIdFieldNumber; +const int SDKServiceOptions::kDeprecated32BitFieldNumber; +const int SDKServiceOptions::kObsoleteFieldNumber; #endif // !_MSC_VER SDKServiceOptions::SDKServiceOptions() @@ -301,6 +306,8 @@ void SDKServiceOptions::SharedCtor() { inbound_ = false; outbound_ = false; use_client_id_ = false; + deprecated_32_bit_ = false; + obsolete_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } diff --git a/src/server/proto/Client/global_extensions/service_options.pb.h b/src/server/proto/Client/global_extensions/service_options.pb.h index 58177f4a4b9..17c70ffecf3 100644 --- a/src/server/proto/Client/global_extensions/service_options.pb.h +++ b/src/server/proto/Client/global_extensions/service_options.pb.h @@ -291,6 +291,20 @@ class TC_PROTO_API SDKServiceOptions : public ::google::protobuf::Message { inline bool use_client_id() const; inline void set_use_client_id(bool value); + // optional bool deprecated_32_bit = 4; + inline bool has_deprecated_32_bit() const; + inline void clear_deprecated_32_bit(); + static const int kDeprecated32BitFieldNumber = 4; + inline bool deprecated_32_bit() const; + inline void set_deprecated_32_bit(bool value); + + // optional bool obsolete = 5; + inline bool has_obsolete() const; + inline void clear_obsolete(); + static const int kObsoleteFieldNumber = 5; + inline bool obsolete() const; + inline void set_obsolete(bool value); + // @@protoc_insertion_point(class_scope:bgs.protocol.SDKServiceOptions) private: inline void set_has_inbound(); @@ -299,6 +313,10 @@ class TC_PROTO_API SDKServiceOptions : public ::google::protobuf::Message { inline void clear_has_outbound(); inline void set_has_use_client_id(); inline void clear_has_use_client_id(); + inline void set_has_deprecated_32_bit(); + inline void clear_has_deprecated_32_bit(); + inline void set_has_obsolete(); + inline void clear_has_obsolete(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -307,6 +325,8 @@ class TC_PROTO_API SDKServiceOptions : public ::google::protobuf::Message { bool inbound_; bool outbound_; bool use_client_id_; + bool deprecated_32_bit_; + bool obsolete_; friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto(); friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto(); friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto(); @@ -732,6 +752,54 @@ inline void SDKServiceOptions::set_use_client_id(bool value) { // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.use_client_id) } +// optional bool deprecated_32_bit = 4; +inline bool SDKServiceOptions::has_deprecated_32_bit() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void SDKServiceOptions::set_has_deprecated_32_bit() { + _has_bits_[0] |= 0x00000008u; +} +inline void SDKServiceOptions::clear_has_deprecated_32_bit() { + _has_bits_[0] &= ~0x00000008u; +} +inline void SDKServiceOptions::clear_deprecated_32_bit() { + deprecated_32_bit_ = false; + clear_has_deprecated_32_bit(); +} +inline bool SDKServiceOptions::deprecated_32_bit() const { + // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.deprecated_32_bit) + return deprecated_32_bit_; +} +inline void SDKServiceOptions::set_deprecated_32_bit(bool value) { + set_has_deprecated_32_bit(); + deprecated_32_bit_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.deprecated_32_bit) +} + +// optional bool obsolete = 5; +inline bool SDKServiceOptions::has_obsolete() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void SDKServiceOptions::set_has_obsolete() { + _has_bits_[0] |= 0x00000010u; +} +inline void SDKServiceOptions::clear_has_obsolete() { + _has_bits_[0] &= ~0x00000010u; +} +inline void SDKServiceOptions::clear_obsolete() { + obsolete_ = false; + clear_has_obsolete(); +} +inline bool SDKServiceOptions::obsolete() const { + // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.obsolete) + return obsolete_; +} +inline void SDKServiceOptions::set_obsolete(bool value) { + set_has_obsolete(); + obsolete_ = value; + // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.obsolete) +} + // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/invitation_types.pb.cc b/src/server/proto/Client/invitation_types.pb.cc index 800d4a6439d..a5064c09ac4 100644 --- a/src/server/proto/Client/invitation_types.pb.cc +++ b/src/server/proto/Client/invitation_types.pb.cc @@ -16,68 +16,12 @@ #include // @@protoc_insertion_point(includes) -namespace bgs { -namespace protocol { - -namespace { - -const ::google::protobuf::Descriptor* Invitation_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Invitation_reflection_ = NULL; -const ::google::protobuf::Descriptor* InvitationParams_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - InvitationParams_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor_ = NULL; - -} // namespace - void protobuf_AssignDesc_invitation_5ftypes_2eproto() { protobuf_AddDesc_invitation_5ftypes_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "invitation_types.proto"); GOOGLE_CHECK(file != NULL); - Invitation_descriptor_ = file->message_type(0); - static const int Invitation_offsets_[8] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_identity_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_identity_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, inviter_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitee_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, invitation_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, creation_time_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, expiration_time_), - }; - Invitation_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Invitation_descriptor_, - Invitation::default_instance_, - Invitation_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _unknown_fields_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Invitation, _extensions_), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Invitation)); - InvitationParams_descriptor_ = file->message_type(1); - static const int InvitationParams_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, invitation_message_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, expiration_time_), - }; - InvitationParams_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - InvitationParams_descriptor_, - InvitationParams::default_instance_, - InvitationParams_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _unknown_fields_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InvitationParams, _extensions_), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(InvitationParams)); - InvitationRemovedReason_descriptor_ = file->enum_type(0); - SuggestionRemovedReason_descriptor_ = file->enum_type(1); } namespace { @@ -90,19 +34,11 @@ inline void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Invitation_descriptor_, &Invitation::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - InvitationParams_descriptor_, &InvitationParams::default_instance()); } } // namespace void protobuf_ShutdownFile_invitation_5ftypes_2eproto() { - delete Invitation::default_instance_; - delete Invitation_reflection_; - delete InvitationParams::default_instance_; - delete InvitationParams_reflection_; } void protobuf_AddDesc_invitation_5ftypes_2eproto() { @@ -111,39 +47,12 @@ void protobuf_AddDesc_invitation_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; - ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2finvitation_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\026invitation_types.proto\022\014bgs.protocol\032\022" - "entity_types.proto\032%global_extensions/fi" - "eld_options.proto\"\213\002\n\nInvitation\022\n\n\002id\030\001" - " \002(\006\0220\n\020inviter_identity\030\002 \002(\0132\026.bgs.pro" - "tocol.Identity\0220\n\020invitee_identity\030\003 \002(\013" - "2\026.bgs.protocol.Identity\022\034\n\014inviter_name" - "\030\004 \001(\tB\006\202\371+\002\010\001\022\034\n\014invitee_name\030\005 \001(\tB\006\202\371" - "+\002\010\001\022\032\n\022invitation_message\030\006 \001(\t\022\025\n\rcrea" - "tion_time\030\007 \001(\004\022\027\n\017expiration_time\030\010 \001(\004" - "*\005\010d\020\220N\"R\n\020InvitationParams\022\036\n\022invitatio" - "n_message\030\001 \001(\tB\002\030\001\022\027\n\017expiration_time\030\002" - " \001(\004*\005\010d\020\220N*\206\002\n\027InvitationRemovedReason\022" - "&\n\"INVITATION_REMOVED_REASON_ACCEPTED\020\000\022" - "&\n\"INVITATION_REMOVED_REASON_DECLINED\020\001\022" - "%\n!INVITATION_REMOVED_REASON_REVOKED\020\002\022%" - "\n!INVITATION_REMOVED_REASON_IGNORED\020\003\022%\n" - "!INVITATION_REMOVED_REASON_EXPIRED\020\004\022&\n\"" - "INVITATION_REMOVED_REASON_CANCELED\020\005*\270\001\n" - "\027SuggestionRemovedReason\022&\n\"SUGGESTION_R" - "EMOVED_REASON_APPROVED\020\000\022&\n\"SUGGESTION_R" - "EMOVED_REASON_DECLINED\020\001\022%\n!SUGGESTION_R" - "EMOVED_REASON_EXPIRED\020\002\022&\n\"SUGGESTION_RE" - "MOVED_REASON_CANCELED\020\003B&\n\014bgs.protocolB" - "\024InvitationTypesProtoH\002", 943); + "\n\026invitation_types.proto\032$api/common/v1/" + "invitation_types.protoB\002H\002P\000", 68); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "invitation_types.proto", &protobuf_RegisterTypes); - Invitation::default_instance_ = new Invitation(); - InvitationParams::default_instance_ = new InvitationParams(); - Invitation::default_instance_->InitAsDefaultInstance(); - InvitationParams::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_invitation_5ftypes_2eproto); } @@ -153,221 +62,6 @@ struct StaticDescriptorInitializer_invitation_5ftypes_2eproto { protobuf_AddDesc_invitation_5ftypes_2eproto(); } } static_descriptor_initializer_invitation_5ftypes_2eproto_; -const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor() { - protobuf_AssignDescriptorsOnce(); - return InvitationRemovedReason_descriptor_; -} -bool InvitationRemovedReason_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor() { - protobuf_AssignDescriptorsOnce(); - return SuggestionRemovedReason_descriptor_; -} -bool SuggestionRemovedReason_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -// =================================================================== - -#ifndef _MSC_VER -const int Invitation::kIdFieldNumber; -const int Invitation::kInviterIdentityFieldNumber; -const int Invitation::kInviteeIdentityFieldNumber; -const int Invitation::kInviterNameFieldNumber; -const int Invitation::kInviteeNameFieldNumber; -const int Invitation::kInvitationMessageFieldNumber; -const int Invitation::kCreationTimeFieldNumber; -const int Invitation::kExpirationTimeFieldNumber; -#endif // !_MSC_VER - -Invitation::Invitation() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.Invitation) -} - -void Invitation::InitAsDefaultInstance() { - inviter_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); - invitee_identity_ = const_cast< ::bgs::protocol::Identity*>(&::bgs::protocol::Identity::default_instance()); -} - -Invitation::Invitation(const Invitation& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.Invitation) -} - -void Invitation::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - inviter_identity_ = NULL; - invitee_identity_ = NULL; - inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - creation_time_ = GOOGLE_ULONGLONG(0); - expiration_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Invitation::~Invitation() { - // @@protoc_insertion_point(destructor:bgs.protocol.Invitation) - SharedDtor(); -} - -void Invitation::SharedDtor() { - if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete inviter_name_; - } - if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitee_name_; - } - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitation_message_; - } - if (this != default_instance_) { - delete inviter_identity_; - delete invitee_identity_; - } -} - -void Invitation::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Invitation::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Invitation_descriptor_; -} - -const Invitation& Invitation::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_invitation_5ftypes_2eproto(); - return *default_instance_; -} - -Invitation* Invitation::default_instance_ = NULL; - -Invitation* Invitation::New() const { - return new Invitation; -} - -void Invitation::Swap(Invitation* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Invitation::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Invitation_descriptor_; - metadata.reflection = Invitation_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int InvitationParams::kInvitationMessageFieldNumber; -const int InvitationParams::kExpirationTimeFieldNumber; -#endif // !_MSC_VER - -InvitationParams::InvitationParams() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.InvitationParams) -} - -void InvitationParams::InitAsDefaultInstance() { -} - -InvitationParams::InvitationParams(const InvitationParams& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.InvitationParams) -} - -void InvitationParams::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expiration_time_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -InvitationParams::~InvitationParams() { - // @@protoc_insertion_point(destructor:bgs.protocol.InvitationParams) - SharedDtor(); -} - -void InvitationParams::SharedDtor() { - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitation_message_; - } - if (this != default_instance_) { - } -} - -void InvitationParams::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* InvitationParams::descriptor() { - protobuf_AssignDescriptorsOnce(); - return InvitationParams_descriptor_; -} - -const InvitationParams& InvitationParams::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_invitation_5ftypes_2eproto(); - return *default_instance_; -} - -InvitationParams* InvitationParams::default_instance_ = NULL; - -InvitationParams* InvitationParams::New() const { - return new InvitationParams; -} - -void InvitationParams::Swap(InvitationParams* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata InvitationParams::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = InvitationParams_descriptor_; - metadata.reflection = InvitationParams_reflection_; - return metadata; -} - // @@protoc_insertion_point(namespace_scope) -} // namespace protocol -} // namespace bgs - // @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/invitation_types.pb.h b/src/server/proto/Client/invitation_types.pb.h index b3262f28b72..f63b0750df6 100644 --- a/src/server/proto/Client/invitation_types.pb.h +++ b/src/server/proto/Client/invitation_types.pb.h @@ -20,825 +20,29 @@ #endif #include -#include #include #include -#include -#include -#include "entity_types.pb.h" -#include "global_extensions/field_options.pb.h" +#include "api/common/v1/invitation_types.pb.h" // IWYU pragma: export #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) -namespace bgs { -namespace protocol { - // Internal implementation detail -- do not call these. void TC_PROTO_API protobuf_AddDesc_invitation_5ftypes_2eproto(); void protobuf_AssignDesc_invitation_5ftypes_2eproto(); void protobuf_ShutdownFile_invitation_5ftypes_2eproto(); -class Invitation; -class InvitationParams; - -enum InvitationRemovedReason { - INVITATION_REMOVED_REASON_ACCEPTED = 0, - INVITATION_REMOVED_REASON_DECLINED = 1, - INVITATION_REMOVED_REASON_REVOKED = 2, - INVITATION_REMOVED_REASON_IGNORED = 3, - INVITATION_REMOVED_REASON_EXPIRED = 4, - INVITATION_REMOVED_REASON_CANCELED = 5 -}; -TC_PROTO_API bool InvitationRemovedReason_IsValid(int value); -const InvitationRemovedReason InvitationRemovedReason_MIN = INVITATION_REMOVED_REASON_ACCEPTED; -const InvitationRemovedReason InvitationRemovedReason_MAX = INVITATION_REMOVED_REASON_CANCELED; -const int InvitationRemovedReason_ARRAYSIZE = InvitationRemovedReason_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* InvitationRemovedReason_descriptor(); -inline const ::std::string& InvitationRemovedReason_Name(InvitationRemovedReason value) { - return ::google::protobuf::internal::NameOfEnum( - InvitationRemovedReason_descriptor(), value); -} -inline bool InvitationRemovedReason_Parse( - const ::std::string& name, InvitationRemovedReason* value) { - return ::google::protobuf::internal::ParseNamedEnum( - InvitationRemovedReason_descriptor(), name, value); -} -enum SuggestionRemovedReason { - SUGGESTION_REMOVED_REASON_APPROVED = 0, - SUGGESTION_REMOVED_REASON_DECLINED = 1, - SUGGESTION_REMOVED_REASON_EXPIRED = 2, - SUGGESTION_REMOVED_REASON_CANCELED = 3 -}; -TC_PROTO_API bool SuggestionRemovedReason_IsValid(int value); -const SuggestionRemovedReason SuggestionRemovedReason_MIN = SUGGESTION_REMOVED_REASON_APPROVED; -const SuggestionRemovedReason SuggestionRemovedReason_MAX = SUGGESTION_REMOVED_REASON_CANCELED; -const int SuggestionRemovedReason_ARRAYSIZE = SuggestionRemovedReason_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* SuggestionRemovedReason_descriptor(); -inline const ::std::string& SuggestionRemovedReason_Name(SuggestionRemovedReason value) { - return ::google::protobuf::internal::NameOfEnum( - SuggestionRemovedReason_descriptor(), value); -} -inline bool SuggestionRemovedReason_Parse( - const ::std::string& name, SuggestionRemovedReason* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SuggestionRemovedReason_descriptor(), name, value); -} // =================================================================== -class TC_PROTO_API Invitation : public ::google::protobuf::Message { - public: - Invitation(); - virtual ~Invitation(); - - Invitation(const Invitation& from); - - inline Invitation& operator=(const Invitation& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Invitation& default_instance(); - - void Swap(Invitation* other); - - // implements Message ---------------------------------------------- - - Invitation* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required fixed64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // required .bgs.protocol.Identity inviter_identity = 2; - inline bool has_inviter_identity() const; - inline void clear_inviter_identity(); - static const int kInviterIdentityFieldNumber = 2; - inline const ::bgs::protocol::Identity& inviter_identity() const; - inline ::bgs::protocol::Identity* mutable_inviter_identity(); - inline ::bgs::protocol::Identity* release_inviter_identity(); - inline void set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity); - - // required .bgs.protocol.Identity invitee_identity = 3; - inline bool has_invitee_identity() const; - inline void clear_invitee_identity(); - static const int kInviteeIdentityFieldNumber = 3; - inline const ::bgs::protocol::Identity& invitee_identity() const; - inline ::bgs::protocol::Identity* mutable_invitee_identity(); - inline ::bgs::protocol::Identity* release_invitee_identity(); - inline void set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity); - - // optional string inviter_name = 4; - inline bool has_inviter_name() const; - inline void clear_inviter_name(); - static const int kInviterNameFieldNumber = 4; - inline const ::std::string& inviter_name() const; - inline void set_inviter_name(const ::std::string& value); - inline void set_inviter_name(const char* value); - inline void set_inviter_name(const char* value, size_t size); - inline ::std::string* mutable_inviter_name(); - inline ::std::string* release_inviter_name(); - inline void set_allocated_inviter_name(::std::string* inviter_name); - - // optional string invitee_name = 5; - inline bool has_invitee_name() const; - inline void clear_invitee_name(); - static const int kInviteeNameFieldNumber = 5; - inline const ::std::string& invitee_name() const; - inline void set_invitee_name(const ::std::string& value); - inline void set_invitee_name(const char* value); - inline void set_invitee_name(const char* value, size_t size); - inline ::std::string* mutable_invitee_name(); - inline ::std::string* release_invitee_name(); - inline void set_allocated_invitee_name(::std::string* invitee_name); - - // optional string invitation_message = 6; - inline bool has_invitation_message() const; - inline void clear_invitation_message(); - static const int kInvitationMessageFieldNumber = 6; - inline const ::std::string& invitation_message() const; - inline void set_invitation_message(const ::std::string& value); - inline void set_invitation_message(const char* value); - inline void set_invitation_message(const char* value, size_t size); - inline ::std::string* mutable_invitation_message(); - inline ::std::string* release_invitation_message(); - inline void set_allocated_invitation_message(::std::string* invitation_message); - - // optional uint64 creation_time = 7; - inline bool has_creation_time() const; - inline void clear_creation_time(); - static const int kCreationTimeFieldNumber = 7; - inline ::google::protobuf::uint64 creation_time() const; - inline void set_creation_time(::google::protobuf::uint64 value); - - // optional uint64 expiration_time = 8; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 8; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Invitation) - // @@protoc_insertion_point(class_scope:bgs.protocol.Invitation) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_inviter_identity(); - inline void clear_has_inviter_identity(); - inline void set_has_invitee_identity(); - inline void clear_has_invitee_identity(); - inline void set_has_inviter_name(); - inline void clear_has_inviter_name(); - inline void set_has_invitee_name(); - inline void clear_has_invitee_name(); - inline void set_has_invitation_message(); - inline void clear_has_invitation_message(); - inline void set_has_creation_time(); - inline void clear_has_creation_time(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - - ::google::protobuf::internal::ExtensionSet _extensions_; - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::bgs::protocol::Identity* inviter_identity_; - ::bgs::protocol::Identity* invitee_identity_; - ::std::string* inviter_name_; - ::std::string* invitee_name_; - ::std::string* invitation_message_; - ::google::protobuf::uint64 creation_time_; - ::google::protobuf::uint64 expiration_time_; - friend void TC_PROTO_API protobuf_AddDesc_invitation_5ftypes_2eproto(); - friend void protobuf_AssignDesc_invitation_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_invitation_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Invitation* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API InvitationParams : public ::google::protobuf::Message { - public: - InvitationParams(); - virtual ~InvitationParams(); - - InvitationParams(const InvitationParams& from); - - inline InvitationParams& operator=(const InvitationParams& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const InvitationParams& default_instance(); - - void Swap(InvitationParams* other); - - // implements Message ---------------------------------------------- - - InvitationParams* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string invitation_message = 1 [deprecated = true]; - inline bool has_invitation_message() const PROTOBUF_DEPRECATED; - inline void clear_invitation_message() PROTOBUF_DEPRECATED; - static const int kInvitationMessageFieldNumber = 1; - inline const ::std::string& invitation_message() const PROTOBUF_DEPRECATED; - inline void set_invitation_message(const ::std::string& value) PROTOBUF_DEPRECATED; - inline void set_invitation_message(const char* value) PROTOBUF_DEPRECATED; - inline void set_invitation_message(const char* value, size_t size) PROTOBUF_DEPRECATED; - inline ::std::string* mutable_invitation_message() PROTOBUF_DEPRECATED; - inline ::std::string* release_invitation_message() PROTOBUF_DEPRECATED; - inline void set_allocated_invitation_message(::std::string* invitation_message) PROTOBUF_DEPRECATED; - - // optional uint64 expiration_time = 2; - inline bool has_expiration_time() const; - inline void clear_expiration_time(); - static const int kExpirationTimeFieldNumber = 2; - inline ::google::protobuf::uint64 expiration_time() const; - inline void set_expiration_time(::google::protobuf::uint64 value); - - GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(InvitationParams) - // @@protoc_insertion_point(class_scope:bgs.protocol.InvitationParams) - private: - inline void set_has_invitation_message(); - inline void clear_has_invitation_message(); - inline void set_has_expiration_time(); - inline void clear_has_expiration_time(); - - ::google::protobuf::internal::ExtensionSet _extensions_; - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* invitation_message_; - ::google::protobuf::uint64 expiration_time_; - friend void TC_PROTO_API protobuf_AddDesc_invitation_5ftypes_2eproto(); - friend void protobuf_AssignDesc_invitation_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_invitation_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static InvitationParams* default_instance_; -}; // =================================================================== // =================================================================== // =================================================================== - -// Invitation - -// required fixed64 id = 1; -inline bool Invitation::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Invitation::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void Invitation::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Invitation::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 Invitation::id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.id) - return id_; -} -inline void Invitation::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.id) -} - -// required .bgs.protocol.Identity inviter_identity = 2; -inline bool Invitation::has_inviter_identity() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Invitation::set_has_inviter_identity() { - _has_bits_[0] |= 0x00000002u; -} -inline void Invitation::clear_has_inviter_identity() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Invitation::clear_inviter_identity() { - if (inviter_identity_ != NULL) inviter_identity_->::bgs::protocol::Identity::Clear(); - clear_has_inviter_identity(); -} -inline const ::bgs::protocol::Identity& Invitation::inviter_identity() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_identity) - return inviter_identity_ != NULL ? *inviter_identity_ : *default_instance_->inviter_identity_; -} -inline ::bgs::protocol::Identity* Invitation::mutable_inviter_identity() { - set_has_inviter_identity(); - if (inviter_identity_ == NULL) inviter_identity_ = new ::bgs::protocol::Identity; - // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_identity) - return inviter_identity_; -} -inline ::bgs::protocol::Identity* Invitation::release_inviter_identity() { - clear_has_inviter_identity(); - ::bgs::protocol::Identity* temp = inviter_identity_; - inviter_identity_ = NULL; - return temp; -} -inline void Invitation::set_allocated_inviter_identity(::bgs::protocol::Identity* inviter_identity) { - delete inviter_identity_; - inviter_identity_ = inviter_identity; - if (inviter_identity) { - set_has_inviter_identity(); - } else { - clear_has_inviter_identity(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_identity) -} - -// required .bgs.protocol.Identity invitee_identity = 3; -inline bool Invitation::has_invitee_identity() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void Invitation::set_has_invitee_identity() { - _has_bits_[0] |= 0x00000004u; -} -inline void Invitation::clear_has_invitee_identity() { - _has_bits_[0] &= ~0x00000004u; -} -inline void Invitation::clear_invitee_identity() { - if (invitee_identity_ != NULL) invitee_identity_->::bgs::protocol::Identity::Clear(); - clear_has_invitee_identity(); -} -inline const ::bgs::protocol::Identity& Invitation::invitee_identity() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_identity) - return invitee_identity_ != NULL ? *invitee_identity_ : *default_instance_->invitee_identity_; -} -inline ::bgs::protocol::Identity* Invitation::mutable_invitee_identity() { - set_has_invitee_identity(); - if (invitee_identity_ == NULL) invitee_identity_ = new ::bgs::protocol::Identity; - // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_identity) - return invitee_identity_; -} -inline ::bgs::protocol::Identity* Invitation::release_invitee_identity() { - clear_has_invitee_identity(); - ::bgs::protocol::Identity* temp = invitee_identity_; - invitee_identity_ = NULL; - return temp; -} -inline void Invitation::set_allocated_invitee_identity(::bgs::protocol::Identity* invitee_identity) { - delete invitee_identity_; - invitee_identity_ = invitee_identity; - if (invitee_identity) { - set_has_invitee_identity(); - } else { - clear_has_invitee_identity(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_identity) -} - -// optional string inviter_name = 4; -inline bool Invitation::has_inviter_name() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void Invitation::set_has_inviter_name() { - _has_bits_[0] |= 0x00000008u; -} -inline void Invitation::clear_has_inviter_name() { - _has_bits_[0] &= ~0x00000008u; -} -inline void Invitation::clear_inviter_name() { - if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - inviter_name_->clear(); - } - clear_has_inviter_name(); -} -inline const ::std::string& Invitation::inviter_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.inviter_name) - return *inviter_name_; -} -inline void Invitation::set_inviter_name(const ::std::string& value) { - set_has_inviter_name(); - if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - inviter_name_ = new ::std::string; - } - inviter_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.inviter_name) -} -inline void Invitation::set_inviter_name(const char* value) { - set_has_inviter_name(); - if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - inviter_name_ = new ::std::string; - } - inviter_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.inviter_name) -} -inline void Invitation::set_inviter_name(const char* value, size_t size) { - set_has_inviter_name(); - if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - inviter_name_ = new ::std::string; - } - inviter_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.inviter_name) -} -inline ::std::string* Invitation::mutable_inviter_name() { - set_has_inviter_name(); - if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - inviter_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.inviter_name) - return inviter_name_; -} -inline ::std::string* Invitation::release_inviter_name() { - clear_has_inviter_name(); - if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = inviter_name_; - inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Invitation::set_allocated_inviter_name(::std::string* inviter_name) { - if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete inviter_name_; - } - if (inviter_name) { - set_has_inviter_name(); - inviter_name_ = inviter_name; - } else { - clear_has_inviter_name(); - inviter_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.inviter_name) -} - -// optional string invitee_name = 5; -inline bool Invitation::has_invitee_name() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void Invitation::set_has_invitee_name() { - _has_bits_[0] |= 0x00000010u; -} -inline void Invitation::clear_has_invitee_name() { - _has_bits_[0] &= ~0x00000010u; -} -inline void Invitation::clear_invitee_name() { - if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitee_name_->clear(); - } - clear_has_invitee_name(); -} -inline const ::std::string& Invitation::invitee_name() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitee_name) - return *invitee_name_; -} -inline void Invitation::set_invitee_name(const ::std::string& value) { - set_has_invitee_name(); - if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitee_name_ = new ::std::string; - } - invitee_name_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitee_name) -} -inline void Invitation::set_invitee_name(const char* value) { - set_has_invitee_name(); - if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitee_name_ = new ::std::string; - } - invitee_name_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitee_name) -} -inline void Invitation::set_invitee_name(const char* value, size_t size) { - set_has_invitee_name(); - if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitee_name_ = new ::std::string; - } - invitee_name_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitee_name) -} -inline ::std::string* Invitation::mutable_invitee_name() { - set_has_invitee_name(); - if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitee_name_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitee_name) - return invitee_name_; -} -inline ::std::string* Invitation::release_invitee_name() { - clear_has_invitee_name(); - if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = invitee_name_; - invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Invitation::set_allocated_invitee_name(::std::string* invitee_name) { - if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitee_name_; - } - if (invitee_name) { - set_has_invitee_name(); - invitee_name_ = invitee_name; - } else { - clear_has_invitee_name(); - invitee_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitee_name) -} - -// optional string invitation_message = 6; -inline bool Invitation::has_invitation_message() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Invitation::set_has_invitation_message() { - _has_bits_[0] |= 0x00000020u; -} -inline void Invitation::clear_has_invitation_message() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Invitation::clear_invitation_message() { - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_->clear(); - } - clear_has_invitation_message(); -} -inline const ::std::string& Invitation::invitation_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.invitation_message) - return *invitation_message_; -} -inline void Invitation::set_invitation_message(const ::std::string& value) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.invitation_message) -} -inline void Invitation::set_invitation_message(const char* value) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.Invitation.invitation_message) -} -inline void Invitation::set_invitation_message(const char* value, size_t size) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Invitation.invitation_message) -} -inline ::std::string* Invitation::mutable_invitation_message() { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.Invitation.invitation_message) - return invitation_message_; -} -inline ::std::string* Invitation::release_invitation_message() { - clear_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = invitation_message_; - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Invitation::set_allocated_invitation_message(::std::string* invitation_message) { - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitation_message_; - } - if (invitation_message) { - set_has_invitation_message(); - invitation_message_ = invitation_message; - } else { - clear_has_invitation_message(); - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Invitation.invitation_message) -} - -// optional uint64 creation_time = 7; -inline bool Invitation::has_creation_time() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void Invitation::set_has_creation_time() { - _has_bits_[0] |= 0x00000040u; -} -inline void Invitation::clear_has_creation_time() { - _has_bits_[0] &= ~0x00000040u; -} -inline void Invitation::clear_creation_time() { - creation_time_ = GOOGLE_ULONGLONG(0); - clear_has_creation_time(); -} -inline ::google::protobuf::uint64 Invitation::creation_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.creation_time) - return creation_time_; -} -inline void Invitation::set_creation_time(::google::protobuf::uint64 value) { - set_has_creation_time(); - creation_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.creation_time) -} - -// optional uint64 expiration_time = 8; -inline bool Invitation::has_expiration_time() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void Invitation::set_has_expiration_time() { - _has_bits_[0] |= 0x00000080u; -} -inline void Invitation::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000080u; -} -inline void Invitation::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 Invitation::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.Invitation.expiration_time) - return expiration_time_; -} -inline void Invitation::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.Invitation.expiration_time) -} - -// ------------------------------------------------------------------- - -// InvitationParams - -// optional string invitation_message = 1 [deprecated = true]; -inline bool InvitationParams::has_invitation_message() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void InvitationParams::set_has_invitation_message() { - _has_bits_[0] |= 0x00000001u; -} -inline void InvitationParams::clear_has_invitation_message() { - _has_bits_[0] &= ~0x00000001u; -} -inline void InvitationParams::clear_invitation_message() { - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_->clear(); - } - clear_has_invitation_message(); -} -inline const ::std::string& InvitationParams::invitation_message() const { - // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.invitation_message) - return *invitation_message_; -} -inline void InvitationParams::set_invitation_message(const ::std::string& value) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.invitation_message) -} -inline void InvitationParams::set_invitation_message(const char* value) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.InvitationParams.invitation_message) -} -inline void InvitationParams::set_invitation_message(const char* value, size_t size) { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - invitation_message_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.InvitationParams.invitation_message) -} -inline ::std::string* InvitationParams::mutable_invitation_message() { - set_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - invitation_message_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.InvitationParams.invitation_message) - return invitation_message_; -} -inline ::std::string* InvitationParams::release_invitation_message() { - clear_has_invitation_message(); - if (invitation_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = invitation_message_; - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void InvitationParams::set_allocated_invitation_message(::std::string* invitation_message) { - if (invitation_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete invitation_message_; - } - if (invitation_message) { - set_has_invitation_message(); - invitation_message_ = invitation_message; - } else { - clear_has_invitation_message(); - invitation_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.InvitationParams.invitation_message) -} - -// optional uint64 expiration_time = 2; -inline bool InvitationParams::has_expiration_time() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void InvitationParams::set_has_expiration_time() { - _has_bits_[0] |= 0x00000002u; -} -inline void InvitationParams::clear_has_expiration_time() { - _has_bits_[0] &= ~0x00000002u; -} -inline void InvitationParams::clear_expiration_time() { - expiration_time_ = GOOGLE_ULONGLONG(0); - clear_has_expiration_time(); -} -inline ::google::protobuf::uint64 InvitationParams::expiration_time() const { - // @@protoc_insertion_point(field_get:bgs.protocol.InvitationParams.expiration_time) - return expiration_time_; -} -inline void InvitationParams::set_expiration_time(::google::protobuf::uint64 value) { - set_has_expiration_time(); - expiration_time_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.InvitationParams.expiration_time) -} - // @@protoc_insertion_point(namespace_scope) -} // namespace protocol -} // namespace bgs - #ifndef SWIG namespace google { namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::InvitationRemovedReason> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason>() { - return ::bgs::protocol::InvitationRemovedReason_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::SuggestionRemovedReason> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason>() { - return ::bgs::protocol::SuggestionRemovedReason_descriptor(); -} } // namespace google } // namespace protobuf #endif // SWIG diff --git a/src/server/proto/Client/message_types.pb.cc b/src/server/proto/Client/message_types.pb.cc index 075442328db..3dd08b30f81 100644 --- a/src/server/proto/Client/message_types.pb.cc +++ b/src/server/proto/Client/message_types.pb.cc @@ -19,38 +19,12 @@ namespace bgs { namespace protocol { -namespace { - -const ::google::protobuf::Descriptor* MessageId_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - MessageId_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor_ = NULL; - -} // namespace - void protobuf_AssignDesc_message_5ftypes_2eproto() { protobuf_AddDesc_message_5ftypes_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "message_types.proto"); GOOGLE_CHECK(file != NULL); - MessageId_descriptor_ = file->message_type(0); - static const int MessageId_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, epoch_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, position_), - }; - MessageId_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - MessageId_descriptor_, - MessageId::default_instance_, - MessageId_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageId, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(MessageId)); - TypingIndicator_descriptor_ = file->enum_type(0); } namespace { @@ -63,15 +37,11 @@ inline void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - MessageId_descriptor_, &MessageId::default_instance()); } } // namespace void protobuf_ShutdownFile_message_5ftypes_2eproto() { - delete MessageId::default_instance_; - delete MessageId_reflection_; } void protobuf_AddDesc_message_5ftypes_2eproto() { @@ -80,15 +50,12 @@ void protobuf_AddDesc_message_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; + ::bgs::protocol::protobuf_AddDesc_api_2fcommon_2fv1_2fmessage_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\023message_types.proto\022\014bgs.protocol\",\n\tM" - "essageId\022\r\n\005epoch\030\001 \001(\004\022\020\n\010position\030\002 \001(" - "\004*4\n\017TypingIndicator\022\020\n\014TYPING_START\020\000\022\017" - "\n\013TYPING_STOP\020\001B\002H\002", 139); + "\n\023message_types.proto\022\014bgs.protocol\032!api" + "/common/v1/message_types.protoB\002H\002P\000", 76); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "message_types.proto", &protobuf_RegisterTypes); - MessageId::default_instance_ = new MessageId(); - MessageId::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_message_5ftypes_2eproto); } @@ -98,94 +65,6 @@ struct StaticDescriptorInitializer_message_5ftypes_2eproto { protobuf_AddDesc_message_5ftypes_2eproto(); } } static_descriptor_initializer_message_5ftypes_2eproto_; -const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor() { - protobuf_AssignDescriptorsOnce(); - return TypingIndicator_descriptor_; -} -bool TypingIndicator_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -// =================================================================== - -#ifndef _MSC_VER -const int MessageId::kEpochFieldNumber; -const int MessageId::kPositionFieldNumber; -#endif // !_MSC_VER - -MessageId::MessageId() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.MessageId) -} - -void MessageId::InitAsDefaultInstance() { -} - -MessageId::MessageId(const MessageId& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.MessageId) -} - -void MessageId::SharedCtor() { - _cached_size_ = 0; - epoch_ = GOOGLE_ULONGLONG(0); - position_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -MessageId::~MessageId() { - // @@protoc_insertion_point(destructor:bgs.protocol.MessageId) - SharedDtor(); -} - -void MessageId::SharedDtor() { - if (this != default_instance_) { - } -} - -void MessageId::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* MessageId::descriptor() { - protobuf_AssignDescriptorsOnce(); - return MessageId_descriptor_; -} - -const MessageId& MessageId::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_message_5ftypes_2eproto(); - return *default_instance_; -} - -MessageId* MessageId::default_instance_ = NULL; - -MessageId* MessageId::New() const { - return new MessageId; -} - -void MessageId::Swap(MessageId* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata MessageId::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = MessageId_descriptor_; - metadata.reflection = MessageId_reflection_; - return metadata; -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol diff --git a/src/server/proto/Client/message_types.pb.h b/src/server/proto/Client/message_types.pb.h index 1826c9c9a5f..819b4294938 100644 --- a/src/server/proto/Client/message_types.pb.h +++ b/src/server/proto/Client/message_types.pb.h @@ -20,11 +20,9 @@ #endif #include -#include #include #include -#include -#include +#include "api/common/v1/message_types.pb.h" // IWYU pragma: export #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) @@ -36,159 +34,13 @@ void TC_PROTO_API protobuf_AddDesc_message_5ftypes_2eproto(); void protobuf_AssignDesc_message_5ftypes_2eproto(); void protobuf_ShutdownFile_message_5ftypes_2eproto(); -class MessageId; - -enum TypingIndicator { - TYPING_START = 0, - TYPING_STOP = 1 -}; -TC_PROTO_API bool TypingIndicator_IsValid(int value); -const TypingIndicator TypingIndicator_MIN = TYPING_START; -const TypingIndicator TypingIndicator_MAX = TYPING_STOP; -const int TypingIndicator_ARRAYSIZE = TypingIndicator_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* TypingIndicator_descriptor(); -inline const ::std::string& TypingIndicator_Name(TypingIndicator value) { - return ::google::protobuf::internal::NameOfEnum( - TypingIndicator_descriptor(), value); -} -inline bool TypingIndicator_Parse( - const ::std::string& name, TypingIndicator* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TypingIndicator_descriptor(), name, value); -} // =================================================================== -class TC_PROTO_API MessageId : public ::google::protobuf::Message { - public: - MessageId(); - virtual ~MessageId(); - - MessageId(const MessageId& from); - - inline MessageId& operator=(const MessageId& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const MessageId& default_instance(); - - void Swap(MessageId* other); - - // implements Message ---------------------------------------------- - - MessageId* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 epoch = 1; - inline bool has_epoch() const; - inline void clear_epoch(); - static const int kEpochFieldNumber = 1; - inline ::google::protobuf::uint64 epoch() const; - inline void set_epoch(::google::protobuf::uint64 value); - - // optional uint64 position = 2; - inline bool has_position() const; - inline void clear_position(); - static const int kPositionFieldNumber = 2; - inline ::google::protobuf::uint64 position() const; - inline void set_position(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.MessageId) - private: - inline void set_has_epoch(); - inline void clear_has_epoch(); - inline void set_has_position(); - inline void clear_has_position(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 epoch_; - ::google::protobuf::uint64 position_; - friend void TC_PROTO_API protobuf_AddDesc_message_5ftypes_2eproto(); - friend void protobuf_AssignDesc_message_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_message_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static MessageId* default_instance_; -}; // =================================================================== // =================================================================== // =================================================================== - -// MessageId - -// optional uint64 epoch = 1; -inline bool MessageId::has_epoch() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void MessageId::set_has_epoch() { - _has_bits_[0] |= 0x00000001u; -} -inline void MessageId::clear_has_epoch() { - _has_bits_[0] &= ~0x00000001u; -} -inline void MessageId::clear_epoch() { - epoch_ = GOOGLE_ULONGLONG(0); - clear_has_epoch(); -} -inline ::google::protobuf::uint64 MessageId::epoch() const { - // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.epoch) - return epoch_; -} -inline void MessageId::set_epoch(::google::protobuf::uint64 value) { - set_has_epoch(); - epoch_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.epoch) -} - -// optional uint64 position = 2; -inline bool MessageId::has_position() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void MessageId::set_has_position() { - _has_bits_[0] |= 0x00000002u; -} -inline void MessageId::clear_has_position() { - _has_bits_[0] &= ~0x00000002u; -} -inline void MessageId::clear_position() { - position_ = GOOGLE_ULONGLONG(0); - clear_has_position(); -} -inline ::google::protobuf::uint64 MessageId::position() const { - // @@protoc_insertion_point(field_get:bgs.protocol.MessageId.position) - return position_; -} -inline void MessageId::set_position(::google::protobuf::uint64 value) { - set_has_position(); - position_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.MessageId.position) -} - // @@protoc_insertion_point(namespace_scope) } // namespace protocol @@ -197,11 +49,6 @@ inline void MessageId::set_position(::google::protobuf::uint64 value) { #ifndef SWIG namespace google { namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::TypingIndicator> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::TypingIndicator>() { - return ::bgs::protocol::TypingIndicator_descriptor(); -} } // namespace google } // namespace protobuf #endif // SWIG diff --git a/src/server/proto/Client/presence_service.pb.cc b/src/server/proto/Client/presence_service.pb.cc index f07b04cb9ad..710abf47931 100644 --- a/src/server/proto/Client/presence_service.pb.cc +++ b/src/server/proto/Client/presence_service.pb.cc @@ -317,24 +317,31 @@ void protobuf_AddDesc_presence_5fservice_2eproto() { "agent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006" "\202\371+\002 \001\0228\n\tentity_id\030\002 \003(\0132\026.bgs.protocol" ".EntityIdB\r\212\371+\t*\007\n\005\010\001\020\372\001\022\021\n\tobject_id\030\003 " - "\001(\0042\257\005\n\017PresenceService\022W\n\tSubscribe\022*.b" + "\001(\0042\265\007\n\017PresenceService\022W\n\tSubscribe\022*.b" "gs.protocol.presence.v1.SubscribeRequest" "\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\001\020\003\022[\n\013Unsu" "bscribe\022,.bgs.protocol.presence.v1.Unsub" "scribeRequest\032\024.bgs.protocol.NoData\"\010\202\371+" - "\004\010\002\020\003\022Q\n\006Update\022\'.bgs.protocol.presence." - "v1.UpdateRequest\032\024.bgs.protocol.NoData\"\010" - "\202\371+\004\010\003\020\003\022b\n\005Query\022&.bgs.protocol.presenc" - "e.v1.QueryRequest\032\'.bgs.protocol.presenc" - "e.v1.QueryResponse\"\010\202\371+\004\010\004\020\003\022}\n\016BatchSub" - "scribe\022/.bgs.protocol.presence.v1.BatchS" - "ubscribeRequest\0320.bgs.protocol.presence." - "v1.BatchSubscribeResponse\"\010\202\371+\004\010\010\020\003\022e\n\020B" - "atchUnsubscribe\0221.bgs.protocol.presence." - "v1.BatchUnsubscribeRequest\032\024.bgs.protoco" - "l.NoData\"\010\202\371+\004\010\t\020\003\032I\202\371+\?\n&bnet.protocol." - "presence.PresenceService*\023presence_aggre" - "gator0\001\212\371+\002\020\001B\005H\002\200\001\000", 2180); + "\004\010\002\020\003\022\323\001\n\006Update\022\'.bgs.protocol.presence" + ".v1.UpdateRequest\032\024.bgs.protocol.NoData\"" + "\211\001\202\371+\204\001\010\003\020\003*-bgs.protocol.arcane.presenc" + "e.UpdateForwardKeyB\024UpdateRegionResolver" + "b/bnet/arcane/service/presence_forward_k" + "eys.protoj\010presence\022\342\001\n\005Query\022&.bgs.prot" + "ocol.presence.v1.QueryRequest\032\'.bgs.prot" + "ocol.presence.v1.QueryResponse\"\207\001\202\371+\202\001\010\004" + "\020\003*,bgs.protocol.arcane.presence.QueryFo" + "rwardKeyB\023QueryRegionResolverb/bnet/arca" + "ne/service/presence_forward_keys.protoj\010" + "presence\022}\n\016BatchSubscribe\022/.bgs.protoco" + "l.presence.v1.BatchSubscribeRequest\0320.bg" + "s.protocol.presence.v1.BatchSubscribeRes" + "ponse\"\010\202\371+\004\010\010\020\003\022e\n\020BatchUnsubscribe\0221.bg" + "s.protocol.presence.v1.BatchUnsubscribeR" + "equest\032\024.bgs.protocol.NoData\"\010\202\371+\004\010\t\020\003\032K" + "\202\371+A\n&bnet.protocol.presence.PresenceSer" + "vice*\023presence_aggregator0\001H\001\212\371+\002\020\001B\005H\002\200" + "\001\000", 2442); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "presence_service.proto", &protobuf_RegisterTypes); SubscribeRequest::default_instance_ = new SubscribeRequest(); diff --git a/src/server/proto/Client/presence_types.pb.cc b/src/server/proto/Client/presence_types.pb.cc index 67400b9caf9..3316f5b3952 100644 --- a/src/server/proto/Client/presence_types.pb.cc +++ b/src/server/proto/Client/presence_types.pb.cc @@ -203,32 +203,32 @@ void protobuf_AddDesc_presence_5ftypes_2eproto() { ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::channel::v1::protobuf_AddDesc_channel_5ftypes_2eproto(); + ::bgs::protocol::channel::v1::protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\024presence_types.proto\022\030bgs.protocol.pre" "sence.v1\032\025attribute_types.proto\032\022entity_" - "types.proto\032\023channel_types.proto\"W\n\033Rich" - "PresenceLocalizationKey\022\017\n\007program\030\001 \002(\007" - "\022\016\n\006stream\030\002 \002(\007\022\027\n\017localization_id\030\003 \002(" - "\r\"L\n\010FieldKey\022\017\n\007program\030\001 \002(\r\022\r\n\005group\030" - "\002 \002(\r\022\r\n\005field\030\003 \002(\r\022\021\n\tunique_id\030\004 \001(\004\"" - "^\n\005Field\022/\n\003key\030\001 \002(\0132\".bgs.protocol.pre" - "sence.v1.FieldKey\022$\n\005value\030\002 \002(\0132\025.bgs.p" - "rotocol.Variant\"\265\001\n\016FieldOperation\022.\n\005fi" - "eld\030\001 \002(\0132\037.bgs.protocol.presence.v1.Fie" - "ld\022N\n\toperation\030\002 \001(\01626.bgs.protocol.pre" - "sence.v1.FieldOperation.OperationType:\003S" - "ET\"#\n\rOperationType\022\007\n\003SET\020\000\022\t\n\005CLEAR\020\001\"" - "}\n\rPresenceState\022)\n\tentity_id\030\001 \001(\0132\026.bg" - "s.protocol.EntityId\022A\n\017field_operation\030\002" - " \003(\0132(.bgs.protocol.presence.v1.FieldOpe" - "ration\"\356\001\n\014ChannelState\022)\n\tentity_id\030\001 \001" - "(\0132\026.bgs.protocol.EntityId\022A\n\017field_oper" - "ation\030\002 \003(\0132(.bgs.protocol.presence.v1.F" - "ieldOperation\022\017\n\007healing\030\003 \001(\0102_\n\010presen" - "ce\022%.bgs.protocol.channel.v1.ChannelStat" - "e\030e \001(\0132&.bgs.protocol.presence.v1.Chann" - "elStateB\002H\002", 931); + "types.proto\032!api/client/v1/channel_types" + ".proto\"W\n\033RichPresenceLocalizationKey\022\017\n" + "\007program\030\001 \002(\007\022\016\n\006stream\030\002 \002(\007\022\027\n\017locali" + "zation_id\030\003 \002(\r\"L\n\010FieldKey\022\017\n\007program\030\001" + " \002(\r\022\r\n\005group\030\002 \002(\r\022\r\n\005field\030\003 \002(\r\022\021\n\tun" + "ique_id\030\004 \001(\004\"^\n\005Field\022/\n\003key\030\001 \002(\0132\".bg" + "s.protocol.presence.v1.FieldKey\022$\n\005value" + "\030\002 \002(\0132\025.bgs.protocol.Variant\"\265\001\n\016FieldO" + "peration\022.\n\005field\030\001 \002(\0132\037.bgs.protocol.p" + "resence.v1.Field\022N\n\toperation\030\002 \001(\01626.bg" + "s.protocol.presence.v1.FieldOperation.Op" + "erationType:\003SET\"#\n\rOperationType\022\007\n\003SET" + "\020\000\022\t\n\005CLEAR\020\001\"}\n\rPresenceState\022)\n\tentity" + "_id\030\001 \001(\0132\026.bgs.protocol.EntityId\022A\n\017fie" + "ld_operation\030\002 \003(\0132(.bgs.protocol.presen" + "ce.v1.FieldOperation\"\356\001\n\014ChannelState\022)\n" + "\tentity_id\030\001 \001(\0132\026.bgs.protocol.EntityId" + "\022A\n\017field_operation\030\002 \003(\0132(.bgs.protocol" + ".presence.v1.FieldOperation\022\017\n\007healing\030\003" + " \001(\0102_\n\010presence\022%.bgs.protocol.channel." + "v1.ChannelState\030e \001(\0132&.bgs.protocol.pre" + "sence.v1.ChannelStateB\002H\002", 945); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "presence_types.proto", &protobuf_RegisterTypes); RichPresenceLocalizationKey::default_instance_ = new RichPresenceLocalizationKey(); diff --git a/src/server/proto/Client/presence_types.pb.h b/src/server/proto/Client/presence_types.pb.h index 9554ea4642a..a75999f5a4b 100644 --- a/src/server/proto/Client/presence_types.pb.h +++ b/src/server/proto/Client/presence_types.pb.h @@ -27,7 +27,7 @@ #include #include "attribute_types.pb.h" #include "entity_types.pb.h" -#include "channel_types.pb.h" +#include "api/client/v1/channel_types.pb.h" #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) diff --git a/src/server/proto/Client/report_service.pb.cc b/src/server/proto/Client/report_service.pb.cc deleted file mode 100644 index c67636a316b..00000000000 --- a/src/server/proto/Client/report_service.pb.cc +++ /dev/null @@ -1,369 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: report_service.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "report_service.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace report { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* SendReportRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SendReportRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubmitReportRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubmitReportRequest_reflection_ = NULL; -const ::google::protobuf::ServiceDescriptor* ReportService_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_report_5fservice_2eproto() { - protobuf_AddDesc_report_5fservice_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "report_service.proto"); - GOOGLE_CHECK(file != NULL); - SendReportRequest_descriptor_ = file->message_type(0); - static const int SendReportRequest_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendReportRequest, report_), - }; - SendReportRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SendReportRequest_descriptor_, - SendReportRequest::default_instance_, - SendReportRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendReportRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SendReportRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SendReportRequest)); - SubmitReportRequest_descriptor_ = file->message_type(1); - static const int SubmitReportRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubmitReportRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubmitReportRequest, report_type_), - }; - SubmitReportRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubmitReportRequest_descriptor_, - SubmitReportRequest::default_instance_, - SubmitReportRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubmitReportRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubmitReportRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubmitReportRequest)); - ReportService_descriptor_ = file->service(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_report_5fservice_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SendReportRequest_descriptor_, &SendReportRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubmitReportRequest_descriptor_, &SubmitReportRequest::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_report_5fservice_2eproto() { - delete SendReportRequest::default_instance_; - delete SendReportRequest_reflection_; - delete SubmitReportRequest::default_instance_; - delete SubmitReportRequest_reflection_; -} - -void protobuf_AddDesc_report_5fservice_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); - ::bgs::protocol::report::v1::protobuf_AddDesc_report_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\024report_service.proto\022\026bgs.protocol.rep" - "ort.v1\032\023account_types.proto\032\022report_type" - "s.proto\032\017rpc_types.proto\"C\n\021SendReportRe" - "quest\022.\n\006report\030\001 \002(\0132\036.bgs.protocol.rep" - "ort.v1.Report\"\214\001\n\023SubmitReportRequest\022<\n" - "\010agent_id\030\001 \001(\0132*.bgs.protocol.account.v" - "1.GameAccountHandle\0227\n\013report_type\030\002 \001(\013" - "2\".bgs.protocol.report.v1.ReportType2\371\001\n" - "\rReportService\022U\n\nSendReport\022).bgs.proto" - "col.report.v1.SendReportRequest\032\024.bgs.pr" - "otocol.NoData\"\006\202\371+\002\010\001\022Y\n\014SubmitReport\022+." - "bgs.protocol.report.v1.SubmitReportReque" - "st\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\002\0326\202\371+,\n\"" - "bnet.protocol.report.ReportService*\006repo" - "rt\212\371+\002\020\001B\005H\002\200\001\000", 575); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "report_service.proto", &protobuf_RegisterTypes); - SendReportRequest::default_instance_ = new SendReportRequest(); - SubmitReportRequest::default_instance_ = new SubmitReportRequest(); - SendReportRequest::default_instance_->InitAsDefaultInstance(); - SubmitReportRequest::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_report_5fservice_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_report_5fservice_2eproto { - StaticDescriptorInitializer_report_5fservice_2eproto() { - protobuf_AddDesc_report_5fservice_2eproto(); - } -} static_descriptor_initializer_report_5fservice_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int SendReportRequest::kReportFieldNumber; -#endif // !_MSC_VER - -SendReportRequest::SendReportRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.SendReportRequest) -} - -void SendReportRequest::InitAsDefaultInstance() { - report_ = const_cast< ::bgs::protocol::report::v1::Report*>(&::bgs::protocol::report::v1::Report::default_instance()); -} - -SendReportRequest::SendReportRequest(const SendReportRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.SendReportRequest) -} - -void SendReportRequest::SharedCtor() { - _cached_size_ = 0; - report_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SendReportRequest::~SendReportRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.SendReportRequest) - SharedDtor(); -} - -void SendReportRequest::SharedDtor() { - if (this != default_instance_) { - delete report_; - } -} - -void SendReportRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SendReportRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SendReportRequest_descriptor_; -} - -const SendReportRequest& SendReportRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5fservice_2eproto(); - return *default_instance_; -} - -SendReportRequest* SendReportRequest::default_instance_ = NULL; - -SendReportRequest* SendReportRequest::New() const { - return new SendReportRequest; -} - -void SendReportRequest::Swap(SendReportRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SendReportRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SendReportRequest_descriptor_; - metadata.reflection = SendReportRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubmitReportRequest::kAgentIdFieldNumber; -const int SubmitReportRequest::kReportTypeFieldNumber; -#endif // !_MSC_VER - -SubmitReportRequest::SubmitReportRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.SubmitReportRequest) -} - -void SubmitReportRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); - report_type_ = const_cast< ::bgs::protocol::report::v1::ReportType*>(&::bgs::protocol::report::v1::ReportType::default_instance()); -} - -SubmitReportRequest::SubmitReportRequest(const SubmitReportRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.SubmitReportRequest) -} - -void SubmitReportRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - report_type_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubmitReportRequest::~SubmitReportRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.SubmitReportRequest) - SharedDtor(); -} - -void SubmitReportRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete report_type_; - } -} - -void SubmitReportRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubmitReportRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubmitReportRequest_descriptor_; -} - -const SubmitReportRequest& SubmitReportRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5fservice_2eproto(); - return *default_instance_; -} - -SubmitReportRequest* SubmitReportRequest::default_instance_ = NULL; - -SubmitReportRequest* SubmitReportRequest::New() const { - return new SubmitReportRequest; -} - -void SubmitReportRequest::Swap(SubmitReportRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubmitReportRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubmitReportRequest_descriptor_; - metadata.reflection = SubmitReportRequest_reflection_; - return metadata; -} - -// =================================================================== - -ReportService::ReportService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -ReportService::~ReportService() { -} - -google::protobuf::ServiceDescriptor const* ReportService::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ReportService_descriptor_; -} - -void ReportService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { - switch(methodId & 0x3FFFFFFF) { - case 1: - ParseAndHandleSendReport(token, methodId, buffer); - break; - case 2: - ParseAndHandleSubmitReport(token, methodId, buffer); - break; - default: - LogInvalidMethod(methodId); - SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); - break; - } -} - -uint32 ReportService::HandleSendReport(::bgs::protocol::report::v1::SendReportRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ReportService.SendReport", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 ReportService::HandleSubmitReport(::bgs::protocol::report::v1::SubmitReportRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("ReportService.SubmitReport", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -void ReportService::ParseAndHandleSendReport(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::report::v1::SendReportRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ReportService.SendReport"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ReportService.SendReport", "bgs.protocol.report.v1.SendReportRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ReportService.SendReport", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSendReport(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void ReportService::ParseAndHandleSubmitReport(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::report::v1::SubmitReportRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("ReportService.SubmitReport"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("ReportService.SubmitReport", "bgs.protocol.report.v1.SubmitReportRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "ReportService.SubmitReport", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleSubmitReport(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace report -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/report_service.pb.h b/src/server/proto/Client/report_service.pb.h deleted file mode 100644 index 69668627ae1..00000000000 --- a/src/server/proto/Client/report_service.pb.h +++ /dev/null @@ -1,376 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: report_service.proto - -#ifndef PROTOBUF_report_5fservice_2eproto__INCLUDED -#define PROTOBUF_report_5fservice_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "account_types.pb.h" -#include "report_types.pb.h" -#include "rpc_types.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace report { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_report_5fservice_2eproto(); -void protobuf_AssignDesc_report_5fservice_2eproto(); -void protobuf_ShutdownFile_report_5fservice_2eproto(); - -class SendReportRequest; -class SubmitReportRequest; - -// =================================================================== - -class TC_PROTO_API SendReportRequest : public ::google::protobuf::Message { - public: - SendReportRequest(); - virtual ~SendReportRequest(); - - SendReportRequest(const SendReportRequest& from); - - inline SendReportRequest& operator=(const SendReportRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SendReportRequest& default_instance(); - - void Swap(SendReportRequest* other); - - // implements Message ---------------------------------------------- - - SendReportRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.report.v1.Report report = 1; - inline bool has_report() const; - inline void clear_report(); - static const int kReportFieldNumber = 1; - inline const ::bgs::protocol::report::v1::Report& report() const; - inline ::bgs::protocol::report::v1::Report* mutable_report(); - inline ::bgs::protocol::report::v1::Report* release_report(); - inline void set_allocated_report(::bgs::protocol::report::v1::Report* report); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.SendReportRequest) - private: - inline void set_has_report(); - inline void clear_has_report(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::report::v1::Report* report_; - friend void TC_PROTO_API protobuf_AddDesc_report_5fservice_2eproto(); - friend void protobuf_AssignDesc_report_5fservice_2eproto(); - friend void protobuf_ShutdownFile_report_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SendReportRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubmitReportRequest : public ::google::protobuf::Message { - public: - SubmitReportRequest(); - virtual ~SubmitReportRequest(); - - SubmitReportRequest(const SubmitReportRequest& from); - - inline SubmitReportRequest& operator=(const SubmitReportRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubmitReportRequest& default_instance(); - - void Swap(SubmitReportRequest* other); - - // implements Message ---------------------------------------------- - - SubmitReportRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& agent_id() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_agent_id(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::account::v1::GameAccountHandle* agent_id); - - // optional .bgs.protocol.report.v1.ReportType report_type = 2; - inline bool has_report_type() const; - inline void clear_report_type(); - static const int kReportTypeFieldNumber = 2; - inline const ::bgs::protocol::report::v1::ReportType& report_type() const; - inline ::bgs::protocol::report::v1::ReportType* mutable_report_type(); - inline ::bgs::protocol::report::v1::ReportType* release_report_type(); - inline void set_allocated_report_type(::bgs::protocol::report::v1::ReportType* report_type); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.SubmitReportRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_report_type(); - inline void clear_has_report_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* agent_id_; - ::bgs::protocol::report::v1::ReportType* report_type_; - friend void TC_PROTO_API protobuf_AddDesc_report_5fservice_2eproto(); - friend void protobuf_AssignDesc_report_5fservice_2eproto(); - friend void protobuf_ShutdownFile_report_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SubmitReportRequest* default_instance_; -}; -// =================================================================== - -class TC_PROTO_API ReportService : public ServiceBase -{ - public: - - explicit ReportService(bool use_original_hash); - ReportService(ReportService const&) = delete; - ReportService(ReportService&&) = delete; - ReportService& operator=(ReportService const&) = delete; - ReportService& operator=(ReportService&&) = delete; - virtual ~ReportService(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; - - protected: - // server methods -------------------------------------------------- - virtual uint32 HandleSendReport(::bgs::protocol::report::v1::SendReportRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleSubmitReport(::bgs::protocol::report::v1::SubmitReportRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - - private: - void ParseAndHandleSendReport(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleSubmitReport(uint32 token, uint32 methodId, MessageBuffer& buffer); -}; - -// =================================================================== - -// =================================================================== - -// SendReportRequest - -// required .bgs.protocol.report.v1.Report report = 1; -inline bool SendReportRequest::has_report() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SendReportRequest::set_has_report() { - _has_bits_[0] |= 0x00000001u; -} -inline void SendReportRequest::clear_has_report() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SendReportRequest::clear_report() { - if (report_ != NULL) report_->::bgs::protocol::report::v1::Report::Clear(); - clear_has_report(); -} -inline const ::bgs::protocol::report::v1::Report& SendReportRequest::report() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SendReportRequest.report) - return report_ != NULL ? *report_ : *default_instance_->report_; -} -inline ::bgs::protocol::report::v1::Report* SendReportRequest::mutable_report() { - set_has_report(); - if (report_ == NULL) report_ = new ::bgs::protocol::report::v1::Report; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.SendReportRequest.report) - return report_; -} -inline ::bgs::protocol::report::v1::Report* SendReportRequest::release_report() { - clear_has_report(); - ::bgs::protocol::report::v1::Report* temp = report_; - report_ = NULL; - return temp; -} -inline void SendReportRequest::set_allocated_report(::bgs::protocol::report::v1::Report* report) { - delete report_; - report_ = report; - if (report) { - set_has_report(); - } else { - clear_has_report(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.SendReportRequest.report) -} - -// ------------------------------------------------------------------- - -// SubmitReportRequest - -// optional .bgs.protocol.account.v1.GameAccountHandle agent_id = 1; -inline bool SubmitReportRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubmitReportRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubmitReportRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubmitReportRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& SubmitReportRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SubmitReportRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SubmitReportRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.SubmitReportRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SubmitReportRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubmitReportRequest::set_allocated_agent_id(::bgs::protocol::account::v1::GameAccountHandle* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.SubmitReportRequest.agent_id) -} - -// optional .bgs.protocol.report.v1.ReportType report_type = 2; -inline bool SubmitReportRequest::has_report_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubmitReportRequest::set_has_report_type() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubmitReportRequest::clear_has_report_type() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubmitReportRequest::clear_report_type() { - if (report_type_ != NULL) report_type_->::bgs::protocol::report::v1::ReportType::Clear(); - clear_has_report_type(); -} -inline const ::bgs::protocol::report::v1::ReportType& SubmitReportRequest::report_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SubmitReportRequest.report_type) - return report_type_ != NULL ? *report_type_ : *default_instance_->report_type_; -} -inline ::bgs::protocol::report::v1::ReportType* SubmitReportRequest::mutable_report_type() { - set_has_report_type(); - if (report_type_ == NULL) report_type_ = new ::bgs::protocol::report::v1::ReportType; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.SubmitReportRequest.report_type) - return report_type_; -} -inline ::bgs::protocol::report::v1::ReportType* SubmitReportRequest::release_report_type() { - clear_has_report_type(); - ::bgs::protocol::report::v1::ReportType* temp = report_type_; - report_type_ = NULL; - return temp; -} -inline void SubmitReportRequest::set_allocated_report_type(::bgs::protocol::report::v1::ReportType* report_type) { - delete report_type_; - report_type_ = report_type; - if (report_type) { - set_has_report_type(); - } else { - clear_has_report_type(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.SubmitReportRequest.report_type) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace report -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_report_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/report_types.pb.cc b/src/server/proto/Client/report_types.pb.cc deleted file mode 100644 index 8acf415e300..00000000000 --- a/src/server/proto/Client/report_types.pb.cc +++ /dev/null @@ -1,1167 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: report_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "report_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace report { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* ReportType_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ReportType_reflection_ = NULL; -struct ReportTypeOneofInstance { - const ::bgs::protocol::report::v1::CustomReport* custom_report_; - const ::bgs::protocol::report::v1::SpamReport* spam_report_; - const ::bgs::protocol::report::v1::HarassmentReport* harassment_report_; - const ::bgs::protocol::report::v1::RealLifeThreatReport* real_life_threat_report_; - const ::bgs::protocol::report::v1::InappropriateBattleTagReport* inappropriate_battle_tag_report_; - const ::bgs::protocol::report::v1::HackingReport* hacking_report_; - const ::bgs::protocol::report::v1::BottingReport* botting_report_; -}* ReportType_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* CustomReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - CustomReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* SpamReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SpamReport_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* SpamReport_SpamSource_descriptor_ = NULL; -const ::google::protobuf::Descriptor* HarassmentReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - HarassmentReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* RealLifeThreatReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RealLifeThreatReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* InappropriateBattleTagReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - InappropriateBattleTagReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* HackingReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - HackingReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* BottingReport_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - BottingReport_reflection_ = NULL; -const ::google::protobuf::Descriptor* Report_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Report_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_report_5ftypes_2eproto() { - protobuf_AddDesc_report_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "report_types.proto"); - GOOGLE_CHECK(file != NULL); - ReportType_descriptor_ = file->message_type(0); - static const int ReportType_offsets_[9] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReportType, user_description_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, custom_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, spam_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, harassment_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, real_life_threat_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, inappropriate_battle_tag_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, hacking_report_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ReportType_default_oneof_instance_, botting_report_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReportType, type_), - }; - ReportType_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ReportType_descriptor_, - ReportType::default_instance_, - ReportType_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReportType, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReportType, _unknown_fields_), - -1, - ReportType_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ReportType, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ReportType)); - CustomReport_descriptor_ = file->message_type(1); - static const int CustomReport_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CustomReport, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CustomReport, program_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CustomReport, attribute_), - }; - CustomReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - CustomReport_descriptor_, - CustomReport::default_instance_, - CustomReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CustomReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CustomReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CustomReport)); - SpamReport_descriptor_ = file->message_type(2); - static const int SpamReport_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SpamReport, target_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SpamReport, source_), - }; - SpamReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SpamReport_descriptor_, - SpamReport::default_instance_, - SpamReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SpamReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SpamReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SpamReport)); - SpamReport_SpamSource_descriptor_ = SpamReport_descriptor_->enum_type(0); - HarassmentReport_descriptor_ = file->message_type(3); - static const int HarassmentReport_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HarassmentReport, target_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HarassmentReport, text_), - }; - HarassmentReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - HarassmentReport_descriptor_, - HarassmentReport::default_instance_, - HarassmentReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HarassmentReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HarassmentReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(HarassmentReport)); - RealLifeThreatReport_descriptor_ = file->message_type(4); - static const int RealLifeThreatReport_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealLifeThreatReport, target_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealLifeThreatReport, text_), - }; - RealLifeThreatReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RealLifeThreatReport_descriptor_, - RealLifeThreatReport::default_instance_, - RealLifeThreatReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealLifeThreatReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RealLifeThreatReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RealLifeThreatReport)); - InappropriateBattleTagReport_descriptor_ = file->message_type(5); - static const int InappropriateBattleTagReport_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InappropriateBattleTagReport, target_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InappropriateBattleTagReport, battle_tag_), - }; - InappropriateBattleTagReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - InappropriateBattleTagReport_descriptor_, - InappropriateBattleTagReport::default_instance_, - InappropriateBattleTagReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InappropriateBattleTagReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InappropriateBattleTagReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(InappropriateBattleTagReport)); - HackingReport_descriptor_ = file->message_type(6); - static const int HackingReport_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HackingReport, target_), - }; - HackingReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - HackingReport_descriptor_, - HackingReport::default_instance_, - HackingReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HackingReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HackingReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(HackingReport)); - BottingReport_descriptor_ = file->message_type(7); - static const int BottingReport_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BottingReport, target_), - }; - BottingReport_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - BottingReport_descriptor_, - BottingReport::default_instance_, - BottingReport_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BottingReport, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BottingReport, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(BottingReport)); - Report_descriptor_ = file->message_type(8); - static const int Report_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, report_type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, attribute_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, report_qos_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, reporting_account_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, reporting_game_account_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, report_timestamp_), - }; - Report_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Report_descriptor_, - Report::default_instance_, - Report_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Report, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Report)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_report_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ReportType_descriptor_, &ReportType::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - CustomReport_descriptor_, &CustomReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SpamReport_descriptor_, &SpamReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - HarassmentReport_descriptor_, &HarassmentReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RealLifeThreatReport_descriptor_, &RealLifeThreatReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - InappropriateBattleTagReport_descriptor_, &InappropriateBattleTagReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - HackingReport_descriptor_, &HackingReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - BottingReport_descriptor_, &BottingReport::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Report_descriptor_, &Report::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_report_5ftypes_2eproto() { - delete ReportType::default_instance_; - delete ReportType_default_oneof_instance_; - delete ReportType_reflection_; - delete CustomReport::default_instance_; - delete CustomReport_reflection_; - delete SpamReport::default_instance_; - delete SpamReport_reflection_; - delete HarassmentReport::default_instance_; - delete HarassmentReport_reflection_; - delete RealLifeThreatReport::default_instance_; - delete RealLifeThreatReport_reflection_; - delete InappropriateBattleTagReport::default_instance_; - delete InappropriateBattleTagReport_reflection_; - delete HackingReport::default_instance_; - delete HackingReport_reflection_; - delete BottingReport::default_instance_; - delete BottingReport_reflection_; - delete Report::default_instance_; - delete Report_reflection_; -} - -void protobuf_AddDesc_report_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::account::v1::protobuf_AddDesc_account_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\022report_types.proto\022\026bgs.protocol.repor" - "t.v1\032\023account_types.proto\032\025attribute_typ" - "es.proto\032\022entity_types.proto\032\017rpc_types." - "proto\"\243\004\n\nReportType\022\030\n\020user_description" - "\030\001 \001(\t\022=\n\rcustom_report\030\n \001(\0132$.bgs.prot" - "ocol.report.v1.CustomReportH\000\0229\n\013spam_re" - "port\030\013 \001(\0132\".bgs.protocol.report.v1.Spam" - "ReportH\000\022E\n\021harassment_report\030\014 \001(\0132(.bg" - "s.protocol.report.v1.HarassmentReportH\000\022" - "O\n\027real_life_threat_report\030\r \001(\0132,.bgs.p" - "rotocol.report.v1.RealLifeThreatReportH\000" - "\022_\n\037inappropriate_battle_tag_report\030\016 \001(" - "\01324.bgs.protocol.report.v1.Inappropriate" - "BattleTagReportH\000\022\?\n\016hacking_report\030\017 \001(" - "\0132%.bgs.protocol.report.v1.HackingReport" - "H\000\022\?\n\016botting_report\030\020 \001(\0132%.bgs.protoco" - "l.report.v1.BottingReportH\000B\006\n\004type\"`\n\014C" - "ustomReport\022\014\n\004type\030\001 \001(\t\022\026\n\nprogram_id\030" - "\002 \001(\tB\002\030\001\022*\n\tattribute\030\003 \003(\0132\027.bgs.proto" - "col.Attribute\"\325\001\n\nSpamReport\022:\n\006target\030\001" - " \001(\0132*.bgs.protocol.account.v1.GameAccou" - "ntHandle\022D\n\006source\030\002 \001(\0162-.bgs.protocol." - "report.v1.SpamReport.SpamSource:\005OTHER\"E" - "\n\nSpamSource\022\t\n\005OTHER\020\001\022\025\n\021FRIEND_INVITA" - "TION\020\002\022\013\n\007WHISPER\020\003\022\010\n\004CHAT\020\004\"\\\n\020Harassm" - "entReport\022:\n\006target\030\001 \001(\0132*.bgs.protocol" - ".account.v1.GameAccountHandle\022\014\n\004text\030\002 " - "\001(\t\"`\n\024RealLifeThreatReport\022:\n\006target\030\001 " - "\001(\0132*.bgs.protocol.account.v1.GameAccoun" - "tHandle\022\014\n\004text\030\002 \001(\t\"v\n\034InappropriateBa" - "ttleTagReport\022:\n\006target\030\001 \001(\0132*.bgs.prot" - "ocol.account.v1.GameAccountHandle\022\032\n\nbat" - "tle_tag\030\002 \001(\tB\006\202\371+\002\010\001\"K\n\rHackingReport\022:" - "\n\006target\030\001 \001(\0132*.bgs.protocol.account.v1" - ".GameAccountHandle\"K\n\rBottingReport\022:\n\006t" - "arget\030\001 \001(\0132*.bgs.protocol.account.v1.Ga" - "meAccountHandle\"\345\001\n\006Report\022\023\n\013report_typ" - "e\030\001 \002(\t\022*\n\tattribute\030\002 \003(\0132\027.bgs.protoco" - "l.Attribute\022\025\n\nreport_qos\030\003 \001(\005:\0010\0221\n\021re" - "porting_account\030\004 \001(\0132\026.bgs.protocol.Ent" - "ityId\0226\n\026reporting_game_account\030\005 \001(\0132\026." - "bgs.protocol.EntityId\022\030\n\020report_timestam" - "p\030\006 \001(\006B\005H\002\200\001\000", 1694); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "report_types.proto", &protobuf_RegisterTypes); - ReportType::default_instance_ = new ReportType(); - ReportType_default_oneof_instance_ = new ReportTypeOneofInstance; - CustomReport::default_instance_ = new CustomReport(); - SpamReport::default_instance_ = new SpamReport(); - HarassmentReport::default_instance_ = new HarassmentReport(); - RealLifeThreatReport::default_instance_ = new RealLifeThreatReport(); - InappropriateBattleTagReport::default_instance_ = new InappropriateBattleTagReport(); - HackingReport::default_instance_ = new HackingReport(); - BottingReport::default_instance_ = new BottingReport(); - Report::default_instance_ = new Report(); - ReportType::default_instance_->InitAsDefaultInstance(); - CustomReport::default_instance_->InitAsDefaultInstance(); - SpamReport::default_instance_->InitAsDefaultInstance(); - HarassmentReport::default_instance_->InitAsDefaultInstance(); - RealLifeThreatReport::default_instance_->InitAsDefaultInstance(); - InappropriateBattleTagReport::default_instance_->InitAsDefaultInstance(); - HackingReport::default_instance_->InitAsDefaultInstance(); - BottingReport::default_instance_->InitAsDefaultInstance(); - Report::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_report_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_report_5ftypes_2eproto { - StaticDescriptorInitializer_report_5ftypes_2eproto() { - protobuf_AddDesc_report_5ftypes_2eproto(); - } -} static_descriptor_initializer_report_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int ReportType::kUserDescriptionFieldNumber; -const int ReportType::kCustomReportFieldNumber; -const int ReportType::kSpamReportFieldNumber; -const int ReportType::kHarassmentReportFieldNumber; -const int ReportType::kRealLifeThreatReportFieldNumber; -const int ReportType::kInappropriateBattleTagReportFieldNumber; -const int ReportType::kHackingReportFieldNumber; -const int ReportType::kBottingReportFieldNumber; -#endif // !_MSC_VER - -ReportType::ReportType() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.ReportType) -} - -void ReportType::InitAsDefaultInstance() { - ReportType_default_oneof_instance_->custom_report_ = const_cast< ::bgs::protocol::report::v1::CustomReport*>(&::bgs::protocol::report::v1::CustomReport::default_instance()); - ReportType_default_oneof_instance_->spam_report_ = const_cast< ::bgs::protocol::report::v1::SpamReport*>(&::bgs::protocol::report::v1::SpamReport::default_instance()); - ReportType_default_oneof_instance_->harassment_report_ = const_cast< ::bgs::protocol::report::v1::HarassmentReport*>(&::bgs::protocol::report::v1::HarassmentReport::default_instance()); - ReportType_default_oneof_instance_->real_life_threat_report_ = const_cast< ::bgs::protocol::report::v1::RealLifeThreatReport*>(&::bgs::protocol::report::v1::RealLifeThreatReport::default_instance()); - ReportType_default_oneof_instance_->inappropriate_battle_tag_report_ = const_cast< ::bgs::protocol::report::v1::InappropriateBattleTagReport*>(&::bgs::protocol::report::v1::InappropriateBattleTagReport::default_instance()); - ReportType_default_oneof_instance_->hacking_report_ = const_cast< ::bgs::protocol::report::v1::HackingReport*>(&::bgs::protocol::report::v1::HackingReport::default_instance()); - ReportType_default_oneof_instance_->botting_report_ = const_cast< ::bgs::protocol::report::v1::BottingReport*>(&::bgs::protocol::report::v1::BottingReport::default_instance()); -} - -ReportType::ReportType(const ReportType& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.ReportType) -} - -void ReportType::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - user_description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_type(); -} - -ReportType::~ReportType() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.ReportType) - SharedDtor(); -} - -void ReportType::SharedDtor() { - if (user_description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete user_description_; - } - if (has_type()) { - clear_type(); - } - if (this != default_instance_) { - } -} - -void ReportType::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ReportType::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ReportType_descriptor_; -} - -const ReportType& ReportType::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -ReportType* ReportType::default_instance_ = NULL; - -ReportType* ReportType::New() const { - return new ReportType; -} - -void ReportType::clear_type() { - switch(type_case()) { - case kCustomReport: { - delete type_.custom_report_; - break; - } - case kSpamReport: { - delete type_.spam_report_; - break; - } - case kHarassmentReport: { - delete type_.harassment_report_; - break; - } - case kRealLifeThreatReport: { - delete type_.real_life_threat_report_; - break; - } - case kInappropriateBattleTagReport: { - delete type_.inappropriate_battle_tag_report_; - break; - } - case kHackingReport: { - delete type_.hacking_report_; - break; - } - case kBottingReport: { - delete type_.botting_report_; - break; - } - case TYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPE_NOT_SET; -} - -void ReportType::Swap(ReportType* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ReportType::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ReportType_descriptor_; - metadata.reflection = ReportType_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int CustomReport::kTypeFieldNumber; -const int CustomReport::kProgramIdFieldNumber; -const int CustomReport::kAttributeFieldNumber; -#endif // !_MSC_VER - -CustomReport::CustomReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.CustomReport) -} - -void CustomReport::InitAsDefaultInstance() { -} - -CustomReport::CustomReport(const CustomReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.CustomReport) -} - -void CustomReport::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -CustomReport::~CustomReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.CustomReport) - SharedDtor(); -} - -void CustomReport::SharedDtor() { - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete type_; - } - if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete program_id_; - } - if (this != default_instance_) { - } -} - -void CustomReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* CustomReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return CustomReport_descriptor_; -} - -const CustomReport& CustomReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -CustomReport* CustomReport::default_instance_ = NULL; - -CustomReport* CustomReport::New() const { - return new CustomReport; -} - -void CustomReport::Swap(CustomReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata CustomReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = CustomReport_descriptor_; - metadata.reflection = CustomReport_reflection_; - return metadata; -} - -// =================================================================== - -const ::google::protobuf::EnumDescriptor* SpamReport_SpamSource_descriptor() { - protobuf_AssignDescriptorsOnce(); - return SpamReport_SpamSource_descriptor_; -} -bool SpamReport_SpamSource_IsValid(int value) { - switch(value) { - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -#ifndef _MSC_VER -const SpamReport_SpamSource SpamReport::OTHER; -const SpamReport_SpamSource SpamReport::FRIEND_INVITATION; -const SpamReport_SpamSource SpamReport::WHISPER; -const SpamReport_SpamSource SpamReport::CHAT; -const SpamReport_SpamSource SpamReport::SpamSource_MIN; -const SpamReport_SpamSource SpamReport::SpamSource_MAX; -const int SpamReport::SpamSource_ARRAYSIZE; -#endif // _MSC_VER -#ifndef _MSC_VER -const int SpamReport::kTargetFieldNumber; -const int SpamReport::kSourceFieldNumber; -#endif // !_MSC_VER - -SpamReport::SpamReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.SpamReport) -} - -void SpamReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -SpamReport::SpamReport(const SpamReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.SpamReport) -} - -void SpamReport::SharedCtor() { - _cached_size_ = 0; - target_ = NULL; - source_ = 1; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SpamReport::~SpamReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.SpamReport) - SharedDtor(); -} - -void SpamReport::SharedDtor() { - if (this != default_instance_) { - delete target_; - } -} - -void SpamReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SpamReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SpamReport_descriptor_; -} - -const SpamReport& SpamReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -SpamReport* SpamReport::default_instance_ = NULL; - -SpamReport* SpamReport::New() const { - return new SpamReport; -} - -void SpamReport::Swap(SpamReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SpamReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SpamReport_descriptor_; - metadata.reflection = SpamReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int HarassmentReport::kTargetFieldNumber; -const int HarassmentReport::kTextFieldNumber; -#endif // !_MSC_VER - -HarassmentReport::HarassmentReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.HarassmentReport) -} - -void HarassmentReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -HarassmentReport::HarassmentReport(const HarassmentReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.HarassmentReport) -} - -void HarassmentReport::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - target_ = NULL; - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -HarassmentReport::~HarassmentReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.HarassmentReport) - SharedDtor(); -} - -void HarassmentReport::SharedDtor() { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete text_; - } - if (this != default_instance_) { - delete target_; - } -} - -void HarassmentReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* HarassmentReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return HarassmentReport_descriptor_; -} - -const HarassmentReport& HarassmentReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -HarassmentReport* HarassmentReport::default_instance_ = NULL; - -HarassmentReport* HarassmentReport::New() const { - return new HarassmentReport; -} - -void HarassmentReport::Swap(HarassmentReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata HarassmentReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = HarassmentReport_descriptor_; - metadata.reflection = HarassmentReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RealLifeThreatReport::kTargetFieldNumber; -const int RealLifeThreatReport::kTextFieldNumber; -#endif // !_MSC_VER - -RealLifeThreatReport::RealLifeThreatReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.RealLifeThreatReport) -} - -void RealLifeThreatReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -RealLifeThreatReport::RealLifeThreatReport(const RealLifeThreatReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.RealLifeThreatReport) -} - -void RealLifeThreatReport::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - target_ = NULL; - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RealLifeThreatReport::~RealLifeThreatReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.RealLifeThreatReport) - SharedDtor(); -} - -void RealLifeThreatReport::SharedDtor() { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete text_; - } - if (this != default_instance_) { - delete target_; - } -} - -void RealLifeThreatReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RealLifeThreatReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RealLifeThreatReport_descriptor_; -} - -const RealLifeThreatReport& RealLifeThreatReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -RealLifeThreatReport* RealLifeThreatReport::default_instance_ = NULL; - -RealLifeThreatReport* RealLifeThreatReport::New() const { - return new RealLifeThreatReport; -} - -void RealLifeThreatReport::Swap(RealLifeThreatReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RealLifeThreatReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RealLifeThreatReport_descriptor_; - metadata.reflection = RealLifeThreatReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int InappropriateBattleTagReport::kTargetFieldNumber; -const int InappropriateBattleTagReport::kBattleTagFieldNumber; -#endif // !_MSC_VER - -InappropriateBattleTagReport::InappropriateBattleTagReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.InappropriateBattleTagReport) -} - -void InappropriateBattleTagReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -InappropriateBattleTagReport::InappropriateBattleTagReport(const InappropriateBattleTagReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.InappropriateBattleTagReport) -} - -void InappropriateBattleTagReport::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - target_ = NULL; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -InappropriateBattleTagReport::~InappropriateBattleTagReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.InappropriateBattleTagReport) - SharedDtor(); -} - -void InappropriateBattleTagReport::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (this != default_instance_) { - delete target_; - } -} - -void InappropriateBattleTagReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* InappropriateBattleTagReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return InappropriateBattleTagReport_descriptor_; -} - -const InappropriateBattleTagReport& InappropriateBattleTagReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -InappropriateBattleTagReport* InappropriateBattleTagReport::default_instance_ = NULL; - -InappropriateBattleTagReport* InappropriateBattleTagReport::New() const { - return new InappropriateBattleTagReport; -} - -void InappropriateBattleTagReport::Swap(InappropriateBattleTagReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata InappropriateBattleTagReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = InappropriateBattleTagReport_descriptor_; - metadata.reflection = InappropriateBattleTagReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int HackingReport::kTargetFieldNumber; -#endif // !_MSC_VER - -HackingReport::HackingReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.HackingReport) -} - -void HackingReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -HackingReport::HackingReport(const HackingReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.HackingReport) -} - -void HackingReport::SharedCtor() { - _cached_size_ = 0; - target_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -HackingReport::~HackingReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.HackingReport) - SharedDtor(); -} - -void HackingReport::SharedDtor() { - if (this != default_instance_) { - delete target_; - } -} - -void HackingReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* HackingReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return HackingReport_descriptor_; -} - -const HackingReport& HackingReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -HackingReport* HackingReport::default_instance_ = NULL; - -HackingReport* HackingReport::New() const { - return new HackingReport; -} - -void HackingReport::Swap(HackingReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata HackingReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = HackingReport_descriptor_; - metadata.reflection = HackingReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int BottingReport::kTargetFieldNumber; -#endif // !_MSC_VER - -BottingReport::BottingReport() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.BottingReport) -} - -void BottingReport::InitAsDefaultInstance() { - target_ = const_cast< ::bgs::protocol::account::v1::GameAccountHandle*>(&::bgs::protocol::account::v1::GameAccountHandle::default_instance()); -} - -BottingReport::BottingReport(const BottingReport& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.BottingReport) -} - -void BottingReport::SharedCtor() { - _cached_size_ = 0; - target_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -BottingReport::~BottingReport() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.BottingReport) - SharedDtor(); -} - -void BottingReport::SharedDtor() { - if (this != default_instance_) { - delete target_; - } -} - -void BottingReport::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BottingReport::descriptor() { - protobuf_AssignDescriptorsOnce(); - return BottingReport_descriptor_; -} - -const BottingReport& BottingReport::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -BottingReport* BottingReport::default_instance_ = NULL; - -BottingReport* BottingReport::New() const { - return new BottingReport; -} - -void BottingReport::Swap(BottingReport* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata BottingReport::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = BottingReport_descriptor_; - metadata.reflection = BottingReport_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int Report::kReportTypeFieldNumber; -const int Report::kAttributeFieldNumber; -const int Report::kReportQosFieldNumber; -const int Report::kReportingAccountFieldNumber; -const int Report::kReportingGameAccountFieldNumber; -const int Report::kReportTimestampFieldNumber; -#endif // !_MSC_VER - -Report::Report() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.report.v1.Report) -} - -void Report::InitAsDefaultInstance() { - reporting_account_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - reporting_game_account_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -Report::Report(const Report& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.report.v1.Report) -} - -void Report::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - report_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - report_qos_ = 0; - reporting_account_ = NULL; - reporting_game_account_ = NULL; - report_timestamp_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Report::~Report() { - // @@protoc_insertion_point(destructor:bgs.protocol.report.v1.Report) - SharedDtor(); -} - -void Report::SharedDtor() { - if (report_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete report_type_; - } - if (this != default_instance_) { - delete reporting_account_; - delete reporting_game_account_; - } -} - -void Report::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Report::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Report_descriptor_; -} - -const Report& Report::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_report_5ftypes_2eproto(); - return *default_instance_; -} - -Report* Report::default_instance_ = NULL; - -Report* Report::New() const { - return new Report; -} - -void Report::Swap(Report* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata Report::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Report_descriptor_; - metadata.reflection = Report_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace report -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/report_types.pb.h b/src/server/proto/Client/report_types.pb.h deleted file mode 100644 index 374cf7545a7..00000000000 --- a/src/server/proto/Client/report_types.pb.h +++ /dev/null @@ -1,2324 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: report_types.proto - -#ifndef PROTOBUF_report_5ftypes_2eproto__INCLUDED -#define PROTOBUF_report_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include "account_types.pb.h" -#include "attribute_types.pb.h" -#include "entity_types.pb.h" -#include "rpc_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace report { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); -void protobuf_AssignDesc_report_5ftypes_2eproto(); -void protobuf_ShutdownFile_report_5ftypes_2eproto(); - -class ReportType; -class CustomReport; -class SpamReport; -class HarassmentReport; -class RealLifeThreatReport; -class InappropriateBattleTagReport; -class HackingReport; -class BottingReport; -class Report; - -enum SpamReport_SpamSource { - SpamReport_SpamSource_OTHER = 1, - SpamReport_SpamSource_FRIEND_INVITATION = 2, - SpamReport_SpamSource_WHISPER = 3, - SpamReport_SpamSource_CHAT = 4 -}; -TC_PROTO_API bool SpamReport_SpamSource_IsValid(int value); -const SpamReport_SpamSource SpamReport_SpamSource_SpamSource_MIN = SpamReport_SpamSource_OTHER; -const SpamReport_SpamSource SpamReport_SpamSource_SpamSource_MAX = SpamReport_SpamSource_CHAT; -const int SpamReport_SpamSource_SpamSource_ARRAYSIZE = SpamReport_SpamSource_SpamSource_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* SpamReport_SpamSource_descriptor(); -inline const ::std::string& SpamReport_SpamSource_Name(SpamReport_SpamSource value) { - return ::google::protobuf::internal::NameOfEnum( - SpamReport_SpamSource_descriptor(), value); -} -inline bool SpamReport_SpamSource_Parse( - const ::std::string& name, SpamReport_SpamSource* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SpamReport_SpamSource_descriptor(), name, value); -} -// =================================================================== - -class TC_PROTO_API ReportType : public ::google::protobuf::Message { - public: - ReportType(); - virtual ~ReportType(); - - ReportType(const ReportType& from); - - inline ReportType& operator=(const ReportType& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ReportType& default_instance(); - - enum TypeCase { - kCustomReport = 10, - kSpamReport = 11, - kHarassmentReport = 12, - kRealLifeThreatReport = 13, - kInappropriateBattleTagReport = 14, - kHackingReport = 15, - kBottingReport = 16, - TYPE_NOT_SET = 0, - }; - - void Swap(ReportType* other); - - // implements Message ---------------------------------------------- - - ReportType* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string user_description = 1; - inline bool has_user_description() const; - inline void clear_user_description(); - static const int kUserDescriptionFieldNumber = 1; - inline const ::std::string& user_description() const; - inline void set_user_description(const ::std::string& value); - inline void set_user_description(const char* value); - inline void set_user_description(const char* value, size_t size); - inline ::std::string* mutable_user_description(); - inline ::std::string* release_user_description(); - inline void set_allocated_user_description(::std::string* user_description); - - // optional .bgs.protocol.report.v1.CustomReport custom_report = 10; - inline bool has_custom_report() const; - inline void clear_custom_report(); - static const int kCustomReportFieldNumber = 10; - inline const ::bgs::protocol::report::v1::CustomReport& custom_report() const; - inline ::bgs::protocol::report::v1::CustomReport* mutable_custom_report(); - inline ::bgs::protocol::report::v1::CustomReport* release_custom_report(); - inline void set_allocated_custom_report(::bgs::protocol::report::v1::CustomReport* custom_report); - - // optional .bgs.protocol.report.v1.SpamReport spam_report = 11; - inline bool has_spam_report() const; - inline void clear_spam_report(); - static const int kSpamReportFieldNumber = 11; - inline const ::bgs::protocol::report::v1::SpamReport& spam_report() const; - inline ::bgs::protocol::report::v1::SpamReport* mutable_spam_report(); - inline ::bgs::protocol::report::v1::SpamReport* release_spam_report(); - inline void set_allocated_spam_report(::bgs::protocol::report::v1::SpamReport* spam_report); - - // optional .bgs.protocol.report.v1.HarassmentReport harassment_report = 12; - inline bool has_harassment_report() const; - inline void clear_harassment_report(); - static const int kHarassmentReportFieldNumber = 12; - inline const ::bgs::protocol::report::v1::HarassmentReport& harassment_report() const; - inline ::bgs::protocol::report::v1::HarassmentReport* mutable_harassment_report(); - inline ::bgs::protocol::report::v1::HarassmentReport* release_harassment_report(); - inline void set_allocated_harassment_report(::bgs::protocol::report::v1::HarassmentReport* harassment_report); - - // optional .bgs.protocol.report.v1.RealLifeThreatReport real_life_threat_report = 13; - inline bool has_real_life_threat_report() const; - inline void clear_real_life_threat_report(); - static const int kRealLifeThreatReportFieldNumber = 13; - inline const ::bgs::protocol::report::v1::RealLifeThreatReport& real_life_threat_report() const; - inline ::bgs::protocol::report::v1::RealLifeThreatReport* mutable_real_life_threat_report(); - inline ::bgs::protocol::report::v1::RealLifeThreatReport* release_real_life_threat_report(); - inline void set_allocated_real_life_threat_report(::bgs::protocol::report::v1::RealLifeThreatReport* real_life_threat_report); - - // optional .bgs.protocol.report.v1.InappropriateBattleTagReport inappropriate_battle_tag_report = 14; - inline bool has_inappropriate_battle_tag_report() const; - inline void clear_inappropriate_battle_tag_report(); - static const int kInappropriateBattleTagReportFieldNumber = 14; - inline const ::bgs::protocol::report::v1::InappropriateBattleTagReport& inappropriate_battle_tag_report() const; - inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* mutable_inappropriate_battle_tag_report(); - inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* release_inappropriate_battle_tag_report(); - inline void set_allocated_inappropriate_battle_tag_report(::bgs::protocol::report::v1::InappropriateBattleTagReport* inappropriate_battle_tag_report); - - // optional .bgs.protocol.report.v1.HackingReport hacking_report = 15; - inline bool has_hacking_report() const; - inline void clear_hacking_report(); - static const int kHackingReportFieldNumber = 15; - inline const ::bgs::protocol::report::v1::HackingReport& hacking_report() const; - inline ::bgs::protocol::report::v1::HackingReport* mutable_hacking_report(); - inline ::bgs::protocol::report::v1::HackingReport* release_hacking_report(); - inline void set_allocated_hacking_report(::bgs::protocol::report::v1::HackingReport* hacking_report); - - // optional .bgs.protocol.report.v1.BottingReport botting_report = 16; - inline bool has_botting_report() const; - inline void clear_botting_report(); - static const int kBottingReportFieldNumber = 16; - inline const ::bgs::protocol::report::v1::BottingReport& botting_report() const; - inline ::bgs::protocol::report::v1::BottingReport* mutable_botting_report(); - inline ::bgs::protocol::report::v1::BottingReport* release_botting_report(); - inline void set_allocated_botting_report(::bgs::protocol::report::v1::BottingReport* botting_report); - - inline TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.ReportType) - private: - inline void set_has_user_description(); - inline void clear_has_user_description(); - inline void set_has_custom_report(); - inline void set_has_spam_report(); - inline void set_has_harassment_report(); - inline void set_has_real_life_threat_report(); - inline void set_has_inappropriate_battle_tag_report(); - inline void set_has_hacking_report(); - inline void set_has_botting_report(); - - inline bool has_type(); - void clear_type(); - inline void clear_has_type(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* user_description_; - union TypeUnion { - ::bgs::protocol::report::v1::CustomReport* custom_report_; - ::bgs::protocol::report::v1::SpamReport* spam_report_; - ::bgs::protocol::report::v1::HarassmentReport* harassment_report_; - ::bgs::protocol::report::v1::RealLifeThreatReport* real_life_threat_report_; - ::bgs::protocol::report::v1::InappropriateBattleTagReport* inappropriate_battle_tag_report_; - ::bgs::protocol::report::v1::HackingReport* hacking_report_; - ::bgs::protocol::report::v1::BottingReport* botting_report_; - } type_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static ReportType* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API CustomReport : public ::google::protobuf::Message { - public: - CustomReport(); - virtual ~CustomReport(); - - CustomReport(const CustomReport& from); - - inline CustomReport& operator=(const CustomReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const CustomReport& default_instance(); - - void Swap(CustomReport* other); - - // implements Message ---------------------------------------------- - - CustomReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string type = 1; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 1; - inline const ::std::string& type() const; - inline void set_type(const ::std::string& value); - inline void set_type(const char* value); - inline void set_type(const char* value, size_t size); - inline ::std::string* mutable_type(); - inline ::std::string* release_type(); - inline void set_allocated_type(::std::string* type); - - // optional string program_id = 2 [deprecated = true]; - inline bool has_program_id() const PROTOBUF_DEPRECATED; - inline void clear_program_id() PROTOBUF_DEPRECATED; - static const int kProgramIdFieldNumber = 2; - inline const ::std::string& program_id() const PROTOBUF_DEPRECATED; - inline void set_program_id(const ::std::string& value) PROTOBUF_DEPRECATED; - inline void set_program_id(const char* value) PROTOBUF_DEPRECATED; - inline void set_program_id(const char* value, size_t size) PROTOBUF_DEPRECATED; - inline ::std::string* mutable_program_id() PROTOBUF_DEPRECATED; - inline ::std::string* release_program_id() PROTOBUF_DEPRECATED; - inline void set_allocated_program_id(::std::string* program_id) PROTOBUF_DEPRECATED; - - // repeated .bgs.protocol.Attribute attribute = 3; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 3; - inline const ::bgs::protocol::Attribute& attribute(int index) const; - inline ::bgs::protocol::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attribute(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.CustomReport) - private: - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_program_id(); - inline void clear_has_program_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* type_; - ::std::string* program_id_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static CustomReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SpamReport : public ::google::protobuf::Message { - public: - SpamReport(); - virtual ~SpamReport(); - - SpamReport(const SpamReport& from); - - inline SpamReport& operator=(const SpamReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SpamReport& default_instance(); - - void Swap(SpamReport* other); - - // implements Message ---------------------------------------------- - - SpamReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - typedef SpamReport_SpamSource SpamSource; - static const SpamSource OTHER = SpamReport_SpamSource_OTHER; - static const SpamSource FRIEND_INVITATION = SpamReport_SpamSource_FRIEND_INVITATION; - static const SpamSource WHISPER = SpamReport_SpamSource_WHISPER; - static const SpamSource CHAT = SpamReport_SpamSource_CHAT; - static inline bool SpamSource_IsValid(int value) { - return SpamReport_SpamSource_IsValid(value); - } - static const SpamSource SpamSource_MIN = - SpamReport_SpamSource_SpamSource_MIN; - static const SpamSource SpamSource_MAX = - SpamReport_SpamSource_SpamSource_MAX; - static const int SpamSource_ARRAYSIZE = - SpamReport_SpamSource_SpamSource_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - SpamSource_descriptor() { - return SpamReport_SpamSource_descriptor(); - } - static inline const ::std::string& SpamSource_Name(SpamSource value) { - return SpamReport_SpamSource_Name(value); - } - static inline bool SpamSource_Parse(const ::std::string& name, - SpamSource* value) { - return SpamReport_SpamSource_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // optional .bgs.protocol.report.v1.SpamReport.SpamSource source = 2 [default = OTHER]; - inline bool has_source() const; - inline void clear_source(); - static const int kSourceFieldNumber = 2; - inline ::bgs::protocol::report::v1::SpamReport_SpamSource source() const; - inline void set_source(::bgs::protocol::report::v1::SpamReport_SpamSource value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.SpamReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - inline void set_has_source(); - inline void clear_has_source(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - int source_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static SpamReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API HarassmentReport : public ::google::protobuf::Message { - public: - HarassmentReport(); - virtual ~HarassmentReport(); - - HarassmentReport(const HarassmentReport& from); - - inline HarassmentReport& operator=(const HarassmentReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const HarassmentReport& default_instance(); - - void Swap(HarassmentReport* other); - - // implements Message ---------------------------------------------- - - HarassmentReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // optional string text = 2; - inline bool has_text() const; - inline void clear_text(); - static const int kTextFieldNumber = 2; - inline const ::std::string& text() const; - inline void set_text(const ::std::string& value); - inline void set_text(const char* value); - inline void set_text(const char* value, size_t size); - inline ::std::string* mutable_text(); - inline ::std::string* release_text(); - inline void set_allocated_text(::std::string* text); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.HarassmentReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - inline void set_has_text(); - inline void clear_has_text(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - ::std::string* text_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static HarassmentReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RealLifeThreatReport : public ::google::protobuf::Message { - public: - RealLifeThreatReport(); - virtual ~RealLifeThreatReport(); - - RealLifeThreatReport(const RealLifeThreatReport& from); - - inline RealLifeThreatReport& operator=(const RealLifeThreatReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RealLifeThreatReport& default_instance(); - - void Swap(RealLifeThreatReport* other); - - // implements Message ---------------------------------------------- - - RealLifeThreatReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // optional string text = 2; - inline bool has_text() const; - inline void clear_text(); - static const int kTextFieldNumber = 2; - inline const ::std::string& text() const; - inline void set_text(const ::std::string& value); - inline void set_text(const char* value); - inline void set_text(const char* value, size_t size); - inline ::std::string* mutable_text(); - inline ::std::string* release_text(); - inline void set_allocated_text(::std::string* text); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.RealLifeThreatReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - inline void set_has_text(); - inline void clear_has_text(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - ::std::string* text_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static RealLifeThreatReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API InappropriateBattleTagReport : public ::google::protobuf::Message { - public: - InappropriateBattleTagReport(); - virtual ~InappropriateBattleTagReport(); - - InappropriateBattleTagReport(const InappropriateBattleTagReport& from); - - inline InappropriateBattleTagReport& operator=(const InappropriateBattleTagReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const InappropriateBattleTagReport& default_instance(); - - void Swap(InappropriateBattleTagReport* other); - - // implements Message ---------------------------------------------- - - InappropriateBattleTagReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // optional string battle_tag = 2; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 2; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.InappropriateBattleTagReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - ::std::string* battle_tag_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static InappropriateBattleTagReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API HackingReport : public ::google::protobuf::Message { - public: - HackingReport(); - virtual ~HackingReport(); - - HackingReport(const HackingReport& from); - - inline HackingReport& operator=(const HackingReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const HackingReport& default_instance(); - - void Swap(HackingReport* other); - - // implements Message ---------------------------------------------- - - HackingReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.HackingReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static HackingReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API BottingReport : public ::google::protobuf::Message { - public: - BottingReport(); - virtual ~BottingReport(); - - BottingReport(const BottingReport& from); - - inline BottingReport& operator=(const BottingReport& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const BottingReport& default_instance(); - - void Swap(BottingReport* other); - - // implements Message ---------------------------------------------- - - BottingReport* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.account.v1.GameAccountHandle target = 1; - inline bool has_target() const; - inline void clear_target(); - static const int kTargetFieldNumber = 1; - inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const; - inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target(); - inline ::bgs::protocol::account::v1::GameAccountHandle* release_target(); - inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.BottingReport) - private: - inline void set_has_target(); - inline void clear_has_target(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::account::v1::GameAccountHandle* target_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static BottingReport* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API Report : public ::google::protobuf::Message { - public: - Report(); - virtual ~Report(); - - Report(const Report& from); - - inline Report& operator=(const Report& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Report& default_instance(); - - void Swap(Report* other); - - // implements Message ---------------------------------------------- - - Report* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required string report_type = 1; - inline bool has_report_type() const; - inline void clear_report_type(); - static const int kReportTypeFieldNumber = 1; - inline const ::std::string& report_type() const; - inline void set_report_type(const ::std::string& value); - inline void set_report_type(const char* value); - inline void set_report_type(const char* value, size_t size); - inline ::std::string* mutable_report_type(); - inline ::std::string* release_report_type(); - inline void set_allocated_report_type(::std::string* report_type); - - // repeated .bgs.protocol.Attribute attribute = 2; - inline int attribute_size() const; - inline void clear_attribute(); - static const int kAttributeFieldNumber = 2; - inline const ::bgs::protocol::Attribute& attribute(int index) const; - inline ::bgs::protocol::Attribute* mutable_attribute(int index); - inline ::bgs::protocol::Attribute* add_attribute(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attribute() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attribute(); - - // optional int32 report_qos = 3 [default = 0]; - inline bool has_report_qos() const; - inline void clear_report_qos(); - static const int kReportQosFieldNumber = 3; - inline ::google::protobuf::int32 report_qos() const; - inline void set_report_qos(::google::protobuf::int32 value); - - // optional .bgs.protocol.EntityId reporting_account = 4; - inline bool has_reporting_account() const; - inline void clear_reporting_account(); - static const int kReportingAccountFieldNumber = 4; - inline const ::bgs::protocol::EntityId& reporting_account() const; - inline ::bgs::protocol::EntityId* mutable_reporting_account(); - inline ::bgs::protocol::EntityId* release_reporting_account(); - inline void set_allocated_reporting_account(::bgs::protocol::EntityId* reporting_account); - - // optional .bgs.protocol.EntityId reporting_game_account = 5; - inline bool has_reporting_game_account() const; - inline void clear_reporting_game_account(); - static const int kReportingGameAccountFieldNumber = 5; - inline const ::bgs::protocol::EntityId& reporting_game_account() const; - inline ::bgs::protocol::EntityId* mutable_reporting_game_account(); - inline ::bgs::protocol::EntityId* release_reporting_game_account(); - inline void set_allocated_reporting_game_account(::bgs::protocol::EntityId* reporting_game_account); - - // optional fixed64 report_timestamp = 6; - inline bool has_report_timestamp() const; - inline void clear_report_timestamp(); - static const int kReportTimestampFieldNumber = 6; - inline ::google::protobuf::uint64 report_timestamp() const; - inline void set_report_timestamp(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.Report) - private: - inline void set_has_report_type(); - inline void clear_has_report_type(); - inline void set_has_report_qos(); - inline void clear_has_report_qos(); - inline void set_has_reporting_account(); - inline void clear_has_reporting_account(); - inline void set_has_reporting_game_account(); - inline void clear_has_reporting_game_account(); - inline void set_has_report_timestamp(); - inline void clear_has_report_timestamp(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* report_type_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_; - ::bgs::protocol::EntityId* reporting_account_; - ::bgs::protocol::EntityId* reporting_game_account_; - ::google::protobuf::uint64 report_timestamp_; - ::google::protobuf::int32 report_qos_; - friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto(); - friend void protobuf_AssignDesc_report_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_report_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static Report* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// ReportType - -// optional string user_description = 1; -inline bool ReportType::has_user_description() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ReportType::set_has_user_description() { - _has_bits_[0] |= 0x00000001u; -} -inline void ReportType::clear_has_user_description() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ReportType::clear_user_description() { - if (user_description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - user_description_->clear(); - } - clear_has_user_description(); -} -inline const ::std::string& ReportType::user_description() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.ReportType.user_description) - return *user_description_; -} -inline void ReportType::set_user_description(const ::std::string& value) { - set_has_user_description(); - if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - user_description_ = new ::std::string; - } - user_description_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.ReportType.user_description) -} -inline void ReportType::set_user_description(const char* value) { - set_has_user_description(); - if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - user_description_ = new ::std::string; - } - user_description_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.ReportType.user_description) -} -inline void ReportType::set_user_description(const char* value, size_t size) { - set_has_user_description(); - if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - user_description_ = new ::std::string; - } - user_description_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.ReportType.user_description) -} -inline ::std::string* ReportType::mutable_user_description() { - set_has_user_description(); - if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - user_description_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.ReportType.user_description) - return user_description_; -} -inline ::std::string* ReportType::release_user_description() { - clear_has_user_description(); - if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = user_description_; - user_description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void ReportType::set_allocated_user_description(::std::string* user_description) { - if (user_description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete user_description_; - } - if (user_description) { - set_has_user_description(); - user_description_ = user_description; - } else { - clear_has_user_description(); - user_description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.ReportType.user_description) -} - -// optional .bgs.protocol.report.v1.CustomReport custom_report = 10; -inline bool ReportType::has_custom_report() const { - return type_case() == kCustomReport; -} -inline void ReportType::set_has_custom_report() { - _oneof_case_[0] = kCustomReport; -} -inline void ReportType::clear_custom_report() { - if (has_custom_report()) { - delete type_.custom_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::CustomReport& ReportType::custom_report() const { - return has_custom_report() ? *type_.custom_report_ - : ::bgs::protocol::report::v1::CustomReport::default_instance(); -} -inline ::bgs::protocol::report::v1::CustomReport* ReportType::mutable_custom_report() { - if (!has_custom_report()) { - clear_type(); - set_has_custom_report(); - type_.custom_report_ = new ::bgs::protocol::report::v1::CustomReport; - } - return type_.custom_report_; -} -inline ::bgs::protocol::report::v1::CustomReport* ReportType::release_custom_report() { - if (has_custom_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::CustomReport* temp = type_.custom_report_; - type_.custom_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_custom_report(::bgs::protocol::report::v1::CustomReport* custom_report) { - clear_type(); - if (custom_report) { - set_has_custom_report(); - type_.custom_report_ = custom_report; - } -} - -// optional .bgs.protocol.report.v1.SpamReport spam_report = 11; -inline bool ReportType::has_spam_report() const { - return type_case() == kSpamReport; -} -inline void ReportType::set_has_spam_report() { - _oneof_case_[0] = kSpamReport; -} -inline void ReportType::clear_spam_report() { - if (has_spam_report()) { - delete type_.spam_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::SpamReport& ReportType::spam_report() const { - return has_spam_report() ? *type_.spam_report_ - : ::bgs::protocol::report::v1::SpamReport::default_instance(); -} -inline ::bgs::protocol::report::v1::SpamReport* ReportType::mutable_spam_report() { - if (!has_spam_report()) { - clear_type(); - set_has_spam_report(); - type_.spam_report_ = new ::bgs::protocol::report::v1::SpamReport; - } - return type_.spam_report_; -} -inline ::bgs::protocol::report::v1::SpamReport* ReportType::release_spam_report() { - if (has_spam_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::SpamReport* temp = type_.spam_report_; - type_.spam_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_spam_report(::bgs::protocol::report::v1::SpamReport* spam_report) { - clear_type(); - if (spam_report) { - set_has_spam_report(); - type_.spam_report_ = spam_report; - } -} - -// optional .bgs.protocol.report.v1.HarassmentReport harassment_report = 12; -inline bool ReportType::has_harassment_report() const { - return type_case() == kHarassmentReport; -} -inline void ReportType::set_has_harassment_report() { - _oneof_case_[0] = kHarassmentReport; -} -inline void ReportType::clear_harassment_report() { - if (has_harassment_report()) { - delete type_.harassment_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::HarassmentReport& ReportType::harassment_report() const { - return has_harassment_report() ? *type_.harassment_report_ - : ::bgs::protocol::report::v1::HarassmentReport::default_instance(); -} -inline ::bgs::protocol::report::v1::HarassmentReport* ReportType::mutable_harassment_report() { - if (!has_harassment_report()) { - clear_type(); - set_has_harassment_report(); - type_.harassment_report_ = new ::bgs::protocol::report::v1::HarassmentReport; - } - return type_.harassment_report_; -} -inline ::bgs::protocol::report::v1::HarassmentReport* ReportType::release_harassment_report() { - if (has_harassment_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::HarassmentReport* temp = type_.harassment_report_; - type_.harassment_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_harassment_report(::bgs::protocol::report::v1::HarassmentReport* harassment_report) { - clear_type(); - if (harassment_report) { - set_has_harassment_report(); - type_.harassment_report_ = harassment_report; - } -} - -// optional .bgs.protocol.report.v1.RealLifeThreatReport real_life_threat_report = 13; -inline bool ReportType::has_real_life_threat_report() const { - return type_case() == kRealLifeThreatReport; -} -inline void ReportType::set_has_real_life_threat_report() { - _oneof_case_[0] = kRealLifeThreatReport; -} -inline void ReportType::clear_real_life_threat_report() { - if (has_real_life_threat_report()) { - delete type_.real_life_threat_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::RealLifeThreatReport& ReportType::real_life_threat_report() const { - return has_real_life_threat_report() ? *type_.real_life_threat_report_ - : ::bgs::protocol::report::v1::RealLifeThreatReport::default_instance(); -} -inline ::bgs::protocol::report::v1::RealLifeThreatReport* ReportType::mutable_real_life_threat_report() { - if (!has_real_life_threat_report()) { - clear_type(); - set_has_real_life_threat_report(); - type_.real_life_threat_report_ = new ::bgs::protocol::report::v1::RealLifeThreatReport; - } - return type_.real_life_threat_report_; -} -inline ::bgs::protocol::report::v1::RealLifeThreatReport* ReportType::release_real_life_threat_report() { - if (has_real_life_threat_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::RealLifeThreatReport* temp = type_.real_life_threat_report_; - type_.real_life_threat_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_real_life_threat_report(::bgs::protocol::report::v1::RealLifeThreatReport* real_life_threat_report) { - clear_type(); - if (real_life_threat_report) { - set_has_real_life_threat_report(); - type_.real_life_threat_report_ = real_life_threat_report; - } -} - -// optional .bgs.protocol.report.v1.InappropriateBattleTagReport inappropriate_battle_tag_report = 14; -inline bool ReportType::has_inappropriate_battle_tag_report() const { - return type_case() == kInappropriateBattleTagReport; -} -inline void ReportType::set_has_inappropriate_battle_tag_report() { - _oneof_case_[0] = kInappropriateBattleTagReport; -} -inline void ReportType::clear_inappropriate_battle_tag_report() { - if (has_inappropriate_battle_tag_report()) { - delete type_.inappropriate_battle_tag_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::InappropriateBattleTagReport& ReportType::inappropriate_battle_tag_report() const { - return has_inappropriate_battle_tag_report() ? *type_.inappropriate_battle_tag_report_ - : ::bgs::protocol::report::v1::InappropriateBattleTagReport::default_instance(); -} -inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* ReportType::mutable_inappropriate_battle_tag_report() { - if (!has_inappropriate_battle_tag_report()) { - clear_type(); - set_has_inappropriate_battle_tag_report(); - type_.inappropriate_battle_tag_report_ = new ::bgs::protocol::report::v1::InappropriateBattleTagReport; - } - return type_.inappropriate_battle_tag_report_; -} -inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* ReportType::release_inappropriate_battle_tag_report() { - if (has_inappropriate_battle_tag_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::InappropriateBattleTagReport* temp = type_.inappropriate_battle_tag_report_; - type_.inappropriate_battle_tag_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_inappropriate_battle_tag_report(::bgs::protocol::report::v1::InappropriateBattleTagReport* inappropriate_battle_tag_report) { - clear_type(); - if (inappropriate_battle_tag_report) { - set_has_inappropriate_battle_tag_report(); - type_.inappropriate_battle_tag_report_ = inappropriate_battle_tag_report; - } -} - -// optional .bgs.protocol.report.v1.HackingReport hacking_report = 15; -inline bool ReportType::has_hacking_report() const { - return type_case() == kHackingReport; -} -inline void ReportType::set_has_hacking_report() { - _oneof_case_[0] = kHackingReport; -} -inline void ReportType::clear_hacking_report() { - if (has_hacking_report()) { - delete type_.hacking_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::HackingReport& ReportType::hacking_report() const { - return has_hacking_report() ? *type_.hacking_report_ - : ::bgs::protocol::report::v1::HackingReport::default_instance(); -} -inline ::bgs::protocol::report::v1::HackingReport* ReportType::mutable_hacking_report() { - if (!has_hacking_report()) { - clear_type(); - set_has_hacking_report(); - type_.hacking_report_ = new ::bgs::protocol::report::v1::HackingReport; - } - return type_.hacking_report_; -} -inline ::bgs::protocol::report::v1::HackingReport* ReportType::release_hacking_report() { - if (has_hacking_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::HackingReport* temp = type_.hacking_report_; - type_.hacking_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_hacking_report(::bgs::protocol::report::v1::HackingReport* hacking_report) { - clear_type(); - if (hacking_report) { - set_has_hacking_report(); - type_.hacking_report_ = hacking_report; - } -} - -// optional .bgs.protocol.report.v1.BottingReport botting_report = 16; -inline bool ReportType::has_botting_report() const { - return type_case() == kBottingReport; -} -inline void ReportType::set_has_botting_report() { - _oneof_case_[0] = kBottingReport; -} -inline void ReportType::clear_botting_report() { - if (has_botting_report()) { - delete type_.botting_report_; - clear_has_type(); - } -} -inline const ::bgs::protocol::report::v1::BottingReport& ReportType::botting_report() const { - return has_botting_report() ? *type_.botting_report_ - : ::bgs::protocol::report::v1::BottingReport::default_instance(); -} -inline ::bgs::protocol::report::v1::BottingReport* ReportType::mutable_botting_report() { - if (!has_botting_report()) { - clear_type(); - set_has_botting_report(); - type_.botting_report_ = new ::bgs::protocol::report::v1::BottingReport; - } - return type_.botting_report_; -} -inline ::bgs::protocol::report::v1::BottingReport* ReportType::release_botting_report() { - if (has_botting_report()) { - clear_has_type(); - ::bgs::protocol::report::v1::BottingReport* temp = type_.botting_report_; - type_.botting_report_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void ReportType::set_allocated_botting_report(::bgs::protocol::report::v1::BottingReport* botting_report) { - clear_type(); - if (botting_report) { - set_has_botting_report(); - type_.botting_report_ = botting_report; - } -} - -inline bool ReportType::has_type() { - return type_case() != TYPE_NOT_SET; -} -inline void ReportType::clear_has_type() { - _oneof_case_[0] = TYPE_NOT_SET; -} -inline ReportType::TypeCase ReportType::type_case() const { - return ReportType::TypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// CustomReport - -// optional string type = 1; -inline bool CustomReport::has_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void CustomReport::set_has_type() { - _has_bits_[0] |= 0x00000001u; -} -inline void CustomReport::clear_has_type() { - _has_bits_[0] &= ~0x00000001u; -} -inline void CustomReport::clear_type() { - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_->clear(); - } - clear_has_type(); -} -inline const ::std::string& CustomReport::type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.type) - return *type_; -} -inline void CustomReport::set_type(const ::std::string& value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.CustomReport.type) -} -inline void CustomReport::set_type(const char* value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.CustomReport.type) -} -inline void CustomReport::set_type(const char* value, size_t size) { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - type_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.CustomReport.type) -} -inline ::std::string* CustomReport::mutable_type() { - set_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - type_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.type) - return type_; -} -inline ::std::string* CustomReport::release_type() { - clear_has_type(); - if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = type_; - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CustomReport::set_allocated_type(::std::string* type) { - if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete type_; - } - if (type) { - set_has_type(); - type_ = type; - } else { - clear_has_type(); - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.CustomReport.type) -} - -// optional string program_id = 2 [deprecated = true]; -inline bool CustomReport::has_program_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CustomReport::set_has_program_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void CustomReport::clear_has_program_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CustomReport::clear_program_id() { - if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_id_->clear(); - } - clear_has_program_id(); -} -inline const ::std::string& CustomReport::program_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.program_id) - return *program_id_; -} -inline void CustomReport::set_program_id(const ::std::string& value) { - set_has_program_id(); - if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_id_ = new ::std::string; - } - program_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.CustomReport.program_id) -} -inline void CustomReport::set_program_id(const char* value) { - set_has_program_id(); - if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_id_ = new ::std::string; - } - program_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.CustomReport.program_id) -} -inline void CustomReport::set_program_id(const char* value, size_t size) { - set_has_program_id(); - if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_id_ = new ::std::string; - } - program_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.CustomReport.program_id) -} -inline ::std::string* CustomReport::mutable_program_id() { - set_has_program_id(); - if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.program_id) - return program_id_; -} -inline ::std::string* CustomReport::release_program_id() { - clear_has_program_id(); - if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = program_id_; - program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CustomReport::set_allocated_program_id(::std::string* program_id) { - if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete program_id_; - } - if (program_id) { - set_has_program_id(); - program_id_ = program_id; - } else { - clear_has_program_id(); - program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.CustomReport.program_id) -} - -// repeated .bgs.protocol.Attribute attribute = 3; -inline int CustomReport::attribute_size() const { - return attribute_.size(); -} -inline void CustomReport::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::Attribute& CustomReport::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::Attribute* CustomReport::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::Attribute* CustomReport::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.report.v1.CustomReport.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -CustomReport::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.report.v1.CustomReport.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -CustomReport::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.report.v1.CustomReport.attribute) - return &attribute_; -} - -// ------------------------------------------------------------------- - -// SpamReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool SpamReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SpamReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void SpamReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SpamReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& SpamReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SpamReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SpamReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.SpamReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* SpamReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void SpamReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.SpamReport.target) -} - -// optional .bgs.protocol.report.v1.SpamReport.SpamSource source = 2 [default = OTHER]; -inline bool SpamReport::has_source() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SpamReport::set_has_source() { - _has_bits_[0] |= 0x00000002u; -} -inline void SpamReport::clear_has_source() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SpamReport::clear_source() { - source_ = 1; - clear_has_source(); -} -inline ::bgs::protocol::report::v1::SpamReport_SpamSource SpamReport::source() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SpamReport.source) - return static_cast< ::bgs::protocol::report::v1::SpamReport_SpamSource >(source_); -} -inline void SpamReport::set_source(::bgs::protocol::report::v1::SpamReport_SpamSource value) { - assert(::bgs::protocol::report::v1::SpamReport_SpamSource_IsValid(value)); - set_has_source(); - source_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.SpamReport.source) -} - -// ------------------------------------------------------------------- - -// HarassmentReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool HarassmentReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void HarassmentReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void HarassmentReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void HarassmentReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& HarassmentReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HarassmentReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* HarassmentReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HarassmentReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* HarassmentReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void HarassmentReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HarassmentReport.target) -} - -// optional string text = 2; -inline bool HarassmentReport::has_text() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void HarassmentReport::set_has_text() { - _has_bits_[0] |= 0x00000002u; -} -inline void HarassmentReport::clear_has_text() { - _has_bits_[0] &= ~0x00000002u; -} -inline void HarassmentReport::clear_text() { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_->clear(); - } - clear_has_text(); -} -inline const ::std::string& HarassmentReport::text() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HarassmentReport.text) - return *text_; -} -inline void HarassmentReport::set_text(const ::std::string& value) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.HarassmentReport.text) -} -inline void HarassmentReport::set_text(const char* value) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.HarassmentReport.text) -} -inline void HarassmentReport::set_text(const char* value, size_t size) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.HarassmentReport.text) -} -inline ::std::string* HarassmentReport::mutable_text() { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HarassmentReport.text) - return text_; -} -inline ::std::string* HarassmentReport::release_text() { - clear_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = text_; - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void HarassmentReport::set_allocated_text(::std::string* text) { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete text_; - } - if (text) { - set_has_text(); - text_ = text; - } else { - clear_has_text(); - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HarassmentReport.text) -} - -// ------------------------------------------------------------------- - -// RealLifeThreatReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool RealLifeThreatReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RealLifeThreatReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void RealLifeThreatReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RealLifeThreatReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& RealLifeThreatReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.RealLifeThreatReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* RealLifeThreatReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.RealLifeThreatReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* RealLifeThreatReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void RealLifeThreatReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.RealLifeThreatReport.target) -} - -// optional string text = 2; -inline bool RealLifeThreatReport::has_text() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RealLifeThreatReport::set_has_text() { - _has_bits_[0] |= 0x00000002u; -} -inline void RealLifeThreatReport::clear_has_text() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RealLifeThreatReport::clear_text() { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_->clear(); - } - clear_has_text(); -} -inline const ::std::string& RealLifeThreatReport::text() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.RealLifeThreatReport.text) - return *text_; -} -inline void RealLifeThreatReport::set_text(const ::std::string& value) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.RealLifeThreatReport.text) -} -inline void RealLifeThreatReport::set_text(const char* value) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.RealLifeThreatReport.text) -} -inline void RealLifeThreatReport::set_text(const char* value, size_t size) { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - text_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.RealLifeThreatReport.text) -} -inline ::std::string* RealLifeThreatReport::mutable_text() { - set_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - text_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.RealLifeThreatReport.text) - return text_; -} -inline ::std::string* RealLifeThreatReport::release_text() { - clear_has_text(); - if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = text_; - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void RealLifeThreatReport::set_allocated_text(::std::string* text) { - if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete text_; - } - if (text) { - set_has_text(); - text_ = text; - } else { - clear_has_text(); - text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.RealLifeThreatReport.text) -} - -// ------------------------------------------------------------------- - -// InappropriateBattleTagReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool InappropriateBattleTagReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void InappropriateBattleTagReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void InappropriateBattleTagReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void InappropriateBattleTagReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& InappropriateBattleTagReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.InappropriateBattleTagReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* InappropriateBattleTagReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.InappropriateBattleTagReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* InappropriateBattleTagReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void InappropriateBattleTagReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.InappropriateBattleTagReport.target) -} - -// optional string battle_tag = 2; -inline bool InappropriateBattleTagReport::has_battle_tag() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void InappropriateBattleTagReport::set_has_battle_tag() { - _has_bits_[0] |= 0x00000002u; -} -inline void InappropriateBattleTagReport::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000002u; -} -inline void InappropriateBattleTagReport::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& InappropriateBattleTagReport::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) - return *battle_tag_; -} -inline void InappropriateBattleTagReport::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) -} -inline void InappropriateBattleTagReport::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) -} -inline void InappropriateBattleTagReport::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) -} -inline ::std::string* InappropriateBattleTagReport::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) - return battle_tag_; -} -inline ::std::string* InappropriateBattleTagReport::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void InappropriateBattleTagReport::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag) -} - -// ------------------------------------------------------------------- - -// HackingReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool HackingReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void HackingReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void HackingReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void HackingReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& HackingReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HackingReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* HackingReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HackingReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* HackingReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void HackingReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HackingReport.target) -} - -// ------------------------------------------------------------------- - -// BottingReport - -// optional .bgs.protocol.account.v1.GameAccountHandle target = 1; -inline bool BottingReport::has_target() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void BottingReport::set_has_target() { - _has_bits_[0] |= 0x00000001u; -} -inline void BottingReport::clear_has_target() { - _has_bits_[0] &= ~0x00000001u; -} -inline void BottingReport::clear_target() { - if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear(); - clear_has_target(); -} -inline const ::bgs::protocol::account::v1::GameAccountHandle& BottingReport::target() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.BottingReport.target) - return target_ != NULL ? *target_ : *default_instance_->target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* BottingReport::mutable_target() { - set_has_target(); - if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.BottingReport.target) - return target_; -} -inline ::bgs::protocol::account::v1::GameAccountHandle* BottingReport::release_target() { - clear_has_target(); - ::bgs::protocol::account::v1::GameAccountHandle* temp = target_; - target_ = NULL; - return temp; -} -inline void BottingReport::set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target) { - delete target_; - target_ = target; - if (target) { - set_has_target(); - } else { - clear_has_target(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.BottingReport.target) -} - -// ------------------------------------------------------------------- - -// Report - -// required string report_type = 1; -inline bool Report::has_report_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Report::set_has_report_type() { - _has_bits_[0] |= 0x00000001u; -} -inline void Report::clear_has_report_type() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Report::clear_report_type() { - if (report_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - report_type_->clear(); - } - clear_has_report_type(); -} -inline const ::std::string& Report::report_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_type) - return *report_type_; -} -inline void Report::set_report_type(const ::std::string& value) { - set_has_report_type(); - if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - report_type_ = new ::std::string; - } - report_type_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_type) -} -inline void Report::set_report_type(const char* value) { - set_has_report_type(); - if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - report_type_ = new ::std::string; - } - report_type_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.Report.report_type) -} -inline void Report::set_report_type(const char* value, size_t size) { - set_has_report_type(); - if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - report_type_ = new ::std::string; - } - report_type_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.Report.report_type) -} -inline ::std::string* Report::mutable_report_type() { - set_has_report_type(); - if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - report_type_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.report_type) - return report_type_; -} -inline ::std::string* Report::release_report_type() { - clear_has_report_type(); - if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = report_type_; - report_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void Report::set_allocated_report_type(::std::string* report_type) { - if (report_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete report_type_; - } - if (report_type) { - set_has_report_type(); - report_type_ = report_type; - } else { - clear_has_report_type(); - report_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.report_type) -} - -// repeated .bgs.protocol.Attribute attribute = 2; -inline int Report::attribute_size() const { - return attribute_.size(); -} -inline void Report::clear_attribute() { - attribute_.Clear(); -} -inline const ::bgs::protocol::Attribute& Report::attribute(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.attribute) - return attribute_.Get(index); -} -inline ::bgs::protocol::Attribute* Report::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.attribute) - return attribute_.Mutable(index); -} -inline ::bgs::protocol::Attribute* Report::add_attribute() { - // @@protoc_insertion_point(field_add:bgs.protocol.report.v1.Report.attribute) - return attribute_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -Report::attribute() const { - // @@protoc_insertion_point(field_list:bgs.protocol.report.v1.Report.attribute) - return attribute_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -Report::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.report.v1.Report.attribute) - return &attribute_; -} - -// optional int32 report_qos = 3 [default = 0]; -inline bool Report::has_report_qos() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void Report::set_has_report_qos() { - _has_bits_[0] |= 0x00000004u; -} -inline void Report::clear_has_report_qos() { - _has_bits_[0] &= ~0x00000004u; -} -inline void Report::clear_report_qos() { - report_qos_ = 0; - clear_has_report_qos(); -} -inline ::google::protobuf::int32 Report::report_qos() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_qos) - return report_qos_; -} -inline void Report::set_report_qos(::google::protobuf::int32 value) { - set_has_report_qos(); - report_qos_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_qos) -} - -// optional .bgs.protocol.EntityId reporting_account = 4; -inline bool Report::has_reporting_account() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void Report::set_has_reporting_account() { - _has_bits_[0] |= 0x00000008u; -} -inline void Report::clear_has_reporting_account() { - _has_bits_[0] &= ~0x00000008u; -} -inline void Report::clear_reporting_account() { - if (reporting_account_ != NULL) reporting_account_->::bgs::protocol::EntityId::Clear(); - clear_has_reporting_account(); -} -inline const ::bgs::protocol::EntityId& Report::reporting_account() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.reporting_account) - return reporting_account_ != NULL ? *reporting_account_ : *default_instance_->reporting_account_; -} -inline ::bgs::protocol::EntityId* Report::mutable_reporting_account() { - set_has_reporting_account(); - if (reporting_account_ == NULL) reporting_account_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.reporting_account) - return reporting_account_; -} -inline ::bgs::protocol::EntityId* Report::release_reporting_account() { - clear_has_reporting_account(); - ::bgs::protocol::EntityId* temp = reporting_account_; - reporting_account_ = NULL; - return temp; -} -inline void Report::set_allocated_reporting_account(::bgs::protocol::EntityId* reporting_account) { - delete reporting_account_; - reporting_account_ = reporting_account; - if (reporting_account) { - set_has_reporting_account(); - } else { - clear_has_reporting_account(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.reporting_account) -} - -// optional .bgs.protocol.EntityId reporting_game_account = 5; -inline bool Report::has_reporting_game_account() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void Report::set_has_reporting_game_account() { - _has_bits_[0] |= 0x00000010u; -} -inline void Report::clear_has_reporting_game_account() { - _has_bits_[0] &= ~0x00000010u; -} -inline void Report::clear_reporting_game_account() { - if (reporting_game_account_ != NULL) reporting_game_account_->::bgs::protocol::EntityId::Clear(); - clear_has_reporting_game_account(); -} -inline const ::bgs::protocol::EntityId& Report::reporting_game_account() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.reporting_game_account) - return reporting_game_account_ != NULL ? *reporting_game_account_ : *default_instance_->reporting_game_account_; -} -inline ::bgs::protocol::EntityId* Report::mutable_reporting_game_account() { - set_has_reporting_game_account(); - if (reporting_game_account_ == NULL) reporting_game_account_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.reporting_game_account) - return reporting_game_account_; -} -inline ::bgs::protocol::EntityId* Report::release_reporting_game_account() { - clear_has_reporting_game_account(); - ::bgs::protocol::EntityId* temp = reporting_game_account_; - reporting_game_account_ = NULL; - return temp; -} -inline void Report::set_allocated_reporting_game_account(::bgs::protocol::EntityId* reporting_game_account) { - delete reporting_game_account_; - reporting_game_account_ = reporting_game_account; - if (reporting_game_account) { - set_has_reporting_game_account(); - } else { - clear_has_reporting_game_account(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.reporting_game_account) -} - -// optional fixed64 report_timestamp = 6; -inline bool Report::has_report_timestamp() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Report::set_has_report_timestamp() { - _has_bits_[0] |= 0x00000020u; -} -inline void Report::clear_has_report_timestamp() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Report::clear_report_timestamp() { - report_timestamp_ = GOOGLE_ULONGLONG(0); - clear_has_report_timestamp(); -} -inline ::google::protobuf::uint64 Report::report_timestamp() const { - // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_timestamp) - return report_timestamp_; -} -inline void Report::set_report_timestamp(::google::protobuf::uint64 value) { - set_has_report_timestamp(); - report_timestamp_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_timestamp) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace report -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::report::v1::SpamReport_SpamSource> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::report::v1::SpamReport_SpamSource>() { - return ::bgs::protocol::report::v1::SpamReport_SpamSource_descriptor(); -} -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_report_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/user_manager_service.pb.cc b/src/server/proto/Client/user_manager_service.pb.cc deleted file mode 100644 index 66da6348075..00000000000 --- a/src/server/proto/Client/user_manager_service.pb.cc +++ /dev/null @@ -1,1496 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: user_manager_service.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "user_manager_service.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include "BattlenetRpcErrorCodes.h" -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace user_manager { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* SubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* SubscribeResponse_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - SubscribeResponse_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnsubscribeRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnsubscribeRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* AddRecentPlayersRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - AddRecentPlayersRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* ClearRecentPlayersRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - ClearRecentPlayersRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* BlockPlayerRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - BlockPlayerRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* UnblockPlayerRequest_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - UnblockPlayerRequest_reflection_ = NULL; -const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - BlockedPlayerAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - BlockedPlayerRemovedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* RecentPlayersAddedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RecentPlayersAddedNotification_reflection_ = NULL; -const ::google::protobuf::Descriptor* RecentPlayersRemovedNotification_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RecentPlayersRemovedNotification_reflection_ = NULL; -const ::google::protobuf::ServiceDescriptor* UserManagerService_descriptor_ = NULL; -const ::google::protobuf::ServiceDescriptor* UserManagerListener_descriptor_ = NULL; - -} // namespace - -void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto() { - protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "user_manager_service.proto"); - GOOGLE_CHECK(file != NULL); - SubscribeRequest_descriptor_ = file->message_type(0); - static const int SubscribeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, object_id_), - }; - SubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeRequest_descriptor_, - SubscribeRequest::default_instance_, - SubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeRequest)); - SubscribeResponse_descriptor_ = file->message_type(1); - static const int SubscribeResponse_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, blocked_players_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, recent_players_), - }; - SubscribeResponse_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - SubscribeResponse_descriptor_, - SubscribeResponse::default_instance_, - SubscribeResponse_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SubscribeResponse, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(SubscribeResponse)); - UnsubscribeRequest_descriptor_ = file->message_type(2); - static const int UnsubscribeRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, object_id_), - }; - UnsubscribeRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnsubscribeRequest_descriptor_, - UnsubscribeRequest::default_instance_, - UnsubscribeRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnsubscribeRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnsubscribeRequest)); - AddRecentPlayersRequest_descriptor_ = file->message_type(3); - static const int AddRecentPlayersRequest_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddRecentPlayersRequest, players_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddRecentPlayersRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddRecentPlayersRequest, program_), - }; - AddRecentPlayersRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - AddRecentPlayersRequest_descriptor_, - AddRecentPlayersRequest::default_instance_, - AddRecentPlayersRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddRecentPlayersRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AddRecentPlayersRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(AddRecentPlayersRequest)); - ClearRecentPlayersRequest_descriptor_ = file->message_type(4); - static const int ClearRecentPlayersRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClearRecentPlayersRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClearRecentPlayersRequest, program_), - }; - ClearRecentPlayersRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - ClearRecentPlayersRequest_descriptor_, - ClearRecentPlayersRequest::default_instance_, - ClearRecentPlayersRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClearRecentPlayersRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ClearRecentPlayersRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(ClearRecentPlayersRequest)); - BlockPlayerRequest_descriptor_ = file->message_type(5); - static const int BlockPlayerRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, target_id_), - }; - BlockPlayerRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - BlockPlayerRequest_descriptor_, - BlockPlayerRequest::default_instance_, - BlockPlayerRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockPlayerRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(BlockPlayerRequest)); - UnblockPlayerRequest_descriptor_ = file->message_type(6); - static const int UnblockPlayerRequest_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, agent_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, target_id_), - }; - UnblockPlayerRequest_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - UnblockPlayerRequest_descriptor_, - UnblockPlayerRequest::default_instance_, - UnblockPlayerRequest_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UnblockPlayerRequest, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(UnblockPlayerRequest)); - BlockedPlayerAddedNotification_descriptor_ = file->message_type(7); - static const int BlockedPlayerAddedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, player_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, game_account_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, account_id_), - }; - BlockedPlayerAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - BlockedPlayerAddedNotification_descriptor_, - BlockedPlayerAddedNotification::default_instance_, - BlockedPlayerAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(BlockedPlayerAddedNotification)); - BlockedPlayerRemovedNotification_descriptor_ = file->message_type(8); - static const int BlockedPlayerRemovedNotification_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, player_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, game_account_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, account_id_), - }; - BlockedPlayerRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - BlockedPlayerRemovedNotification_descriptor_, - BlockedPlayerRemovedNotification::default_instance_, - BlockedPlayerRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayerRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(BlockedPlayerRemovedNotification)); - RecentPlayersAddedNotification_descriptor_ = file->message_type(9); - static const int RecentPlayersAddedNotification_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersAddedNotification, player_), - }; - RecentPlayersAddedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RecentPlayersAddedNotification_descriptor_, - RecentPlayersAddedNotification::default_instance_, - RecentPlayersAddedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersAddedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersAddedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RecentPlayersAddedNotification)); - RecentPlayersRemovedNotification_descriptor_ = file->message_type(10); - static const int RecentPlayersRemovedNotification_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersRemovedNotification, player_), - }; - RecentPlayersRemovedNotification_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RecentPlayersRemovedNotification_descriptor_, - RecentPlayersRemovedNotification::default_instance_, - RecentPlayersRemovedNotification_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersRemovedNotification, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayersRemovedNotification, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RecentPlayersRemovedNotification)); - UserManagerService_descriptor_ = file->service(0); - UserManagerListener_descriptor_ = file->service(1); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_user_5fmanager_5fservice_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeRequest_descriptor_, &SubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - SubscribeResponse_descriptor_, &SubscribeResponse::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnsubscribeRequest_descriptor_, &UnsubscribeRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - AddRecentPlayersRequest_descriptor_, &AddRecentPlayersRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - ClearRecentPlayersRequest_descriptor_, &ClearRecentPlayersRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - BlockPlayerRequest_descriptor_, &BlockPlayerRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - UnblockPlayerRequest_descriptor_, &UnblockPlayerRequest::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - BlockedPlayerAddedNotification_descriptor_, &BlockedPlayerAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - BlockedPlayerRemovedNotification_descriptor_, &BlockedPlayerRemovedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RecentPlayersAddedNotification_descriptor_, &RecentPlayersAddedNotification::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RecentPlayersRemovedNotification_descriptor_, &RecentPlayersRemovedNotification::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto() { - delete SubscribeRequest::default_instance_; - delete SubscribeRequest_reflection_; - delete SubscribeResponse::default_instance_; - delete SubscribeResponse_reflection_; - delete UnsubscribeRequest::default_instance_; - delete UnsubscribeRequest_reflection_; - delete AddRecentPlayersRequest::default_instance_; - delete AddRecentPlayersRequest_reflection_; - delete ClearRecentPlayersRequest::default_instance_; - delete ClearRecentPlayersRequest_reflection_; - delete BlockPlayerRequest::default_instance_; - delete BlockPlayerRequest_reflection_; - delete UnblockPlayerRequest::default_instance_; - delete UnblockPlayerRequest_reflection_; - delete BlockedPlayerAddedNotification::default_instance_; - delete BlockedPlayerAddedNotification_reflection_; - delete BlockedPlayerRemovedNotification::default_instance_; - delete BlockedPlayerRemovedNotification_reflection_; - delete RecentPlayersAddedNotification::default_instance_; - delete RecentPlayersAddedNotification_reflection_; - delete RecentPlayersRemovedNotification::default_instance_; - delete RecentPlayersRemovedNotification_reflection_; -} - -void protobuf_AddDesc_user_5fmanager_5fservice_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::user_manager::v1::protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_rpc_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\032user_manager_service.proto\022\034bgs.protoc" - "ol.user_manager.v1\032\030user_manager_types.p" - "roto\032\022entity_types.proto\032\017rpc_types.prot" - "o\"W\n\020SubscribeRequest\0220\n\010agent_id\030\001 \001(\0132" - "\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\021\n\tobjec" - "t_id\030\002 \002(\004\"\235\001\n\021SubscribeResponse\022D\n\017bloc" - "ked_players\030\001 \003(\0132+.bgs.protocol.user_ma" - "nager.v1.BlockedPlayer\022B\n\016recent_players" - "\030\002 \003(\0132*.bgs.protocol.user_manager.v1.Re" - "centPlayer\"Y\n\022UnsubscribeRequest\0220\n\010agen" - "t_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002" - " \001\022\021\n\tobject_id\030\002 \001(\004\"\257\001\n\027AddRecentPlaye" - "rsRequest\022I\n\007players\030\001 \003(\0132*.bgs.protoco" - "l.user_manager.v1.RecentPlayerB\014\212\371+\010*\006\n\004" - "\010\001\020\024\0220\n\010agent_id\030\002 \001(\0132\026.bgs.protocol.En" - "tityIdB\006\202\371+\002 \001\022\017\n\007program\030\003 \001(\r:\006\202\371+\002\020\001\"" - "^\n\031ClearRecentPlayersRequest\0220\n\010agent_id" - "\030\001 \001(\0132\026.bgs.protocol.EntityIdB\006\202\371+\002 \001\022\017" - "\n\007program\030\002 \001(\r\"y\n\022BlockPlayerRequest\0220\n" - "\010agent_id\030\001 \001(\0132\026.bgs.protocol.EntityIdB" - "\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs.protoco" - "l.EntityId:\006\202\371+\002\020\001\"{\n\024UnblockPlayerReque" - "st\0220\n\010agent_id\030\001 \001(\0132\026.bgs.protocol.Enti" - "tyIdB\006\202\371+\002 \001\022)\n\ttarget_id\030\002 \002(\0132\026.bgs.pr" - "otocol.EntityId:\006\202\371+\002\020\001\"\272\001\n\036BlockedPlaye" - "rAddedNotification\022;\n\006player\030\001 \002(\0132+.bgs" - ".protocol.user_manager.v1.BlockedPlayer\022" - "/\n\017game_account_id\030\002 \001(\0132\026.bgs.protocol." - "EntityId\022*\n\naccount_id\030\003 \001(\0132\026.bgs.proto" - "col.EntityId\"\274\001\n BlockedPlayerRemovedNot" - "ification\022;\n\006player\030\001 \002(\0132+.bgs.protocol" - ".user_manager.v1.BlockedPlayer\022/\n\017game_a" - "ccount_id\030\002 \001(\0132\026.bgs.protocol.EntityId\022" - "*\n\naccount_id\030\003 \001(\0132\026.bgs.protocol.Entit" - "yId\"\\\n\036RecentPlayersAddedNotification\022:\n" - "\006player\030\001 \003(\0132*.bgs.protocol.user_manage" - "r.v1.RecentPlayer\"^\n RecentPlayersRemove" - "dNotification\022:\n\006player\030\001 \003(\0132*.bgs.prot" - "ocol.user_manager.v1.RecentPlayer2\265\006\n\022Us" - "erManagerService\022t\n\tSubscribe\022..bgs.prot" - "ocol.user_manager.v1.SubscribeRequest\032/." - "bgs.protocol.user_manager.v1.SubscribeRe" - "sponse\"\006\202\371+\002\010\001\022g\n\020AddRecentPlayers\0225.bgs" - ".protocol.user_manager.v1.AddRecentPlaye" - "rsRequest\032\024.bgs.protocol.NoData\"\006\202\371+\002\010\n\022" - "k\n\022ClearRecentPlayers\0227.bgs.protocol.use" - "r_manager.v1.ClearRecentPlayersRequest\032\024" - ".bgs.protocol.NoData\"\006\202\371+\002\010\013\022]\n\013BlockPla" - "yer\0220.bgs.protocol.user_manager.v1.Block" - "PlayerRequest\032\024.bgs.protocol.NoData\"\006\202\371+" - "\002\010\024\022a\n\rUnblockPlayer\0222.bgs.protocol.user" - "_manager.v1.UnblockPlayerRequest\032\024.bgs.p" - "rotocol.NoData\"\006\202\371+\002\010\025\022g\n\025BlockPlayerFor" - "Session\0220.bgs.protocol.user_manager.v1.B" - "lockPlayerRequest\032\024.bgs.protocol.NoData\"" - "\006\202\371+\002\010(\022]\n\013Unsubscribe\0220.bgs.protocol.us" - "er_manager.v1.UnsubscribeRequest\032\024.bgs.p" - "rotocol.NoData\"\006\202\371+\002\0103\032I\202\371+\?\n-bnet.proto" - "col.user_manager.UserManagerService*\014use" - "r_manager0\001\212\371+\002\020\0012\275\004\n\023UserManagerListene" - "r\022w\n\024OnBlockedPlayerAdded\022<.bgs.protocol" - ".user_manager.v1.BlockedPlayerAddedNotif" - "ication\032\031.bgs.protocol.NO_RESPONSE\"\006\202\371+\002" - "\010\001\022{\n\026OnBlockedPlayerRemoved\022>.bgs.proto" - "col.user_manager.v1.BlockedPlayerRemoved" - "Notification\032\031.bgs.protocol.NO_RESPONSE\"" - "\006\202\371+\002\010\002\022w\n\024OnRecentPlayersAdded\022<.bgs.pr" - "otocol.user_manager.v1.RecentPlayersAdde" - "dNotification\032\031.bgs.protocol.NO_RESPONSE" - "\"\006\202\371+\002\010\013\022{\n\026OnRecentPlayersRemoved\022>.bgs" - ".protocol.user_manager.v1.RecentPlayersR" - "emovedNotification\032\031.bgs.protocol.NO_RES" - "PONSE\"\006\202\371+\002\010\014\032:\202\371+0\n,bnet.protocol.user_" - "manager.UserManagerNotify8\001\212\371+\002\010\001B\005H\002\200\001\000", 2960); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "user_manager_service.proto", &protobuf_RegisterTypes); - SubscribeRequest::default_instance_ = new SubscribeRequest(); - SubscribeResponse::default_instance_ = new SubscribeResponse(); - UnsubscribeRequest::default_instance_ = new UnsubscribeRequest(); - AddRecentPlayersRequest::default_instance_ = new AddRecentPlayersRequest(); - ClearRecentPlayersRequest::default_instance_ = new ClearRecentPlayersRequest(); - BlockPlayerRequest::default_instance_ = new BlockPlayerRequest(); - UnblockPlayerRequest::default_instance_ = new UnblockPlayerRequest(); - BlockedPlayerAddedNotification::default_instance_ = new BlockedPlayerAddedNotification(); - BlockedPlayerRemovedNotification::default_instance_ = new BlockedPlayerRemovedNotification(); - RecentPlayersAddedNotification::default_instance_ = new RecentPlayersAddedNotification(); - RecentPlayersRemovedNotification::default_instance_ = new RecentPlayersRemovedNotification(); - SubscribeRequest::default_instance_->InitAsDefaultInstance(); - SubscribeResponse::default_instance_->InitAsDefaultInstance(); - UnsubscribeRequest::default_instance_->InitAsDefaultInstance(); - AddRecentPlayersRequest::default_instance_->InitAsDefaultInstance(); - ClearRecentPlayersRequest::default_instance_->InitAsDefaultInstance(); - BlockPlayerRequest::default_instance_->InitAsDefaultInstance(); - UnblockPlayerRequest::default_instance_->InitAsDefaultInstance(); - BlockedPlayerAddedNotification::default_instance_->InitAsDefaultInstance(); - BlockedPlayerRemovedNotification::default_instance_->InitAsDefaultInstance(); - RecentPlayersAddedNotification::default_instance_->InitAsDefaultInstance(); - RecentPlayersRemovedNotification::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_user_5fmanager_5fservice_2eproto { - StaticDescriptorInitializer_user_5fmanager_5fservice_2eproto() { - protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - } -} static_descriptor_initializer_user_5fmanager_5fservice_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeRequest::kAgentIdFieldNumber; -const int SubscribeRequest::kObjectIdFieldNumber; -#endif // !_MSC_VER - -SubscribeRequest::SubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.SubscribeRequest) -} - -void SubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -SubscribeRequest::SubscribeRequest(const SubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.SubscribeRequest) -} - -void SubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - object_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeRequest::~SubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.SubscribeRequest) - SharedDtor(); -} - -void SubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void SubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeRequest_descriptor_; -} - -const SubscribeRequest& SubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -SubscribeRequest* SubscribeRequest::default_instance_ = NULL; - -SubscribeRequest* SubscribeRequest::New() const { - return new SubscribeRequest; -} - -void SubscribeRequest::Swap(SubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeRequest_descriptor_; - metadata.reflection = SubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int SubscribeResponse::kBlockedPlayersFieldNumber; -const int SubscribeResponse::kRecentPlayersFieldNumber; -#endif // !_MSC_VER - -SubscribeResponse::SubscribeResponse() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.SubscribeResponse) -} - -void SubscribeResponse::InitAsDefaultInstance() { -} - -SubscribeResponse::SubscribeResponse(const SubscribeResponse& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.SubscribeResponse) -} - -void SubscribeResponse::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -SubscribeResponse::~SubscribeResponse() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.SubscribeResponse) - SharedDtor(); -} - -void SubscribeResponse::SharedDtor() { - if (this != default_instance_) { - } -} - -void SubscribeResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SubscribeResponse::descriptor() { - protobuf_AssignDescriptorsOnce(); - return SubscribeResponse_descriptor_; -} - -const SubscribeResponse& SubscribeResponse::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -SubscribeResponse* SubscribeResponse::default_instance_ = NULL; - -SubscribeResponse* SubscribeResponse::New() const { - return new SubscribeResponse; -} - -void SubscribeResponse::Swap(SubscribeResponse* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata SubscribeResponse::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = SubscribeResponse_descriptor_; - metadata.reflection = SubscribeResponse_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnsubscribeRequest::kAgentIdFieldNumber; -const int UnsubscribeRequest::kObjectIdFieldNumber; -#endif // !_MSC_VER - -UnsubscribeRequest::UnsubscribeRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.UnsubscribeRequest) -} - -void UnsubscribeRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -UnsubscribeRequest::UnsubscribeRequest(const UnsubscribeRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.UnsubscribeRequest) -} - -void UnsubscribeRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - object_id_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnsubscribeRequest::~UnsubscribeRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.UnsubscribeRequest) - SharedDtor(); -} - -void UnsubscribeRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void UnsubscribeRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnsubscribeRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnsubscribeRequest_descriptor_; -} - -const UnsubscribeRequest& UnsubscribeRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -UnsubscribeRequest* UnsubscribeRequest::default_instance_ = NULL; - -UnsubscribeRequest* UnsubscribeRequest::New() const { - return new UnsubscribeRequest; -} - -void UnsubscribeRequest::Swap(UnsubscribeRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnsubscribeRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnsubscribeRequest_descriptor_; - metadata.reflection = UnsubscribeRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int AddRecentPlayersRequest::kPlayersFieldNumber; -const int AddRecentPlayersRequest::kAgentIdFieldNumber; -const int AddRecentPlayersRequest::kProgramFieldNumber; -#endif // !_MSC_VER - -AddRecentPlayersRequest::AddRecentPlayersRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.AddRecentPlayersRequest) -} - -void AddRecentPlayersRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -AddRecentPlayersRequest::AddRecentPlayersRequest(const AddRecentPlayersRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.AddRecentPlayersRequest) -} - -void AddRecentPlayersRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - program_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -AddRecentPlayersRequest::~AddRecentPlayersRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.AddRecentPlayersRequest) - SharedDtor(); -} - -void AddRecentPlayersRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void AddRecentPlayersRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddRecentPlayersRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return AddRecentPlayersRequest_descriptor_; -} - -const AddRecentPlayersRequest& AddRecentPlayersRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -AddRecentPlayersRequest* AddRecentPlayersRequest::default_instance_ = NULL; - -AddRecentPlayersRequest* AddRecentPlayersRequest::New() const { - return new AddRecentPlayersRequest; -} - -void AddRecentPlayersRequest::Swap(AddRecentPlayersRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata AddRecentPlayersRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = AddRecentPlayersRequest_descriptor_; - metadata.reflection = AddRecentPlayersRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int ClearRecentPlayersRequest::kAgentIdFieldNumber; -const int ClearRecentPlayersRequest::kProgramFieldNumber; -#endif // !_MSC_VER - -ClearRecentPlayersRequest::ClearRecentPlayersRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest) -} - -void ClearRecentPlayersRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -ClearRecentPlayersRequest::ClearRecentPlayersRequest(const ClearRecentPlayersRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest) -} - -void ClearRecentPlayersRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - program_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -ClearRecentPlayersRequest::~ClearRecentPlayersRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest) - SharedDtor(); -} - -void ClearRecentPlayersRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - } -} - -void ClearRecentPlayersRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ClearRecentPlayersRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return ClearRecentPlayersRequest_descriptor_; -} - -const ClearRecentPlayersRequest& ClearRecentPlayersRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -ClearRecentPlayersRequest* ClearRecentPlayersRequest::default_instance_ = NULL; - -ClearRecentPlayersRequest* ClearRecentPlayersRequest::New() const { - return new ClearRecentPlayersRequest; -} - -void ClearRecentPlayersRequest::Swap(ClearRecentPlayersRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata ClearRecentPlayersRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = ClearRecentPlayersRequest_descriptor_; - metadata.reflection = ClearRecentPlayersRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int BlockPlayerRequest::kAgentIdFieldNumber; -const int BlockPlayerRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -BlockPlayerRequest::BlockPlayerRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.BlockPlayerRequest) -} - -void BlockPlayerRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -BlockPlayerRequest::BlockPlayerRequest(const BlockPlayerRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.BlockPlayerRequest) -} - -void BlockPlayerRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -BlockPlayerRequest::~BlockPlayerRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.BlockPlayerRequest) - SharedDtor(); -} - -void BlockPlayerRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void BlockPlayerRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BlockPlayerRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return BlockPlayerRequest_descriptor_; -} - -const BlockPlayerRequest& BlockPlayerRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -BlockPlayerRequest* BlockPlayerRequest::default_instance_ = NULL; - -BlockPlayerRequest* BlockPlayerRequest::New() const { - return new BlockPlayerRequest; -} - -void BlockPlayerRequest::Swap(BlockPlayerRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata BlockPlayerRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = BlockPlayerRequest_descriptor_; - metadata.reflection = BlockPlayerRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int UnblockPlayerRequest::kAgentIdFieldNumber; -const int UnblockPlayerRequest::kTargetIdFieldNumber; -#endif // !_MSC_VER - -UnblockPlayerRequest::UnblockPlayerRequest() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.UnblockPlayerRequest) -} - -void UnblockPlayerRequest::InitAsDefaultInstance() { - agent_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - target_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -UnblockPlayerRequest::UnblockPlayerRequest(const UnblockPlayerRequest& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.UnblockPlayerRequest) -} - -void UnblockPlayerRequest::SharedCtor() { - _cached_size_ = 0; - agent_id_ = NULL; - target_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -UnblockPlayerRequest::~UnblockPlayerRequest() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.UnblockPlayerRequest) - SharedDtor(); -} - -void UnblockPlayerRequest::SharedDtor() { - if (this != default_instance_) { - delete agent_id_; - delete target_id_; - } -} - -void UnblockPlayerRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* UnblockPlayerRequest::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UnblockPlayerRequest_descriptor_; -} - -const UnblockPlayerRequest& UnblockPlayerRequest::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -UnblockPlayerRequest* UnblockPlayerRequest::default_instance_ = NULL; - -UnblockPlayerRequest* UnblockPlayerRequest::New() const { - return new UnblockPlayerRequest; -} - -void UnblockPlayerRequest::Swap(UnblockPlayerRequest* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata UnblockPlayerRequest::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = UnblockPlayerRequest_descriptor_; - metadata.reflection = UnblockPlayerRequest_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int BlockedPlayerAddedNotification::kPlayerFieldNumber; -const int BlockedPlayerAddedNotification::kGameAccountIdFieldNumber; -const int BlockedPlayerAddedNotification::kAccountIdFieldNumber; -#endif // !_MSC_VER - -BlockedPlayerAddedNotification::BlockedPlayerAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification) -} - -void BlockedPlayerAddedNotification::InitAsDefaultInstance() { - player_ = const_cast< ::bgs::protocol::user_manager::v1::BlockedPlayer*>(&::bgs::protocol::user_manager::v1::BlockedPlayer::default_instance()); - game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -BlockedPlayerAddedNotification::BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification) -} - -void BlockedPlayerAddedNotification::SharedCtor() { - _cached_size_ = 0; - player_ = NULL; - game_account_id_ = NULL; - account_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -BlockedPlayerAddedNotification::~BlockedPlayerAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification) - SharedDtor(); -} - -void BlockedPlayerAddedNotification::SharedDtor() { - if (this != default_instance_) { - delete player_; - delete game_account_id_; - delete account_id_; - } -} - -void BlockedPlayerAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BlockedPlayerAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return BlockedPlayerAddedNotification_descriptor_; -} - -const BlockedPlayerAddedNotification& BlockedPlayerAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::default_instance_ = NULL; - -BlockedPlayerAddedNotification* BlockedPlayerAddedNotification::New() const { - return new BlockedPlayerAddedNotification; -} - -void BlockedPlayerAddedNotification::Swap(BlockedPlayerAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata BlockedPlayerAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = BlockedPlayerAddedNotification_descriptor_; - metadata.reflection = BlockedPlayerAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int BlockedPlayerRemovedNotification::kPlayerFieldNumber; -const int BlockedPlayerRemovedNotification::kGameAccountIdFieldNumber; -const int BlockedPlayerRemovedNotification::kAccountIdFieldNumber; -#endif // !_MSC_VER - -BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification) -} - -void BlockedPlayerRemovedNotification::InitAsDefaultInstance() { - player_ = const_cast< ::bgs::protocol::user_manager::v1::BlockedPlayer*>(&::bgs::protocol::user_manager::v1::BlockedPlayer::default_instance()); - game_account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); - account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -BlockedPlayerRemovedNotification::BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification) -} - -void BlockedPlayerRemovedNotification::SharedCtor() { - _cached_size_ = 0; - player_ = NULL; - game_account_id_ = NULL; - account_id_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -BlockedPlayerRemovedNotification::~BlockedPlayerRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification) - SharedDtor(); -} - -void BlockedPlayerRemovedNotification::SharedDtor() { - if (this != default_instance_) { - delete player_; - delete game_account_id_; - delete account_id_; - } -} - -void BlockedPlayerRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BlockedPlayerRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return BlockedPlayerRemovedNotification_descriptor_; -} - -const BlockedPlayerRemovedNotification& BlockedPlayerRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::default_instance_ = NULL; - -BlockedPlayerRemovedNotification* BlockedPlayerRemovedNotification::New() const { - return new BlockedPlayerRemovedNotification; -} - -void BlockedPlayerRemovedNotification::Swap(BlockedPlayerRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata BlockedPlayerRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = BlockedPlayerRemovedNotification_descriptor_; - metadata.reflection = BlockedPlayerRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RecentPlayersAddedNotification::kPlayerFieldNumber; -#endif // !_MSC_VER - -RecentPlayersAddedNotification::RecentPlayersAddedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification) -} - -void RecentPlayersAddedNotification::InitAsDefaultInstance() { -} - -RecentPlayersAddedNotification::RecentPlayersAddedNotification(const RecentPlayersAddedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification) -} - -void RecentPlayersAddedNotification::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RecentPlayersAddedNotification::~RecentPlayersAddedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification) - SharedDtor(); -} - -void RecentPlayersAddedNotification::SharedDtor() { - if (this != default_instance_) { - } -} - -void RecentPlayersAddedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RecentPlayersAddedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RecentPlayersAddedNotification_descriptor_; -} - -const RecentPlayersAddedNotification& RecentPlayersAddedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -RecentPlayersAddedNotification* RecentPlayersAddedNotification::default_instance_ = NULL; - -RecentPlayersAddedNotification* RecentPlayersAddedNotification::New() const { - return new RecentPlayersAddedNotification; -} - -void RecentPlayersAddedNotification::Swap(RecentPlayersAddedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RecentPlayersAddedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RecentPlayersAddedNotification_descriptor_; - metadata.reflection = RecentPlayersAddedNotification_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int RecentPlayersRemovedNotification::kPlayerFieldNumber; -#endif // !_MSC_VER - -RecentPlayersRemovedNotification::RecentPlayersRemovedNotification() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification) -} - -void RecentPlayersRemovedNotification::InitAsDefaultInstance() { -} - -RecentPlayersRemovedNotification::RecentPlayersRemovedNotification(const RecentPlayersRemovedNotification& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification) -} - -void RecentPlayersRemovedNotification::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RecentPlayersRemovedNotification::~RecentPlayersRemovedNotification() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification) - SharedDtor(); -} - -void RecentPlayersRemovedNotification::SharedDtor() { - if (this != default_instance_) { - } -} - -void RecentPlayersRemovedNotification::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RecentPlayersRemovedNotification::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RecentPlayersRemovedNotification_descriptor_; -} - -const RecentPlayersRemovedNotification& RecentPlayersRemovedNotification::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - return *default_instance_; -} - -RecentPlayersRemovedNotification* RecentPlayersRemovedNotification::default_instance_ = NULL; - -RecentPlayersRemovedNotification* RecentPlayersRemovedNotification::New() const { - return new RecentPlayersRemovedNotification; -} - -void RecentPlayersRemovedNotification::Swap(RecentPlayersRemovedNotification* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RecentPlayersRemovedNotification::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RecentPlayersRemovedNotification_descriptor_; - metadata.reflection = RecentPlayersRemovedNotification_reflection_; - return metadata; -} - -// =================================================================== - -UserManagerService::UserManagerService(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -UserManagerService::~UserManagerService() { -} - -google::protobuf::ServiceDescriptor const* UserManagerService::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UserManagerService_descriptor_; -} - -void UserManagerService::CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) { - switch(methodId & 0x3FFFFFFF) { - case 1: - ParseAndHandleSubscribe(token, methodId, buffer); - break; - case 10: - ParseAndHandleAddRecentPlayers(token, methodId, buffer); - break; - case 11: - ParseAndHandleClearRecentPlayers(token, methodId, buffer); - break; - case 20: - ParseAndHandleBlockPlayer(token, methodId, buffer); - break; - case 21: - ParseAndHandleUnblockPlayer(token, methodId, buffer); - break; - case 40: - ParseAndHandleBlockPlayerForSession(token, methodId, buffer); - break; - case 51: - ParseAndHandleUnsubscribe(token, methodId, buffer); - break; - default: - LogInvalidMethod(methodId); - SendResponse(service_hash_, methodId, token, ERROR_RPC_INVALID_METHOD); - break; - } -} - -uint32 UserManagerService::HandleSubscribe(::bgs::protocol::user_manager::v1::SubscribeRequest const* request, ::bgs::protocol::user_manager::v1::SubscribeResponse* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.Subscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleAddRecentPlayers(::bgs::protocol::user_manager::v1::AddRecentPlayersRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.AddRecentPlayers", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleClearRecentPlayers(::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.ClearRecentPlayers", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleBlockPlayer(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.BlockPlayer", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleUnblockPlayer(::bgs::protocol::user_manager::v1::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.UnblockPlayer", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleBlockPlayerForSession(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.BlockPlayerForSession", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -uint32 UserManagerService::HandleUnsubscribe(::bgs::protocol::user_manager::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* /*response*/, std::function& /*continuation*/) { - LogUnimplementedServerMethod("UserManagerService.Unsubscribe", request); - return ERROR_RPC_NOT_IMPLEMENTED; -} - -void UserManagerService::ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::SubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.Subscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.Subscribe", "bgs.protocol.user_manager.v1.SubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.Subscribe", ::bgs::protocol::user_manager::v1::SubscribeResponse::descriptor()); - ::bgs::protocol::user_manager::v1::SubscribeResponse response; - uint32 status = HandleSubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleAddRecentPlayers(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::AddRecentPlayersRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.AddRecentPlayers"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.AddRecentPlayers", "bgs.protocol.user_manager.v1.AddRecentPlayersRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.AddRecentPlayers", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleAddRecentPlayers(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleClearRecentPlayers(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.ClearRecentPlayers"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.ClearRecentPlayers", "bgs.protocol.user_manager.v1.ClearRecentPlayersRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.ClearRecentPlayers", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleClearRecentPlayers(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::BlockPlayerRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.BlockPlayer"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.BlockPlayer", "bgs.protocol.user_manager.v1.BlockPlayerRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.BlockPlayer", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleBlockPlayer(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::UnblockPlayerRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.UnblockPlayer"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.UnblockPlayer", "bgs.protocol.user_manager.v1.UnblockPlayerRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.UnblockPlayer", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnblockPlayer(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::BlockPlayerRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.BlockPlayerForSession"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.BlockPlayerForSession", "bgs.protocol.user_manager.v1.BlockPlayerRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.BlockPlayerForSession", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleBlockPlayerForSession(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -void UserManagerService::ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer) { - ::bgs::protocol::user_manager::v1::UnsubscribeRequest request; - if (!request.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize())) { - LogFailedParsingRequest("UserManagerService.Unsubscribe"); - SendResponse(service_hash_, methodId, token, ERROR_RPC_MALFORMED_REQUEST); - return; - } - LogCallServerMethod("UserManagerService.Unsubscribe", "bgs.protocol.user_manager.v1.UnsubscribeRequest", &request); - std::function continuation = CreateServerContinuation(token, methodId, "UserManagerService.Unsubscribe", ::bgs::protocol::NoData::descriptor()); - ::bgs::protocol::NoData response; - uint32 status = HandleUnsubscribe(&request, &response, continuation); - if (continuation) - continuation(this, status, &response); -} - -// =================================================================== - -UserManagerListener::UserManagerListener(bool use_original_hash) : ServiceBase(use_original_hash ? OriginalHash::value : NameHash::value) { -} - -UserManagerListener::~UserManagerListener() { -} - -google::protobuf::ServiceDescriptor const* UserManagerListener::descriptor() { - protobuf_AssignDescriptorsOnce(); - return UserManagerListener_descriptor_; -} - -void UserManagerListener::OnBlockedPlayerAdded(::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("UserManagerListener.OnBlockedPlayerAdded", "bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification", request); - SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void UserManagerListener::OnBlockedPlayerRemoved(::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("UserManagerListener.OnBlockedPlayerRemoved", "bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification", request); - SendRequest(service_hash_, 2 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void UserManagerListener::OnRecentPlayersAdded(::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("UserManagerListener.OnRecentPlayersAdded", "bgs.protocol.user_manager.v1.RecentPlayersAddedNotification", request); - SendRequest(service_hash_, 11 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void UserManagerListener::OnRecentPlayersRemoved(::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification const* request, bool client /*= false*/, bool server /*= false*/) { - LogCallClientMethod("UserManagerListener.OnRecentPlayersRemoved", "bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification", request); - SendRequest(service_hash_, 12 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request); -} - -void UserManagerListener::CallServerMethod(uint32 /*token*/, uint32 methodId, MessageBuffer /*buffer*/) { - LogDisallowedMethod(methodId); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace user_manager -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/user_manager_service.pb.h b/src/server/proto/Client/user_manager_service.pb.h deleted file mode 100644 index 6ec6f2b313d..00000000000 --- a/src/server/proto/Client/user_manager_service.pb.h +++ /dev/null @@ -1,1896 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: user_manager_service.proto - -#ifndef PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED -#define PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "user_manager_types.pb.h" -#include "entity_types.pb.h" -#include "rpc_types.pb.h" -#include "ServiceBase.h" -#include "MessageBuffer.h" -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace user_manager { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); -void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); -void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - -class SubscribeRequest; -class SubscribeResponse; -class UnsubscribeRequest; -class AddRecentPlayersRequest; -class ClearRecentPlayersRequest; -class BlockPlayerRequest; -class UnblockPlayerRequest; -class BlockedPlayerAddedNotification; -class BlockedPlayerRemovedNotification; -class RecentPlayersAddedNotification; -class RecentPlayersRemovedNotification; - -// =================================================================== - -class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message { - public: - SubscribeRequest(); - virtual ~SubscribeRequest(); - - SubscribeRequest(const SubscribeRequest& from); - - inline SubscribeRequest& operator=(const SubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeRequest& default_instance(); - - void Swap(SubscribeRequest* other); - - // implements Message ---------------------------------------------- - - SubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.EntityId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // required uint64 object_id = 2; - inline bool has_object_id() const; - inline void clear_object_id(); - static const int kObjectIdFieldNumber = 2; - inline ::google::protobuf::uint64 object_id() const; - inline void set_object_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.SubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_object_id(); - inline void clear_has_object_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* agent_id_; - ::google::protobuf::uint64 object_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message { - public: - SubscribeResponse(); - virtual ~SubscribeResponse(); - - SubscribeResponse(const SubscribeResponse& from); - - inline SubscribeResponse& operator=(const SubscribeResponse& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const SubscribeResponse& default_instance(); - - void Swap(SubscribeResponse* other); - - // implements Message ---------------------------------------------- - - SubscribeResponse* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.user_manager.v1.BlockedPlayer blocked_players = 1; - inline int blocked_players_size() const; - inline void clear_blocked_players(); - static const int kBlockedPlayersFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& blocked_players(int index) const; - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_blocked_players(int index); - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* add_blocked_players(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >& - blocked_players() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >* - mutable_blocked_players(); - - // repeated .bgs.protocol.user_manager.v1.RecentPlayer recent_players = 2; - inline int recent_players_size() const; - inline void clear_recent_players(); - static const int kRecentPlayersFieldNumber = 2; - inline const ::bgs::protocol::user_manager::v1::RecentPlayer& recent_players(int index) const; - inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_recent_players(int index); - inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_recent_players(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& - recent_players() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* - mutable_recent_players(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.SubscribeResponse) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer > blocked_players_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > recent_players_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static SubscribeResponse* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message { - public: - UnsubscribeRequest(); - virtual ~UnsubscribeRequest(); - - UnsubscribeRequest(const UnsubscribeRequest& from); - - inline UnsubscribeRequest& operator=(const UnsubscribeRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnsubscribeRequest& default_instance(); - - void Swap(UnsubscribeRequest* other); - - // implements Message ---------------------------------------------- - - UnsubscribeRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.EntityId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // optional uint64 object_id = 2; - inline bool has_object_id() const; - inline void clear_object_id(); - static const int kObjectIdFieldNumber = 2; - inline ::google::protobuf::uint64 object_id() const; - inline void set_object_id(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.UnsubscribeRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_object_id(); - inline void clear_has_object_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* agent_id_; - ::google::protobuf::uint64 object_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static UnsubscribeRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API AddRecentPlayersRequest : public ::google::protobuf::Message { - public: - AddRecentPlayersRequest(); - virtual ~AddRecentPlayersRequest(); - - AddRecentPlayersRequest(const AddRecentPlayersRequest& from); - - inline AddRecentPlayersRequest& operator=(const AddRecentPlayersRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const AddRecentPlayersRequest& default_instance(); - - void Swap(AddRecentPlayersRequest* other); - - // implements Message ---------------------------------------------- - - AddRecentPlayersRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.user_manager.v1.RecentPlayer players = 1; - inline int players_size() const; - inline void clear_players(); - static const int kPlayersFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::RecentPlayer& players(int index) const; - inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_players(int index); - inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_players(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& - players() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* - mutable_players(); - - // optional .bgs.protocol.EntityId agent_id = 2; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 2; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // optional uint32 program = 3; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 3; - inline ::google::protobuf::uint32 program() const; - inline void set_program(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.AddRecentPlayersRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_program(); - inline void clear_has_program(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > players_; - ::bgs::protocol::EntityId* agent_id_; - ::google::protobuf::uint32 program_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static AddRecentPlayersRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API ClearRecentPlayersRequest : public ::google::protobuf::Message { - public: - ClearRecentPlayersRequest(); - virtual ~ClearRecentPlayersRequest(); - - ClearRecentPlayersRequest(const ClearRecentPlayersRequest& from); - - inline ClearRecentPlayersRequest& operator=(const ClearRecentPlayersRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const ClearRecentPlayersRequest& default_instance(); - - void Swap(ClearRecentPlayersRequest* other); - - // implements Message ---------------------------------------------- - - ClearRecentPlayersRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.EntityId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // optional uint32 program = 2; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 2; - inline ::google::protobuf::uint32 program() const; - inline void set_program(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_program(); - inline void clear_has_program(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* agent_id_; - ::google::protobuf::uint32 program_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static ClearRecentPlayersRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API BlockPlayerRequest : public ::google::protobuf::Message { - public: - BlockPlayerRequest(); - virtual ~BlockPlayerRequest(); - - BlockPlayerRequest(const BlockPlayerRequest& from); - - inline BlockPlayerRequest& operator=(const BlockPlayerRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const BlockPlayerRequest& default_instance(); - - void Swap(BlockPlayerRequest* other); - - // implements Message ---------------------------------------------- - - BlockPlayerRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.EntityId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // required .bgs.protocol.EntityId target_id = 2; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 2; - inline const ::bgs::protocol::EntityId& target_id() const; - inline ::bgs::protocol::EntityId* mutable_target_id(); - inline ::bgs::protocol::EntityId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockPlayerRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* agent_id_; - ::bgs::protocol::EntityId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static BlockPlayerRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API UnblockPlayerRequest : public ::google::protobuf::Message { - public: - UnblockPlayerRequest(); - virtual ~UnblockPlayerRequest(); - - UnblockPlayerRequest(const UnblockPlayerRequest& from); - - inline UnblockPlayerRequest& operator=(const UnblockPlayerRequest& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const UnblockPlayerRequest& default_instance(); - - void Swap(UnblockPlayerRequest* other); - - // implements Message ---------------------------------------------- - - UnblockPlayerRequest* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional .bgs.protocol.EntityId agent_id = 1; - inline bool has_agent_id() const; - inline void clear_agent_id(); - static const int kAgentIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& agent_id() const; - inline ::bgs::protocol::EntityId* mutable_agent_id(); - inline ::bgs::protocol::EntityId* release_agent_id(); - inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id); - - // required .bgs.protocol.EntityId target_id = 2; - inline bool has_target_id() const; - inline void clear_target_id(); - static const int kTargetIdFieldNumber = 2; - inline const ::bgs::protocol::EntityId& target_id() const; - inline ::bgs::protocol::EntityId* mutable_target_id(); - inline ::bgs::protocol::EntityId* release_target_id(); - inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.UnblockPlayerRequest) - private: - inline void set_has_agent_id(); - inline void clear_has_agent_id(); - inline void set_has_target_id(); - inline void clear_has_target_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* agent_id_; - ::bgs::protocol::EntityId* target_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static UnblockPlayerRequest* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API BlockedPlayerAddedNotification : public ::google::protobuf::Message { - public: - BlockedPlayerAddedNotification(); - virtual ~BlockedPlayerAddedNotification(); - - BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification& from); - - inline BlockedPlayerAddedNotification& operator=(const BlockedPlayerAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const BlockedPlayerAddedNotification& default_instance(); - - void Swap(BlockedPlayerAddedNotification* other); - - // implements Message ---------------------------------------------- - - BlockedPlayerAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1; - inline bool has_player() const; - inline void clear_player(); - static const int kPlayerFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& player() const; - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_player(); - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* release_player(); - inline void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player); - - // optional .bgs.protocol.EntityId game_account_id = 2; - inline bool has_game_account_id() const; - inline void clear_game_account_id(); - static const int kGameAccountIdFieldNumber = 2; - inline const ::bgs::protocol::EntityId& game_account_id() const; - inline ::bgs::protocol::EntityId* mutable_game_account_id(); - inline ::bgs::protocol::EntityId* release_game_account_id(); - inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id); - - // optional .bgs.protocol.EntityId account_id = 3; - inline bool has_account_id() const; - inline void clear_account_id(); - static const int kAccountIdFieldNumber = 3; - inline const ::bgs::protocol::EntityId& account_id() const; - inline ::bgs::protocol::EntityId* mutable_account_id(); - inline ::bgs::protocol::EntityId* release_account_id(); - inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification) - private: - inline void set_has_player(); - inline void clear_has_player(); - inline void set_has_game_account_id(); - inline void clear_has_game_account_id(); - inline void set_has_account_id(); - inline void clear_has_account_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::user_manager::v1::BlockedPlayer* player_; - ::bgs::protocol::EntityId* game_account_id_; - ::bgs::protocol::EntityId* account_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static BlockedPlayerAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API BlockedPlayerRemovedNotification : public ::google::protobuf::Message { - public: - BlockedPlayerRemovedNotification(); - virtual ~BlockedPlayerRemovedNotification(); - - BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification& from); - - inline BlockedPlayerRemovedNotification& operator=(const BlockedPlayerRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const BlockedPlayerRemovedNotification& default_instance(); - - void Swap(BlockedPlayerRemovedNotification* other); - - // implements Message ---------------------------------------------- - - BlockedPlayerRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1; - inline bool has_player() const; - inline void clear_player(); - static const int kPlayerFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& player() const; - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_player(); - inline ::bgs::protocol::user_manager::v1::BlockedPlayer* release_player(); - inline void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player); - - // optional .bgs.protocol.EntityId game_account_id = 2; - inline bool has_game_account_id() const; - inline void clear_game_account_id(); - static const int kGameAccountIdFieldNumber = 2; - inline const ::bgs::protocol::EntityId& game_account_id() const; - inline ::bgs::protocol::EntityId* mutable_game_account_id(); - inline ::bgs::protocol::EntityId* release_game_account_id(); - inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id); - - // optional .bgs.protocol.EntityId account_id = 3; - inline bool has_account_id() const; - inline void clear_account_id(); - static const int kAccountIdFieldNumber = 3; - inline const ::bgs::protocol::EntityId& account_id() const; - inline ::bgs::protocol::EntityId* mutable_account_id(); - inline ::bgs::protocol::EntityId* release_account_id(); - inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification) - private: - inline void set_has_player(); - inline void clear_has_player(); - inline void set_has_game_account_id(); - inline void clear_has_game_account_id(); - inline void set_has_account_id(); - inline void clear_has_account_id(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::user_manager::v1::BlockedPlayer* player_; - ::bgs::protocol::EntityId* game_account_id_; - ::bgs::protocol::EntityId* account_id_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static BlockedPlayerRemovedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RecentPlayersAddedNotification : public ::google::protobuf::Message { - public: - RecentPlayersAddedNotification(); - virtual ~RecentPlayersAddedNotification(); - - RecentPlayersAddedNotification(const RecentPlayersAddedNotification& from); - - inline RecentPlayersAddedNotification& operator=(const RecentPlayersAddedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RecentPlayersAddedNotification& default_instance(); - - void Swap(RecentPlayersAddedNotification* other); - - // implements Message ---------------------------------------------- - - RecentPlayersAddedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1; - inline int player_size() const; - inline void clear_player(); - static const int kPlayerFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::RecentPlayer& player(int index) const; - inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_player(int index); - inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_player(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& - player() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* - mutable_player(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static RecentPlayersAddedNotification* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API RecentPlayersRemovedNotification : public ::google::protobuf::Message { - public: - RecentPlayersRemovedNotification(); - virtual ~RecentPlayersRemovedNotification(); - - RecentPlayersRemovedNotification(const RecentPlayersRemovedNotification& from); - - inline RecentPlayersRemovedNotification& operator=(const RecentPlayersRemovedNotification& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RecentPlayersRemovedNotification& default_instance(); - - void Swap(RecentPlayersRemovedNotification* other); - - // implements Message ---------------------------------------------- - - RecentPlayersRemovedNotification* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1; - inline int player_size() const; - inline void clear_player(); - static const int kPlayerFieldNumber = 1; - inline const ::bgs::protocol::user_manager::v1::RecentPlayer& player(int index) const; - inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_player(int index); - inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_player(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& - player() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* - mutable_player(); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification) - private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto(); - - void InitAsDefaultInstance(); - static RecentPlayersRemovedNotification* default_instance_; -}; -// =================================================================== - -class TC_PROTO_API UserManagerService : public ServiceBase -{ - public: - - explicit UserManagerService(bool use_original_hash); - UserManagerService(UserManagerService const&) = delete; - UserManagerService(UserManagerService&&) = delete; - UserManagerService& operator=(UserManagerService const&) = delete; - UserManagerService& operator=(UserManagerService&&) = delete; - virtual ~UserManagerService(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; - - protected: - // server methods -------------------------------------------------- - virtual uint32 HandleSubscribe(::bgs::protocol::user_manager::v1::SubscribeRequest const* request, ::bgs::protocol::user_manager::v1::SubscribeResponse* response, std::function& continuation); - virtual uint32 HandleAddRecentPlayers(::bgs::protocol::user_manager::v1::AddRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleClearRecentPlayers(::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleBlockPlayer(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUnblockPlayer(::bgs::protocol::user_manager::v1::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - virtual uint32 HandleUnsubscribe(::bgs::protocol::user_manager::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function& continuation); - - private: - void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleAddRecentPlayers(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleClearRecentPlayers(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer& buffer); - void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer); -}; - -// ------------------------------------------------------------------- - -class TC_PROTO_API UserManagerListener : public ServiceBase -{ - public: - - explicit UserManagerListener(bool use_original_hash); - UserManagerListener(UserManagerListener const&) = delete; - UserManagerListener(UserManagerListener&&) = delete; - UserManagerListener& operator=(UserManagerListener const&) = delete; - UserManagerListener& operator=(UserManagerListener&&) = delete; - virtual ~UserManagerListener(); - - typedef std::integral_constant OriginalHash; - typedef std::integral_constant NameHash; - - static google::protobuf::ServiceDescriptor const* descriptor(); - - // client methods -------------------------------------------------- - void OnBlockedPlayerAdded(::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const* request, bool client = false, bool server = false); - void OnBlockedPlayerRemoved(::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const* request, bool client = false, bool server = false); - void OnRecentPlayersAdded(::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const* request, bool client = false, bool server = false); - void OnRecentPlayersRemoved(::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification const* request, bool client = false, bool server = false); - - void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final; -}; - -// =================================================================== - -// =================================================================== - -// SubscribeRequest - -// optional .bgs.protocol.EntityId agent_id = 1; -inline bool SubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void SubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void SubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void SubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& SubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* SubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* SubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void SubscribeRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id) -} - -// required uint64 object_id = 2; -inline bool SubscribeRequest::has_object_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void SubscribeRequest::set_has_object_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void SubscribeRequest::clear_has_object_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void SubscribeRequest::clear_object_id() { - object_id_ = GOOGLE_ULONGLONG(0); - clear_has_object_id(); -} -inline ::google::protobuf::uint64 SubscribeRequest::object_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeRequest.object_id) - return object_id_; -} -inline void SubscribeRequest::set_object_id(::google::protobuf::uint64 value) { - set_has_object_id(); - object_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.SubscribeRequest.object_id) -} - -// ------------------------------------------------------------------- - -// SubscribeResponse - -// repeated .bgs.protocol.user_manager.v1.BlockedPlayer blocked_players = 1; -inline int SubscribeResponse::blocked_players_size() const { - return blocked_players_.size(); -} -inline void SubscribeResponse::clear_blocked_players() { - blocked_players_.Clear(); -} -inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& SubscribeResponse::blocked_players(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players) - return blocked_players_.Get(index); -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* SubscribeResponse::mutable_blocked_players(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players) - return blocked_players_.Mutable(index); -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* SubscribeResponse::add_blocked_players() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players) - return blocked_players_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >& -SubscribeResponse::blocked_players() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players) - return blocked_players_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >* -SubscribeResponse::mutable_blocked_players() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players) - return &blocked_players_; -} - -// repeated .bgs.protocol.user_manager.v1.RecentPlayer recent_players = 2; -inline int SubscribeResponse::recent_players_size() const { - return recent_players_.size(); -} -inline void SubscribeResponse::clear_recent_players() { - recent_players_.Clear(); -} -inline const ::bgs::protocol::user_manager::v1::RecentPlayer& SubscribeResponse::recent_players(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players) - return recent_players_.Get(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* SubscribeResponse::mutable_recent_players(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players) - return recent_players_.Mutable(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* SubscribeResponse::add_recent_players() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players) - return recent_players_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& -SubscribeResponse::recent_players() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players) - return recent_players_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* -SubscribeResponse::mutable_recent_players() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players) - return &recent_players_; -} - -// ------------------------------------------------------------------- - -// UnsubscribeRequest - -// optional .bgs.protocol.EntityId agent_id = 1; -inline bool UnsubscribeRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnsubscribeRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnsubscribeRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnsubscribeRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& UnsubscribeRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* UnsubscribeRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* UnsubscribeRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnsubscribeRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id) -} - -// optional uint64 object_id = 2; -inline bool UnsubscribeRequest::has_object_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnsubscribeRequest::set_has_object_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnsubscribeRequest::clear_has_object_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnsubscribeRequest::clear_object_id() { - object_id_ = GOOGLE_ULONGLONG(0); - clear_has_object_id(); -} -inline ::google::protobuf::uint64 UnsubscribeRequest::object_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnsubscribeRequest.object_id) - return object_id_; -} -inline void UnsubscribeRequest::set_object_id(::google::protobuf::uint64 value) { - set_has_object_id(); - object_id_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.UnsubscribeRequest.object_id) -} - -// ------------------------------------------------------------------- - -// AddRecentPlayersRequest - -// repeated .bgs.protocol.user_manager.v1.RecentPlayer players = 1; -inline int AddRecentPlayersRequest::players_size() const { - return players_.size(); -} -inline void AddRecentPlayersRequest::clear_players() { - players_.Clear(); -} -inline const ::bgs::protocol::user_manager::v1::RecentPlayer& AddRecentPlayersRequest::players(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players) - return players_.Get(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* AddRecentPlayersRequest::mutable_players(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players) - return players_.Mutable(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* AddRecentPlayersRequest::add_players() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players) - return players_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& -AddRecentPlayersRequest::players() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players) - return players_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* -AddRecentPlayersRequest::mutable_players() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players) - return &players_; -} - -// optional .bgs.protocol.EntityId agent_id = 2; -inline bool AddRecentPlayersRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void AddRecentPlayersRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void AddRecentPlayersRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void AddRecentPlayersRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& AddRecentPlayersRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* AddRecentPlayersRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* AddRecentPlayersRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void AddRecentPlayersRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id) -} - -// optional uint32 program = 3; -inline bool AddRecentPlayersRequest::has_program() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void AddRecentPlayersRequest::set_has_program() { - _has_bits_[0] |= 0x00000004u; -} -inline void AddRecentPlayersRequest::clear_has_program() { - _has_bits_[0] &= ~0x00000004u; -} -inline void AddRecentPlayersRequest::clear_program() { - program_ = 0u; - clear_has_program(); -} -inline ::google::protobuf::uint32 AddRecentPlayersRequest::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.program) - return program_; -} -inline void AddRecentPlayersRequest::set_program(::google::protobuf::uint32 value) { - set_has_program(); - program_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.program) -} - -// ------------------------------------------------------------------- - -// ClearRecentPlayersRequest - -// optional .bgs.protocol.EntityId agent_id = 1; -inline bool ClearRecentPlayersRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void ClearRecentPlayersRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void ClearRecentPlayersRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void ClearRecentPlayersRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& ClearRecentPlayersRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* ClearRecentPlayersRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* ClearRecentPlayersRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void ClearRecentPlayersRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id) -} - -// optional uint32 program = 2; -inline bool ClearRecentPlayersRequest::has_program() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void ClearRecentPlayersRequest::set_has_program() { - _has_bits_[0] |= 0x00000002u; -} -inline void ClearRecentPlayersRequest::clear_has_program() { - _has_bits_[0] &= ~0x00000002u; -} -inline void ClearRecentPlayersRequest::clear_program() { - program_ = 0u; - clear_has_program(); -} -inline ::google::protobuf::uint32 ClearRecentPlayersRequest::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.program) - return program_; -} -inline void ClearRecentPlayersRequest::set_program(::google::protobuf::uint32 value) { - set_has_program(); - program_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.program) -} - -// ------------------------------------------------------------------- - -// BlockPlayerRequest - -// optional .bgs.protocol.EntityId agent_id = 1; -inline bool BlockPlayerRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void BlockPlayerRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void BlockPlayerRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void BlockPlayerRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& BlockPlayerRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* BlockPlayerRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* BlockPlayerRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void BlockPlayerRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id) -} - -// required .bgs.protocol.EntityId target_id = 2; -inline bool BlockPlayerRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void BlockPlayerRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void BlockPlayerRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void BlockPlayerRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::EntityId& BlockPlayerRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::EntityId* BlockPlayerRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::EntityId* BlockPlayerRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::EntityId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void BlockPlayerRequest::set_allocated_target_id(::bgs::protocol::EntityId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id) -} - -// ------------------------------------------------------------------- - -// UnblockPlayerRequest - -// optional .bgs.protocol.EntityId agent_id = 1; -inline bool UnblockPlayerRequest::has_agent_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void UnblockPlayerRequest::set_has_agent_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void UnblockPlayerRequest::clear_has_agent_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void UnblockPlayerRequest::clear_agent_id() { - if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear(); - clear_has_agent_id(); -} -inline const ::bgs::protocol::EntityId& UnblockPlayerRequest::agent_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id) - return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_; -} -inline ::bgs::protocol::EntityId* UnblockPlayerRequest::mutable_agent_id() { - set_has_agent_id(); - if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id) - return agent_id_; -} -inline ::bgs::protocol::EntityId* UnblockPlayerRequest::release_agent_id() { - clear_has_agent_id(); - ::bgs::protocol::EntityId* temp = agent_id_; - agent_id_ = NULL; - return temp; -} -inline void UnblockPlayerRequest::set_allocated_agent_id(::bgs::protocol::EntityId* agent_id) { - delete agent_id_; - agent_id_ = agent_id; - if (agent_id) { - set_has_agent_id(); - } else { - clear_has_agent_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id) -} - -// required .bgs.protocol.EntityId target_id = 2; -inline bool UnblockPlayerRequest::has_target_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void UnblockPlayerRequest::set_has_target_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void UnblockPlayerRequest::clear_has_target_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void UnblockPlayerRequest::clear_target_id() { - if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear(); - clear_has_target_id(); -} -inline const ::bgs::protocol::EntityId& UnblockPlayerRequest::target_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id) - return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_; -} -inline ::bgs::protocol::EntityId* UnblockPlayerRequest::mutable_target_id() { - set_has_target_id(); - if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id) - return target_id_; -} -inline ::bgs::protocol::EntityId* UnblockPlayerRequest::release_target_id() { - clear_has_target_id(); - ::bgs::protocol::EntityId* temp = target_id_; - target_id_ = NULL; - return temp; -} -inline void UnblockPlayerRequest::set_allocated_target_id(::bgs::protocol::EntityId* target_id) { - delete target_id_; - target_id_ = target_id; - if (target_id) { - set_has_target_id(); - } else { - clear_has_target_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id) -} - -// ------------------------------------------------------------------- - -// BlockedPlayerAddedNotification - -// required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1; -inline bool BlockedPlayerAddedNotification::has_player() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void BlockedPlayerAddedNotification::set_has_player() { - _has_bits_[0] |= 0x00000001u; -} -inline void BlockedPlayerAddedNotification::clear_has_player() { - _has_bits_[0] &= ~0x00000001u; -} -inline void BlockedPlayerAddedNotification::clear_player() { - if (player_ != NULL) player_->::bgs::protocol::user_manager::v1::BlockedPlayer::Clear(); - clear_has_player(); -} -inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& BlockedPlayerAddedNotification::player() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player) - return player_ != NULL ? *player_ : *default_instance_->player_; -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerAddedNotification::mutable_player() { - set_has_player(); - if (player_ == NULL) player_ = new ::bgs::protocol::user_manager::v1::BlockedPlayer; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player) - return player_; -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerAddedNotification::release_player() { - clear_has_player(); - ::bgs::protocol::user_manager::v1::BlockedPlayer* temp = player_; - player_ = NULL; - return temp; -} -inline void BlockedPlayerAddedNotification::set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player) { - delete player_; - player_ = player; - if (player) { - set_has_player(); - } else { - clear_has_player(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player) -} - -// optional .bgs.protocol.EntityId game_account_id = 2; -inline bool BlockedPlayerAddedNotification::has_game_account_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void BlockedPlayerAddedNotification::set_has_game_account_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void BlockedPlayerAddedNotification::clear_has_game_account_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void BlockedPlayerAddedNotification::clear_game_account_id() { - if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear(); - clear_has_game_account_id(); -} -inline const ::bgs::protocol::EntityId& BlockedPlayerAddedNotification::game_account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id) - return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::mutable_game_account_id() { - set_has_game_account_id(); - if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id) - return game_account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::release_game_account_id() { - clear_has_game_account_id(); - ::bgs::protocol::EntityId* temp = game_account_id_; - game_account_id_ = NULL; - return temp; -} -inline void BlockedPlayerAddedNotification::set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id) { - delete game_account_id_; - game_account_id_ = game_account_id; - if (game_account_id) { - set_has_game_account_id(); - } else { - clear_has_game_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id) -} - -// optional .bgs.protocol.EntityId account_id = 3; -inline bool BlockedPlayerAddedNotification::has_account_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void BlockedPlayerAddedNotification::set_has_account_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void BlockedPlayerAddedNotification::clear_has_account_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void BlockedPlayerAddedNotification::clear_account_id() { - if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear(); - clear_has_account_id(); -} -inline const ::bgs::protocol::EntityId& BlockedPlayerAddedNotification::account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id) - return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::mutable_account_id() { - set_has_account_id(); - if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id) - return account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::release_account_id() { - clear_has_account_id(); - ::bgs::protocol::EntityId* temp = account_id_; - account_id_ = NULL; - return temp; -} -inline void BlockedPlayerAddedNotification::set_allocated_account_id(::bgs::protocol::EntityId* account_id) { - delete account_id_; - account_id_ = account_id; - if (account_id) { - set_has_account_id(); - } else { - clear_has_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id) -} - -// ------------------------------------------------------------------- - -// BlockedPlayerRemovedNotification - -// required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1; -inline bool BlockedPlayerRemovedNotification::has_player() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void BlockedPlayerRemovedNotification::set_has_player() { - _has_bits_[0] |= 0x00000001u; -} -inline void BlockedPlayerRemovedNotification::clear_has_player() { - _has_bits_[0] &= ~0x00000001u; -} -inline void BlockedPlayerRemovedNotification::clear_player() { - if (player_ != NULL) player_->::bgs::protocol::user_manager::v1::BlockedPlayer::Clear(); - clear_has_player(); -} -inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& BlockedPlayerRemovedNotification::player() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player) - return player_ != NULL ? *player_ : *default_instance_->player_; -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerRemovedNotification::mutable_player() { - set_has_player(); - if (player_ == NULL) player_ = new ::bgs::protocol::user_manager::v1::BlockedPlayer; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player) - return player_; -} -inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerRemovedNotification::release_player() { - clear_has_player(); - ::bgs::protocol::user_manager::v1::BlockedPlayer* temp = player_; - player_ = NULL; - return temp; -} -inline void BlockedPlayerRemovedNotification::set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player) { - delete player_; - player_ = player; - if (player) { - set_has_player(); - } else { - clear_has_player(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player) -} - -// optional .bgs.protocol.EntityId game_account_id = 2; -inline bool BlockedPlayerRemovedNotification::has_game_account_id() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void BlockedPlayerRemovedNotification::set_has_game_account_id() { - _has_bits_[0] |= 0x00000002u; -} -inline void BlockedPlayerRemovedNotification::clear_has_game_account_id() { - _has_bits_[0] &= ~0x00000002u; -} -inline void BlockedPlayerRemovedNotification::clear_game_account_id() { - if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear(); - clear_has_game_account_id(); -} -inline const ::bgs::protocol::EntityId& BlockedPlayerRemovedNotification::game_account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id) - return game_account_id_ != NULL ? *game_account_id_ : *default_instance_->game_account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::mutable_game_account_id() { - set_has_game_account_id(); - if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id) - return game_account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::release_game_account_id() { - clear_has_game_account_id(); - ::bgs::protocol::EntityId* temp = game_account_id_; - game_account_id_ = NULL; - return temp; -} -inline void BlockedPlayerRemovedNotification::set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id) { - delete game_account_id_; - game_account_id_ = game_account_id; - if (game_account_id) { - set_has_game_account_id(); - } else { - clear_has_game_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id) -} - -// optional .bgs.protocol.EntityId account_id = 3; -inline bool BlockedPlayerRemovedNotification::has_account_id() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void BlockedPlayerRemovedNotification::set_has_account_id() { - _has_bits_[0] |= 0x00000004u; -} -inline void BlockedPlayerRemovedNotification::clear_has_account_id() { - _has_bits_[0] &= ~0x00000004u; -} -inline void BlockedPlayerRemovedNotification::clear_account_id() { - if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear(); - clear_has_account_id(); -} -inline const ::bgs::protocol::EntityId& BlockedPlayerRemovedNotification::account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id) - return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::mutable_account_id() { - set_has_account_id(); - if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id) - return account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::release_account_id() { - clear_has_account_id(); - ::bgs::protocol::EntityId* temp = account_id_; - account_id_ = NULL; - return temp; -} -inline void BlockedPlayerRemovedNotification::set_allocated_account_id(::bgs::protocol::EntityId* account_id) { - delete account_id_; - account_id_ = account_id; - if (account_id) { - set_has_account_id(); - } else { - clear_has_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id) -} - -// ------------------------------------------------------------------- - -// RecentPlayersAddedNotification - -// repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1; -inline int RecentPlayersAddedNotification::player_size() const { - return player_.size(); -} -inline void RecentPlayersAddedNotification::clear_player() { - player_.Clear(); -} -inline const ::bgs::protocol::user_manager::v1::RecentPlayer& RecentPlayersAddedNotification::player(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player) - return player_.Get(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersAddedNotification::mutable_player(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player) - return player_.Mutable(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersAddedNotification::add_player() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player) - return player_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& -RecentPlayersAddedNotification::player() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player) - return player_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* -RecentPlayersAddedNotification::mutable_player() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player) - return &player_; -} - -// ------------------------------------------------------------------- - -// RecentPlayersRemovedNotification - -// repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1; -inline int RecentPlayersRemovedNotification::player_size() const { - return player_.size(); -} -inline void RecentPlayersRemovedNotification::clear_player() { - player_.Clear(); -} -inline const ::bgs::protocol::user_manager::v1::RecentPlayer& RecentPlayersRemovedNotification::player(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player) - return player_.Get(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersRemovedNotification::mutable_player(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player) - return player_.Mutable(index); -} -inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersRemovedNotification::add_player() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player) - return player_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >& -RecentPlayersRemovedNotification::player() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player) - return player_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >* -RecentPlayersRemovedNotification::mutable_player() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player) - return &player_; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace user_manager -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED diff --git a/src/server/proto/Client/user_manager_types.pb.cc b/src/server/proto/Client/user_manager_types.pb.cc deleted file mode 100644 index 1a8129a9283..00000000000 --- a/src/server/proto/Client/user_manager_types.pb.cc +++ /dev/null @@ -1,317 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: user_manager_types.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "user_manager_types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace user_manager { -namespace v1 { - -namespace { - -const ::google::protobuf::Descriptor* RecentPlayer_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - RecentPlayer_reflection_ = NULL; -const ::google::protobuf::Descriptor* BlockedPlayer_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - BlockedPlayer_reflection_ = NULL; - -} // namespace - -void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto() { - protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "user_manager_types.proto"); - GOOGLE_CHECK(file != NULL); - RecentPlayer_descriptor_ = file->message_type(0); - static const int RecentPlayer_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, entity_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, program_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, timestamp_played_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, attributes_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, counter_), - }; - RecentPlayer_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - RecentPlayer_descriptor_, - RecentPlayer::default_instance_, - RecentPlayer_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RecentPlayer, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(RecentPlayer)); - BlockedPlayer_descriptor_ = file->message_type(1); - static const int BlockedPlayer_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, account_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, battle_tag_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, role_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, privileges_), - }; - BlockedPlayer_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - BlockedPlayer_descriptor_, - BlockedPlayer::default_instance_, - BlockedPlayer_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BlockedPlayer, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(BlockedPlayer)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - RecentPlayer_descriptor_, &RecentPlayer::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - BlockedPlayer_descriptor_, &BlockedPlayer::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto() { - delete RecentPlayer::default_instance_; - delete RecentPlayer_reflection_; - delete BlockedPlayer::default_instance_; - delete BlockedPlayer_reflection_; -} - -void protobuf_AddDesc_user_5fmanager_5ftypes_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::bgs::protocol::protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto(); - ::bgs::protocol::protobuf_AddDesc_entity_5ftypes_2eproto(); - ::bgs::protocol::protobuf_AddDesc_attribute_5ftypes_2eproto(); - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\030user_manager_types.proto\022\034bgs.protocol" - ".user_manager.v1\032%global_extensions/fiel" - "d_options.proto\032\022entity_types.proto\032\025att" - "ribute_types.proto\"\245\001\n\014RecentPlayer\022)\n\te" - "ntity_id\030\001 \002(\0132\026.bgs.protocol.EntityId\022\017" - "\n\007program\030\002 \001(\t\022\030\n\020timestamp_played\030\003 \001(" - "\006\022+\n\nattributes\030\004 \003(\0132\027.bgs.protocol.Att" - "ribute\022\022\n\007counter\030\006 \001(\007:\0010\"\201\001\n\rBlockedPl" - "ayer\022*\n\naccount_id\030\001 \002(\0132\026.bgs.protocol." - "EntityId\022\032\n\nbattle_tag\030\002 \001(\tB\006\202\371+\002\010\001\022\020\n\004" - "role\030\003 \003(\rB\002\030\001\022\026\n\nprivileges\030\004 \001(\004B\002\030\001B\002" - "H\002P\000", 444); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "user_manager_types.proto", &protobuf_RegisterTypes); - RecentPlayer::default_instance_ = new RecentPlayer(); - BlockedPlayer::default_instance_ = new BlockedPlayer(); - RecentPlayer::default_instance_->InitAsDefaultInstance(); - BlockedPlayer::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_user_5fmanager_5ftypes_2eproto { - StaticDescriptorInitializer_user_5fmanager_5ftypes_2eproto() { - protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - } -} static_descriptor_initializer_user_5fmanager_5ftypes_2eproto_; -// =================================================================== - -#ifndef _MSC_VER -const int RecentPlayer::kEntityIdFieldNumber; -const int RecentPlayer::kProgramFieldNumber; -const int RecentPlayer::kTimestampPlayedFieldNumber; -const int RecentPlayer::kAttributesFieldNumber; -const int RecentPlayer::kCounterFieldNumber; -#endif // !_MSC_VER - -RecentPlayer::RecentPlayer() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.RecentPlayer) -} - -void RecentPlayer::InitAsDefaultInstance() { - entity_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -RecentPlayer::RecentPlayer(const RecentPlayer& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.RecentPlayer) -} - -void RecentPlayer::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - entity_id_ = NULL; - program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timestamp_played_ = GOOGLE_ULONGLONG(0); - counter_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -RecentPlayer::~RecentPlayer() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.RecentPlayer) - SharedDtor(); -} - -void RecentPlayer::SharedDtor() { - if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete program_; - } - if (this != default_instance_) { - delete entity_id_; - } -} - -void RecentPlayer::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RecentPlayer::descriptor() { - protobuf_AssignDescriptorsOnce(); - return RecentPlayer_descriptor_; -} - -const RecentPlayer& RecentPlayer::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - return *default_instance_; -} - -RecentPlayer* RecentPlayer::default_instance_ = NULL; - -RecentPlayer* RecentPlayer::New() const { - return new RecentPlayer; -} - -void RecentPlayer::Swap(RecentPlayer* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata RecentPlayer::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = RecentPlayer_descriptor_; - metadata.reflection = RecentPlayer_reflection_; - return metadata; -} - -// =================================================================== - -#ifndef _MSC_VER -const int BlockedPlayer::kAccountIdFieldNumber; -const int BlockedPlayer::kBattleTagFieldNumber; -const int BlockedPlayer::kRoleFieldNumber; -const int BlockedPlayer::kPrivilegesFieldNumber; -#endif // !_MSC_VER - -BlockedPlayer::BlockedPlayer() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.user_manager.v1.BlockedPlayer) -} - -void BlockedPlayer::InitAsDefaultInstance() { - account_id_ = const_cast< ::bgs::protocol::EntityId*>(&::bgs::protocol::EntityId::default_instance()); -} - -BlockedPlayer::BlockedPlayer(const BlockedPlayer& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.user_manager.v1.BlockedPlayer) -} - -void BlockedPlayer::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - account_id_ = NULL; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - privileges_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -BlockedPlayer::~BlockedPlayer() { - // @@protoc_insertion_point(destructor:bgs.protocol.user_manager.v1.BlockedPlayer) - SharedDtor(); -} - -void BlockedPlayer::SharedDtor() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (this != default_instance_) { - delete account_id_; - } -} - -void BlockedPlayer::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BlockedPlayer::descriptor() { - protobuf_AssignDescriptorsOnce(); - return BlockedPlayer_descriptor_; -} - -const BlockedPlayer& BlockedPlayer::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - return *default_instance_; -} - -BlockedPlayer* BlockedPlayer::default_instance_ = NULL; - -BlockedPlayer* BlockedPlayer::New() const { - return new BlockedPlayer; -} - -void BlockedPlayer::Swap(BlockedPlayer* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata BlockedPlayer::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = BlockedPlayer_descriptor_; - metadata.reflection = BlockedPlayer_reflection_; - return metadata; -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace user_manager -} // namespace protocol -} // namespace bgs - -// @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/user_manager_types.pb.h b/src/server/proto/Client/user_manager_types.pb.h deleted file mode 100644 index db863ab1ffa..00000000000 --- a/src/server/proto/Client/user_manager_types.pb.h +++ /dev/null @@ -1,662 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: user_manager_types.proto - -#ifndef PROTOBUF_user_5fmanager_5ftypes_2eproto__INCLUDED -#define PROTOBUF_user_5fmanager_5ftypes_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include "global_extensions/field_options.pb.h" // IWYU pragma: export -#include "entity_types.pb.h" -#include "attribute_types.pb.h" -#include "Define.h" // for TC_PROTO_API -// @@protoc_insertion_point(includes) - -namespace bgs { -namespace protocol { -namespace user_manager { -namespace v1 { - -// Internal implementation detail -- do not call these. -void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); -void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto(); -void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto(); - -class RecentPlayer; -class BlockedPlayer; - -// =================================================================== - -class TC_PROTO_API RecentPlayer : public ::google::protobuf::Message { - public: - RecentPlayer(); - virtual ~RecentPlayer(); - - RecentPlayer(const RecentPlayer& from); - - inline RecentPlayer& operator=(const RecentPlayer& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const RecentPlayer& default_instance(); - - void Swap(RecentPlayer* other); - - // implements Message ---------------------------------------------- - - RecentPlayer* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.EntityId entity_id = 1; - inline bool has_entity_id() const; - inline void clear_entity_id(); - static const int kEntityIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& entity_id() const; - inline ::bgs::protocol::EntityId* mutable_entity_id(); - inline ::bgs::protocol::EntityId* release_entity_id(); - inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id); - - // optional string program = 2; - inline bool has_program() const; - inline void clear_program(); - static const int kProgramFieldNumber = 2; - inline const ::std::string& program() const; - inline void set_program(const ::std::string& value); - inline void set_program(const char* value); - inline void set_program(const char* value, size_t size); - inline ::std::string* mutable_program(); - inline ::std::string* release_program(); - inline void set_allocated_program(::std::string* program); - - // optional fixed64 timestamp_played = 3; - inline bool has_timestamp_played() const; - inline void clear_timestamp_played(); - static const int kTimestampPlayedFieldNumber = 3; - inline ::google::protobuf::uint64 timestamp_played() const; - inline void set_timestamp_played(::google::protobuf::uint64 value); - - // repeated .bgs.protocol.Attribute attributes = 4; - inline int attributes_size() const; - inline void clear_attributes(); - static const int kAttributesFieldNumber = 4; - inline const ::bgs::protocol::Attribute& attributes(int index) const; - inline ::bgs::protocol::Attribute* mutable_attributes(int index); - inline ::bgs::protocol::Attribute* add_attributes(); - inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& - attributes() const; - inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* - mutable_attributes(); - - // optional fixed32 counter = 6 [default = 0]; - inline bool has_counter() const; - inline void clear_counter(); - static const int kCounterFieldNumber = 6; - inline ::google::protobuf::uint32 counter() const; - inline void set_counter(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.RecentPlayer) - private: - inline void set_has_entity_id(); - inline void clear_has_entity_id(); - inline void set_has_program(); - inline void clear_has_program(); - inline void set_has_timestamp_played(); - inline void clear_has_timestamp_played(); - inline void set_has_counter(); - inline void clear_has_counter(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* entity_id_; - ::std::string* program_; - ::google::protobuf::uint64 timestamp_played_; - ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attributes_; - ::google::protobuf::uint32 counter_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static RecentPlayer* default_instance_; -}; -// ------------------------------------------------------------------- - -class TC_PROTO_API BlockedPlayer : public ::google::protobuf::Message { - public: - BlockedPlayer(); - virtual ~BlockedPlayer(); - - BlockedPlayer(const BlockedPlayer& from); - - inline BlockedPlayer& operator=(const BlockedPlayer& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const BlockedPlayer& default_instance(); - - void Swap(BlockedPlayer* other); - - // implements Message ---------------------------------------------- - - BlockedPlayer* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // required .bgs.protocol.EntityId account_id = 1; - inline bool has_account_id() const; - inline void clear_account_id(); - static const int kAccountIdFieldNumber = 1; - inline const ::bgs::protocol::EntityId& account_id() const; - inline ::bgs::protocol::EntityId* mutable_account_id(); - inline ::bgs::protocol::EntityId* release_account_id(); - inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id); - - // optional string battle_tag = 2; - inline bool has_battle_tag() const; - inline void clear_battle_tag(); - static const int kBattleTagFieldNumber = 2; - inline const ::std::string& battle_tag() const; - inline void set_battle_tag(const ::std::string& value); - inline void set_battle_tag(const char* value); - inline void set_battle_tag(const char* value, size_t size); - inline ::std::string* mutable_battle_tag(); - inline ::std::string* release_battle_tag(); - inline void set_allocated_battle_tag(::std::string* battle_tag); - - // repeated uint32 role = 3 [deprecated = true]; - inline int role_size() const PROTOBUF_DEPRECATED; - inline void clear_role() PROTOBUF_DEPRECATED; - static const int kRoleFieldNumber = 3; - inline ::google::protobuf::uint32 role(int index) const PROTOBUF_DEPRECATED; - inline void set_role(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED; - inline void add_role(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED; - inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& - role() const PROTOBUF_DEPRECATED; - inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* - mutable_role() PROTOBUF_DEPRECATED; - - // optional uint64 privileges = 4 [deprecated = true]; - inline bool has_privileges() const PROTOBUF_DEPRECATED; - inline void clear_privileges() PROTOBUF_DEPRECATED; - static const int kPrivilegesFieldNumber = 4; - inline ::google::protobuf::uint64 privileges() const PROTOBUF_DEPRECATED; - inline void set_privileges(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED; - - // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockedPlayer) - private: - inline void set_has_account_id(); - inline void clear_has_account_id(); - inline void set_has_battle_tag(); - inline void clear_has_battle_tag(); - inline void set_has_privileges(); - inline void clear_has_privileges(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::bgs::protocol::EntityId* account_id_; - ::std::string* battle_tag_; - ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_; - ::google::protobuf::uint64 privileges_; - friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5ftypes_2eproto(); - friend void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static BlockedPlayer* default_instance_; -}; -// =================================================================== - -// =================================================================== - -// =================================================================== - -// RecentPlayer - -// required .bgs.protocol.EntityId entity_id = 1; -inline bool RecentPlayer::has_entity_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void RecentPlayer::set_has_entity_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void RecentPlayer::clear_has_entity_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void RecentPlayer::clear_entity_id() { - if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear(); - clear_has_entity_id(); -} -inline const ::bgs::protocol::EntityId& RecentPlayer::entity_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayer.entity_id) - return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_; -} -inline ::bgs::protocol::EntityId* RecentPlayer::mutable_entity_id() { - set_has_entity_id(); - if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayer.entity_id) - return entity_id_; -} -inline ::bgs::protocol::EntityId* RecentPlayer::release_entity_id() { - clear_has_entity_id(); - ::bgs::protocol::EntityId* temp = entity_id_; - entity_id_ = NULL; - return temp; -} -inline void RecentPlayer::set_allocated_entity_id(::bgs::protocol::EntityId* entity_id) { - delete entity_id_; - entity_id_ = entity_id; - if (entity_id) { - set_has_entity_id(); - } else { - clear_has_entity_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.RecentPlayer.entity_id) -} - -// optional string program = 2; -inline bool RecentPlayer::has_program() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void RecentPlayer::set_has_program() { - _has_bits_[0] |= 0x00000002u; -} -inline void RecentPlayer::clear_has_program() { - _has_bits_[0] &= ~0x00000002u; -} -inline void RecentPlayer::clear_program() { - if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_->clear(); - } - clear_has_program(); -} -inline const ::std::string& RecentPlayer::program() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayer.program) - return *program_; -} -inline void RecentPlayer::set_program(const ::std::string& value) { - set_has_program(); - if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_ = new ::std::string; - } - program_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.RecentPlayer.program) -} -inline void RecentPlayer::set_program(const char* value) { - set_has_program(); - if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_ = new ::std::string; - } - program_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.user_manager.v1.RecentPlayer.program) -} -inline void RecentPlayer::set_program(const char* value, size_t size) { - set_has_program(); - if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_ = new ::std::string; - } - program_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.user_manager.v1.RecentPlayer.program) -} -inline ::std::string* RecentPlayer::mutable_program() { - set_has_program(); - if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - program_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayer.program) - return program_; -} -inline ::std::string* RecentPlayer::release_program() { - clear_has_program(); - if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = program_; - program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void RecentPlayer::set_allocated_program(::std::string* program) { - if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete program_; - } - if (program) { - set_has_program(); - program_ = program; - } else { - clear_has_program(); - program_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.RecentPlayer.program) -} - -// optional fixed64 timestamp_played = 3; -inline bool RecentPlayer::has_timestamp_played() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void RecentPlayer::set_has_timestamp_played() { - _has_bits_[0] |= 0x00000004u; -} -inline void RecentPlayer::clear_has_timestamp_played() { - _has_bits_[0] &= ~0x00000004u; -} -inline void RecentPlayer::clear_timestamp_played() { - timestamp_played_ = GOOGLE_ULONGLONG(0); - clear_has_timestamp_played(); -} -inline ::google::protobuf::uint64 RecentPlayer::timestamp_played() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayer.timestamp_played) - return timestamp_played_; -} -inline void RecentPlayer::set_timestamp_played(::google::protobuf::uint64 value) { - set_has_timestamp_played(); - timestamp_played_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.RecentPlayer.timestamp_played) -} - -// repeated .bgs.protocol.Attribute attributes = 4; -inline int RecentPlayer::attributes_size() const { - return attributes_.size(); -} -inline void RecentPlayer::clear_attributes() { - attributes_.Clear(); -} -inline const ::bgs::protocol::Attribute& RecentPlayer::attributes(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayer.attributes) - return attributes_.Get(index); -} -inline ::bgs::protocol::Attribute* RecentPlayer::mutable_attributes(int index) { - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayer.attributes) - return attributes_.Mutable(index); -} -inline ::bgs::protocol::Attribute* RecentPlayer::add_attributes() { - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.RecentPlayer.attributes) - return attributes_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >& -RecentPlayer::attributes() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.RecentPlayer.attributes) - return attributes_; -} -inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >* -RecentPlayer::mutable_attributes() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.RecentPlayer.attributes) - return &attributes_; -} - -// optional fixed32 counter = 6 [default = 0]; -inline bool RecentPlayer::has_counter() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void RecentPlayer::set_has_counter() { - _has_bits_[0] |= 0x00000010u; -} -inline void RecentPlayer::clear_has_counter() { - _has_bits_[0] &= ~0x00000010u; -} -inline void RecentPlayer::clear_counter() { - counter_ = 0u; - clear_has_counter(); -} -inline ::google::protobuf::uint32 RecentPlayer::counter() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayer.counter) - return counter_; -} -inline void RecentPlayer::set_counter(::google::protobuf::uint32 value) { - set_has_counter(); - counter_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.RecentPlayer.counter) -} - -// ------------------------------------------------------------------- - -// BlockedPlayer - -// required .bgs.protocol.EntityId account_id = 1; -inline bool BlockedPlayer::has_account_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void BlockedPlayer::set_has_account_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void BlockedPlayer::clear_has_account_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void BlockedPlayer::clear_account_id() { - if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear(); - clear_has_account_id(); -} -inline const ::bgs::protocol::EntityId& BlockedPlayer::account_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayer.account_id) - return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayer::mutable_account_id() { - set_has_account_id(); - if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId; - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayer.account_id) - return account_id_; -} -inline ::bgs::protocol::EntityId* BlockedPlayer::release_account_id() { - clear_has_account_id(); - ::bgs::protocol::EntityId* temp = account_id_; - account_id_ = NULL; - return temp; -} -inline void BlockedPlayer::set_allocated_account_id(::bgs::protocol::EntityId* account_id) { - delete account_id_; - account_id_ = account_id; - if (account_id) { - set_has_account_id(); - } else { - clear_has_account_id(); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayer.account_id) -} - -// optional string battle_tag = 2; -inline bool BlockedPlayer::has_battle_tag() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void BlockedPlayer::set_has_battle_tag() { - _has_bits_[0] |= 0x00000002u; -} -inline void BlockedPlayer::clear_has_battle_tag() { - _has_bits_[0] &= ~0x00000002u; -} -inline void BlockedPlayer::clear_battle_tag() { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_->clear(); - } - clear_has_battle_tag(); -} -inline const ::std::string& BlockedPlayer::battle_tag() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) - return *battle_tag_; -} -inline void BlockedPlayer::set_battle_tag(const ::std::string& value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) -} -inline void BlockedPlayer::set_battle_tag(const char* value) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) -} -inline void BlockedPlayer::set_battle_tag(const char* value, size_t size) { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - battle_tag_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) -} -inline ::std::string* BlockedPlayer::mutable_battle_tag() { - set_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - battle_tag_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) - return battle_tag_; -} -inline ::std::string* BlockedPlayer::release_battle_tag() { - clear_has_battle_tag(); - if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = battle_tag_; - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void BlockedPlayer::set_allocated_battle_tag(::std::string* battle_tag) { - if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete battle_tag_; - } - if (battle_tag) { - set_has_battle_tag(); - battle_tag_ = battle_tag; - } else { - clear_has_battle_tag(); - battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayer.battle_tag) -} - -// repeated uint32 role = 3 [deprecated = true]; -inline int BlockedPlayer::role_size() const { - return role_.size(); -} -inline void BlockedPlayer::clear_role() { - role_.Clear(); -} -inline ::google::protobuf::uint32 BlockedPlayer::role(int index) const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayer.role) - return role_.Get(index); -} -inline void BlockedPlayer::set_role(int index, ::google::protobuf::uint32 value) { - role_.Set(index, value); - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.BlockedPlayer.role) -} -inline void BlockedPlayer::add_role(::google::protobuf::uint32 value) { - role_.Add(value); - // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.BlockedPlayer.role) -} -inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& -BlockedPlayer::role() const { - // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.BlockedPlayer.role) - return role_; -} -inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* -BlockedPlayer::mutable_role() { - // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.BlockedPlayer.role) - return &role_; -} - -// optional uint64 privileges = 4 [deprecated = true]; -inline bool BlockedPlayer::has_privileges() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void BlockedPlayer::set_has_privileges() { - _has_bits_[0] |= 0x00000008u; -} -inline void BlockedPlayer::clear_has_privileges() { - _has_bits_[0] &= ~0x00000008u; -} -inline void BlockedPlayer::clear_privileges() { - privileges_ = GOOGLE_ULONGLONG(0); - clear_has_privileges(); -} -inline ::google::protobuf::uint64 BlockedPlayer::privileges() const { - // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayer.privileges) - return privileges_; -} -inline void BlockedPlayer::set_privileges(::google::protobuf::uint64 value) { - set_has_privileges(); - privileges_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.BlockedPlayer.privileges) -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace v1 -} // namespace user_manager -} // namespace protocol -} // namespace bgs - -#ifndef SWIG -namespace google { -namespace protobuf { -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_user_5fmanager_5ftypes_2eproto__INCLUDED diff --git a/src/server/proto/Client/voice_types.pb.cc b/src/server/proto/Client/voice_types.pb.cc index 8853013199a..5baf9155c49 100644 --- a/src/server/proto/Client/voice_types.pb.cc +++ b/src/server/proto/Client/voice_types.pb.cc @@ -16,48 +16,12 @@ #include // @@protoc_insertion_point(includes) -namespace bgs { -namespace protocol { - -namespace { - -const ::google::protobuf::Descriptor* VoiceCredentials_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - VoiceCredentials_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor_ = NULL; - -} // namespace - void protobuf_AssignDesc_voice_5ftypes_2eproto() { protobuf_AddDesc_voice_5ftypes_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "voice_types.proto"); GOOGLE_CHECK(file != NULL); - VoiceCredentials_descriptor_ = file->message_type(0); - static const int VoiceCredentials_offsets_[5] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, voice_id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, token_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, url_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, join_type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, mute_reason_), - }; - VoiceCredentials_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - VoiceCredentials_descriptor_, - VoiceCredentials::default_instance_, - VoiceCredentials_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(VoiceCredentials, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(VoiceCredentials)); - VoiceJoinType_descriptor_ = file->enum_type(0); - VoiceMuteReason_descriptor_ = file->enum_type(1); - VoiceProviderVersion_descriptor_ = file->enum_type(2); } namespace { @@ -70,15 +34,11 @@ inline void protobuf_AssignDescriptorsOnce() { void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - VoiceCredentials_descriptor_, &VoiceCredentials::default_instance()); } } // namespace void protobuf_ShutdownFile_voice_5ftypes_2eproto() { - delete VoiceCredentials::default_instance_; - delete VoiceCredentials_reflection_; } void protobuf_AddDesc_voice_5ftypes_2eproto() { @@ -87,24 +47,12 @@ void protobuf_AddDesc_voice_5ftypes_2eproto() { already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; + ::bgs::protocol::voice::v1::protobuf_AddDesc_api_2fcommon_2fv1_2fvoice_5ftypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\021voice_types.proto\022\014bgs.protocol\"\244\001\n\020Vo" - "iceCredentials\022\020\n\010voice_id\030\001 \001(\t\022\r\n\005toke" - "n\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022.\n\tjoin_type\030\004 \001(\0162" - "\033.bgs.protocol.VoiceJoinType\0222\n\013mute_rea" - "son\030\005 \001(\0162\035.bgs.protocol.VoiceMuteReason" - "*<\n\rVoiceJoinType\022\025\n\021VOICE_JOIN_NORMAL\020\000" - "\022\024\n\020VOICE_JOIN_MUTED\020\001*\243\001\n\017VoiceMuteReas" - "on\022\032\n\026VOICE_MUTE_REASON_NONE\020\000\0222\n.VOICE_" - "MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY" - "\020\001\022\037\n\033VOICE_MUTE_REASON_REQUESTED\020\002\022\037\n\033V" - "OICE_MUTE_REASON_SQUELCHED\020\003*D\n\024VoicePro" - "viderVersion\022\025\n\021VOICE_PROVIDER_V4\020\000\022\025\n\021V" - "OICE_PROVIDER_V5\020\001B\002H\002", 502); + "\n\021voice_types.proto\032\037api/common/v1/voice" + "_types.protoB\002H\002P\000", 58); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "voice_types.proto", &protobuf_RegisterTypes); - VoiceCredentials::default_instance_ = new VoiceCredentials(); - VoiceCredentials::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_voice_5ftypes_2eproto); } @@ -114,143 +62,6 @@ struct StaticDescriptorInitializer_voice_5ftypes_2eproto { protobuf_AddDesc_voice_5ftypes_2eproto(); } } static_descriptor_initializer_voice_5ftypes_2eproto_; -const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor() { - protobuf_AssignDescriptorsOnce(); - return VoiceJoinType_descriptor_; -} -bool VoiceJoinType_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor() { - protobuf_AssignDescriptorsOnce(); - return VoiceMuteReason_descriptor_; -} -bool VoiceMuteReason_IsValid(int value) { - switch(value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor() { - protobuf_AssignDescriptorsOnce(); - return VoiceProviderVersion_descriptor_; -} -bool VoiceProviderVersion_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -// =================================================================== - -#ifndef _MSC_VER -const int VoiceCredentials::kVoiceIdFieldNumber; -const int VoiceCredentials::kTokenFieldNumber; -const int VoiceCredentials::kUrlFieldNumber; -const int VoiceCredentials::kJoinTypeFieldNumber; -const int VoiceCredentials::kMuteReasonFieldNumber; -#endif // !_MSC_VER - -VoiceCredentials::VoiceCredentials() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:bgs.protocol.VoiceCredentials) -} - -void VoiceCredentials::InitAsDefaultInstance() { -} - -VoiceCredentials::VoiceCredentials(const VoiceCredentials& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:bgs.protocol.VoiceCredentials) -} - -void VoiceCredentials::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - voice_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - join_type_ = 0; - mute_reason_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -VoiceCredentials::~VoiceCredentials() { - // @@protoc_insertion_point(destructor:bgs.protocol.VoiceCredentials) - SharedDtor(); -} - -void VoiceCredentials::SharedDtor() { - if (voice_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete voice_id_; - } - if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete token_; - } - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete url_; - } - if (this != default_instance_) { - } -} - -void VoiceCredentials::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* VoiceCredentials::descriptor() { - protobuf_AssignDescriptorsOnce(); - return VoiceCredentials_descriptor_; -} - -const VoiceCredentials& VoiceCredentials::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_voice_5ftypes_2eproto(); - return *default_instance_; -} - -VoiceCredentials* VoiceCredentials::default_instance_ = NULL; - -VoiceCredentials* VoiceCredentials::New() const { - return new VoiceCredentials; -} - -void VoiceCredentials::Swap(VoiceCredentials* other) { - if (other != this) { - GetReflection()->Swap(this, other);} -} - -::google::protobuf::Metadata VoiceCredentials::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = VoiceCredentials_descriptor_; - metadata.reflection = VoiceCredentials_reflection_; - return metadata; -} - // @@protoc_insertion_point(namespace_scope) -} // namespace protocol -} // namespace bgs - // @@protoc_insertion_point(global_scope) diff --git a/src/server/proto/Client/voice_types.pb.h b/src/server/proto/Client/voice_types.pb.h index b44a532f0d2..66f714cca1c 100644 --- a/src/server/proto/Client/voice_types.pb.h +++ b/src/server/proto/Client/voice_types.pb.h @@ -20,513 +20,29 @@ #endif #include -#include #include #include -#include -#include +#include "api/common/v1/voice_types.pb.h" // IWYU pragma: export #include "Define.h" // for TC_PROTO_API // @@protoc_insertion_point(includes) -namespace bgs { -namespace protocol { - // Internal implementation detail -- do not call these. void TC_PROTO_API protobuf_AddDesc_voice_5ftypes_2eproto(); void protobuf_AssignDesc_voice_5ftypes_2eproto(); void protobuf_ShutdownFile_voice_5ftypes_2eproto(); -class VoiceCredentials; - -enum VoiceJoinType { - VOICE_JOIN_NORMAL = 0, - VOICE_JOIN_MUTED = 1 -}; -TC_PROTO_API bool VoiceJoinType_IsValid(int value); -const VoiceJoinType VoiceJoinType_MIN = VOICE_JOIN_NORMAL; -const VoiceJoinType VoiceJoinType_MAX = VOICE_JOIN_MUTED; -const int VoiceJoinType_ARRAYSIZE = VoiceJoinType_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceJoinType_descriptor(); -inline const ::std::string& VoiceJoinType_Name(VoiceJoinType value) { - return ::google::protobuf::internal::NameOfEnum( - VoiceJoinType_descriptor(), value); -} -inline bool VoiceJoinType_Parse( - const ::std::string& name, VoiceJoinType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VoiceJoinType_descriptor(), name, value); -} -enum VoiceMuteReason { - VOICE_MUTE_REASON_NONE = 0, - VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY = 1, - VOICE_MUTE_REASON_REQUESTED = 2, - VOICE_MUTE_REASON_SQUELCHED = 3 -}; -TC_PROTO_API bool VoiceMuteReason_IsValid(int value); -const VoiceMuteReason VoiceMuteReason_MIN = VOICE_MUTE_REASON_NONE; -const VoiceMuteReason VoiceMuteReason_MAX = VOICE_MUTE_REASON_SQUELCHED; -const int VoiceMuteReason_ARRAYSIZE = VoiceMuteReason_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceMuteReason_descriptor(); -inline const ::std::string& VoiceMuteReason_Name(VoiceMuteReason value) { - return ::google::protobuf::internal::NameOfEnum( - VoiceMuteReason_descriptor(), value); -} -inline bool VoiceMuteReason_Parse( - const ::std::string& name, VoiceMuteReason* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VoiceMuteReason_descriptor(), name, value); -} -enum VoiceProviderVersion { - VOICE_PROVIDER_V4 = 0, - VOICE_PROVIDER_V5 = 1 -}; -TC_PROTO_API bool VoiceProviderVersion_IsValid(int value); -const VoiceProviderVersion VoiceProviderVersion_MIN = VOICE_PROVIDER_V4; -const VoiceProviderVersion VoiceProviderVersion_MAX = VOICE_PROVIDER_V5; -const int VoiceProviderVersion_ARRAYSIZE = VoiceProviderVersion_MAX + 1; - -TC_PROTO_API const ::google::protobuf::EnumDescriptor* VoiceProviderVersion_descriptor(); -inline const ::std::string& VoiceProviderVersion_Name(VoiceProviderVersion value) { - return ::google::protobuf::internal::NameOfEnum( - VoiceProviderVersion_descriptor(), value); -} -inline bool VoiceProviderVersion_Parse( - const ::std::string& name, VoiceProviderVersion* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VoiceProviderVersion_descriptor(), name, value); -} // =================================================================== -class TC_PROTO_API VoiceCredentials : public ::google::protobuf::Message { - public: - VoiceCredentials(); - virtual ~VoiceCredentials(); - - VoiceCredentials(const VoiceCredentials& from); - - inline VoiceCredentials& operator=(const VoiceCredentials& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const VoiceCredentials& default_instance(); - - void Swap(VoiceCredentials* other); - - // implements Message ---------------------------------------------- - - VoiceCredentials* New() const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional string voice_id = 1; - inline bool has_voice_id() const; - inline void clear_voice_id(); - static const int kVoiceIdFieldNumber = 1; - inline const ::std::string& voice_id() const; - inline void set_voice_id(const ::std::string& value); - inline void set_voice_id(const char* value); - inline void set_voice_id(const char* value, size_t size); - inline ::std::string* mutable_voice_id(); - inline ::std::string* release_voice_id(); - inline void set_allocated_voice_id(::std::string* voice_id); - - // optional string token = 2; - inline bool has_token() const; - inline void clear_token(); - static const int kTokenFieldNumber = 2; - inline const ::std::string& token() const; - inline void set_token(const ::std::string& value); - inline void set_token(const char* value); - inline void set_token(const char* value, size_t size); - inline ::std::string* mutable_token(); - inline ::std::string* release_token(); - inline void set_allocated_token(::std::string* token); - - // optional string url = 3; - inline bool has_url() const; - inline void clear_url(); - static const int kUrlFieldNumber = 3; - inline const ::std::string& url() const; - inline void set_url(const ::std::string& value); - inline void set_url(const char* value); - inline void set_url(const char* value, size_t size); - inline ::std::string* mutable_url(); - inline ::std::string* release_url(); - inline void set_allocated_url(::std::string* url); - - // optional .bgs.protocol.VoiceJoinType join_type = 4; - inline bool has_join_type() const; - inline void clear_join_type(); - static const int kJoinTypeFieldNumber = 4; - inline ::bgs::protocol::VoiceJoinType join_type() const; - inline void set_join_type(::bgs::protocol::VoiceJoinType value); - - // optional .bgs.protocol.VoiceMuteReason mute_reason = 5; - inline bool has_mute_reason() const; - inline void clear_mute_reason(); - static const int kMuteReasonFieldNumber = 5; - inline ::bgs::protocol::VoiceMuteReason mute_reason() const; - inline void set_mute_reason(::bgs::protocol::VoiceMuteReason value); - - // @@protoc_insertion_point(class_scope:bgs.protocol.VoiceCredentials) - private: - inline void set_has_voice_id(); - inline void clear_has_voice_id(); - inline void set_has_token(); - inline void clear_has_token(); - inline void set_has_url(); - inline void clear_has_url(); - inline void set_has_join_type(); - inline void clear_has_join_type(); - inline void set_has_mute_reason(); - inline void clear_has_mute_reason(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::std::string* voice_id_; - ::std::string* token_; - ::std::string* url_; - int join_type_; - int mute_reason_; - friend void TC_PROTO_API protobuf_AddDesc_voice_5ftypes_2eproto(); - friend void protobuf_AssignDesc_voice_5ftypes_2eproto(); - friend void protobuf_ShutdownFile_voice_5ftypes_2eproto(); - - void InitAsDefaultInstance(); - static VoiceCredentials* default_instance_; -}; // =================================================================== // =================================================================== // =================================================================== - -// VoiceCredentials - -// optional string voice_id = 1; -inline bool VoiceCredentials::has_voice_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void VoiceCredentials::set_has_voice_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void VoiceCredentials::clear_has_voice_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void VoiceCredentials::clear_voice_id() { - if (voice_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_id_->clear(); - } - clear_has_voice_id(); -} -inline const ::std::string& VoiceCredentials::voice_id() const { - // @@protoc_insertion_point(field_get:bgs.protocol.VoiceCredentials.voice_id) - return *voice_id_; -} -inline void VoiceCredentials::set_voice_id(const ::std::string& value) { - set_has_voice_id(); - if (voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_id_ = new ::std::string; - } - voice_id_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.VoiceCredentials.voice_id) -} -inline void VoiceCredentials::set_voice_id(const char* value) { - set_has_voice_id(); - if (voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_id_ = new ::std::string; - } - voice_id_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.VoiceCredentials.voice_id) -} -inline void VoiceCredentials::set_voice_id(const char* value, size_t size) { - set_has_voice_id(); - if (voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_id_ = new ::std::string; - } - voice_id_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.VoiceCredentials.voice_id) -} -inline ::std::string* VoiceCredentials::mutable_voice_id() { - set_has_voice_id(); - if (voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_id_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.VoiceCredentials.voice_id) - return voice_id_; -} -inline ::std::string* VoiceCredentials::release_voice_id() { - clear_has_voice_id(); - if (voice_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = voice_id_; - voice_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void VoiceCredentials::set_allocated_voice_id(::std::string* voice_id) { - if (voice_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete voice_id_; - } - if (voice_id) { - set_has_voice_id(); - voice_id_ = voice_id; - } else { - clear_has_voice_id(); - voice_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.VoiceCredentials.voice_id) -} - -// optional string token = 2; -inline bool VoiceCredentials::has_token() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void VoiceCredentials::set_has_token() { - _has_bits_[0] |= 0x00000002u; -} -inline void VoiceCredentials::clear_has_token() { - _has_bits_[0] &= ~0x00000002u; -} -inline void VoiceCredentials::clear_token() { - if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - token_->clear(); - } - clear_has_token(); -} -inline const ::std::string& VoiceCredentials::token() const { - // @@protoc_insertion_point(field_get:bgs.protocol.VoiceCredentials.token) - return *token_; -} -inline void VoiceCredentials::set_token(const ::std::string& value) { - set_has_token(); - if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - token_ = new ::std::string; - } - token_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.VoiceCredentials.token) -} -inline void VoiceCredentials::set_token(const char* value) { - set_has_token(); - if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - token_ = new ::std::string; - } - token_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.VoiceCredentials.token) -} -inline void VoiceCredentials::set_token(const char* value, size_t size) { - set_has_token(); - if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - token_ = new ::std::string; - } - token_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.VoiceCredentials.token) -} -inline ::std::string* VoiceCredentials::mutable_token() { - set_has_token(); - if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - token_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.VoiceCredentials.token) - return token_; -} -inline ::std::string* VoiceCredentials::release_token() { - clear_has_token(); - if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = token_; - token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void VoiceCredentials::set_allocated_token(::std::string* token) { - if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete token_; - } - if (token) { - set_has_token(); - token_ = token; - } else { - clear_has_token(); - token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.VoiceCredentials.token) -} - -// optional string url = 3; -inline bool VoiceCredentials::has_url() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void VoiceCredentials::set_has_url() { - _has_bits_[0] |= 0x00000004u; -} -inline void VoiceCredentials::clear_has_url() { - _has_bits_[0] &= ~0x00000004u; -} -inline void VoiceCredentials::clear_url() { - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_->clear(); - } - clear_has_url(); -} -inline const ::std::string& VoiceCredentials::url() const { - // @@protoc_insertion_point(field_get:bgs.protocol.VoiceCredentials.url) - return *url_; -} -inline void VoiceCredentials::set_url(const ::std::string& value) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(value); - // @@protoc_insertion_point(field_set:bgs.protocol.VoiceCredentials.url) -} -inline void VoiceCredentials::set_url(const char* value) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(value); - // @@protoc_insertion_point(field_set_char:bgs.protocol.VoiceCredentials.url) -} -inline void VoiceCredentials::set_url(const char* value, size_t size) { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - url_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:bgs.protocol.VoiceCredentials.url) -} -inline ::std::string* VoiceCredentials::mutable_url() { - set_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - url_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:bgs.protocol.VoiceCredentials.url) - return url_; -} -inline ::std::string* VoiceCredentials::release_url() { - clear_has_url(); - if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = url_; - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void VoiceCredentials::set_allocated_url(::std::string* url) { - if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete url_; - } - if (url) { - set_has_url(); - url_ = url; - } else { - clear_has_url(); - url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:bgs.protocol.VoiceCredentials.url) -} - -// optional .bgs.protocol.VoiceJoinType join_type = 4; -inline bool VoiceCredentials::has_join_type() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void VoiceCredentials::set_has_join_type() { - _has_bits_[0] |= 0x00000008u; -} -inline void VoiceCredentials::clear_has_join_type() { - _has_bits_[0] &= ~0x00000008u; -} -inline void VoiceCredentials::clear_join_type() { - join_type_ = 0; - clear_has_join_type(); -} -inline ::bgs::protocol::VoiceJoinType VoiceCredentials::join_type() const { - // @@protoc_insertion_point(field_get:bgs.protocol.VoiceCredentials.join_type) - return static_cast< ::bgs::protocol::VoiceJoinType >(join_type_); -} -inline void VoiceCredentials::set_join_type(::bgs::protocol::VoiceJoinType value) { - assert(::bgs::protocol::VoiceJoinType_IsValid(value)); - set_has_join_type(); - join_type_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.VoiceCredentials.join_type) -} - -// optional .bgs.protocol.VoiceMuteReason mute_reason = 5; -inline bool VoiceCredentials::has_mute_reason() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void VoiceCredentials::set_has_mute_reason() { - _has_bits_[0] |= 0x00000010u; -} -inline void VoiceCredentials::clear_has_mute_reason() { - _has_bits_[0] &= ~0x00000010u; -} -inline void VoiceCredentials::clear_mute_reason() { - mute_reason_ = 0; - clear_has_mute_reason(); -} -inline ::bgs::protocol::VoiceMuteReason VoiceCredentials::mute_reason() const { - // @@protoc_insertion_point(field_get:bgs.protocol.VoiceCredentials.mute_reason) - return static_cast< ::bgs::protocol::VoiceMuteReason >(mute_reason_); -} -inline void VoiceCredentials::set_mute_reason(::bgs::protocol::VoiceMuteReason value) { - assert(::bgs::protocol::VoiceMuteReason_IsValid(value)); - set_has_mute_reason(); - mute_reason_ = value; - // @@protoc_insertion_point(field_set:bgs.protocol.VoiceCredentials.mute_reason) -} - // @@protoc_insertion_point(namespace_scope) -} // namespace protocol -} // namespace bgs - #ifndef SWIG namespace google { namespace protobuf { -template <> struct is_proto_enum< ::bgs::protocol::VoiceJoinType> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceJoinType>() { - return ::bgs::protocol::VoiceJoinType_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::VoiceMuteReason> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceMuteReason>() { - return ::bgs::protocol::VoiceMuteReason_descriptor(); -} -template <> struct is_proto_enum< ::bgs::protocol::VoiceProviderVersion> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::VoiceProviderVersion>() { - return ::bgs::protocol::VoiceProviderVersion_descriptor(); -} } // namespace google } // namespace protobuf #endif // SWIG diff --git a/src/server/proto/PrecompiledHeaders/protoPCH.h b/src/server/proto/PrecompiledHeaders/protoPCH.h index 90a6660650a..d0f3aeead9e 100644 --- a/src/server/proto/PrecompiledHeaders/protoPCH.h +++ b/src/server/proto/PrecompiledHeaders/protoPCH.h @@ -15,7 +15,7 @@ * with this program. If not, see . */ -#include "club_types.pb.h" +#include "api/client/v1/club_types.pb.h" #include #include #include -- cgit v1.2.3